Posts by drinks2go

    http://nginx.org/en/docs/http/ngx_http_log_module.html


    As you can see from the nginx documentation, what you are asking is simply not possible.


    This is a completely normal byproduct of the monit program monitoring various services on the computer. It is not ideal to change the rate at which monit checks, nor is it ideal to disable the checking on nginx, as it can lead to situations where you'll need to ssh into your box and restart nginx manually.


    As has been said, and without sounding rude, it seems unnecessary that you're concerned with this. Can you explain how come you want to reduce size of the logfile?

    mariadb is generally regarded to be a significantly more lightweight and performant option than mysql, it is also not an oracle product. ;)


    as a drop-in replacement for mysql you ought to see a slight performance gain. Whether or not it will be perceptible to an end user is pretty questionable, but your machine should be happier.

    nginx plugin is for hosting additional webpages on your OMV installation, but you are correct nginx is running on your installation without the plugin.


    I wouldn't worry about reducing the log. You can either log access or not. It is better to do so, as it will give you some information for debugging/troubleshooting if there are other issues.


    If it is not broken- do not fix it. ;)

    I've discovered something which appears to be reproducible across a clean installation... I suspect it's a bug in monit actually, but I'm not entirely sure.


    Initially I thought I borked my configuration badly, as monit was unable to establish a connection to 127.0.0.1:443 which causes the daemon to restart nginx constantly, flooding the syslog.


    So I did a clean installation, reproduced my configuration by hand and... in fact, I have discovered that creating a 512b length RSA key for your OMV certificate will cause monit to throw this error no matter what, regardless of whether or not there's any actual problems establishing a connection to lo at that port. Creating even a 1024b key ameliorates the problem.


    I know I had read that TLS is pretty pointless for LAN-only installations, but I don't really trust any device whether it's from the world wide web or my LAN.


    Any thoughts?

    sudo service ntp status


    If you ssh into your box and run this you might get some kind of a hint. Can also tail -150 /var/log/syslog to see if there's anything informative in there?


    I assume you're using pool.ntp.org?

    I will try to describe the steps for you, just in case;



    You must make users. (I believe you have done this)


    You must make shared folders within the GUI. (?)


    You must add those shared folders to each service you wish to enable (ftp, smb/cifs-> which is what I think you mean by "click the drive", nfs, etc).


    You must ensure your users have permissions to read or read/write to the shared folders.
    __________________


    I just want to ensure you haven't missed any of these steps! Sounds like smb/cifs is running though, so your login credentials should be valid!

    you went through the installation as planned-


    did you create shared folders?



    did you enable smb/cifs or nfs or ftp?


    did you add your shared folders as shares to smb/cifs or nfs or ftp?

    Writing this thread, I had forgotten there was a 4GB eMMC included on the SoC. So today I have decided to switch from the usb-boot method to install on the eMMC and see how that goes.


    It is only 3.36 GB available with 1.29 GB used post installation, therefore I will need to make a configuration to rotate logfiles out of /var/ and into my data disk. Hopefully this will allow me to use the eMMC until it dies with this installation, provided there aren't any problems. I think it is a pretty slow eMMC, 30MB/s read lmao. The initial apt-get update took forever.


    I will update this thread in a few months time with my findings.

    as if it's spelled aIminium

    I was surprised to find this is a valid spelling, and I think it's more common in commonwealth countries, hence the fancy pronunciation.


    Curious how come you don't just endeavour to set up smb/cifs and rsync on rasbian instead of via omv? Seems a little overkill to just rsync?

    Hey, so although I posted a thread some time ago asking about this, I finished building it and have been tinkering with it for the past few months.


    I thought I would share some pictures, and my experience thus far.


    Cost:
    This box itself I picked up on sale for $90 CAD. I had confirmed working ram (4GB Crucial) sitting in my drawer at home, and the CAT6 cable and Seagate Firecuda 2.5" 1TB SSHD were about $110 CAD together. For 30 dollars I purchased an MLC USB drive with good reviews and decent advertised transfer speed (Transcend JetFlash 780) for the boot drive. In addition I picked up a WD Blue 3.5" 5400 RPM 1TB drive and Nexstar TX powered 3.5" usb 3.0 external HD enclosure for ~ $80 CAD. I also purchased a CyberPower 350VA UPS ($60 CAD) so that I wouldn't need to worry about power outages (they're rare where I live anyway). In all the cost was around $360 CAD. Technology isn't really cheap in Canada, sadly, but I feel I've gotten good value for money and learned a lot and had fun along the way.
    --------------------
    Build:
    It's pretty difficult to think of a task easier than building these thin client/nettop PCs, as they are usually tool-free (or close to it) installations. Not much to say here. As this is actually intended for commercial use (signage etc.) it was probably a little less user-friendly than the current generation of NUC marketed at home use, but a bit of sweat and fiddling with the drive cage and 20 minutes were all it took to get to the point of installing OMV.
    --------------------
    Performance:
    I had posted a thread in the General config forum about a high load issue on this box. I have yet to really pin down the source of this issue beyond something do to with the cpu/mem usage output displayed on a few pages in the OMV webui. Changing a few settings around (limit nginx to 1 worker process as the box is single core, install sysfsutils and raise scaling_freq_min to roughly 933mhz instead of 533mhz) which seems to have ameliorated the problem somewhat, but it does appear every now and again. I have Pi-hole DNSBL/DHCP server installed on the same box (no docker, virtualbox, anything) and this runs perfectly fine and generates virtually no load, so I'm kind of thinking there's something funny going on with the webui but just haven't33 had time to investigate further.


    Otherwise performance is great, even when the box was loaded by the webui to values over 2, SMB/CIFS and NFS shares work great. Streaming x264 media is a flawless even when this strange load condition appears.


    Drive temperature in the box has never risen above 42*C (and it was about 30*C ambient temp that day), and cpufreq-info reports even when I'm streaming videos to multiple devices that the processor is running at 933-1GHz (the full clock speed is 1.46GHz). With ClamAV on the RAM usage has not risen above 18% of 4GB.


    I think this would be a great single bay NAS unit. If you could buy a few of these at a time it would be fairly simple to just hand them out to your friends or family and provide yourself a little location independent data redundancy (in return for read-only access to your media library?) ;) I had seen them for similar prices on ebay, in my mind I view it as being only a slightly larger investment than an RPi/3 (with case charger and an EVO+ you're looking at close to $90 CAD anyway)
    --------------------
    Caveats:
    There are only 2 usb 2.0 ports and only 1 single usb 3.0 port. The boxes do not come with wifi chip but they do have an available m.2 port. Who cares though, it's a nas.


    There is a strange issue with the omv web-ui wherein sometimes the system information pages displaying cpu/mem usage will generate runaway load conditions exceeding values of 2.0


    The unit is fanless, if you live in a very hot place it might not be suitable for your use


    The technology is now a little dated (2014) and so power consumption could probably be more efficient, in addition the processor isn't going to wow anybody. Subtract three cores from an RPi/3, add gigabit lan and a sata 3.0 gbps port and you've got the NUC Kit DE3815TYKHE.
    --------------------




    If you happen to see one of these locally or online for a good deal, and want something to play with, I would recommend it. Not too shabby! The build quality is nice, the unit feels pretty solid. Has been running for a little over a month now and very stable.


    Images are hosted on imgur, click for a larger version.


    Cheers and let me know if you have any questions.




    Thanks for all the hard work devs! :thumbsup: Awesome piece of software you have here. Hope to help out somehow.


    Cheers,
    Drinks2go

    for what it's worth you can pick what you're booting from with virtually any BIOS I've come across... that most likely would have solved your problem.



    I also don't think it's necessary to use a usb 3.0 port for the OS usb drive, I have just switched from 3.0 to 2.0 and notice virtually no difference when doing things like apt-get update.



    Don't forget to install the omv-extras and get the flash memory plugin running.

    OK I think 0.0.0.0 should be correct. You did good there.


    This is a bit of a sticky situation because I'm not familiar with the OMV mysql plugin- I use trakt.tv personally to keep all my tv/movies "scrobbled."



    Code
    mysql -u root -p mysql
    update db set Host='xxx.xxx.xx.xx' where Db='kodi';
    update user set Host='xxx.xxx.xx.xx' where user='kodi';


    https://www.cyberciti.biz/tips…ysql-database-server.html


    Also ensure the port is not blocked by OMV firewall.

    Hi you need to supply the SSL certificates alongside OMV reverse proxy information. If you still need help let me know.



    Also you will need to generate a certificate for mydomain.com, not your openmediavault local hostname (if it was openmediavault.local for the SSL, visiting via mydomain.com will always give warnings)

    Hi I was actually just thinking you shouldn't attempt to reset the BIOS... I believe this will almost undoubtedly lead to problems booting, especially if you had made changes to the stock BIOS configuration before installing OMV. In case you want to attempt this as a last resort, you should take careful note of your current BIOS settings so that you can reestablish them in case it creates issues.


    Best of luck.