Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

DZMM

Members
  • Joined

  • Last visited

Everything posted by DZMM

  1. @JTok AHH found it - yeah it really needs to be at the top of the page. Creating a profile should be the first thing done, and an option to start it with the current settings or to use the default settings. I was surprised to see I had 3 profiles (default, w10 and pfsense) to choose from on the front page when I'd only created two. Hope that makes sense.
  2. Thanks for a great update. I'm not sure if the multi-config is working though. Here's what I did to try and create a new config for my pfsense VM based on my W10 config: 1. created config for W10 - saved and created config name 2. created copy and called if pfsense 3. tried to go and change the VMs to backup for pfsense config, but it won't let me change Also, oddly it lets you select multiple configs to edit - shouldn't it be only one to edit? Thanks
  3. I've been having a mare with all torrent dockers getting unrar to work, but I found this post so I tried the above on this docker and it didn't work. I then realised it was a post for the binhex version where it worked. Out of interest, does this docker have unrar included and it should have worked?
  4. do you mount unionfs in /mnt/user/ or /mnt/disks? I had problems with /mnt/disks when I first started
  5. @Kaizac - why do you need the recycling bin? Maybe that's the problem docker run -d --name='sonarr' --net='br0.55' --ip='192.168.50.95' --cpuset-cpus='1,8,9,17,24,25' --log-opt max-size='50m' --log-opt max-file='3' -e TZ="Europe/London" -e HOST_OS="Unraid" -e 'TCP_PORT_8989'='8989' -e 'PUID'='99' -e 'PGID'='100' -v '/dev/rtc':'/dev/rtc':'ro' -v '/mnt/user/':'/user':'rw' -v '/mnt/disks/':'/disks':'rw,slave' -v '/boot/config/plugins/user.scripts/scripts/':'/scripts':'rw' -v '/boot/config/plugins/user.scripts/scripts/unrar_cleanup_sonarr/':'/unrar':'rw' -v '/mnt/cache/appdata/dockers/sonarr':'/config':'rw' 'linuxserver/sonarr:preview'
  6. @sparklyballs I found this post that fixed previous unrar problems. I've checked and I can see the correct lines in config.php - is there something else that needs doing to get unrar working? Thanks
  7. Thank you so much! Working now
  8. Just tried: uninstalling python packages, rebooting and then just installing python3 (no pip or setuptools via nerdpack). Still having problems installing plexapi, which used to work for the script I use. I can do this no problem on Windows and Ubuntu, but I need to run this particular script on unRAID. Here's the error if it makes sense to anyone (before the first command I ran (python3 -m ensurepip --default-pip) : root@Highlander:/mnt/cache/appdata/other/plex/python-plexlibrary-master# pip install plexapi Collecting plexapi Downloading https://files.pythonhosted.org/packages/16/85/54fa59b0b6dc42a3d0b7280adbfe4b452df57e4755a50b092be2c9885c3c/PlexAPI-3.3.0.tar.gz (73kB) |████████████████████████████████| 81kB 3.7MB/s ERROR: Command errored out with exit status 1: command: /usr/bin/python3 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-230zkyc5/plexapi/setup.py'"'"'; __file__='"'"'/tmp/pip-install-230zkyc5/plexapi/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base pip-egg-info cwd: /tmp/pip-install-230zkyc5/plexapi/ Complete output (11 lines): Traceback (most recent call last): File "<string>", line 1, in <module> File "/usr/lib64/python3.8/site-packages/setuptools/__init__.py", line 20, in <module> from setuptools.dist import Distribution, Feature File "/usr/lib64/python3.8/site-packages/setuptools/dist.py", line 35, in <module> from setuptools import windows_support File "/usr/lib64/python3.8/site-packages/setuptools/windows_support.py", line 2, in <module> import ctypes File "/usr/lib64/python3.8/ctypes/__init__.py", line 7, in <module> from _ctypes import Union, Structure, Array ImportError: libffi.so.7: cannot open shared object file: No such file or directory ---------------------------------------- ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output. WARNING: You are using pip version 19.2.3, however version 19.3.1 is available. You should consider upgrading via the 'pip install --upgrade pip' command. root@Highlander:/mnt/cache/appdata/other/plex/python-plexlibrary-master# pip install --upgrade pip Collecting pip Downloading https://files.pythonhosted.org/packages/00/b6/9cfa56b4081ad13874b0c6f96af8ce16cfbc1cb06bedf8e9164ce5551ec1/pip-19.3.1-py2.py3-none-any.whl (1.4MB) |████████████████████████████████| 1.4MB 3.2MB/s Installing collected packages: pip Found existing installation: pip 19.2.3 Uninstalling pip-19.2.3: Successfully uninstalled pip-19.2.3 Successfully installed pip-19.3.1 root@Highlander:/mnt/cache/appdata/other/plex/python-plexlibrary-master# pip install plexapi Collecting plexapi Using cached https://files.pythonhosted.org/packages/16/85/54fa59b0b6dc42a3d0b7280adbfe4b452df57e4755a50b092be2c9885c3c/PlexAPI-3.3.0.tar.gz ERROR: Command errored out with exit status 1: command: /usr/bin/python3 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-dqoxi6ls/plexapi/setup.py'"'"'; __file__='"'"'/tmp/pip-install-dqoxi6ls/plexapi/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-install-dqoxi6ls/plexapi/pip-egg-info cwd: /tmp/pip-install-dqoxi6ls/plexapi/ Complete output (11 lines): Traceback (most recent call last): File "<string>", line 1, in <module> File "/usr/lib64/python3.8/site-packages/setuptools/__init__.py", line 20, in <module> from setuptools.dist import Distribution, Feature File "/usr/lib64/python3.8/site-packages/setuptools/dist.py", line 35, in <module> from setuptools import windows_support File "/usr/lib64/python3.8/site-packages/setuptools/windows_support.py", line 2, in <module> import ctypes File "/usr/lib64/python3.8/ctypes/__init__.py", line 7, in <module> from _ctypes import Union, Structure, Array ImportError: libffi.so.7: cannot open shared object file: No such file or directory ---------------------------------------- ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output. root@Highlander:/mnt/cache/appdata/other/plex/python-plexlibrary-master# pip list Package Version ----------- ------- pip 19.3.1 ruamel.yaml 0.16.5 setuptools 41.2.0 I've tried and also failed with: pip3 install plexapi But I've successfully managed to install requests, ruamel.yaml and lxml. trakt also fails: pip install trakt Collecting trakt Downloading https://files.pythonhosted.org/packages/08/a0/4689f48a3b53d57c22659e45cb9fabe5b323f2c75727b22fd70d1071a247/trakt-2.12.0.tar.gz ERROR: Command errored out with exit status 1: command: /usr/bin/python3 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-e8m1crhi/trakt/setup.py'"'"'; __file__='"'"'/tmp/pip-install-e8m1crhi/trakt/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-install-e8m1crhi/trakt/pip-egg-info cwd: /tmp/pip-install-e8m1crhi/trakt/ Complete output (11 lines): Traceback (most recent call last): File "<string>", line 1, in <module> File "/usr/lib64/python3.8/site-packages/setuptools/__init__.py", line 20, in <module> from setuptools.dist import Distribution, Feature File "/usr/lib64/python3.8/site-packages/setuptools/dist.py", line 35, in <module> from setuptools import windows_support File "/usr/lib64/python3.8/site-packages/setuptools/windows_support.py", line 2, in <module> import ctypes File "/usr/lib64/python3.8/ctypes/__init__.py", line 7, in <module> from _ctypes import Union, Structure, Array ImportError: libffi.so.7: cannot open shared object file: No such file or directory ---------------------------------------- ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output. All help appreciated!
  9. I'm having some problems running some python scripts I was able to run previously i.e. I've screwed something up. It looks like when I remove python from nerd tools to try a fresh attempt, existing packages and changes I've made are still there e.g. if I do pip list I can see things like requests that I'd already installed. How do I completely uninstall python and any packages I've installed so that I can start from a clean installation? Thanks in advance
  10. @J89eu I'm having the same problem - did you find a fix?
  11. Torrents with Unionfs: torrent gets download torrent gets copied to unionfs folder - disk write (time+wear) plus 2x torrent space taken up copied torrent gets uploaded whilst orig is seeding delete seed whenever Torrents with mergerfs: torrent gets download hardlink created to unionfs folder - no disk write, noise, no time to copy, no 2x torrent space taken up hardlinked torrent gets uploaded whilst orig is seeding delete seed whenever
  12. Glad you got it working, but looking again at my post I'm not sure if doing: /media/downloads <-> /mnt/user/mount_unionfs/google_vfs/downloads/ /media <-> /mnt/user/mount_unionfs/google_vfs/ will work. I'm no expert and what I do to also ensure I don't mess up when moving stuff around in dockers is just use these mappings for all my dockers: /user <-> /mnt/user/ /disks <-> /mnt/disks/ (RW Slave) That way all dockers are consistent and I don't have to remember mappings.
  13. I'm glad it's working perfectly for you. I've been doing this for about 20 months now and I've only had one issue when google had problems with rclone user_IDs for about 2 days. I moved home recently and lost my 1Gbps connection, but even on my 360/180 with lots of users I've not had any buffering, with a lot of other traffic occuring at the same time.
  14. Using both /data and /media is your problem - your dockers think these are two separate disks so you don't get hardlinking and moving instead of copying benefits. Within your containers, point nzbget etc to /media/downloads
  15. I currently run two scripts that I'd like to combine into one. They check to see if my cache disk has got to a certain amount of % used - if it's less than a certain amount it moves files that I don't need on the cache to the array so that files I want on the cache can stay on for longer - if it's over a certain amount then it starts the mover (I've disabled the scheduled mover) Here's the first script: #!/usr/bin/php <?PHP $min = 70; $max = 90; $moveAt = 90; $diskTotal = disk_total_space("/mnt/cache"); $diskFree = disk_free_space("/mnt/cache"); $percentUsed = ($diskTotal - $diskFree) / $diskTotal * 100; if ( $percentUsed > $moveAt ) { $my_string = 'Starting mover'; echo $my_string; echo "<br>"; exec("/usr/local/sbin/mover"); } else { $my_string = 'Not running mover'; echo $my_string; echo "<br>"; } if (($min <= $percentUsed) and ($percentUsed <= $max)) { $my_string2 = 'starting diskmv_all'; echo $my_string2; echo "<br>"; echo "<br>"; exec("bash /boot/config/plugins/user.scripts/scripts/diskmv_all/script"); } else { $my_string = 'Not running diskmv_all'; echo $my_string; echo "<br>"; } ?> and the second that runs the diskmv script: #!/bin/bash ####### Check if script already running ########## echo "$(date "+%d.%m.%Y %T") INFO: Creating Tracker file." if [[ -f "/mnt/user/appdata/other/rclone/diskmv_running" ]]; then echo "$(date "+%d.%m.%Y %T") INFO: Exiting as script already running." exit else touch /mnt/user/appdata/other/rclone/diskmv_running fi if [ -f /var/run/mover.pid ]; then if ps h `cat /var/run/mover.pid` | grep mover ; then echo "$(date "+%d.%m.%Y %T") INFO: mover already running. Removing Tracker file." rm /mnt/user/appdata/other/rclone/diskmv_running exit 0 fi fi # /usr/local/sbin/mdcmd set md_write_method 1 # echo "Turbo write mode now enabled" echo "$(date "+%d.%m.%Y %T") INFO: moving backup." bash /boot/config/plugins/user.scripts/scripts/diskmv/script -f -v "/mnt/user/backup" cache disk2 # echo "$(date "+%d.%m.%Y %T") INFO: moving local." bash /boot/config/plugins/user.scripts/scripts/diskmv/script -f -v "/mnt/user/local/tdrive_vfs/downloads/complete" cache disk1 echo "$(date "+%d.%m.%Y %T") INFO: moving media." bash /boot/config/plugins/user.scripts/scripts/diskmv/script -f -v "/mnt/user/media/music" cache disk2 bash /boot/config/plugins/user.scripts/scripts/diskmv/script -f -v "/mnt/user/media/other_media/books" cache disk2 bash /boot/config/plugins/user.scripts/scripts/diskmv/script -f -v "/mnt/user/media/other_media/photos" cache disk2 bash /boot/config/plugins/user.scripts/scripts/diskmv/script -f -v "/mnt/user/media/other_media/videos" cache disk2 # /usr/local/sbin/mdcmd set md_write_method 0 # echo "Turbo write mode now disabled" echo "$(date "+%d.%m.%Y %T") INFO: Removing Tracker file." rm /mnt/user/appdata/other/rclone/diskmv_running exit Is it possible to combine? Thanks in advance
  16. @testdasi and @yendi I understand. But, it's worth it. This isn't a small improvement - it's a major one with worthwhile performance improvements. (I) simplest migration: Just change your unionfs mount command for the new mergerfs one is worth doing - you can test it works first by just adding the mergerfs command to a new blank script and mounting in a new location (II) best migration: do (I) + move all your mappings to within /user/mount_mergerfs i.e. /user/mount_mergerfs/downloads and point your download dockers to this location to get hardlinking, file transfer benefits etc
  17. In this script it checks if parity is running and I'd like to do a similar check in a different script for if the mover is running. Can anyone help please ie. what's the mover equivalent for: $vars = parse_ini_file("/var/local/emhttp/var.ini"); if ( $vars['mdResync'] ) { Thanks in advance. Update: Found the answer: https://gist.github.com/fabioyamate/4087999 if [ -f /var/run/mover.pid ]; then if ps h `cat /var/run/mover.pid` | grep mover ; then echo "mover already running" exit 0 fi fi
  18. You can ignore that and just ensure all your dockers, including nzbget etc, use mappings within the mergerfs folder and not the local folders to fully benefit from mergerfs's better file transfer capabilities. I decided to ditch rclone_upload to make it easier for users to not mess up and to clean flows up. E.g. before my flow before was: /mnt/user/downloads/movie -->/mnt/user/import/movie -->/mnt/user/mount_unionfs/movies/movie (via /mnt/user/rclone_upload/movies/movie) I.e. 3 different shares. Now I have /mnt/user/mount_mergerfs/downloads/movie --> /mnt/user/mount_mergerfs/complete/movie --> /mnt/user/mount_mergerfs/movies/movie where any local files are in /mnt/user/local and I exclude mnt/user/local/downloads mnt/user/local/complete and mnt/user/local/seeds in the upload script. Makes my life a hell of a lot easier and by including my 'pre-plex' files in the mount I get the full transfer benefits of mergerfs, and I think it will be easier for anyone new to the scripts.
  19. --dir-cache-time can be large as you want - uploads flush the cache. No real reason, just decided to put a larger number in for the (rare) days when no new content added --fast-list - yep, that shouldn't be there. I forgot to delete when I removed the rc command.
  20. Everything is self-contained in the script - no need to touch CA, nerd tools etc except to install the rclone plugin. Re the mergerfs docker - I'm not an expert, but it's building it direct from the mergerfs author's repo, so the script will only need changing if he updates his build options which I think will be unlikely: https://github.com/trapexit/mergerfs#build-options
  21. unRAID is based on slackware and mergerfs doesn't support slackware. Luckily the author just built a docker version we can use.
  22. Also try https://github.com/l3uddz/plex_autoscan
  23. Easy. Either, use rclone config to change the name of your remote to gdrive_media_vfs: , or: change line 45 of the mount script: rclone mount --allow-other --buffer-size 256M --dir-cache-time 720h --drive-chunk-size 512M --fast-list --log-level INFO --vfs-read-chunk-size 128M --vfs-read-chunk-size-limit off --vfs-cache-mode writes gdrive_media_vfs: /mnt/user/mount_rclone/google_vfs & to: rclone mount --allow-other --buffer-size 256M --dir-cache-time 720h --drive-chunk-size 512M --fast-list --log-level INFO --vfs-read-chunk-size 128M --vfs-read-chunk-size-limit off --vfs-cache-mode writes NAME_OF_UNENCRYPTED_REMOTE: /mnt/user/mount_rclone/google_vfs & and 43 of upload script: rclone move /mnt/user/local/google_vfs/ gdrive_media_vfs: -vv --drive-chunk-size 512M --checkers 3 --fast-list --transfers 2 --exclude downloads/** --exclude *fuse_hidden* --exclude *_HIDDEN --exclude .recycle** --exclude *.backup~* --exclude *.partial~* --delete-empty-src-dirs --fast-list --bwlimit 9500k --tpslimit 3 --min-age 30m to: rclone move /mnt/user/local/google_vfs/ YOUR_REMOTE: -vv --drive-chunk-size 512M --checkers 3 --fast-list --transfers 2 --exclude downloads/** --exclude *fuse_hidden* --exclude *_HIDDEN --exclude .recycle** --exclude *.backup~* --exclude *.partial~* --delete-empty-src-dirs --fast-list --bwlimit 9500k --tpslimit 3 --min-age 30m
  24. Thanks - updated. As I stated earlier, my scripts are a bit different so it's hard for me to test the github version. You're probably right about the docker changes. I setup my mergerfs in putty and I haven't rebooted yet and I cobbled the command together from the one I use to edit dockers, so the interactive bit definitely isn't needed in a script and is probably a bad idea.
  25. Thanks. The previews (sonarr and radarr) have been stable for the last couple of months for me. Radarr V3 in particular has been a godsend, as my library/indexers/something was too big for it and it wouldn't open sometimes for days and if did, was almost impossible to use.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.