linuxserver / docker-kasm

Kasm Workspaces platform provides enterprise-class orchestration, data loss prevention, and web streaming technology to enable the delivery of containerized workloads to your browser.
GNU General Public License v3.0
299 stars 28 forks source link

[BUG] <title> #33

Closed Br0kenSilos closed 1 year ago

Br0kenSilos commented 1 year ago

Is there an existing issue for this?

Current Behavior

I'm a bit of a noob to this so apologies if I am doing this wrong. Although I do have a few docker setups and have had no real issues. This is probably more of a question rather than a bug per-se. I installed the latest image using docker-compose.yml. The image(s) installed just fine and things appear to be running. However, I cannot login to complete the setup as I do not have the initial credentials to login with. The readme state "and login with the credentials you entered during setup." However, no credentials were requested during setup and none were given.

Expected Behavior

I assume, based on the readme that at some point during the install that I would be asked for or presented with the needed credentials to login.

Steps To Reproduce

X86 VPS running the latest version of docker. created a folder named kasm along with the subfolders (marked as optional) and then ran docker-compose up -d

Environment

- OS: Ubuntu Server 22.04
- How docker service was installed:
sudo su -

apt install apt-transport-https ca-certificates curl gnupg software-properties-common

install -m 0755 -d /etc/apt/keyrings
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | gpg --dearmor -o /etc/apt/keyrings/docker.gpg
chmod a+r /etc/apt/keyrings/docker.gpg

echo \
 "deb [arch="$(dpkg --print-architecture)" signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/ubuntu \
 "$(. /etc/os-release && echo "$UBUNTU_CODENAME")" stable" | \
 sudo tee /etc/apt/sources.list.d/docker.list > /dev/null

apt update

apt-get install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin docker-compose

CPU architecture

x86-64

Docker creation

version: "2.1"
services:
  kasm:
    image: lscr.io/linuxserver/kasm:latest
    container_name: kasm
    privileged: true
    environment:
      - KASM_PORT=32443
    volumes:
      - ./opt:/opt
      - ./profiles:/profiles #optional
      - ./dev/input:/dev/input #optional
      - ./run/udev/data:/run/udev/data #optional
    ports:
      - 3000:3000
      - 32443:443
    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.

time="2023-06-22T18:21:50.766976596Z" level=error msg="failed to initialize a tracing processor \"otlp\"" error="no OpenTelemetry endpoint: skip plugin"
github-actions[bot] commented 1 year ago

Thanks for opening your first issue here! Be sure to follow the relevant issue templates, or risk having this issue marked as invalid.

Br0kenSilos commented 1 year ago

Please dis-regard. The issue was that I did not understand that the first visit to the site on port 3000 is where I would input the passwords for admin and the user account.