Skip to content

[BUG] PUID and PGID aren't working #180

Description

@KillahB33

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

On start of container it tries to chown everything in the download dir and fails because of permission.
Most of my downloads aren't working, for those that are it's downloading them as 99:users and not 1000:1000.

Expected Behavior

No response

Steps To Reproduce

pull latest

Environment

- OS: Ubuntu 20.04
- How docker service was installed:

CPU architecture

x86-64

Docker creation

deluge:
    image: lscr.io/linuxserver/deluge:latest
    container_name: deluge
    network_mode: host
    environment:
      - PUID=1000
      - PGID=1000
      - TZ=America/Toronto
      - UMASK_SET=022 #optional
      - DELUGE_LOGLEVEL=error #optional
      - DOCKER_MODS=ghcr.io/gilbn/theme.park:deluge
      - TP_THEME=dark
    volumes:
      - /opt/config/deluge:/config
      - /opt/downloads:/downloads
    restart: unless-stopped

Container logs

[mod-init] Attempting to run Docker Modification Logic
[mod-init] Applying gilbn/theme.park:deluge files to container
[mod-init] gilbn/theme.park:deluge applied to container
[migrations] started
[migrations] no migrations found

-------------------------------------
          _         ()
         | |  ___   _    __
         | | / __| | |  /  \
         | | \__ \ | | | () |
         |_| |___/ |_|  \__/


Brought to you by linuxserver.io
-------------------------------------

To support LSIO projects visit:
https://www.linuxserver.io/donate/
-------------------------------------
GID/UID
-------------------------------------

User uid:    1000
User gid:    1000
-------------------------------------

[mod-init] Attempting to run Docker Modification Logic
[mod-init] Applying gilbn/theme.park:deluge files to container
[mod-init] gilbn/theme.park:deluge at sha256:d569330927595909b4a585b249377363e287bf099c922d0e6355eb567072b314 has been previously applied skipping
[migrations] started
[migrations] no migrations found
usermod: no changes

-------------------------------------
          _         ()
         | |  ___   _    __
         | | / __| | |  /  \
         | | \__ \ | | | () |
         |_| |___/ |_|  \__/


Brought to you by linuxserver.io
-------------------------------------

To support LSIO projects visit:
https://www.linuxserver.io/donate/
-------------------------------------
GID/UID
-------------------------------------

User uid:    1000
User gid:    1000
-------------------------------------

**** Permissions could not be set. This is probably because your volume mounts are remote or read-only. ****
**** The app may not work properly and we will not provide support for it. ****
---------------------------
|  Deluge theme.park Mod  |
---------------------------
Variables set:
'TP_DOMAIN'=
'TP_COMMUNITY_THEME'=
'TP_SCHEME'=
'TP_THEME'=dark

No domain set, defaulting to theme-park.dev
No scheme set, defaulting to https
---------------------------
|  Adding the stylesheet  |
---------------------------
Stylesheet set to dark
    
[custom-init] No custom files found, skipping...
[ls.io-init] done.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions