Skip to content

[BUG] code-server opens blank page when running new version #194

Closed
@yourfavoriteweapon

Description

@yourfavoriteweapon

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

  1. update code-server to newest version
  2. try to login

Environment

- OS:Unraid
- How docker service was installed:linuxserver image installed from community app store

CPU 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions