-
-
Notifications
You must be signed in to change notification settings - Fork 74
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] linuxserver.io VMs not starting on Kasm Workspaces - python cypt module missing? #98
Comments
Thanks for opening your first issue here! Be sure to follow the relevant issue templates, or risk having this issue marked as invalid. |
I'm experiencing the same issue, I believe. Environment:Ubuntu Server 24.04.1 LTS docker creation command yields identical results to kpko's results above. Kasm Logs:
|
This is my best attempt at being helpful, though I'm not sure how to effectively implement this in the /kasminit entrypoint. ModuleNotFoundError: No module named 'crypt' I haven't done enough digging to understand why some of the images experience this issue, and others do not. Alpine KDE has the same /kasminit entrypoint in the Docker Run Config Override, but it works fine. Edit:Docker logs from manually launching alpine-kde So it seems like it's an image build time issue, where some of the webtop images have packaged an older version of Python that continues to function with this command. Seems to be supported by: |
Yeah it looks like Arch and Fedora are busted because of the bump to 3.13, will modify init to use hashlib. |
This has been resolved and the webtops have been rebuilt. Just pull the latest image to resolve. |
Is there an existing issue for this?
Current Behavior
Hi! I'm trying out Kasm Workspaces lately and added the linuxserver.io registry. I've played with the webtop images and they work great so I wanted to try them in workspaces. I've installed the latest version and all Kasm Workspaces images work great but some of the linuxserver.io images don't start up. I just get "An error has occured" in the UI without any context. In the logs I can only find lines like "Conflict, the container is being restarted..." and no other errors.
I can't get any container logs because I can't attach to the container when the error occurs, when trying
docker ps -a
on the server the container is already cleaned up and I don't get any logs.To debug this further, I tried running the container (I'm using webtop:arch-kde as an example here) on the server with the settings from Kasm to get more log output from the container by copying the configuration from the Arch KDE workspace and execute it directly in the command line:
docker run -it --security-opt seccomp=unconfined --entrypoint "/kasminit" --user 1000 --env "HOME=/home/kasm-user" lscr.io/linuxserver/webtop:fedora-kde
This immediately crashes with the following logs:
This could explain the container not starting on Workspaces. I've tracked the /kasminit script down to this repo so I hope this is the right place to track this.
The Debian XFCE image works, the Arch KDE image doesn't, the Fedora KDE image doesn't, the Fedora i3 image doesn't. At least in my environment.
Expected Behavior
The container should start without crashing.
Steps To Reproduce
Environment
Docker creation
Container logs
The text was updated successfully, but these errors were encountered: