Skip to content

[BUG] Cannot set properties / can't access property #94

@proJM-Coding

Description

@proJM-Coding

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

Hello! I have tried this project quite a while back and now I'm trying again but I still get the same error maybe a year later. The only think I have changed from the default compose file is removing the docker hub lines (they won't be used), making the volumes just in the folder and changing the port that kasm uses. To change the port I changed the ENV and external container port (I later learnt I should be changing the internal port too but it seems kasm doesn't respect the ENV).

After going through all the steps of the EULA, packages and install I get put to a black terminal which never will update.

If I try to connect to the port 8844 I get kasm workspaces with a message of You are currently offline, please reconnect to use this application.

Expected Behavior

I have not got this image ever working but what I assume is that I should be seeing the images for the apps I picked being pulled. After that I should be able to connect to kasm and use it just as if I was doing a normal install.

Steps To Reproduce

  1. Copy the docker-compose.yml below and start the container
  2. Wait for everything to start up
  3. Open the page https://<server IP>:3443
  4. Accept the EULA
  5. Set the passwords for both users + select the NVIDIA GPU (though I got the same error with an Intel IGPU system)
  6. Select images (I picked: Tor Browser, Ungoogled Chromium and Thunderbird)
  7. You are now at the installing page (black terminal box which never changes)
  8. Open the console to see the error:
Uncaught (in promise) TypeError: can't access property "enabled", srcImage is undefined
    install https://<server IP>:3443/public/js/index.js:36

Or if you tried the second compose file:

Uncaught (in promise) TypeError: can't access property "enabled", srcImage is undefined
    install https://<server IP>:3443/public/js/index.js:36

Environment

- OS:Rocky Linux 9 
- How docker service was installed: https://docs.rockylinux.org/gemstones/containers/docker/ (skipping allow a non-root user to manage docker)

CPU architecture

x86-64

Docker creation

Offline kasm:

services:
  kasm:
    image: lscr.io/linuxserver/kasm:latest
    container_name: kasm
    privileged: true
    security_opt:
      - apparmor:rootlesskit #optional
    environment:
      - KASM_PORT=8844
      - DOCKER_MTU=1500 #optional
    volumes:
      - ./opt:/opt
      - ./profiles:/profiles #optional
      - /dev/input:/dev/input #optional
      - /run/udev/data:/run/udev/data #optional
    ports:
      - 3443:3000
      - 8844:443
    restart: unless-stopped


Can't connect kasm:

services:
  kasm:
    image: lscr.io/linuxserver/kasm:latest
    container_name: kasm
    privileged: true
    security_opt:
      - apparmor:rootlesskit #optional
    environment:
      - KASM_PORT=8844
      - DOCKER_MTU=1500 #optional
    volumes:
      - ./opt:/opt
      - ./profiles:/profiles #optional
      - /dev/input:/dev/input #optional
      - /run/udev/data:/run/udev/data #optional
    ports:
      - 3443:3000
      - 8844:8844
    restart: unless-stopped

Container logs

[migrations] started
[migrations] no migrations found
usermod: no changes
───────────────────────────────────────

      ██╗     ███████╗██╗ ██████╗
      ██║     ██╔════╝██║██╔═══██╗
      ██║     ███████╗██║██║   ██║
      ██║     ╚════██║██║██║   ██║
      ███████╗███████║██║╚██████╔╝
      ╚══════╝╚══════╝╚═╝ ╚═════╝

   Brought to you by linuxserver.io
───────────────────────────────────────

To support LSIO projects visit:
https://www.linuxserver.io/donate/

───────────────────────────────────────
GID/UID
───────────────────────────────────────

User UID:    911
User GID:    911
───────────────────────────────────────
[custom-init] No custom files found, skipping...
[ls.io-init] done.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Issues

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions