-
Content Count
147 -
Joined
-
Last visited
Community Reputation
21 GoodAbout JoeUnraidUser
-
Rank
Advanced Member
Recent Profile Visitors
The recent visitors block is disabled and is not being shown to other users.
-
JoeUnraidUser started following 6.8.3 use network from VPN Docker and How to upgrade an LSI HBA firmware using Unraid
-
To set the umask to 0000 do the following on a line before your command: umask 0
-
Try adding the following to the beginning of your command so it runs in a login shell: sudo -i -u root
-
Contact & Support
-
Shutdown command in terminal(SOLVED)
JoeUnraidUser replied to littletiger's topic in General Support
When I have to reboot from the command line I run: shutdown -r now -
Did you try running the script in a login shell like I suggested above?
-
How to enter a password in script [SOLVED]
JoeUnraidUser replied to Cpt. Chaz's topic in General Support
Try adding "<<<password" to the end of the command: rsync -avhP --progress /source/file/path root@192.168.1.X:/destination/file/path <<<password Change "password" to your password. -
I had the same problem when running PERL scripts. I had to hardcode library and config paths. Try running the script in a login shell by doing the following: su - root /mnt/user/test/test.sh <<<password --or-- sudo -i -u root /mnt/user/test/test.sh
-
You could use the following: echo $(eval echo "~$(whoami)")
-
You can achieve the same thing from the command line with PERL: perl -pi -e 's/#FF8C2F/#42ADFA/g' /mnt/user/text/mytestfile.txt Perl one-liners
-
Try: rm -rf /mnt/disks/DELUGETorrents/Sonarr_Pickup/The.100.S06.1080p.BluRay.x264-TURMOiL
-
Could you create a separate post with the instructions? It would make it much easier for users to follow along.
-
My upgrade went well. Just incase something goes wrong; don't forget to backup your flash drive before upgrading.
-
Dev Pack has also been removed.
-
From the error messages, it looks like you need the library libbguile-2.2.so.1: make: error while loading shared libraries: libguile-2.2.so.1: cannot open shared object file: No such file or directory Try installing guile-2.2.3-x86_64-2.txz from DevPack. Edit: I tried an install of HTTP::Cookies and you also need gc-8.0.4-x86_64-1.txz from DevPack.
-
Your right it doesn't work. I tested it using "MON" and it failed. It looks like Unraid is using "crond 4.5 dillon's cron daemon". It's strange because the man page crontab(1) for "dillon's lightweight cron daemon" contains: a symbolic range for the day of week and month in year # run at 11 am on the first and last Mon, Tue, Wed of each month 0 11 1,5 * mon-wed date Edit: I tested it again using "mon" and it worked. It must only work with lowercase days of the week.