1 min read

Version 4.9.72 of code server is no bueno. Switch to the previous version to get it working again

Switch to the previous version of code server (version-4.96.4) if the latest version (4.9.72) is throwing a blank screen.

Running code server in my homelab is a godsend. It allows me to tinker with any language, environment, setting that I can think about in a development environment, but then not let that development environment be a problem on my laptop (and if needed, my desktop, but let’s put a pin in it for now).

My home server isn’t super powerful. However, it’s a dedicated machine that runs Unraid and hence is near barebones. It’s both a NAS and my docker container and maybe in some world, I may consider upping its specs. But it does everything needed from a development machine and then some more.

I run code server as a docker container and with the latest update - 4.9.72, it’s managed to bring itself down. It runs blank with the latest version. You can dig through the comments and looks like there’s an upstream error.

However, because it’s a docker container, running a previous version is as easy as changing the repo in the community app from:

lscr.io/linuxserver/code-server:latest 

to

lscr.io/linuxserver/code-server:version-4.96.4

Recompile and the previous environment is back up and running. This is one of the reasons why I went down this path of running it in a docker container. It’s wonderful to see it play out just as I’d hoped.

Back to regular programming (heh).