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] Unraid community app: DB unhealthy error in wizard #84

Open
1 task done
frollard opened this issue Mar 8, 2025 · 1 comment
Open
1 task done

[BUG] Unraid community app: DB unhealthy error in wizard #84

frollard opened this issue Mar 8, 2025 · 1 comment

Comments

@frollard
Copy link

frollard commented Mar 8, 2025

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

During first-time install, seems the db container is failing:

Container kasm_db Creating
Container kasm_db Created
Container kasm_db Starting
Container kasm_db Started
Container kasm_db Waiting
container for service "db" is unhealthy

Afterward, going to the wizard/webui the dashboard shows kasm_db failing but no additional logs are generated or shown anywhere.

Image

Expected Behavior

I presume the wizard proceeds.

Steps To Reproduce

Unraid 7.0.1,
Install with default settings - point /opt/ to /mnt/cache/appdata/kasm/ (must be cache or a disk, tried both).
default ports of 3000 wizard webui, and 6333 workspace.
Tried br0 network to force IP, or Bridge, same result.

Environment

- OS:Unraid 7.0.1
- How docker service was installed: Community apps from Unraid/lsio

CPU architecture

x86-64

Docker creation

docker run
  -d
  --name='kasm'
  --net='bridge'
  --pids-limit 2048
  --privileged=true
  -e TZ="America/Denver"
  -e HOST_OS="Unraid"
  -e HOST_HOSTNAME="s0"
  -e HOST_CONTAINERNAME="kasm"
  -e 'KASM_PORT'='6333'
  -e 'DOCKER_HUB_USERNAME'='USER'
  -e 'DOCKER_HUB_PASSWORD'='PASS'
  -e 'UMASK'='022'
  -l net.unraid.docker.managed=dockerman
  -l net.unraid.docker.webui='https://[IP]:[PORT:3000]'
  -l net.unraid.docker.icon='https://raw.githubusercontent.com/linuxserver/docker-templates/master/linuxserver.io/img/kasm-logo.png'
  -p '3000:3000/tcp'
  -p '6333:6333/tcp'
  -v '/mnt/cache/appdata/kasmtest/':'/opt':'rw'
  -v '/mnt/cache/appdata/kasmtest/profiles':'/profiles':'rw' 'lscr.io/linuxserver/kasm'
Please wait ......
aa4deee7661e587c589de0c3f8f4b05d14d297d5b183de70a6927e580e9881a2

The command finished successfully!

Container logs

Unraid docker run logs: 

WARNING! Using --password via the CLI is insecure. Use --password-stdin.
Get "https://registry-1.docker.io/v2/": unauthorized: incorrect username or password
.......+.+..+....+...+..+.............+........+.........+.+..+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*.......+...+.......+..+....+.........+..+....+..+.......+..+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*.+.....+.......+..+....+......+......+...+.....+....+..+.+.................+...+....+......+............+..+......+...+......+....+......+.........+..+............+.......+.........+......+...............+...+........+...+.+...+......+.....+.........+................+..+...+.+..................+..+.+..+......+.........+..........+..+...+...+...+....+..+......+.......+...+..+...+.........+..........+...+...+.....+.............+....................+....+...........+.+.....+......+..........+..+.......+.....+...+.+.....+....+...+...+..+...+.+..............+.+........+...+...+.+........+...+..........+...............+..+............+....+..............+.+.....+.........+.+......+.........+.....+.+...+............+..................+..+..................+.............+...+.....+.+...+...+..............+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
.+..+......+....+.....................+..+..........+......+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*.+...+.......+........................+...+......+.....+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*......+...+......+.+........+...+...+....+......+............+..+.+.....+......+......+...+..........+.........+......+...........+....+.....+................+...............+...........+...+.+.....+...+...+...+......+.+........+....+...+..+.+...........+...+...+...+..........+.........+...+..+......+................+...........+....+......+............+......+......+...+...............+.....+..........+...+.........+..............+......+.+.....+..........+..............+...+...............+..........+...+...+...........+.+..............+.+..+.+......+...+..+...+...+....+......+............+..+..........+.........+..+.............+.........+..+....+....................+....+...........+....+..+.+........+......+....+..............+.+..+...+.+........+......+.+...+...+...+......+.....+.........+.+...+...+.........+...+......+...............+..+....+...........+..........+...+.....+....+..+...+......+......+.+...+.................+...+....+........+...+.........+...+....+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
-----
time="2025-03-08T06:07:02-07:00" level=error msg="2025/03/08 13:07:02 INFO  : Serving unix socket: /run/docker/plugins/rclone.sock" plugin=fabedeb754b7fd91cc704bd3a3dcd1265dd9442d117421d802c456bdbb3733cc
time="2025-03-08T06:07:21-07:00" level=info msg=" * Serving Flask app 'plugin'" plugin=5d98d2864cc815b2efc499e85c2f510cebe6f764ede80f5960fc4a785e97dd62
time="2025-03-08T06:07:21-07:00" level=info msg=" * Debug mode: on" plugin=5d98d2864cc815b2efc499e85c2f510cebe6f764ede80f5960fc4a785e97dd62
[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.
undefined

************
kasm wizard attempting to install DooM:

Installing docker rclone plugin
amd64: Pulling from rclone/docker-volume-rclone
Digest: sha256:fe9389a00552f69b9fe6a2ad8149a5ad2ccd36ccef1f07c2628567b702551e47
830e914b5342: Waiting
830e914b5342: Pulling fs layer
830e914b5342: Download complete
830e914b5342: Complete
Installed plugin rclone/docker-volume-rclone:amd64
Setting Default Listening Port as 6333
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 (6333)
Installing docker sidecar network plugin
amd64-develop: Pulling from kasmweb/kasm-network-plugin
Digest: sha256:3a345370a51a956273ea7b05f8ed65599bd990d4b396c1bdb250b974d67d69bf
6ec4e0499323: Waiting
6ec4e0499323: Pulling fs layer
6ec4e0499323: Complete
Installed plugin kasmweb/kasm-network-plugin:amd64-develop
Creating docker network kasm_default_network
305caed415eb3a4046cb79f43dc9618ea8dd051342b809e2747f7b84052b0f7f
Creating docker sidecar network "kasm_sidecar_network"
fb73f7064586b8c1801a999bbd72362b25af52513fc4f219a08afed8c186c1d9
Successfully updated passthrough.app.config.yaml
Successfully updated rdp_https_gateway.app.config.yaml
Initializing Database
Setting Seed file as /opt/kasm/1.16.1/conf/database/seed_data/default_properties.yaml
Using Database Master User postgres
Using Database Master Password from stdin -G
kasm_db_1.16.1
db Pulling 
f18232174bc9 Pulling fs layer 
7f5e6267c369 Pulling fs layer 
ca182ce80bc5 Pulling fs layer 
649c8bbc7c81 Pulling fs layer 
09acd1a8ea8b Pulling fs layer 
a99e6a42ea19 Pulling fs layer 
bb91798c23d9 Pulling fs layer 
41e14243a74d Pulling fs layer 
2735b2433cd0 Pulling fs layer 
4f7fc7a279d8 Pulling fs layer 
5fe01fe29394 Pulling fs layer 
bb91798c23d9 Waiting 
4f7fc7a279d8 Waiting 
2735b2433cd0 Waiting 
41e14243a74d Waiting 
09acd1a8ea8b Waiting 
649c8bbc7c81 Waiting 
a99e6a42ea19 Waiting 
7f5e6267c369 Downloading     691B/974B
7f5e6267c369 Downloading     974B/974B
7f5e6267c369 Verifying Checksum 
7f5e6267c369 Download complete 
f18232174bc9 Downloading  37.46kB/3.642MB
ca182ce80bc5 Downloading  12.32kB/1.12MB
f18232174bc9 Downloading  1.457MB/3.642MB
ca182ce80bc5 Downloading  311.3kB/1.12MB
f18232174bc9 Downloading  3.132MB/3.642MB
f18232174bc9 Verifying Checksum 
f18232174bc9 Download complete 
f18232174bc9 Extracting  65.54kB/3.642MB
ca182ce80bc5 Downloading  1.049MB/1.12MB
649c8bbc7c81 Downloading     173B/173B
649c8bbc7c81 Verifying Checksum 
649c8bbc7c81 Download complete 
ca182ce80bc5 Verifying Checksum 
ca182ce80bc5 Download complete 
f18232174bc9 Extracting  2.556MB/3.642MB
f18232174bc9 Extracting  3.642MB/3.642MB
f18232174bc9 Extracting  3.642MB/3.642MB
f18232174bc9 Pull complete 
7f5e6267c369 Extracting     974B/974B
7f5e6267c369 Extracting     974B/974B
7f5e6267c369 Pull complete 
ca182ce80bc5 Extracting  32.77kB/1.12MB
ca182ce80bc5 Extracting   1.12MB/1.12MB
ca182ce80bc5 Pull complete 
649c8bbc7c81 Extracting     173B/173B
649c8bbc7c81 Extracting     173B/173B
09acd1a8ea8b Downloading     116B/116B
09acd1a8ea8b Verifying Checksum 
09acd1a8ea8b Download complete 
649c8bbc7c81 Pull complete 
09acd1a8ea8b Extracting     116B/116B
09acd1a8ea8b Extracting     116B/116B
bb91798c23d9 Downloading     690B/9.2kB
bb91798c23d9 Download complete 
09acd1a8ea8b Pull complete 
a99e6a42ea19 Downloading  539.9kB/103.5MB
a99e6a42ea19 Downloading  2.689MB/103.5MB
a99e6a42ea19 Downloading  4.848MB/103.5MB
a99e6a42ea19 Downloading  7.523MB/103.5MB
a99e6a42ea19 Downloading  9.661MB/103.5MB
41e14243a74d Downloading     128B/128B
41e14243a74d Verifying Checksum 
41e14243a74d Download complete 
a99e6a42ea19 Downloading  12.35MB/103.5MB
2735b2433cd0 Downloading     170B/170B
2735b2433cd0 Download complete 
a99e6a42ea19 Downloading  15.06MB/103.5MB
4f7fc7a279d8 Downloading     690B/5.475kB
4f7fc7a279d8 Downloading  5.475kB/5.475kB
4f7fc7a279d8 Verifying Checksum 
4f7fc7a279d8 Download complete 
a99e6a42ea19 Downloading  17.21MB/103.5MB
5fe01fe29394 Downloading     184B/184B
5fe01fe29394 Verifying Checksum 
5fe01fe29394 Download complete 
a99e6a42ea19 Downloading  19.36MB/103.5MB
a99e6a42ea19 Downloading  21.53MB/103.5MB
a99e6a42ea19 Downloading  23.69MB/103.5MB
a99e6a42ea19 Downloading  25.85MB/103.5MB
a99e6a42ea19 Downloading  28.01MB/103.5MB
a99e6a42ea19 Downloading  30.72MB/103.5MB
a99e6a42ea19 Downloading  32.88MB/103.5MB
a99e6a42ea19 Downloading  35.04MB/103.5MB
a99e6a42ea19 Downloading  37.18MB/103.5MB
a99e6a42ea19 Downloading  39.33MB/103.5MB
a99e6a42ea19 Downloading  41.49MB/103.5MB
a99e6a42ea19 Downloading  43.66MB/103.5MB
a99e6a42ea19 Downloading   45.8MB/103.5MB
a99e6a42ea19 Downloading  47.95MB/103.5MB
a99e6a42ea19 Downloading  50.09MB/103.5MB
a99e6a42ea19 Downloading  52.25MB/103.5MB
a99e6a42ea19 Downloading   54.4MB/103.5MB
a99e6a42ea19 Downloading  56.56MB/103.5MB
a99e6a42ea19 Downloading  58.71MB/103.5MB
a99e6a42ea19 Downloading  60.87MB/103.5MB
a99e6a42ea19 Downloading  63.03MB/103.5MB
a99e6a42ea19 Downloading  65.72MB/103.5MB
a99e6a42ea19 Downloading  67.87MB/103.5MB
a99e6a42ea19 Downloading  70.04MB/103.5MB
a99e6a42ea19 Downloading  72.19MB/103.5MB
a99e6a42ea19 Downloading  74.33MB/103.5MB
a99e6a42ea19 Downloading   76.5MB/103.5MB
a99e6a42ea19 Downloading  78.65MB/103.5MB
a99e6a42ea19 Downloading  80.82MB/103.5MB
a99e6a42ea19 Downloading  82.96MB/103.5MB
a99e6a42ea19 Downloading  85.11MB/103.5MB
a99e6a42ea19 Downloading  87.27MB/103.5MB
a99e6a42ea19 Downloading  89.43MB/103.5MB
a99e6a42ea19 Downloading  91.59MB/103.5MB
a99e6a42ea19 Downloading  93.75MB/103.5MB
a99e6a42ea19 Downloading  95.91MB/103.5MB
a99e6a42ea19 Downloading  98.07MB/103.5MB
a99e6a42ea19 Downloading  100.8MB/103.5MB
a99e6a42ea19 Downloading  102.9MB/103.5MB
a99e6a42ea19 Verifying Checksum 
a99e6a42ea19 Download complete 
a99e6a42ea19 Extracting  557.1kB/103.5MB
a99e6a42ea19 Extracting  2.785MB/103.5MB
a99e6a42ea19 Extracting  8.356MB/103.5MB
a99e6a42ea19 Extracting  14.48MB/103.5MB
a99e6a42ea19 Extracting  20.61MB/103.5MB
a99e6a42ea19 Extracting  25.62MB/103.5MB
a99e6a42ea19 Extracting   31.2MB/103.5MB
a99e6a42ea19 Extracting  36.77MB/103.5MB
a99e6a42ea19 Extracting  42.89MB/103.5MB
a99e6a42ea19 Extracting  48.46MB/103.5MB
a99e6a42ea19 Extracting  50.69MB/103.5MB
a99e6a42ea19 Extracting  52.92MB/103.5MB
a99e6a42ea19 Extracting  55.71MB/103.5MB
a99e6a42ea19 Extracting  60.72MB/103.5MB
a99e6a42ea19 Extracting  64.62MB/103.5MB
a99e6a42ea19 Extracting  69.07MB/103.5MB
a99e6a42ea19 Extracting  74.65MB/103.5MB
a99e6a42ea19 Extracting   75.2MB/103.5MB
a99e6a42ea19 Extracting  75.76MB/103.5MB
a99e6a42ea19 Extracting  77.99MB/103.5MB
a99e6a42ea19 Extracting  81.33MB/103.5MB
a99e6a42ea19 Extracting  84.67MB/103.5MB
a99e6a42ea19 Extracting  88.57MB/103.5MB
a99e6a42ea19 Extracting   90.8MB/103.5MB
a99e6a42ea19 Extracting  95.81MB/103.5MB
a99e6a42ea19 Extracting  100.8MB/103.5MB
a99e6a42ea19 Extracting  103.5MB/103.5MB
a99e6a42ea19 Pull complete 
bb91798c23d9 Extracting    9.2kB/9.2kB
bb91798c23d9 Extracting    9.2kB/9.2kB
bb91798c23d9 Pull complete 
41e14243a74d Extracting     128B/128B
41e14243a74d Extracting     128B/128B
41e14243a74d Pull complete 
2735b2433cd0 Extracting     170B/170B
2735b2433cd0 Extracting     170B/170B
2735b2433cd0 Pull complete 
4f7fc7a279d8 Extracting  5.475kB/5.475kB
4f7fc7a279d8 Extracting  5.475kB/5.475kB
4f7fc7a279d8 Pull complete 
5fe01fe29394 Extracting     184B/184B
5fe01fe29394 Extracting     184B/184B
5fe01fe29394 Pull complete 
db Pulled 
Container kasm_db  Creating
Container kasm_db  Created
Container kasm_db  Starting
Container kasm_db  Started
Container kasm_db  Waiting
container for service "db" is unhealthy
Copy link

github-actions bot commented Mar 8, 2025

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

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

No branches or pull requests

1 participant