Page 1 of 1

Errored torrent, permission denied

Posted: Sat Aug 10, 2024 6:58 pm
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

Re: Errored torrent, permission denied

Posted: Tue Aug 13, 2024 12:18 pm
by xcalibour
Attached image of the error

Re: Errored torrent, permission denied

Posted: Tue Aug 13, 2024 2:21 pm
by gderf
Your volume statements are wrong. You should read the image documentation to see why.

Re: Errored torrent, permission denied

Posted: Tue Aug 13, 2024 6:05 pm
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?

Re: Errored torrent, permission denied

Posted: Wed Aug 14, 2024 3:28 pm
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?

Re: Errored torrent, permission denied

Posted: Wed Aug 14, 2024 4:30 pm
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

Re: Errored torrent, permission denied

Posted: Wed Aug 14, 2024 6:42 pm
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.

Re: Errored torrent, permission denied

Posted: Thu Aug 15, 2024 6:51 pm
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.