• Posts

  • Joined

  • Last visited

Posts posted by casperse

  1. Hi All - I think below topic is relevant under our "Tweaks for media server and performance"


    Currently there is allot of talk about the video done by: IBRACORP

    And the guide made by TRaSH on Unraid setup of Media shares on Unraid


    I followed another recommendation and created a UAD for my downloads and then move them.

    Downloads to Unassigned drive --> Cache --> Array seperate shared folders for media


    I would like to hear what you have done?

    My setup is the "old school" with a different share for each media and IMPORTANT for me the correct split level!




    TV Shows

         TV shows kids

         TV shows





         Movies 4K


         Movies Kids


    My setup required different split levels (Mainly in case of a crashed drive its much easier to see what's lost if data is grouped at leas by Seasons and a movie folder keept on one drive. Not to menschen spinning up drives if you are bench watching something


    The structure recommended in the video and the webpage is all under one parent share called DATA:

    (I actual like the simplicity of this directory setup)  - just not sure its the best on UNRAID



    The media folder at the bottom would then have subfolders for each of your media folder if you like me split them up....


    QUESTION: Do you use this new setup? (I can see how this would simplify the paths between all the dockers and *.rr's apps and make atomic move/hardlink possible)

    If you are running this setup then what split level are you using?

    What would be the optimal settings?

    Not sure how this works (I dont understand the new split level headers the old one with level was much easier to understand!


    I can see the recommended share settings for data is this:image.png.d7d33828fc376fc44640ad072fda7d38.png


    One more interesting Tweak I found on the webpage is for the new PLEX scanner is the IMDB ID support on the folder names:

    (Could be handy if you need to rescan your collection or move the file structure like above?)



    As always if you think this is off topic I will move my post 🙂






  2. Apologies if this has already ben covered in this thread!

    But I just realized that I have 3 free OpenVPN connection to my remote server available

    but is it possible to use OpenVPN? I know PIA is the recommended solution


    Using any of your great dockers like:






    Or would the only way to do this be a custum network using my pfsense and creating a tunnel? 

  3. HELP!


    I did something stupid the Mineosnode have two path defined in the docker:



    I was cleaning up and the folder on my cache drive /mnt/cache/minecraft

    Was empty so I made sure the folder was set to the Array and that the folder was present so I deleted the folder on the cache drive


    Now when I start up Mineosnode I have no server!

    BUT when I go to the /mnt/cache/appdata/minecraft/ all the files are there?


    I tried to change it back but my server is empty when Mineosnode starts up....


    UPDATE: This fixed it...

    Seem this changed my permissions on the files?

  4. On 10/28/2020 at 1:49 AM, mgutt said:

    Overflow is only valid for Shared Paths. A Direct Path (/mnt/cache) does not overflow to the array. This means, if the cache becomes full and you use /mnt/cache, the Plex Container will produce errors, because it is out of storage. That is the reason why I suggest in my guide to set "Min. free space" in your Global Share Settings.



    • 1TB SSD cache
    • /mnt/cache is your SSD
    • /mnt/disk1 is your array
    • /mnt/user/Movies uses disk1 and uses the cache setting "yes"

    Scenario 1

    • Plex appdata is set to /mnt/user/...
    • You upload more than 1TB of movies to your server. After occupying 1TB of your SSD, further movie files are written to the array. 
    • As the SSD is full, Plex writes to the array


    Scenario 2

    • Plex appdata is set to /mnt/cache...
    • You  upload more than 1TB of movies to your server. After occupying 1TB of your SSD, further movie files are written to the array. 
    • As the SSD is full, Plex produces errors

    Scenario 3

    • You set 100GB Min. Free Space
    • Plex appdata is set to /mnt/cache...
    • You upload more than 1TB of movies to your server. After occupying 900GB of your SSD, further movie files are written to the array. 
    • As there are still 100GB left, Plex works as usual




    I did all this when we first discussed the /mnt/cache and after some time you really get used to having all the appdata and VM's on your fast cache drive.


    My 2TB Nvme drive is reaching the 100G limit (Now defined on the cache drive and not the Gloval share settings)

    If money wasn't an issue I would upgrade to a nvme 4TB - but they are incredible expensive (My IRQ doesn't allow for a second nvme)


    So my option is to do some split of VM's some on the Cache drive and others on the Array

    How would this best be done in practice? I gues it isnt enought to remove the /mnt/cache/ path when the "domains" folder is set to: Prefer


    Would the best option keeping performance be to create a new domains share on the array? and just split them (Fast & Slow)



    @mgutt Also I am still using many of your great scripts (Also in this thread) the one you did for doing backups of the "Plex appdata backup" - Having everything on cache for speed requires good backup 🙂

    I was wondering if you have a similar solution doing VM backups? (I found the solution in the app store to be buggy and cause to many problems)  again thanks for all your help and especially all the great posts that you share with all of us in the forum!

    • Like 1
  5. On 10/10/2021 at 7:43 PM, casperse said:

    Hi All


    I just experienced my Unraid system to be really unresponsive and some of my dockers stopped running.



    I found the reason - it was this docker: Seedsync



    Looks like this docker was created under the Selfhostersnets-template so hoping someone can help me?

    I did have the parameter set: --cpus=2 --memory=3G --log-opt max-size=50m --log-opt max-file=1 --restart unless-stopped --user 99:100


    Anyone who can help me get this working?

    Can anyone share whats wrong with this docker template?

    I have installed it 3 times and after some time it just fills up the entire docker file and crashes everything

    There isnt any special fancy setup its pretty basic? maybee some logfile that isnt configured correctly?


    I did set all the special parameters and it still crashed

  6. Hi All


    I found that the SeedSync docker filled up my docker file:


    I was told that running it on a Ubuntu VM was the solution getting MAX speed and no Crash 🙂


    But after getting everything up and running the LAN speed was extremely slow (Speedtest was a joke)

    I found other friendly people wrote that I should change my XML setting for the LAN


        <interface type='bridge'>
          <mac address='52:54:00:69:21:10'/>
          <source bridge='br0'/>
          <model type='virtio-net'/>
          <address type='pci' domain='0x0000' bus='0x03' slot='0x00' function='0x0'/>


    From virtio-net --> virtio


    And that did help some, but is there anything else I need to change?


    My configurations is as follows.

    with 4G Ram and 4 Cores and its running on a fast Nvme so the HW should be okay

    Or is the only option to do a LAN passthrough?


    <?xml version='1.0' encoding='UTF-8'?>
    <domain type='kvm' id='21'>
      <description>Ubuntu v.18.04.3</description>
        <vmtemplate xmlns="unraid" name="Ubuntu" icon="/mnt/user/domains/seedsync/seedsync.png" os="ubuntu"/>
      <memory unit='KiB'>4194304</memory>
      <currentMemory unit='KiB'>4194304</currentMemory>
      <vcpu placement='static'>4</vcpu>
        <vcpupin vcpu='0' cpuset='0'/>
        <vcpupin vcpu='1' cpuset='6'/>
        <vcpupin vcpu='2' cpuset='5'/>
        <vcpupin vcpu='3' cpuset='11'/>
        <type arch='x86_64' machine='pc-q35-4.0.1'>hvm</type>
        <loader readonly='yes' type='pflash'>/usr/share/qemu/ovmf-x64/OVMF_CODE-pure-efi.fd</loader>
      <cpu mode='host-passthrough' check='none' migratable='on'>
        <topology sockets='1' dies='1' cores='2' threads='2'/>
        <cache mode='passthrough'/>
      <clock offset='utc'>
        <timer name='rtc' tickpolicy='catchup'/>
        <timer name='pit' tickpolicy='delay'/>
        <timer name='hpet' present='no'/>
        <disk type='file' device='disk'>
          <driver name='qemu' type='raw' cache='writeback'/>
          <source file='/mnt/user/domains/seedsync/vdisk1.img' index='1'/>
          <target dev='hdc' bus='virtio'/>
          <boot order='1'/>
          <alias name='virtio-disk2'/>
          <address type='pci' domain='0x0000' bus='0x05' slot='0x00' function='0x0'/>
        <controller type='pci' index='0' model='pcie-root'>
          <alias name='pcie.0'/>
        <controller type='pci' index='1' model='pcie-root-port'>
          <model name='pcie-root-port'/>
          <target chassis='1' port='0x10'/>
          <alias name='pci.1'/>
          <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0' multifunction='on'/>
        <controller type='pci' index='2' model='pcie-root-port'>
          <model name='pcie-root-port'/>
          <target chassis='2' port='0x11'/>
          <alias name='pci.2'/>
          <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x1'/>
        <controller type='pci' index='3' model='pcie-root-port'>
          <model name='pcie-root-port'/>
          <target chassis='3' port='0x12'/>
          <alias name='pci.3'/>
          <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x2'/>
        <controller type='pci' index='4' model='pcie-root-port'>
          <model name='pcie-root-port'/>
          <target chassis='4' port='0x13'/>
          <alias name='pci.4'/>
          <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x3'/>
        <controller type='pci' index='5' model='pcie-root-port'>
          <model name='pcie-root-port'/>
          <target chassis='5' port='0x14'/>
          <alias name='pci.5'/>
          <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x4'/>
        <controller type='virtio-serial' index='0'>
          <alias name='virtio-serial0'/>
          <address type='pci' domain='0x0000' bus='0x02' slot='0x00' function='0x0'/>
        <controller type='sata' index='0'>
          <alias name='ide'/>
          <address type='pci' domain='0x0000' bus='0x00' slot='0x1f' function='0x2'/>
        <controller type='usb' index='0' model='ich9-ehci1'>
          <alias name='usb'/>
          <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x7'/>
        <controller type='usb' index='0' model='ich9-uhci1'>
          <alias name='usb'/>
          <master startport='0'/>
          <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x0' multifunction='on'/>
        <controller type='usb' index='0' model='ich9-uhci2'>
          <alias name='usb'/>
          <master startport='2'/>
          <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x1'/>
        <controller type='usb' index='0' model='ich9-uhci3'>
          <alias name='usb'/>
          <master startport='4'/>
          <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x2'/>
        <filesystem type='mount' accessmode='passthrough'>
          <source dir='/mnt/disks/SEED/seedbox/'/>
          <target dir='downloads'/>
          <alias name='fs0'/>
          <address type='pci' domain='0x0000' bus='0x01' slot='0x00' function='0x0'/>
        <interface type='bridge'>
          <mac address='52:54:00:69:21:10'/>
          <source bridge='br0'/>
          <target dev='vnet3'/>
          <model type='virtio'/>
          <alias name='net0'/>
          <address type='pci' domain='0x0000' bus='0x03' slot='0x00' function='0x0'/>
        <serial type='pty'>
          <source path='/dev/pts/6'/>
          <target type='isa-serial' port='0'>
            <model name='isa-serial'/>
          <alias name='serial0'/>
        <console type='pty' tty='/dev/pts/6'>
          <source path='/dev/pts/6'/>
          <target type='serial' port='0'/>
          <alias name='serial0'/>
        <channel type='unix'>
          <source mode='bind' path='/var/lib/libvirt/qemu/channel/target/domain-21-SeedSync/org.qemu.guest_agent.0'/>
          <target type='virtio' name='org.qemu.guest_agent.0' state='disconnected'/>
          <alias name='channel0'/>
          <address type='virtio-serial' controller='0' bus='0' port='1'/>
        <input type='tablet' bus='usb'>
          <alias name='input0'/>
          <address type='usb' bus='0' port='1'/>
        <input type='mouse' bus='ps2'>
          <alias name='input1'/>
        <input type='keyboard' bus='ps2'>
          <alias name='input2'/>
        <graphics type='vnc' port='5906' autoport='yes' websocket='5706' listen='' keymap='en-gb'>
          <listen type='address' address=''/>
          <model type='qxl' ram='65536' vram='65536' vgamem='16384' heads='1' primary='yes'/>
          <alias name='video0'/>
          <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x0'/>
        <memballoon model='virtio'>
          <alias name='balloon0'/>
          <address type='pci' domain='0x0000' bus='0x04' slot='0x00' function='0x0'/>
      <seclabel type='dynamic' model='dac' relabel='yes'>


  7. Stupid me! I thought it was RAM since it is located under RAM usage


    So something in the docker "leaks" and fills up the virtual disk - and that was why all my dockers was crashing!

    So maybee there is a way to fix this docker? (The settings was minimal so must be the docker configuration?)


  8. Hi All


    I just experienced my Unraid system to be really unresponsive and some of my dockers stopped running.



    I found the reason - it was this docker: Seedsync



    Looks like this docker was created under the Selfhostersnets-template so hoping someone can help me?

    I did have the parameter set: --cpus=2 --memory=3G --log-opt max-size=50m --log-opt max-file=1 --restart unless-stopped --user 99:100


    Anyone who can help me get this working?

  9. docker ps -s



    I think I found the "Troublemaker" but how can it do this?

    Already did the: --cpus=2 --memory=3G --log-opt max-size=50m --log-opt max-file=1 --restart unless-stopped --user 99:100


    Also stopping the docker dosent help?


    UPDATE: I deleted the docker and the Docker memory went back to normal


    But shouldnt the parameter: --memory=3G prevent this?

    How can it still use +17G?







  10. Sorry @mgutt to bother you once again and opening this older thread again.....But the problem is now only for the "Docker"

    I am experiencing some very strange Docker problems and I have a hard time finding out what docker is causing this:




    There is no high usage in the tmp RAM drives:

    du -h --max-depth=3 /tmp



    Could this be the reason?


    Using the cache path for the docker.img?


    Some docker installed must be causing this just don't know wich one or why?


    ps aux | awk '{print $6/1024 " MB\t\t" $11}' | sort -n

    16.582 MB               python
    17.3125 MB              /usr/sbin/smbd
    17.5234 MB              /usr/bin/python
    19.043 MB               /usr/local/emhttp/plugins/controlr/controlr
    19.8828 MB              /usr/bin/python
    24.8672 MB              /usr/sbin/libvirtd
    25.1602 MB              /usr/sbin/smbd
    26.8789 MB              /usr/bin/php
    31.8672 MB              docker
    32.1836 MB              docker
    33.1055 MB              /usr/lib/plexmediaserver/Plex
    33.3242 MB              node
    36.3906 MB              Plex
    36.7695 MB              Plex
    38.0781 MB              python
    42.3008 MB              php-fpm:
    44.6875 MB              /usr/libexec/Xorg
    46.6641 MB              php-fpm:
    50.2266 MB              Plex
    50.8242 MB              containerd
    53.9688 MB              php-fpm:
    55.1719 MB              /usr/sbin/Xvnc
    58.2305 MB              python3
    63.3789 MB              /usr/bin/node
    65.7617 MB              node
    77.293 MB               python3
    77.332 MB               photoprism
    100.305 MB              /usr/bin/dockerd
    147.938 MB              /app/Jackett/jackett
    166.316 MB              /usr/lib/plexmediaserver/Plex
    184.473 MB              /app/radarr/bin/Radarr
    189.133 MB              /usr/bin/mariadbd
    191.445 MB              /app/radarr/bin/Radarr
    191.871 MB              /usr/local/sbin/shfs
    193.797 MB              /usr/lib/plexmediaserver/Plex
    259.641 MB              mongod
    281.68 MB               /usr/bin/node
    305.422 MB              /opt/ombi/Ombi
    321.5 MB                /usr/bin/mariadbd
    360.402 MB              python
    382.773 MB              python
    386.188 MB              python
    433.527 MB              python
    484.84 MB               /system/EmbyServer
    608.957 MB              python
    688.418 MB              /app/lidarr/bin/Lidarr
    696.168 MB              mono
    782.914 MB              python
    1237.76 MB              /usr/bin/qemu-system-x86_64
    2181.66 MB              /usr/bin/qemu-system-x86_64
    3288.1 MB               /usr/bin/qemu-system-x86_64
    4347.03 MB              /usr/bin/qemu-system-x86_64
    8444.67 MB              /usr/bin/qemu-system-x86_64
    8507.56 MB              /usr/bin/qemu-system-x86_64




  11. On 10/5/2021 at 2:34 PM, Squid said:

    HTTPS is greyed out because use SSL is set to no.


    Yes my bad - I did that when I had to SSH into the config to get my login page up again, so I could start the server (Forgot I changed Auto to no)


    Finally got the new monitor cable for the server a DISPLAY Adapter to HDMI (So I could troubleshoot and do the network changes  port change with the GUI on my screen)


    But for some reason the GUI is not displayed after Bios and loading of Unraid? (Cant catch a problem to a new one)

    I have not changed any of my settings, and it used to work on my old 1280p monitor now I have a new 4K display

    I have search the forum but my BIOS settings looks ok?


    I have set the IGP as the default in the BIOS on the motherboard and it works but only during boot!


    Then it stops and flashed this on the monitor before going black (Here it was running in 1080 so resolution is ok)


    I managed to catch this with my phone...

    The below txt "failed to connect happens after a very long timeout" (Since I havent had any screen doing boot for some time I don't know if this is normal?)


    UPDATE: I guess this problem is alreday known and is fixed by uninstalling the VM backup....

    Really a shame I really liked having backup of my VM's

    But is this also the reason the GUI doesn't work anymore... or just these 3 above errors?

    (I am rebuilding with a new drive so I cant reboot for some time now )


    Bios settings:






    Diagnostic file:


  12. On 10/6/2021 at 3:43 PM, Cat_Seeder said:

    I can't vouch for the best / preferred solution. But PIA has been working fine here, and I managed speeds over 600 Mbps with the "new" wireguard VPNs. I'm currently using Switzerland and Spain servers (I'm in Europe).

    So you can use the PIA wiregurad conf in the vpn setup using binhex-rtorrentvpn?

  13. On 10/5/2021 at 5:17 PM, mgutt said:

    Maybe you have a conflict with a VM, because 6000 is usually used by X11. Try 5000/5001 as I mentioned in my manual.

    That could be it! - (My Synology uses 5000/5001 default for Synology - its running as a VM)

    I will try 8000/8001

  14. Hi All


    I had some problems with PIA not the binhex-rtorrentvpn docker! when I used this 2 years ago

    Would like to know if PIA is still the preferred VPN provider?

    Or if someone found another provider with better speeds? and stable connections?


    Thanks for all your info in this thread!


    BTW: I think there was some specific VPN countries from PIA that where better than others? is this still the case?

  15. On 10/5/2021 at 7:10 PM, mgutt said:

    It does. "not found" is an answer of the container. Try a completely different port which is not used by any container and you will see an error instead.


    What happens if you open through your browser?

    I am beginning to think this is just "one of these dockers" that isnt working with a proxy


    Yes the will provide me with the same error page

    Only will work


    Yes just doing the curl for a port not in use:



    Doing it for my Bitwarden container and it shows up fine....

    So some containers is just not "seen" from the NMP and these will never work?


  16. That is really interesting!

    Both dockers the NPM and the Youtube-dl is on the same special proxynet I defined

    And for some reason the NMP container cannot reach the Youtube docker?


    I did another test and if manually just add "/youtube-dl" to the end of the new subdomain with new cert. then it works ??



    Here is the login webpage: - do you think there might be some error (Done allot of upgrades since my first Unraid 🙂

    <!DOCTYPE html>
    <html lang="en">


    Just ordered a new monitor cable so I can have a local monitor on my server boot up with the UI, the next time I try to change my ports away from 80 & 443 LOL

  17. 20 minutes ago, casperse said:

    I just removed the docker and deleted the docker image.

    I then re-installed it with my previous settings and I still have the container ports wrong?

    They are greyed out in the Docker config, is there anywhere I can set them manually in the docker config folder?

    Ok I am stupid forgot to set the special network, after installing it from scratch then it worked again

    (This dosent work for me with Host or Bridge)


    Had so many problems trying to change my Unraid ports, that I have to wait for help fixing this (Other thread)

    So for now I will keep it using 1443 & 180 - and forget about IPv6 for now

  18. Hi All


    I am trying to change my Unraid port setting from 80 & 443 to 6000 & 6001

    After changing the ports in the UI....

    It was NOT possible to access the Unraid GUI anymore?

    Not by IP or hostname?


    It tried to connect by IP:PORT and also I could see Unraid trying to access:  http://hostname.local:6000/  

    (By the way is the hostname case sensitive?)


    So I did a telnet and I had to edit the ident.cfg file in \\flash\config back to 

    # Generated settings:
    COMMENT="The Ultimate Media Server"
    SYS_MODEL="Xeon E-2100G based 24-bay NAS system"

    Then a restart: /etc/rc.d/rc.nginx restart


    Also when trying to start with SLL/TLS set to Auto I got this error:

    root@SERVER:/boot/config# /etc/rc.d/rc.nginx restart
    Checking configuration for correct syntax and
    then trying to open files referenced in configuration...
    nginx: the configuration file /etc/nginx/nginx.conf syntax is ok
    nginx: configuration file /etc/nginx/nginx.conf test is successful
    Shutdown Nginx gracefully...
    Stopping unraid-api process...
    Process stopped!
    Starting Nginx server daemon...
    nginx: [warn] "ssl_stapling" ignored, host not found in OCSP responder "" in the certificate "/etc/ssl/certs/unraid_bundle.pem"


    After this I could login but looking at the UI I still se the 6000/6001 ports? (See below)

    HTTPS is grayed out?


    How do I get this working with port 6000/6001 ?

    I need port 80 & 443 to get my nginx-proxy-manager-npm-official working with IPv6

    see more about this here:



  19. 1 hour ago, mgutt said:

    If a container runs in the host network it uses it's default ports. This is a usual behavior of all containers. 


    Did you accidentally change both ports, internal and external? This is not visible in the screenshot. Only if you edit the entry. Finally it would be interesting to see what it looks like after the container has been started.

    No I only changed the ports like before not the container ports


    I started the docker:



    Opening the settings I can see:



    Opening the EDIT HTTPS:



    The container ports are changed to the same port as my Host port?

    And only way to get it back is doing a re-install


    This is so strange, it happens when I change Host ports or I change network between Host & custom net  Prox

    net? - can it be somekind of bug? (I have refreshed the webpage and the values are not cached)



  20. Hi


    When I cahnge ports the container act funny



    But inside it looks okay:



    So far the only way to fix the port this have been to remove the container and install it again?


    If I change the proxynet to host :


    How can it change the ports...

    I can access the UI but the proxi stopped working after the port change (And yes the ports are open)

    Also disabled any 443 redirect to unraid disabling the "My server" remote access feature


    I love the docker and the UI but it dosent seem as stable as Swag?


  21. On 7/2/2021 at 12:17 AM, mgutt said:

    This is the only reliable way to use NPM through IPv6:


    1.) Change Unraid's HTTP and HTTPS ports to 5000 and 5001:



    2.) Install NPM by using the host network:



    3.) Open the ports 80 and 443 in your router:



    4.) Open the NPM WebGUI and after changing the login, you can add a proxy host (see next post for Plex as an example).


    5.) If you only want to type "tower" in your browser to reach your Unraid WebGUI, add this Redirection Host in NPM:



    Further explanation:

    IPv6 does not need port forwarding and many routers don't support it. So it's often not possible to forward internet traffic from port 443 (http) to a custom port like 8443. By that we have two options: Run NPM in the br0/custom network with a fixed ip address or run it in the host network (bridge has IPv6 disabled). I tried everything, but br0/custom isn't reliable as its not possible to define a fixed IPv6 without passing the IPv6 prefix and if your provider assigns a new IPv6 prefix, the container is offline and stays offline until we manually change the containers IPv6. And changing the IPv6 alone does not work as the "old" IPv4/IPv6 combination is internally reserved from the docker service. So its not only needed to change the IPv6 of the container, we additionally need to restart to entire Docker service itself.

    I just installed the NMP Official (Had the old docker) and set everything up like you wrote

    Except the 5000/5001 (Synology ports) so I changed it to 6000/6001


    But now the Unraid comes with the "My Servers" plugin and when this is running and I try to do the:

    (I use 6000 and my own server name ;-))


    I can not access the UNRAID UI anymore......

    So is there any workaround for having this setup with the "My Server" plugin

    Remote access from this requires you to let Unraid get a cert. and run HTTPS