Open gpmnsp opened 2 years ago
Same here... NGNIX broken, logs gone and log2ram won't start because there is no space in ram for hdd.log... My /var/log is like 3mb, and I set the log2ram size as high as 2gigs to no avail... I think I found the problem... this program is incompatible with OMV6, which already uses folder2ram on /var/log amongst other things...
/etc/folder2ram/folder2ram.conf `# This file is auto-generated by openmediavault (https://www.openmediava>
tmpfs /var/log tmpfs /var/tmp tmpfs /var/lib/openmediavault/rrd tmpfs /var/spool tmpfs /var/lib/rrdcached/ tmpfs /var/lib/monit tmpfs /var/cache/samba`
Thx for reply, but this is'nt it. I don't know or use OMV. Mines just plain Raspbian OS. L2R does start, but not working as expected nor needed.
Issues like these may happen when programs try to create a file or directory in an inexistent location (and the scenario is complicated by the rsync optimised behaviour).
You may try the following:
If that is not enough, at point 2 try also to create a small file in each directory.
If everything is in place correctly it should survive a reboot.
I've tried both, manual and apt install. After reboot there's only one file in /hdd.log: boot.log. Worse: /nginx and /letsencrypt in /var/log have vanished. That prevents these programs from starting. I re-created the respective dirs, nginx and letsencryt do work then. But the very next day same situation. Both dirs are gone and also not in /hdd.log. I have no clue. What could possibly have gone wrong?