docker and portainer ip question

  • is there an environment variable i can add for the monitored folder?


    I've tried adding

    /srv/dev-disk-by-uuid-c02f9840-5c78-47e3-9277-345213d858b3/TorrentZ_Uploads

    and

    /TorrentZ_Uploads

    in the qbittorent settings but it's not working.

  • HackitZ

    Added the Label resolved
    • Official Post

    Yes, I think so. But as gderf mentioned above he also did not manage to get it to work. And really should not matter, which port is used internally as long as you are not installing any other services INSIDE the container.

  • sorry for the newb question.

    but how do i add a folder to the monitored folder setting?

    google keeps showing info from 2012 to 2016.

    I've tried to add the full path?

    like: /srv/dev-disk-by-uuid-c02f9840-5c78-47e3-9277-345213d858b3/TorrentZ_Uploads

    also: /TorrentZ_Uploads


    i know this is a simple thing i just can't seem to get it to work.

    in the end i'd aslo like to add a widows folder, but i'll stick with getting a local folder on the same machine working.

    thanks

  • Forget about mentions of 172.x IP addresses. Those belong to the container. Your VPN IP remote address is: 107.173.59.99


    This docker images has unusual properties (compared to almost all others) with respect to port assignments. It also has an incorrect WEBUI environment variable specification.


    You can absolutely NOT use a port spec that has a different host side and container side port. It will not work.


    INCORRECT example: 8081:8080


    Edit:


    CORRECT example: 8080:00


    CORRECT example: 8080:8080


    This environment variable is INCORRECT even though the documentation shows it this way: WEBUI_PORT_ENV=8081


    This is a sample of the correct environment variable and I provided it to you this way in my stack: WEBUI_PORT=8080 Use of this variable may or may not be optional. I say it's not option, use it because the documentation is at least partially incorrect.


    Any selection you make as your choice for the above discussed port must be identical in all three places where it is used.


    I do not have any ports open on my router and forwarded to my omv machine. In my use case with my VPN provider (Torguard.net) this is unnecessary. Once you have a working setup you may want to try disabling your port forwards as a test.

    --
    Google is your friend and Bob's your uncle!


    A backup strategy is worthless unless you have a verified to work by testing restore strategy.


    OMV AMD64 7.x on headless Chenbro NR12000 1U Intel Xeon CPU E3-1230 V2 @ 3.30GHz 32GB ECC RAM.

    OMV AMD64 8.x on headless Tyan Thunder SX GT86C-B5630 1U Server with Intel Xeon Silver 4110 CPU @ 2.10GHz & 32GB DDR4 ECC RAM.

    Edited once, last by gderf ().

  • You can not use host side paths like /srv/dev/.... anywhere inside the qbittorrent GUI. All paths there must be relative to the container, not the host.


    For a user chosen monitored folder, create a new subdirectory on your host like this:


    /srv/dev-disk-by-uuid-c02f9840-5c78-47e3-9277-345213d858b3/TorrentZ/monitored


    Then in the qbittorrent GUI set:


    Automatically add torrents from: /downloads/monitored


    Override Save Location: Default Save Location


    As with all folder location you use with any docke make sure that the PUID the container runs as has the correct permissions it needs to work with the folders.

    --
    Google is your friend and Bob's your uncle!


    A backup strategy is worthless unless you have a verified to work by testing restore strategy.


    OMV AMD64 7.x on headless Chenbro NR12000 1U Intel Xeon CPU E3-1230 V2 @ 3.30GHz 32GB ECC RAM.

    OMV AMD64 8.x on headless Tyan Thunder SX GT86C-B5630 1U Server with Intel Xeon Silver 4110 CPU @ 2.10GHz & 32GB DDR4 ECC RAM.

  • should this work?

    /srv/dev-disk-by-uuid-c02f9840-5c78-47e3-9277-345213d858b3/TorrentZ_Uploads

    I added this in qbittorrent GUI:

    Automatically add torrents from: /downloads/TorrentZ_Uploads

    then selected monitored folder in the drop down.

  • should this work?

    /srv/dev-disk-by-uuid-c02f9840-5c78-47e3-9277-345213d858b3/TorrentZ_Uploads

    I added this in qbittorrent GUI:

    Automatically add torrents from: /downloads/TorrentZ_Uploads then selected monitired folder in the drop down.

    Most likely would not work.


    The container will only talk to a host filesystem directory identified via a volume bind mount and only through the container directory bound to that host side directory. I don't see this in what you show.

    --
    Google is your friend and Bob's your uncle!


    A backup strategy is worthless unless you have a verified to work by testing restore strategy.


    OMV AMD64 7.x on headless Chenbro NR12000 1U Intel Xeon CPU E3-1230 V2 @ 3.30GHz 32GB ECC RAM.

    OMV AMD64 8.x on headless Tyan Thunder SX GT86C-B5630 1U Server with Intel Xeon Silver 4110 CPU @ 2.10GHz & 32GB DDR4 ECC RAM.

  • Thanks,

    Yeah just figured that out.

    if the volume is not bound to the container it will not see it.

    Thanks for the help.

    think ill put a request on git for qbittorrent.


    i wonder if i could add it my self to the config file?

  • Is there some reason you can't use what's already available that already works for this?


    With some images you can actually make up undocumented stuff so long as it strictly follows the conventions of what it would expect. You could always try and see. But this image is touchy all by itself anyway.


    Not sure what to expect with feature requests on this one. It has reported problems that have still not been fixed.

    --
    Google is your friend and Bob's your uncle!


    A backup strategy is worthless unless you have a verified to work by testing restore strategy.


    OMV AMD64 7.x on headless Chenbro NR12000 1U Intel Xeon CPU E3-1230 V2 @ 3.30GHz 32GB ECC RAM.

    OMV AMD64 8.x on headless Tyan Thunder SX GT86C-B5630 1U Server with Intel Xeon Silver 4110 CPU @ 2.10GHz & 32GB DDR4 ECC RAM.

  • Read this a bit on the diagonal, but just some thoughts on 2 points (this is on linuxserver/docker-qbittorrent so it works on mcnugem's) :


    1. The WebUI port can be change to whatever you want, if you use the YML/stack with, for eg:

    Code
    - WEBUI_PORT_ENV=40000 #the port number you want to access the WebGUI
    ....
    ports:
    - xxxx:40000 # xxxx the port you want to expose on the Host : The port selected for WEBUI


    2. qBittorrent has a folder to "watch" for torrents (bind a volume/folder to it) :

    Code
    - /srv/dev-disk-xxxxxx/the folder were your torrent files will be:/watch

    Then, on the WebUI "Options-->Downloads", set the downloads to automatic and set the folder to "watch"

  • --
    Google is your friend and Bob's your uncle!


    A backup strategy is worthless unless you have a verified to work by testing restore strategy.


    OMV AMD64 7.x on headless Chenbro NR12000 1U Intel Xeon CPU E3-1230 V2 @ 3.30GHz 32GB ECC RAM.

    OMV AMD64 8.x on headless Tyan Thunder SX GT86C-B5630 1U Server with Intel Xeon Silver 4110 CPU @ 2.10GHz & 32GB DDR4 ECC RAM.

  • It seems that the environment is not correct, according to the first 2 replies:

    Instead of WEBUI_PORT_ENV=xxxxxx (this is what was stated in the readme for mcnugem), it should be only WEBUI_PORT=xxxxx (as stated on the linuxserver readme)



    As for the "watch" folder, I don't use it (I add the torrents via the WebGui, after downloading them to my PC).

    Only showed how it's supposed to be, according to the documentation, :)


    I trust it works, :/

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!