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
Errored torrent, permission denied
Re: Errored torrent, permission denied
Attached image of the error
- Attachments
-
- WhatsApp Image 2024-08-13 at 09.18.04.jpeg (38.92 KiB) Viewed 4214 times
Re: Errored torrent, permission denied
Your volume statements are wrong. You should read the image documentation to see why.
Re: Errored torrent, permission denied
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?
> 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
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?
> 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
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
> 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
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.
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
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.