guillaumedsde / alpine-qbittorrent-openvpn

qBittorrent docker container with OpenVPN client running as unprivileged user on alpine linux
https://guillaumedsde.gitlab.io/alpine-qbittorrent-openvpn/
GNU General Public License v3.0
216 stars 40 forks source link

[bug] Download path set by variable but defaulted to some other folder #89

Open LordBurtz opened 3 years ago

LordBurtz commented 3 years ago

Information

after running a docker container with the option -v /media/ex-hdd1/qbit/downloads/:/downloads my downloads do not get added into the specified folder but in qBittorrent/downloads

Current setup

64bit laptop 16gb ram 480gb main and 1tb extern hdd storage ubuntu server 20.04.02 LTS kernel: 5.4.0-81-generic

this is the full command (some info missing for obv. reasons) docker run --cap-add=NET_ADMIN -d -v /media/ex-hdd1/qbit/downloads/:/downloads -v /home/user/server/qbit/:/config -v /etc/localtime:/etc/localtime:ro -e OPENVPN_PROVIDER=MULLVAD -e OPENVPN_CONFIG=de_all -e OPENVPN_USERNAME=[number_without_spaces] -e OPENVPN_PASSWORD=[amgonus] -e PUID=1000 -e PGID=1000 -e LAN=192.168.0.0/24 --sysctl net.ipv6.conf.all.disable_ipv6=0 -p 8080:8080 guillaumedsde/alpine-qbittorrent-openvpn:latest

docker image tag: latest | -------------------------------------------------------- | --- | dunno how to get a hash

started via: docker start happy_hypatia (<- the docker container name)

Attempted Fix(es)

dont know how to fix, found no option in qBittorren.conf

Ricardo-0101 commented 3 years ago

@LordBurtz You may just need to check the "Default Save Path" in the settings via the GUI. Based on the volume you have mapped setting this to /downloads should get the result you are after.

Below is a screenshot of mine, the volume I'm using for downloads in the container is /mnt/downloads/:/downloads. Set like this my torrents are saved in /mnt/downloads/qbittorrent/complete/ unless they have a category set in which case they end up in /mnt/downloads/qbittorrent/complete/category-name-here/

image

LordBurtz commented 3 years ago

ah well thanks @Ricardo-0101 , but my general problem is that i specified my downloads folder to be in /media/ex... and my general volume in my home directory.. so /downloads will resolve to some downloads folder in my general volumes folder but not the special external one