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

[BUG] SUBFOLDER variable not honored #84

Closed
1 task done
cyruz-git opened this issue Sep 14, 2024 · 2 comments
Closed
1 task done

[BUG] SUBFOLDER variable not honored #84

cyruz-git opened this issue Sep 14, 2024 · 2 comments

Comments

@cyruz-git
Copy link

cyruz-git commented Sep 14, 2024

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

The app is not hosted at the chosen subfolder.

Expected Behavior

The app is reachable at the chosen subfolder.

Steps To Reproduce

  1. Use the docker-firefox container (the issue has been replicated with docker-obsidian and docker-chromium)
  2. Set the SUBFOLDER variable to "test/"
  3. Run the docker
  4. Try to reach the app at http://ip:port/test/

Environment

- OS: UNRAID
- How docker service was installed: Preinstalled

Docker creation

docker run
  -d
  --name='firefox'
  --net='cloud'
  --ip='172.31.0.2'
  --pids-limit 2048
  -e TZ="Europe/Berlin"
  -e HOST_OS="Unraid"
  -e HOST_HOSTNAME="UNAS"
  -e HOST_CONTAINERNAME="firefox"
  -e 'DRINODE'='/dev/dri/renderD128'
  -e 'SUBFOLDER'='test/'
  -e 'PUID'='99'
  -e 'PGID'='100'
  -e 'UMASK'='002'
  -l net.unraid.docker.managed=dockerman
  -l net.unraid.docker.webui='http://[IP]:[PORT:3000]'
  -l net.unraid.docker.icon='https://github.com/linuxserver/docker-templates/master/linuxserver.io/img/firefox-logo.png'
  -p '4000:3000/tcp'
  -p '4001:3001/tcp'
  -v '/mnt/disks/aux/downloads/firefox/':'/config/Downloads':'rw,slave'
  -v '/mnt/user/appdata/firefox':'/config':'rw'
  --device='/dev/dri'
  --shm-size=1gb 'lscr.io/linuxserver/firefox'
4e4d8339c3f9f14162a8cb1f617ae2027cd3aac499b2cee7b1c7bbf0e3977503

Container logs

_XSERVTransmkdir: ERROR: euid != 0,directory /tmp/.X11-unix will not be created.

Xvnc KasmVNC 1.2.0 - built Aug 31 2024 18:45:39
Copyright (C) 1999-2018 KasmVNC Team and many others (see README.me)
See http://kasmweb.com for information on KasmVNC.
Underlying X server release 12014000, The X.Org Foundation

[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:    99
User GID:    100
───────────────────────────────────────
**** adding /dev/dri/renderD128 to video group audio with id 18 ****
**** permissions for /dev/dri/card0 are good ****
[custom-init] No custom files found, skipping...
[ls.io-init] done.
Obt-Message: Xinerama extension is not present on the server
19
Copy link

Thanks for opening your first issue here! Be sure to follow the relevant issue templates, or risk having this issue marked as invalid.

@cyruz-git
Copy link
Author

cyruz-git commented Sep 14, 2024

My mistake, I did not realize that the variable content should have a / as suffix AND prefix.

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

No branches or pull requests

1 participant