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] Problem when using SUBFOLDER #13

Closed
1 task done
AliM1988 opened this issue Jul 22, 2024 · 2 comments
Closed
1 task done

[BUG] Problem when using SUBFOLDER #13

AliM1988 opened this issue Jul 22, 2024 · 2 comments

Comments

@AliM1988
Copy link

AliM1988 commented Jul 22, 2024

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

I used this docker-compose file:

---
services:
  sqlitebrowser:
    image: lscr.io/linuxserver/sqlitebrowser:latest
    container_name: sqlitebrowser
    security_opt:
      - seccomp:unconfined #optional
    environment:
      - PUID=1000
      - PGID=1000
      - TZ=Etc/UTC
      - SUBFOLDER=/somepath/    # need both slashes IE /subfolder/
    volumes:
      - /root/mydir:/config
    ports:
      - 3000:3000   # HTTP
      - 3001:3001   # HTTPS 
    restart: unless-stopped

By navigating to url: {my-mvs-ip}:3000/somepath , I faced this :
image

But if SUBFOLDER don't be used, it works fine.

Expected Behavior

No response

Steps To Reproduce

use above docker-compose file

Environment

- OS:
- How docker service was installed:

CPU architecture

x86-64

Docker creation

use above docker-compose file

Container logs

sqlitebrowser  | [migrations] started
sqlitebrowser  | [migrations] no migrations found
sqlitebrowser  | ───────────────────────────────────────
sqlitebrowser  | 
sqlitebrowser  |       ██╗     ███████╗██╗ ██████╗
sqlitebrowser  |       ██║     ██╔════╝██║██╔═══██╗
sqlitebrowser  |       ██║     ███████╗██║██║   ██║
sqlitebrowser  |       ██║     ╚════██║██║██║   ██║
sqlitebrowser  |       ███████╗███████║██║╚██████╔╝
sqlitebrowser  |       ╚══════╝╚══════╝╚═╝ ╚═════╝
sqlitebrowser  | 
sqlitebrowser  |    Brought to you by linuxserver.io
sqlitebrowser  | ───────────────────────────────────────
sqlitebrowser  | 
sqlitebrowser  | To support the app dev(s) visit:
sqlitebrowser  | DB Browser for SQLite: https://www.patreon.com/db4s
sqlitebrowser  | 
sqlitebrowser  | To support LSIO projects visit:
sqlitebrowser  | https://www.linuxserver.io/donate/
sqlitebrowser  | 
sqlitebrowser  | ───────────────────────────────────────
sqlitebrowser  | GID/UID
sqlitebrowser  | ───────────────────────────────────────
sqlitebrowser  | 
sqlitebrowser  | User UID:    1000
sqlitebrowser  | User GID:    1000
sqlitebrowser  | ───────────────────────────────────────
sqlitebrowser  | [custom-init] No custom files found, skipping...
sqlitebrowser  | _XSERVTransmkdir: ERROR: euid != 0,directory /tmp/.X11-unix will not be created.
sqlitebrowser  | 
sqlitebrowser  | Xvnc KasmVNC 1.2.0 - built Jul 13 2024 18:55:13
sqlitebrowser  | Copyright (C) 1999-2018 KasmVNC Team and many others (see README.me)
sqlitebrowser  | See http://kasmweb.com for information on KasmVNC.
sqlitebrowser  | Underlying X server release 12014000, The X.Org Foundation
sqlitebrowser  | 
sqlitebrowser  | [ls.io-init] done.
sqlitebrowser  | Obt-Message: Xinerama extension is not present on the server
sqlitebrowser  | 19
sqlitebrowser  | QStandardPaths: wrong permissions on runtime directory /config/.XDG, 0755 instead of 0700
sqlitebrowser  | MESA: error: ZINK: failed to choose pdev
sqlitebrowser  | glx: failed to create drisw screen
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.

@AliM1988
Copy link
Author

The problem was not adding '/' in URL after SUBFOLDER.
It has problem: {my-mvs-ip}:3000/somepath
It works fine: {my-mvs-ip}:3000/somepath/

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