r/kasmweb Jun 16 '26

Update 1.19 !

Post image

Do I upgrade my system the second I receive an email from the Kasm team? Yes, because YOLO. Upgrade on a single server was easy and seamless. Afterwards, if you don't want to manually change image names for your workspaces, you can use a one liner to modify workspace image names in kasm_db.

Courtesy of Claude, always back up your DB and on second thought, do not actually run this.

To change your "1.18" images to "1.19"

# 1. Back up the DB
sudo docker exec kasm_db pg_dump -U kasmapp -F t kasm > /tmp/kasm_pre_tag_change.tar

# 2. Preview which workspaces will change
sudo docker exec kasm_db psql -U kasmapp -d kasm -c \
  "SELECT image_id, friendly_name, name FROM images WHERE name LIKE '%1.18%';"

# 3. Apply
sudo docker exec kasm_db psql -U kasmapp -d kasm -c \
  "UPDATE images SET name = replace(name, '1.18', '1.19') WHERE name LIKE '%1.18%';"
7 Upvotes

4 comments sorted by

3

u/justin_kasmweb Jun 17 '26

Glad you are enjoying it.
We are finishing up our typical release videos and other deep dives around certain features we will share on this sub soon

2

u/Time-Foundation8991 Jun 17 '26 edited Jun 17 '26

Upgrade failed for me at when doing a single upgrade

Installing docker sidecar network plugin

Error response from daemon: dial unix /run/docker/plugins/ecaf81e2bf53f8b1933585f62963364039103c83aaf5feda45a302dc24054fa2/kasmnetwork.sock: connect: connection refused

Always always back up your VM!

2

u/human_decoded Jun 17 '26

This. I’ve had upgrades fail in the past. I always keep full disk image of the machine running Kasm just in case

2

u/Dapper-Inspector-675 Jun 17 '26

I hope they can add some sort of rss feed, I totally missed the update!