Skip to content

[BUG] In Kasm Workspaces I'm getting a kasm_pre_shutdown_root.py and kasm_pre_shutdown_user.py error. #240

@silmarine

Description

@silmarine

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

Not sure if this is the right place for this. I'm having a problem not with webtop itself but how it works with Kasm Workspaces. I added the linuxserver registry to my Kasm Workspaces server and use a few of the workspaces provided by linuxserver. All of them, at least all of the ones i use, throw up 2 errors in kasm when I delete the workspace session or when it self deletes from time out. Following is the error

host: proxy
ingest_date: 202404291457
application: kasm_agent
levelname: ERROR
process: __main__.handler
message
kasm_pre_shutdown_root.sh exceptioned for kasm ID: 712c8be0-db82-46af-971f-eba640ccf95b with exit code: 1 and output: b''

host: proxy
ingest_date: 202404291457
application: kasm_agent
levelname: ERROR
process: __main__.handler
message
kasm_pre_shutdown_user.sh for kasm ID: 712c8be0-db82-46af-971f-eba640ccf95b exceptioned with exit code: 1 and output: b''

I don't get this error with any kasm provided workspaces. It doesn't seem to affect the usage of the workspace either. I just consistently get this error in my logs.

Expected Behavior

No errors on workspace session deletion.

Steps To Reproduce

  1. start a linuxserver workspace, for example the arch xfce workspace or remmina.
  2. delete the session in kasm or let the session timeout and auto-delete.

Environment

- OS:debian 12, kasm 1.15.0
- How docker service was installed:I run the kasm server install script on the OS, it's the only thing running on that machine. Only thing I did after that was add linuxserver registry. Everything else is "stock" kasm.

CPU architecture

x86-64

Docker creation

Whatever Kasm Workspaces does to start a container.

Container logs

host: proxy
ingest_date: 202404291457
application: kasm_agent
levelname: ERROR
process: __main__.handler
message
kasm_pre_shutdown_root.sh exceptioned for kasm ID: 712c8be0-db82-46af-971f-eba640ccf95b with exit code: 1 and output: b''

host: proxy
ingest_date: 202404291457
application: kasm_agent
levelname: ERROR
process: __main__.handler
message
kasm_pre_shutdown_user.sh for kasm ID: 712c8be0-db82-46af-971f-eba640ccf95b exceptioned with exit code: 1 and output: b''

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions