Jump to content

DZMM

Members
  • Posts

    2,801
  • Joined

  • Last visited

  • Days Won

    9

Everything posted by DZMM

  1. Thanks. Yes, that all works fine - I've added my own mappings and I use those. I hate tracking down docker image growth - I was hoping the unrar thing might be the problem e.g. files getting expanded in /data. Back to the drawing board....
  2. @binhex my docker image keeps filling up and I'm wondering if it's the inbuilt unrar tool that's doing it. Does this use the /data mapping that's part of the default template? I deleted this as I used my own, but I'm wondering if by deleting it I'm causing files to be added to the image? I've recreated /data to see if this fixes the problem.
  3. Apologies if my network terminology is incorrect. What I'm trying to do is create virtual IPs for eth0 that I can use to segment my traffic. I've successfully created virtual IPs using: ip addr add 172.30.12.21/24 dev eth0 label eth0:1 ip addr add 172.30.12.22/24 dev eth0 label eth0:2 to create new IPs, but they all have the same mac address as eth0. How do I give them unique mac addresses? I've tried: ip link add link eth0 address 22:22:22:22:22:22 eth0.2 type macvlan but I get the error message "RTNETLINK answers: Device or resource busy". Does anyone e.g. @bonienl know how to crack this please? Thanks in advance.
  4. @bryansj you can remove the /downloads exclusion if you want. But, I've read (not tried myself) that seeding from gdrive is a bad idea as it can lead to an API ban because of all the calls. Similarly you can add an exclusion for your 4K content folder to keep it local, and then use gdrive for non-4K, non-seeding content on top of your local 84TB i.e. have access to xxxTBs extra storage. This is what I did initially until I went all in, and uploaded everything and sold my HDDs. I would definitely use it for backups.
  5. @bryansj with only 40Mbps upload to play with, plus seeding activity I'm not sure how much you'll achieve. I would definitely consider replacing crash plan though, and moving non seeding media to the cloud. 10Mbps still equals around 100GB/day which adds up over time e.g. 3TB/mth.
  6. @anderbak thanks for this as I didn't know how to run the script command. It's still not working for me though which is weird as it keeps saying it can't find startup.sh. If I don't do chmod +x startup.sh it says 'permission denied', so it knows it's there. Any idea what's going wrong?? Thanks docker run -d --name='adb' --net='br0.55' --ip='192.168.50.19' --cpuset-cpus='1,7,8,17,23,24' --log-opt max-size='50m' --log-opt max-file='3' --privileged=true -e TZ="Europe/London" -e HOST_OS="Unraid" -v '/mnt/user/appdata/dockers/adb/':'/config':'rw' 'sorccu/adb' sh -c "/config/startup.sh & adb -a -P 5037 server nodaemon" #!/bin/sh sleep 5 DEVICES="192.168.30.30" echo "Connecting to devices." for device in $DEVICES; do adb connect $device done echo "Done." while true; do for device in $DEVICES; do adb connect $device (anglebracket) /dev/null 2(anglebracket)&1 done sleep 60 done
  7. Is anyone else having problems with 'Concurrent Streams' also appearing in stats even if not selected in the first position on the page? If I select the last 3 options after Concurrent Streams for stats it doesn't appear, but it does if I select any before it.
  8. @Tabris just did a bit of quick research as I'm stuck somewhere boring and looks like you need to use the epmfs option: epmfs (existing path, most free space) Of all the drives on which the relative path exists choose the drive with the most free space. This should ensure that mergerfs writes /media_array files to the actual array, and then just exclude /media_array from the upload script
  9. Not a mergerfs expert, but that's the way it works in my script i.e. writes to the first directory in the union. I'm not sure how your media folder is setup, but the way I'd handle your problem is to have the files you want uploading in /google_vfs/movies and the ones you want to keep offline (or is it online??!!) in google_vfs/movies_offline and then add an exclusion for /movies_offline to your upload script. --exclude movies_offline/**
  10. Hmm just tested and I saw the popup this time so it all makes sense. Must have been me - sorry for the false alarm. Loving the new multi-config and the ability to run concurrently.
  11. yeah I was worried I wasn't making sense - I'd just woken up! What I was trying to say (hopefully better this time!) is that when you create a profile, it'd be useful if there was an option to 'use current settings'. I thought this was the behaviour when I'd tweaked all my settings and then got to the last tab and created my first profile 'w10' - I thought it was saving my current settings to w10, rather than creating a new profile alongside the existing default profile. The Default button on the first tab needs to say something like 'create new profile' as that's what it does currently i.e. load blank settings, not the default profile that any initial changes are saved to. i.e. if I on first run make changes and don't create as a new profile then those settings are saved to the 'default profile' but clicking the 'Default' button doesn't load those settings, but resets all. Update: clicking the Default button actually reset my 'default' profile not loaded my defaults so it's really a Reset button. It also applied the reset rather than letting me review, so it wiped out my settings
  12. @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.
  13. 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
  14. 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?
  15. do you mount unionfs in /mnt/user/ or /mnt/disks? I had problems with /mnt/disks when I first started
  16. @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'
  17. @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
  18. 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!
  19. 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
  20. @J89eu I'm having the same problem - did you find a fix?
  21. I have no idea how to do that - sorry! All my VMs have their own GPUs and assigned CPU cores (not CPUs) in my server. Try the main forum.
  22. ok - solved. For those using linuxserver's LE docker create nowshowing.subfolder.conf in /nginx/proxy-confs: # nowshowing does not require a base url setting location /nowshowing { return 301 $scheme://$host/nowshowing/; } location ^~ /nowshowing/ { # enable the next two lines for http auth #auth_basic "Restricted"; #auth_basic_user_file /config/nginx/.htpasswd; # enable the next two lines for ldap auth, also customize and enable ldap.conf in the default conf #auth_request /auth; #error_page 401 =200 /login; resolver 127.0.0.11 valid=30s; set $upstream_nowshowing nowshowing; rewrite /nowshowing(.*) $1 break; proxy_pass http://192.168.50.51:8080; }
  23. Sorry for bumping - can someone share their now showing config please. Thanks
×
×
  • Create New...