Repository navigation
[BUG] code-server opens blank page when running new version #194
Copy link
Copy link
Closed
Description
Is there an existing issue for this?
- I have searched the existing issues
Current Behavior
If I change the repo tolscr.io/linuxserver/code-server:4.96.4-ls254 then it will still work as normal.
However If I leave it was lscr.io/linuxserver/code-server or lscr.io/linuxserver/code-server:latest then when I launch code-server I just get a blank white page.
Expected Behavior
Code server should run as normal.
Steps To Reproduce
- update code-server to newest version
- try to login
Environment
- OS:Unraid
- How docker service was installed:linuxserver image installed from community app storeCPU architecture
x86-64
Docker creation
docker run
-d
--name='code-server'
--net='bridge'
-e TZ="America/Chicago"
-e HOST_OS="Unraid"
-e HOST_HOSTNAME="Homebase"
-e HOST_CONTAINERNAME="code-server"
-e 'PASSWORD'=
-e 'HASHED_PASSWORD'=''
-e 'SUDO_PASSWORD'=''
-e 'SUDO_PASSWORD_HASH'=''
-e 'PROXY_DOMAIN'='XXXXXXXX'
-e 'DEFAULT_WORKSPACE'='/config/workspace'
-e 'PUID'='99'
-e 'PGID'='100'
-e 'UMASK'='022'
-l net.unraid.docker.managed=dockerman
-l net.unraid.docker.webui='http://[IP]:[PORT:8443]'
-l net.unraid.docker.icon='https://raw.githubusercontent.com/linuxserver/docker-templates/master/linuxserver.io/img/code-server-logo.png'
-p '8443:8443/tcp'
-v '/mnt/user/appdata/':'/appdata':'rw'
-v '/mnt/user/appdata/code-server':'/config':'rw' 'lscr.io/linuxserver/code-server'
9c729252704c8685bb65bcbe4fafaa5bcbb1610c24b26e9637729a6192681885
The command finished successfully!Container logs
──────────────────────────────────────
GID/UID
───────────────────────────────────────
User UID: 99
User GID: 100
───────────────────────────────────────
Linuxserver.io version: 4.97.2-ls255
Build-date: 2025-02-18T19:43:23+00:00
───────────────────────────────────────
setting up sudo access
adding abc to sudoers
setting sudo password using SUDO_PASSWORD env var
[custom-init] No custom files found, skipping...
[2025-02-19T02:08:57.983Z] info code-server 4.97.2 34b8d2ed69811c3315a465f01492e9448c9254aa
[2025-02-19T02:08:57.987Z] info Using user-data-dir /config/data
[2025-02-19T02:08:57.997Z] info Using config file /config/.config/code-server/config.yaml
[2025-02-19T02:08:57.997Z] info HTTP server listening on http://0.0.0.0:8443/
[2025-02-19T02:08:57.997Z] info - Authentication is enabled
[2025-02-19T02:08:57.997Z] info - Using password from $PASSWORD
[2025-02-19T02:08:57.997Z] info - Not serving HTTPS
[2025-02-19T02:08:57.997Z] info - Proxying the following domain:
[2025-02-19T02:08:57.997Z] info - {{port}}.code.
[2025-02-19T02:08:57.998Z] info Using proxy URI in PORTS tab: //{{port}}.
[2025-02-19T02:08:57.998Z] info Session server listening on /config/data/code-server-ipc.sock
[ls.io-init] done.
[20:08:58]
[20:08:58] Extension host agent started.Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
Type
Projects
- StatusShow more project fieldsDone
Activity
github-actions commentedon Feb 19, 2025
Thanks for opening your first issue here! Be sure to follow the relevant issue templates, or risk having this issue marked as invalid.
rbrowning85 commentedon Feb 19, 2025
I am experiencing the same issue. Running CodeServer on Unraid.
Xelator23 commentedon Feb 19, 2025
Same problem with new update .. using unraid
switch back to "4.96.4-ls254" and it will work
Livefour2day commentedon Feb 19, 2025
Yes I am also experiencing the same balnk page after password is entered after latest update in Unraid
crtvrmn commentedon Feb 19, 2025
can confirm, :latest resulted in a blank white page. /edit: this is NOT unraid but normal-people-docker
switching back to :4.96.4-ls254 works fine again.
i think the first error i saw (but it never came back up again) was something with "version missmatch". but i can not reproduce, nor find the exact error again.
ch3p4ll3 commentedon Feb 19, 2025
I think I found the problem,
crypto.randomUUIDmethod is available only in secure contextsCrivit commentedon Feb 19, 2025
Experiencing same issue, running Code Server on Ubuntu
chraac commentedon Feb 19, 2025
Same here, on ubuntu 22.04 lts
formatBCE commentedon Feb 19, 2025
Same, docker on Debian Bookworm.
scuppasteve commentedon Feb 19, 2025
Same issue Docker on Unraid.
gurupanguji commentedon Feb 20, 2025
same issue - docker on Unraid
change server-code version to 4.96.4-ls254
pvergezac commentedon Feb 20, 2025
I confirm same white page error and presence of error in Firefow console about crypto.randomUUID.
20 remaining items
d1-m4ss commentedon Mar 5, 2025
I suppose that was fixed and soon will be in release coder/code-server#7245
gurupanguji commentedon Mar 5, 2025
Or just pull the previous version of the image and run that as the container. If you're using the linuxserver docker image, I've written up some instructions here: https://gurupanguji.com/2025/02/21/version-4-9-72-of-code-server-is-no-bueno-switch-to-the-previous-version-to-get-it-working-again/
jadebi commentedon Mar 5, 2025
Im on debian 12.9 and im also expiriencing that issue. so what did you guys do to resolve this issue? just install an older version until a update drops that patches this bug? or can i just add a ssl cert and it will work? can someone help?
aptalca commentedon Mar 5, 2025
Either of those options would work.
I have mine reverse proxied with SWAG and it works fine.
Jeff254 commentedon Mar 8, 2025
I agree with you. I have had the same issue on UnRaid and it is a tad frustrating. No GUI, can't access and update my configurations. Almost everyday i check for an update but Nothing. So frustrating..
Cyberbeni commentedon Mar 8, 2025
@Roxedus new VSCode version with the fix has been released: https://github.com/microsoft/vscode/releases/tag/1.98.0
MSM74588 commentedon Mar 8, 2025
Roxedus commentedon Mar 8, 2025
Step 2 is not done, coder has not pushed a stable release yet.
It is not fixed upstream quite yet.
HelloMihai commentedon Mar 9, 2025
HelloMihai commentedon Mar 9, 2025
Roxedus commentedon Mar 9, 2025
There is no need to rehash the information thats already in the visible comments. That will be marked as spam, together with "same issue" to keep the comments with useful info visible.
Roxedus commentedon Mar 10, 2025
https://github.com/linuxserver/docker-code-server/releases/tag/4.98.0-ls259 is now built, and showing a UI for me without https.
Thanks for the patience all.