Errored torrent, permission denied

If you run qBittorrent in / with Docker.
Post Reply
xcalibour
Newbie
Newbie
Posts: 6
Joined: Sat Aug 10, 2024 6:35 pm

Errored torrent, permission denied

Post by xcalibour »

Hi everyone! My name is Martin and i'm from Argentina, i've installed qbittorrent in open media vault with portainer, using this code:

[code]
---
services:
qbittorrent:
image: lscr.io/linuxserver/qbittorrent:latest
container_name: qbittorrent
environment:
- PUID=996
- PGID=993
- TZ=America/Argentina/Buenos_Aires
- WEBUI_PORT=8080
- TORRENTING_PORT=6881
volumes:
- /path/to/qbittorrent/appdata:/srv/dev-disk-by-uuid-f7ef7689-47ab-45d7-9cfc-2c750a4be476/qbit-config
- /path/to/downloads:/srv/dev-disk-by-uuid-f7ef7689-47ab-45d7-9cfc-2c750a4be476/Principal/qbit-downloads
ports:
- 8080:8080
- 6881:6881
- 6881:6881/udp
restart: unless-stopped
[/code]
the install was succesfully, but when it tryes to download a torrent it can't, the log says "permission denied"
i asume that was an error in the permissions to the folder, but i can put anything in there and it seems to be ok
sorry about my english, thank you al in advance
xcalibour
Newbie
Newbie
Posts: 6
Joined: Sat Aug 10, 2024 6:35 pm

Re: Errored torrent, permission denied

Post by xcalibour »

Attached image of the error
Attachments
WhatsApp Image 2024-08-13 at 09.18.04.jpeg
WhatsApp Image 2024-08-13 at 09.18.04.jpeg (38.92 KiB) Viewed 4076 times
gderf
Member
Member
Posts: 27
Joined: Mon Apr 26, 2021 3:26 pm

Re: Errored torrent, permission denied

Post by gderf »

Your volume statements are wrong. You should read the image documentation to see why.
xcalibour
Newbie
Newbie
Posts: 6
Joined: Sat Aug 10, 2024 6:35 pm

Re: Errored torrent, permission denied

Post by xcalibour »

gderf wrote:
> Your volume statements are wrong. You should read the image documentation
> to see why.

Thanks for answer, where do i find these documentation?
gderf
Member
Member
Posts: 27
Joined: Mon Apr 26, 2021 3:26 pm

Re: Errored torrent, permission denied

Post by gderf »

xcalibour wrote:
> gderf wrote:
> > Your volume statements are wrong. You should read the image documentation
> > to see why.
>
> Thanks for answer, where do i find these documentation?

https://hub.docker.com/r/linuxserver/qbittorrent

Note: When you see things like in documentation:

- /path/to/qbittorrent/appdata

this is an example placeholder only. You can not use it as is, you must change it to be an actual and correct for your use case string.

Also, the PUID and PGID you are using are questionable. Where did you get those values?
xcalibour
Newbie
Newbie
Posts: 6
Joined: Sat Aug 10, 2024 6:35 pm

Re: Errored torrent, permission denied

Post by xcalibour »

gderf wrote:
> xcalibour wrote:
> > gderf wrote:
> > > Your volume statements are wrong. You should read the image documentation
> > > to see why.
> >
> > Thanks for answer, where do i find these documentation?
>
> https://hub.docker.com/r/linuxserver/qbittorrent
>
> Note: When you see things like in documentation:
>
> - /path/to/qbittorrent/appdata
>
> this is an example placeholder only. You can not use it as is, you must change it to
> be an actual and correct for your use case string.
-->actually i've changed this after i saw my post, but the same result.
-->the new values are:
volumes:
- /appdata:/srv/dev-disk-by-uuid-f7ef7689-47ab-45d7-9cfc-2c750a4be476/qbit-config
- /downloads:/srv/dev-disk-by-uuid-f7ef7689-47ab-45d7-9cfc-2c750a4be476/Principal/qbit-downloads
>
> Also, the PUID and PGID you are using are questionable. Where did you get those
> values?
--> i ssh to my OMV with powershell, and then "id admin" command, the result is this:
uid=996(admin) gid=100(users) grupos=100(users),993(openmediavault-admin)

sorry about the messy post, my bbcode is OFF and don't know how to turn it on, but also don't want to bother
gderf
Member
Member
Posts: 27
Joined: Mon Apr 26, 2021 3:26 pm

Re: Errored torrent, permission denied

Post by gderf »

Your volumes are still wrong. Make them so and be sure that you are obeying the rules for indents.

volumes:
- /srv/dev-disk-by-uuid-f7ef7689-47ab-45d7-9cfc-2c750a4be476/qbit-config:/config
- /srv/dev-disk-by-uuid-f7ef7689-47ab-45d7-9cfc-2c750a4be476/Principal/qbit-downloads:/downloads

Poor choice for PUID and PGID. You should create a new user in OMV for this.

Also, in case you are unaware, your IP address will be exposed when torrenting this way.
xcalibour
Newbie
Newbie
Posts: 6
Joined: Sat Aug 10, 2024 6:35 pm

Re: Errored torrent, permission denied

Post by xcalibour »

Thank you very much for taking the time to answer, i'm aware this is too much for me, so i will put it to rest. Thanks again.
Post Reply