Page 1 of 1

qBitTorrent installed by Docker file, saving files in a folder that I dont want!

Posted: Thu Apr 27, 2023 12:49 pm
by paivadaniel
I have a hd mounted in /media/Courses (correctly configured in /etc/fstab) to store my downloads. In my Web UI of qBitTorrent installed via Docker, in the settings I checked for the files to be saved in: /media/Courses/downloads, but everything is being saved in: /var/lib/docker/overlay2/a6b437c93a0285c951ea64bfc59705e49e0e057c2d024951d7000cfe515926b4/diff/media/Cursos/downloads/

How do I save the files in /media/Courses/downloads?

follow my docker-compose for qBitTorrent:

version: "2.1"
services:
qbittorrent:
image: lscr.io/linuxserver/qbittorrent:latest
container_name: qbittorrent
environment:
- PUID=0
- PGID=0
- TZ=America/Sao_Paulo
- WEBUI_PORT=8080
volumes:
- /media/Cursos/data/qbittorrent:/config
- /media/Cursos/downloads:/downloads
ports:
- 8080:8080
- 6881:6881
- 6881:6881/udp
restart: unless-stopped

p.s.: I changed my PUID and PGID from 1000 to 0 because I was getting the "Permission Denied" error when trying to download torrents.

Re: qBitTorrent installed by Docker file, saving files in a folder that I dont want!

Posted: Tue Aug 29, 2023 7:21 pm
by gderf
In the QBT configuration page you are using an incorrect location to store your downloads. You can NOT use a directory located on your system, it must be, in your use case, /downloads

Re: qBitTorrent installed by Docker file, saving files in a folder that I dont want!

Posted: Tue Sep 24, 2024 10:51 pm
by ticedoff8
p.s.: I changed my PUID and PGID from 1000 to 0 because I was getting the "Permission Denied" error when trying to download torrents.
Changing the PUID and PGID to 0 is a security risk (and it didn't work for me - lol)

But, I changed the fstab entry to make the CIFS mount 777

Code: Select all

//nas/bittorrent /mnt/qbittorrent.downloads cifs  credentials=/etc/win-credentials-qbittorrent,file_mode=0777,dir_mode=0777 0 0
That makes the mount wide open and the downloads started working regardless of what PUID or PGID is being used

But, I'd rather figure out the "correct way" to get this working in a more secure mode.