Operating system: ElectricEel-24.10.1
I’m running a custom qBittorent app with gluetun using AirVPN, here’s my docker compose file (all the sensitive info redacted):
services:
gluetun:
cap_add:
- NET_ADMIN
container_name: gluetun
devices:
- /dev/net/tun:/dev/net/tun
environment:
- TZ=America/New_York
- VPN_SERVICE_PROVIDER=custom
- VPN_TYPE=wireguard
- WIREGUARD_ENDPOINT_IP= REDACTED
- WIREGUARD_ENDPOINT_PORT= REDACTED
- WIREGUARD_PUBLIC_KEY= REDACTED
- WIREGUARD_PRIVATE_KEY= REDACTED
- WIREGUARD_PRESHARED_KEY= REDACTED
- WIREGUARD_ADDRESSES= REDACTED
- FIREWALL_VPN_INPUT_PORTS= REDACTED
- SERVER_COUNTRIES=
- DNS_ADDRESS= REDACTED
image: qmcgaw/gluetun:latest
ports:
- ‘8080:8080’
- 6881:6881/udp
- 6881:6881/tcp
restart: unless-stopped
qbittorrent:
container_name: qbittorrent
depends_on:
- gluetun
environment:
- PUID=568
- PGID=568
- TZ=America/New_York
- WEBUI_PORT=8080
image: linuxserver/qbittorrent:latest
network_mode: service:gluetun
restart: unless-stopped
volumes:
- ./configs/:/config
- /mnt/NAS 16TB 2 Vdevs Mirrored /arr-apps/Downloads:/DownloadsT
I also followed this tutorial and set everything up accordingly https://www.youtube.com/watch?v=SQEqsaKN-Go&lc=UgwjMRtwTmcw86S8Fpx4AaABAg
I’m able to set up the app fine, when I use “curl ip.me” it shows that the VPN is working. When I use “ls” I can see the “DownloadsT” directory, I can even go in there and create a file. However when I try to download any torrent, wheter it be from a magnet or file, I get an error, and this is what I found in the logs:
(N) 2025-02-04T15:19:22 - Torrent stopped. Torrent: “Batman Ninja (2018) [BluRay] [1080p] [YTS] [YIFY]”
(N) 2025-02-04T15:19:26 - Torrent resumed. Torrent: “Batman Ninja (2018) [BluRay] [1080p] [YTS] [YIFY]”
(N) 2025-02-04T15:20:12 - Added new torrent. Torrent: “ubuntu-24.10-desktop-amd64.iso”
(W) 2025-02-04T15:20:15 - File error alert. Torrent: “ubuntu-24.10-desktop-amd64.iso”. File: “/downloadsT/ubuntu-24.10-desktop-amd64.iso”. Reason: “ubuntu-24.10-desktop-amd64.iso file_open (/downloadsT/ubuntu-24.10-desktop-amd64.iso) error: Permission denied”
(W) 2025-02-04T15:20:22 - File error alert. Torrent: “Batman Ninja (2018) [BluRay] [1080p] [YTS] [YIFY]”. File: “/downloadsT/Batman Ninja (2018) [BluRay] [1080p] [YTS.AM]/Batman.Ninja.2018.1080p.BluRay.x264-[YTS.AM].mp4”. Reason: “Batman Ninja (2018) [BluRay] [1080p] [YTS.AM] file_open (/downloadsT/Batman Ninja (2018) [BluRay] [1080p] [YTS.AM]/Batman.Ninja.2018.1080p.BluRay.x264-[YTS.AM].mp4) error: Permission denied”
Any idea why this is happening? I searched many forums but found nothing, not sure if this is an issue with truenas or qBittorrent, any help/input is appreciated.
Thanks!