tonyhamm Posted November 2, 2022 Share Posted November 2, 2022 I am having trouble updating plug-ins (any plug in) after the server has run for a few days. I get error such as " Unable to install as gzip is not available on this system." I can see that gzip is installed and should be in the path root@Tower:~# which gzip /usr/bin/gzip If I reboot the server, plug ins will install fine......until the server has a few days uptime. It is frustrating that everything else seems to be running fine in UnRaid but having to restart fairly regularly to install upgraded plugins is getting old. Any ideas?? tower-diagnostics-20221102-1301.zip Quote Link to comment
trurl Posted November 2, 2022 Share Posted November 2, 2022 Try booting with stock go file and see if you still have problems Quote Link to comment
tonyhamm Posted November 2, 2022 Author Share Posted November 2, 2022 I haven't tried your suggestion yet, but I don't see how, if it was go file, things would work fine when rebooted and then fail days later. Quote Link to comment
trurl Posted November 2, 2022 Share Posted November 2, 2022 What do you get from command line with this? df -h Quote Link to comment
Solution tonyhamm Posted November 2, 2022 Author Solution Share Posted November 2, 2022 I found the problem!! I had a bash script that was scheduled to run every other day that, as part of the script, was incorrectly redirecting the output of a command to /dev/null. Because it was not doing the redirection of stdout and stderr it was overwriting the character device /dev/null with a regular file called /dev/null. Anytime something was trying to redirect to /dev/null it was failing. I have removed the incorrect /dev/null file created a new character device named /dev/null and finally corrected the redirection to rm -rf *.1 > /dev/null 2>&1 instead of rm -rf *.1 2>&1 /dev/null Since making this change to script and running manually the permissions on /dev/null are staying root@Tower:/dev# ll null crw-rw-rw- 1 root 1, 3 Nov 2 14:59 null Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.