Skip to content

[BUG] Using customer PUID/PGID gives 502 bad gateway #23

@TimoVerbrugghe

Description

@TimoVerbrugghe

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

When using this container without setting PUID/PGID, the container starts normally. However, when setting environment variables PUID/PGID (in my case to 3000), the containers doesn't seem to start normally. Going to the exposed port just gives a 502 bad gateway NGINX error...

Expected Behavior

Container starts normally

Steps To Reproduce

  1. Create docker compose with PUID & PGID set to custom value (f.e. 3000)

Environment

- OS: NixOS 25.05
- How docker service was installed: nixpkgs

CPU architecture

x86-64

Docker creation

filezilla:
    image: lscr.io/linuxserver/filezilla:latest
    container_name: filezilla
    restart: always
    networks:
      - dockerproxy
    environment:
      - PUID=3000
      - PGID=3000
      - TZ=Europe/Brussels
    volumes:
      - filezilla:/config
      - media:/media
      - isos:/isos
      - downloads:/downloads
    ports:
      - 13001:3000
    labels:
      tsdproxy.enable: true
      tsdproxy.name: "filezilla"
      tsdproxy.container_port: 3000
      tsdproxy.ephemeral: false

Container logs

───────────────────────────────────────

      ██╗     ███████╗██╗ ██████╗

      ██║     ██╔════╝██║██╔═══██╗

      ██║     ███████╗██║██║   ██║

      ██║     ╚════██║██║██║   ██║

      ███████╗███████║██║╚██████╔╝

      ╚══════╝╚══════╝╚═╝ ╚═════╝

   Brought to you by linuxserver.io

───────────────────────────────────────

To support LSIO projects visit:

https://www.linuxserver.io/donate/

───────────────────────────────────────

GID/UID

───────────────────────────────────────

User UID:    3000

User GID:    3000

───────────────────────────────────────

[custom-init] No custom files found, skipping...

[ls.io-init] done.

Openbox-Message: Failed to open the display from the DISPLAY environment variable.

_XSERVTransmkdir: Owner of /tmp/.X11-unix should be set to root

Xvnc KasmVNC 1.3.3 - built May 31 2025 18:49:33

Copyright (C) 1999-2018 KasmVNC Team and many others (see README.me)

See http://kasmweb.com for information on KasmVNC.

Underlying X server release 12101014

[mi] mieq: warning: overriding existing handler 0 with 0x55bc5c765a90 for event 2

[mi] mieq: warning: overriding existing handler 0 with 0x55bc5c765a90 for event 3

Obt-Message: Xinerama extension is not present on the server

Reading locale option from /config/.config/filezilla/filezilla.xml

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions