Closed jacksonv1lle closed 1 year ago
I was able to resolve the issue by doing the following:
In the qBittorrent section of the docker-compose.yml
file, ensure the DOWNLOAD_ROOT is mapped to /downloads
:
volumes:
- ./qbittorrent:/config
- ${DOWNLOAD_ROOT}:/downloads
In the the qBittorrent.conf
file, ensure Session\DefaultSavePath is set to /downloads
[BitTorrent]
Session\DefaultSavePath=/downloads
Hi there.
I am not able to get a torrent to start downloading in qBittorrent . It fails with a 'permission denied' error when attempting to write to the host file system.
Here is the error from qbittorrent.log:
(W) 2023-08-14T14:49:58 - File error alert. Torrent: "2023-05-03-raspios-bullseye-armhf.img.xz". File: "/mnt/data/torrents/2023-05-03-raspios-bullseye-armhf.img.xz". Reason: "2023-05-03-raspios-bullseye-armhf.img.xz mkdir (/mnt/data/torrents/2023-05-03-raspios-bullseye-armhf.img.xz) error: Permission denied"
I have an external USB drive mounted in
/mnt/data
with 777 permissions. There is also a directory calledtorrents
inside the data directory.I am using these settings in the
.env
file:The user and group ids are correctly assigned.
I have noticed a couple of discrepancies that I don't understand. In the qBittorrent section of the Readme it says:
Set the default save path to /data/torrents in Settings
I guess this should say/mnt/data/torrents
right?Also I noticed that in the qBittorrent section of the docker-compse.yml, it has:
Is the DOWNLOAD_ROOT mapping correct here? In the qbittorrent container documentation they use this:
You can see that the DOWNLOAD_ROOT should map to
/downloads
. Is that right?Thanks in advance