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] Initializing Database: db_init: Permission denied #44

Closed
1 task done
88artur88 opened this issue Jan 2, 2024 · 6 comments
Closed
1 task done

[BUG] Initializing Database: db_init: Permission denied #44

88artur88 opened this issue Jan 2, 2024 · 6 comments

Comments

@88artur88
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

Setting Default Listening Port as 3333
Setting Default Admin Password from stdin -P
Setting Default User Password from stdin -U
Installing All Services
Updating configurations with custom DEFAULT_PROXY_LISTENING_PORT (3333)
Creating docker network kasm_default_network
1c1c19e1092687f59d9a9155e7e797c3ba04949f1f5fada76c0361efeba5906f
Initializing Database
/kasm_release/install.sh: line 543: /opt/kasm/1.14.0.1/bin/utils/db_init: Permission denied

Expected Behavior

install.sh finished without errors

Steps To Reproduce

host: Ubuntu 22.04.3 LTS aarch64
image: lscr.io/linuxserver/kasm:latest

Environment

Docker version 24.0.7, build afdd53b

CPU architecture

arm64

Docker creation

---
version: "2.1"
services:
  kasm:
    image: lscr.io/linuxserver/kasm:latest
    container_name: kasm
    privileged: true
    environment:
      - KASM_PORT=3333
      #- DOCKER_HUB_USERNAME=USER #optional
      #- DOCKER_HUB_PASSWORD=PASS #optional
      - DOCKER_MTU=1500 #optional
    volumes:
      - /data/kasm/opt:/opt
      - /data/kasm/profiles:/profiles #optional
      #- /dev/input:/dev/input #optional
      #- /run/udev/data:/run/udev/data #optional
    ports:
      - 3000:3000
      - 3333:3333
    restart: unless-stopped

Container logs

docker logs kasm
[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:    911
User GID:    911
───────────────────────────────────────

..+...+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*..+.+...........+...+......+....+...+..+...+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*..+...+...+..+.......+...........+...+......+...+.+..............+.............+...+..+....+......+..+............+.+........+.+...........+...+.......+...+...........+....+..+.........+...+..........+...+.........+...+..+..........+...........+...+.........+......+.......+............+..+.+..+.+......+.........+.....+..........+..+...+......+.+........+...............+......+.+..+.......+.....+......+...+.........+..........+.....+.......+......+..+.............+..+.+......+......+........+............+...+.+.....+.............+......+......+.....+...+...+....+.........+..+....+........+.+......+..............+.+.....+.+..+......+......+......+.............+.........+.....+...+....+...+............+...+..................+..+.+.....+....+..+.+..+...+..........+...+.........+..+.+.........+...+......+..+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
...+..+.......+.....+...+...+.........+......+..........+........+......+.+..+...+...............+....+...+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*......+.........+.+......+.....+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*.+.+..+..........+........+...+....+.....+.......+.........+.....+....+........+...+.+......+...+.....+.........+.+..+...+......+................+...+.........+.....+.......+.....+....+..............+.+..+..........+.........+.....+...+..........+...........+....+...+............+...+...+..+....+...+........+...+.......+...+..+.............+............+..+..........+..+.........+............+.......+...+..+.+..+.......+.....+.+.................+....+......+.................+.......+.....+...+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
-----
[custom-init] No custom files found, skipping...
[ls.io-init] done.
time="2024-01-02T12:16:58.006930942Z" level=error msg="failed to initialize a tracing processor \"otlp\"" error="no OpenTelemetry endpoint: skip plugin"
Copy link

github-actions bot commented Jan 2, 2024

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

@rajivvishwa
Copy link

@88artur88 - did you try accessing https://your-server:3000. Dont forget that it is httpS

@thelamer
Copy link
Member

Can you try it without volume mounts for me just as a test? See if it gets past the install. That way we would know if we are dealing with a permission error.

@LinuxServer-CI
Copy link
Collaborator

This issue has been automatically marked as stale because it has not had recent activity. This might be due to missing feedback from OP. It will be closed if no further activity occurs. Thank you for your contributions.

@homerr
Copy link
Member

homerr commented Mar 17, 2024

No response - closing.

@homerr homerr closed this as completed Mar 17, 2024
@LinuxServer-CI LinuxServer-CI moved this from Issues to Done in Issue & PR Tracker Mar 17, 2024
Copy link

This issue is locked due to inactivity

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 17, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
Archived in project
Development

No branches or pull requests

5 participants