Open mciantar opened 1 year ago
same problem here
I am also having this issue on Kasm 1.15.0 installed on debian 12. Started right after I upgraded the host packages but restoring to a time before the upgrade doesn't fix it. Kasm is current unusable for me.
Based on @mciantar's logs, the kasm_guac container is not starting, and since it does not start, nginx in kasm_proxy can't start because it can't resolve the container's hostname. Based on the logs, it seems that the kasm_guac config file may be corrupt or missing. Can you please provide the contents of this file?
/opt/kasm/current/conf/app/kasmguac.app.config.yaml
For me it's empty. I used the cat command and it had no output at all.
We have a KB article that covers getting things restored if this happens to you. The update and reboot was likely not the cause. The most likely cause, but not only, is that the system disk was full some time while Kasm was running. Kasm continually writes to this file and if the disk is full the write fails and you end up with a blank file. Kasm continues to work normally because everything in that file is in memory, but on a reboot it attempts to read the values from that file and thats when it fails. So the reboot did not cause the issue, it merely made you aware of the issue that was there waiting.
https://kasmweb.atlassian.net/servicedesk/customer/portal/3/article/8126468
Describe the bug After running apt upgrade and rebooted the systems, containers won't start with error:
My understanding is that for some reason, kasm_guac is not starting. I can see the following logs:
To Reproduce In my case, all I changed was to create a new workspace for vs-code, and ran apt update/upgrade and rebooted.
Expected behavior Workspaces should start
Workspaces Version Version 1.13
Workspaces Installation Method Single Server
Client Browser (please complete the following information):
Workspace Server Information (please provide the output of the following commands):
uname -a
: Linux kasm 5.15.0-71-generic #78-Ubuntu SMP Tue Apr 18 09:00:29 UTC 2023 x86_64 x86_64 x86_64 GNU/Linuxcat /etc/os-release
: PRETTY_NAME="Ubuntu 22.04.2 LTS" NAME="Ubuntu" VERSION_ID="22.04" VERSION="22.04.2 LTS (Jammy Jellyfish)" VERSION_CODENAME=jammy ID=ubuntu ID_LIKE=debian HOME_URL="https://www.ubuntu.com/" SUPPORT_URL="https://help.ubuntu.com/" BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/" PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy" UBUNTU_CODENAME=jammysudo docker info
Client: Context: default Debug Mode: false Plugins: buildx: Docker Buildx (Docker Inc.) Version: v0.10.4 Path: /usr/libexec/docker/cli-plugins/docker-buildx compose: Docker Compose (Docker Inc.) Version: v2.5.0 Path: /usr/local/lib/docker/cli-plugins/docker-compose Server: Containers: 8 Running: 7 Paused: 0 Stopped: 1 Images: 15 Server Version: 23.0.6 Storage Driver: overlay2 Backing Filesystem: extfs Supports d_type: true Using metacopy: false Native Overlay Diff: true userxattr: false Logging Driver: json-file Cgroup Driver: systemd Cgroup Version: 2 Plugins: Volume: local Network: bridge host ipvlan macvlan null overlay Log: awslogs fluentd gcplogs gelf journald json-file local logentries splunk syslog Swarm: inactive Runtimes: io.containerd.runc.v2 runc Default Runtime: runc Init Binary: docker-init containerd version: 3dce8eb055cbb6872793272b4f20ed16117344f8 runc version: v1.1.7-0-g860f061 init version: de40ad0 Security Options: apparmor seccomp Profile: builtin cgroupns Kernel Version: 5.15.0-71-generic Operating System: Ubuntu 22.04.2 LTS OSType: linux Architecture: x86_64 CPUs: 4 Total Memory: 23.47GiB Name: kasm ID: 7f57ad97-db5b-439b-bd5e-6472934d8b6b Docker Root Dir: /var/lib/docker Debug Mode: false Registry: https://index.docker.io/v1/ Experimental: false Insecure Registries: 127.0.0.0/8 Live Restore Enabled: falsesudo docker ps | grep kasm
c5aa49242e05 kasmweb/nginx:latest "/docker-entrypoint.…" 4 weeks ago Up 24 minutes 80/tcp, 0.0.0.0:443->443/tcp, :::443->443/tcp kasm_proxy 940d3dee4c62 kasmweb/share:1.13.0 "/bin/sh -c '/usr/bi…" 4 weeks ago Up 24 minutes (healthy) 8182/tcp kasm_share 6d2146481f80 kasmweb/agent:1.13.0 "/bin/sh -c '/usr/bi…" 4 weeks ago Up 24 minutes (healthy) 4444/tcp kasm_agent 3867ff1c0bd1 redis:5-alpine "docker-entrypoint.s…" 4 weeks ago Up 24 minutes 6379/tcp kasm_redis b16aa80ebd96 kasmweb/manager:1.13.0 "/bin/sh -c '/usr/bi…" 4 weeks ago Up 24 minutes (healthy) 8181/tcp kasm_manager b96d497e27d6 kasmweb/kasm-guac:1.13.0 "/dockerentrypoint.sh" 4 weeks ago Restarting (1) 57 seconds ago kasm_guac 00216db40e0a postgres:12-alpine "docker-entrypoint.s…" 4 weeks ago Up 24 minutes (healthy) 5432/tcp kasm_db d2cc8b15c307 kasmweb/api:1.13.0 "/bin/sh -c '/usr/bi…" 4 weeks ago Up 24 minutes (healthy) 8080/tcp kasm_api