binhex / arch-delugevpn

Docker build script for Arch Linux base with Deluge, Privoxy and OpenVPN
GNU General Public License v3.0
696 stars 112 forks source link

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

Open LilTrublMakr opened 1 year ago

LilTrublMakr commented 1 year ago

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 commented 7 months ago

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?