linuxserver / docker-webtop

Ubuntu, Alpine, Arch, and Fedora based Webtop images, Linux in a web browser supporting popular desktop environments.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[BUG] file upload does not work

hubbertsmith opened this issue · comments

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

start docker image --- ubuntu-mate
browser >> localhost:3000
see the desktop
click the left screen icon, will show left VNC menu, will also show top center file cabinet icon, to upload files

I use the top center icon to upload a file
it says "uploading xyz.file"
but does not upload

i tried different files, different directories, confirmed filetransfer worked with docker cp ...

Expected Behavior

file should upload into selected dir.

Steps To Reproduce

start docker image --- ubuntu-mate
browser >> localhost:3000
see the desktop
click the left screen icon, will show left VNC menu, will also show top center file cabinet icon, to upload files

I use the top center icon to upload a file
it says "uploading xyz.file"
but does not upload

Environment

- OS: ubuntu 22.04
- How docker service was installed: snap

CPU architecture

x86-64

Docker creation

docker run -itd \
  --env-file /home/hubbert/webtop/.env \
  -p 3000:3000/tcp  \
  -v /run/snapd.socket:/run/snapd.socket \
  --cap-add=NET_ADMIN \
  --device=/dev/net/tun \
  --network=bridge \
  --mount source=i4voll.3,target=/i4 \
  --restart unless-stopped \
  hs5:latest

Container logs

docker logs 89cb11ba5566
[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:    1000
User GID:    1000
───────────────────────────────────────

.+....+...+..+................+.........+..+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*....+...............+........+....+........+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*..........+.............+..+....+...+..+....+..+....+...........+....+...+.....+.......+........+.......+...+...+..+.............+...+.....+.....................+.........+.......+...............+..+......+......+.+...+..........................................+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
...+......+...+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*..+..+...+.........................+...+.....+.+..............+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*....+..+...+.+......+...+.....+...+...+.+........+..................+....+...........+.........+.+.....+.........+..........+...............+...+........+...+....+...........+...............+....+..+.+........+......+......+...+......+.+...+......+.....+...+......+....+......+..+...+....+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
-----
[custom-init] No custom files found, skipping...
_XSERVTransmkdir: Owner of /tmp/.X11-unix should be set to root
[ls.io-init] done.

Xvnc KasmVNC 1.1.0 - built Jun 17 2023 18:54:12
Copyright (C) 1999-2018 KasmVNC Team and many others (see README.me)
See http://kasmweb.com for information on KasmVNC.
Underlying X server release 12014000, The X.Org Foundation

Error: Connection refused
    at PulseAudioContext.<anonymous> (/kclient/node_modules/pulseaudio2/lib/pulse.js:120:36)
    at /kclient/node_modules/pulseaudio2/lib/pulse.js:133:21
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)
Kclient was unable to init audio, it is possible your host lacks support!!!!
Error: Access denied
    at /kclient/node_modules/pulseaudio2/lib/pulse.js:133:21
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)
Kclient was unable to init audio, it is possible your host lacks support!!!!

Cannot reproduce, uploads just fine. note, we do not support local builds. i have no idea whats done in your hs5 image.

My test is simply docker run --rm -t --name=test --tmpfs /config:exec -e TZ=${TZ} -e PUID=$(id -u) -e PGID=$(id -g) -p 3000:3000 lscr.io/linuxserver/webtop:ubuntu-mate

Also, you're using docker on snap. We do not recommend this.

No. they are also present in my test. Worth checking the browser console

Providing support for users custom scripts/builds of our containers is not something we support.

Provide container startup logs please.