Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to chown/chmod '/config', assuming SMB mountpoint #379

Open
LilTrublMakr opened this issue Sep 5, 2023 · 1 comment
Open

Unable to chown/chmod '/config', assuming SMB mountpoint #379

LilTrublMakr opened this issue Sep 5, 2023 · 1 comment

Comments

@LilTrublMakr
Copy link

Hello all,

I am trying to transfer deluge between machines and I am not able to get it working on the new host.

compose file:

version: "3.2"
services:
  deluge-vpn:
    container_name: deluge-vpn
    image: binhex/arch-delugevpn:latest
    restart: unless-stopped
    logging:
      driver: json-file
    ports:
      - 8112:8112
      - 8118:8118
      - 58846:58846
      - 58946:58946
    environment:
      - PUID=3066
      - PGID=3066
      - UMASK=002
      - VPN_ENABLED=yes
      - VPN_USER=p8675309
      - VPN_PASS=wouldntyouliketoknow
      - VPN_PROV=pia
      - VPN_CLIENT=openvpn
      - STRICT_PORT_FORWARD=yes
      - ENABLE_PRIVOXY=no
      - LAN_NETWORK=192.168.0.0/16
    volumes:
      - /etc/localtime:/etc/localtime:ro
      - /docker/appdata/deluge:/config
      - /sail/torrents:/data/torrents

log output:

Created by...
___.   .__       .__
\_ |__ |__| ____ |  |__   ____ ___  ___
 | __ \|  |/    \|  |  \_/ __ \\  \/  /
 | \_\ \  |   |  \   Y  \  ___/ >    <
 |___  /__|___|  /___|  /\___  >__/\_ \
     \/        \/     \/     \/      \/
   https://hub.docker.com/u/binhex/

tee: /config/supervisord.log: Permission denied
2023-09-05 19:49:10.751472 [info] System information Linux fd4c6fbf19e4 5.15.0-82-generic #91-Ubuntu SMP Mon Aug 14 14:14:14 UTC 2023 x86_64 GNU/Linux
2023-09-05 19:49:10.780631 [info] OS_ARCH defined as 'x86-64'
2023-09-05 19:49:10.804893 [warn] PUID defined as '3066'
2023-09-05 19:49:10.831254 [warn] PGID defined as '3066'
2023-09-05 19:49:10.866716 [warn] UMASK defined as '022'
2023-09-05 19:49:10.891813 [info] Setting permissions recursively on '/config'...
chown: changing ownership of '/config': Operation not permitted
chmod: changing permissions of '/config': Operation not permitted
[warn] Unable to chown/chmod '/config', assuming SMB mountpoint
/usr/local/bin/init.sh: line 88: /config/perms.txt: Permission denied

fstab:

ip:/mnt/Storage/appdata/starr /docker/appdata nfs defaults 0 0
ip:/mnt/Storage/sail /sail nfs defaults 0 0

I have been able to use similar mount points with linuxserver containers with the same PUID and PGID without problem, this is the only one where I am getting permissions issues. I have confirmed that all host folders have the correct permissions and owners. Is there anything else to try?

@bbccdd
Copy link

bbccdd commented Apr 5, 2024

Hi @LilTrublMakr same problem here after a move (to an NFS share) but with the same UID / GID. Did you get closer to a solution please?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants