Skip to content

[BUG] Open files in workspace are closed after updating container to latest image #13

@Jekotia

Description

@Jekotia

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

When a container running this image is updated, all files open in the workspace are closed. This is quite frustrating when the use-case for this image is a persistent development environment.

Expected Behavior

When updating the container with the latest image, the editor should retain the data that tells it what files are open, like it does when installed in a desktop environment.

Steps To Reproduce

  1. Spin up a container using this image, with the latest tag, and open files to work on.
  2. Update the container when a new image is available under the latest tag.

Environment

- OS: Ubuntu Server 22.04.5 LTS
- How docker service was installed: according to the official Docker documentation (adding official sources and then using apt)

CPU architecture

x86-64

Docker creation

include:
  - ../../networks/proxy_private.yaml

services:
  # https://hub.docker.com/r/linuxserver/vscodium
  vscodium:
    image: ghcr.io/linuxserver/vscodium:latest
    container_name: vscodium
    restart: always
    cap_add:
      - IPC_LOCK
    security_opt:
      - seccomp:unconfined #optional
    shm_size: "1gb"
    environment:
      PUID: ${UID:-1000}
      PGID: ${GID:-1000}
      TZ: ${TIMEZONE}
      PROXY_DOMAIN: ${VSCODIUM_URL_PREFIX:-vscodium.}${NETWORK_DOMAIN} #optional
      DEFAULT_WORKSPACE: /srv/repositories
      TITLE: vscodium
      NODECOR: true
    volumes:
      - /srv/application_data/vscodium/app/config:/config
      - /srv/repositories:/srv/repositories
      - /srv/application_data/homepage/app/config:/srv/application_data/homepage/app/config
    networks:
      - proxy_private
    labels:
      traefik.enable: "true"
      # Frontend => Router
      traefik.http.routers.vscodium.entrypoints: websecure
      traefik.http.routers.vscodium.rule: Host(`${VSCODIUM_URL_PREFIX:-vscodium.}${NETWORK_DOMAIN}`)
      traefik.http.routers.vscodium.tls.certresolver: dns-cloudflare
      # Frontend => Services
      traefik.http.routers.vscodium.service: vscodium
      traefik.http.services.vscodium.loadbalancer.server.port: 3000

Container logs

vscodium  | 2025-07-09T05:20:34.613503112Z [migrations] started
vscodium  | 2025-07-09T05:20:34.613611776Z [migrations] no migrations found
vscodium  | 2025-07-09T05:20:34.816140568Z ───────────────────────────────────────
vscodium  | 2025-07-09T05:20:34.816180125Z 
vscodium  | 2025-07-09T05:20:34.816187795Z       ██╗     ███████╗██╗ ██████╗
vscodium  | 2025-07-09T05:20:34.816197586Z       ██║     ██╔════╝██║██╔═══██╗
vscodium  | 2025-07-09T05:20:34.816208073Z       ██║     ███████╗██║██║   ██║
vscodium  | 2025-07-09T05:20:34.816218186Z       ██║     ╚════██║██║██║   ██║
vscodium  | 2025-07-09T05:20:34.816232789Z       ███████╗███████║██║╚██████╔╝
vscodium  | 2025-07-09T05:20:34.816240503Z       ╚══════╝╚══════╝╚═╝ ╚═════╝
vscodium  | 2025-07-09T05:20:34.816248103Z 
vscodium  | 2025-07-09T05:20:34.816254299Z    Brought to you by linuxserver.io
vscodium  | 2025-07-09T05:20:34.816261843Z ───────────────────────────────────────
vscodium  | 2025-07-09T05:20:34.817108793Z 
vscodium  | 2025-07-09T05:20:34.817134053Z To support LSIO projects visit:
vscodium  | 2025-07-09T05:20:34.817142313Z https://www.linuxserver.io/donate/
vscodium  | 2025-07-09T05:20:34.817149856Z 
vscodium  | 2025-07-09T05:20:34.817156093Z ───────────────────────────────────────
vscodium  | 2025-07-09T05:20:34.817164070Z GID/UID
vscodium  | 2025-07-09T05:20:34.817170640Z ───────────────────────────────────────
vscodium  | 2025-07-09T05:20:34.828079695Z 
vscodium  | 2025-07-09T05:20:34.828112475Z User UID:    1000
vscodium  | 2025-07-09T05:20:34.828120778Z User GID:    1000
vscodium  | 2025-07-09T05:20:34.828127232Z ───────────────────────────────────────
vscodium  | 2025-07-09T05:20:34.830692673Z Linuxserver.io version: 1.101.24242-ls192
vscodium  | 2025-07-09T05:20:34.831522923Z Build-date: 2025-07-09T05:00:50+00:00
vscodium  | 2025-07-09T05:20:34.831559410Z ───────────────────────────────────────
vscodium  | 2025-07-09T05:20:34.831569147Z     
vscodium  | 2025-07-09T05:20:35.053554936Z [custom-init] No custom files found, skipping...
vscodium  | 2025-07-09T05:20:35.121763393Z [ls.io-init] done.
vscodium  | 2025-07-09T05:20:35.133459094Z _XSERVTransmkdir: ERROR: euid != 0,directory /tmp/.X11-unix will not be created.
vscodium  | 2025-07-09T05:20:35.134789315Z 
vscodium  | 2025-07-09T05:20:35.134831059Z Xvnc KasmVNC 1.3.3 - built Jul  5 2025 19:15:06
vscodium  | 2025-07-09T05:20:35.134844679Z Copyright (C) 1999-2018 KasmVNC Team and many others (see README.me)
vscodium  | 2025-07-09T05:20:35.134856509Z See http://kasmweb.com for information on KasmVNC.
vscodium  | 2025-07-09T05:20:35.135016400Z Underlying X server release 12101007
vscodium  | 2025-07-09T05:20:35.135047044Z 
vscodium  | 2025-07-09T05:20:35.343345862Z [mi] mieq: warning: overriding existing handler (nil) with 0x55992e2b1290 for event 2
vscodium  | 2025-07-09T05:20:35.343395218Z [mi] mieq: warning: overriding existing handler (nil) with 0x55992e2b1290 for event 3
vscodium  | 2025-07-09T05:20:35.346269277Z Obt-Message: Xinerama extension is not present on the server
vscodium  | 2025-07-09T05:20:35.608813968Z 17
vscodium  | 2025-07-09T05:20:38.881386448Z 
vscodium  | 2025-07-09T05:20:38.881433815Z ERROR: openbox-xdg-autostart requires PyXDG to be installed
vscodium  | 2025-07-09T14:01:54.544586583Z  2025-07-09 10:01:54,543 [INFO] websocket 0: got client connection from 127.0.0.1
vscodium  | 2025-07-09T14:01:54.581676018Z  2025-07-09 10:01:54,581 [PRIO] Connections: accepted: @10.0.0.1_1752069714.545514::websocket
vscodium  | 2025-07-09T14:24:26.539632596Z  2025-07-09 10:24:26,539 [PRIO] Connections: closed: @10.0.0.1_1752069714.545514::websocket (Clean disconnection)
vscodium  | 2025-07-09T16:20:54.073810862Z  2025-07-09 12:20:54,073 [INFO] websocket 1: got client connection from 127.0.0.1
vscodium  | 2025-07-09T16:20:54.104474739Z  2025-07-09 12:20:54,104 [PRIO] Connections: accepted: @10.0.0.1_1752078054.74388::websocket

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