linuxserver / docker-webtop

Ubuntu, Alpine, Arch, and Fedora based Webtop images, Linux in a web browser supporting popular desktop environments.
GNU General Public License v3.0
1.88k stars 185 forks source link

[BUG] file upload does not work #164

Closed hubbertsmith closed 1 year ago

hubbertsmith commented 1 year ago

Is there an existing issue for this?

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!!!!
Roxedus commented 1 year ago

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

hubbertsmith commented 1 year ago

thanks for your reply, is it possible for you to share a known-good docker script? I will try it from my end. thanks!!

@.** | 385 321 0757 | LinkedIN https://www.linkedin.com/in/hubbertsmith/ Inspiring Remote Tech Teams https://www.amazon.com/Inspiring-Remote-Tech-Teams-Performance-ebook/dp/B08VLFYTT3/ref=sr_1_1?crid=H8M90B2UMA6Q&dchild=1&keywords=hubbert+smith&qid=1624635961&sprefix=hubbert+s%2Caps%2C209&sr=8-1 Linkedin Learning: Program Management for IT Professionals https://tinyurl.com/y8rzzzoa* Blog - hubbertsmith.com http://hubbertsmith.com Schedule a MEETING https://calendly.com/hubbert/60min

On Sun, Jul 9, 2023 at 9:25 AM Roxedus @.***> wrote:

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

— Reply to this email directly, view it on GitHub https://github.com/linuxserver/docker-webtop/issues/164#issuecomment-1627747129, or unsubscribe https://github.com/notifications/unsubscribe-auth/AMQIVR2ER36GESSH6SSRDN3XPLEPNANCNFSM6AAAAAA2DRZLEQ . You are receiving this because you authored the thread.Message ID: @.***>

Roxedus commented 1 year ago

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

j0nnymoe commented 1 year ago

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

hubbertsmith commented 1 year ago

thanks for the reply, sorry if I am pestering the docker run ... you provided ran without error, localhost:3000 accessed desktop worked, the file transfer worked ... but all icons were missing, all of them (including the little black icon"menu" thats always on the upper left any ideas

@.** | 385 321 0757 | LinkedIN https://www.linkedin.com/in/hubbertsmith/ Inspiring Remote Tech Teams https://www.amazon.com/Inspiring-Remote-Tech-Teams-Performance-ebook/dp/B08VLFYTT3/ref=sr_1_1?crid=H8M90B2UMA6Q&dchild=1&keywords=hubbert+smith&qid=1624635961&sprefix=hubbert+s%2Caps%2C209&sr=8-1 Linkedin Learning: Program Management for IT Professionals https://tinyurl.com/y8rzzzoa* Blog - hubbertsmith.com http://hubbertsmith.com Schedule a MEETING https://calendly.com/hubbert/60min

On Sun, Jul 9, 2023 at 9:34 AM Roxedus @.***> wrote:

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

— Reply to this email directly, view it on GitHub https://github.com/linuxserver/docker-webtop/issues/164#issuecomment-1627750169, or unsubscribe https://github.com/notifications/unsubscribe-auth/AMQIVR2HYO4XYOBAZ76ZYWDXPLFQVANCNFSM6AAAAAA2DRZLEQ . You are receiving this because you authored the thread.Message ID: @.***>

Roxedus commented 1 year ago

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

hubbertsmith commented 1 year ago

same symptoms in both brave and firefox I suspect it is due to docker-snap I am trying on a different system docker-apt, thanks again for the response

@.** | 385 321 0757 | LinkedIN https://www.linkedin.com/in/hubbertsmith/ Inspiring Remote Tech Teams https://www.amazon.com/Inspiring-Remote-Tech-Teams-Performance-ebook/dp/B08VLFYTT3/ref=sr_1_1?crid=H8M90B2UMA6Q&dchild=1&keywords=hubbert+smith&qid=1624635961&sprefix=hubbert+s%2Caps%2C209&sr=8-1 Linkedin Learning: Program Management for IT Professionals https://tinyurl.com/y8rzzzoa* Blog - hubbertsmith.com http://hubbertsmith.com Schedule a MEETING https://calendly.com/hubbert/60min

On Sun, Jul 9, 2023 at 9:52 AM Roxedus @.***> wrote:

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

— Reply to this email directly, view it on GitHub https://github.com/linuxserver/docker-webtop/issues/164#issuecomment-1627756426, or unsubscribe https://github.com/notifications/unsubscribe-auth/AMQIVR7LNSJ4FBKM7XTTKTTXPLHS7ANCNFSM6AAAAAA2DRZLEQ . You are receiving this because you authored the thread.Message ID: @.***>

hubbertsmith commented 1 year ago

yea, I hear you. on a different system apt docker.io install ,,, I ran same script same behavior -- the script ran, localhost:3000 accessed the mate desktop, the file upload worked, but the menus were absent same behavior for both brave and firefox

on the same system apt docker.io -- I ran my script, hs5 >> based on webtop-mate. menus were present, but fileupload silently failed gotta love computers

thanks so much for your response, I will do what ever you ask from my end to get this resolved, just ask and I will take care of it

@.** | 385 321 0757 | LinkedIN https://www.linkedin.com/in/hubbertsmith/ Inspiring Remote Tech Teams https://www.amazon.com/Inspiring-Remote-Tech-Teams-Performance-ebook/dp/B08VLFYTT3/ref=sr_1_1?crid=H8M90B2UMA6Q&dchild=1&keywords=hubbert+smith&qid=1624635961&sprefix=hubbert+s%2Caps%2C209&sr=8-1 Linkedin Learning: Program Management for IT Professionals https://tinyurl.com/y8rzzzoa* Blog - hubbertsmith.com http://hubbertsmith.com Schedule a MEETING https://calendly.com/hubbert/60min

On Sun, Jul 9, 2023 at 9:47 AM j0nnymoe @.***> wrote:

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

— Reply to this email directly, view it on GitHub https://github.com/linuxserver/docker-webtop/issues/164#issuecomment-1627754806, or unsubscribe https://github.com/notifications/unsubscribe-auth/AMQIVR7VO3RY57K4FMXLGGDXPLHAJANCNFSM6AAAAAA2DRZLEQ . You are receiving this because you authored the thread.Message ID: @.***>

j0nnymoe commented 1 year ago

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

hubbertsmith commented 1 year ago

no problem, I did not expect you to

focusing on what you DO support. I did this ... 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 supported right?

the menu icons did not appear -- meaning the little black round icon in upper right of mate desktops did not appear

this system --- apt install docker.io (not snap) docker hello world works properly

I am happy to do what ever you ask on my end to troubleshoot (assuming this is supported, yes?)

@.** | 385 321 0757 | LinkedIN https://www.linkedin.com/in/hubbertsmith/ Inspiring Remote Tech Teams https://www.amazon.com/Inspiring-Remote-Tech-Teams-Performance-ebook/dp/B08VLFYTT3/ref=sr_1_1?crid=H8M90B2UMA6Q&dchild=1&keywords=hubbert+smith&qid=1624635961&sprefix=hubbert+s%2Caps%2C209&sr=8-1 Linkedin Learning: Program Management for IT Professionals https://tinyurl.com/y8rzzzoa* Blog - hubbertsmith.com http://hubbertsmith.com Schedule a MEETING https://calendly.com/hubbert/60min

On Sun, Jul 9, 2023 at 11:46 AM j0nnymoe @.***> wrote:

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

— Reply to this email directly, view it on GitHub https://github.com/linuxserver/docker-webtop/issues/164#issuecomment-1627782183, or unsubscribe https://github.com/notifications/unsubscribe-auth/AMQIVRYYVBJS4JHEJWECKVTXPLU6TANCNFSM6AAAAAA2DRZLEQ . You are receiving this because you authored the thread.Message ID: @.***>

j0nnymoe commented 1 year ago

Provide container startup logs please.

hubbertsmith commented 1 year ago

thanks again for your help I got it to work, I can rebuild my image from here. kindly close the ticket please LMK what I might do to help you in the future H

@.** | 385 321 0757 | LinkedIN https://www.linkedin.com/in/hubbertsmith/ Inspiring Remote Tech Teams https://www.amazon.com/Inspiring-Remote-Tech-Teams-Performance-ebook/dp/B08VLFYTT3/ref=sr_1_1?crid=H8M90B2UMA6Q&dchild=1&keywords=hubbert+smith&qid=1624635961&sprefix=hubbert+s%2Caps%2C209&sr=8-1 Linkedin Learning: Program Management for IT Professionals https://tinyurl.com/y8rzzzoa* Blog - hubbertsmith.com http://hubbertsmith.com Schedule a MEETING https://calendly.com/hubbert/60min

On Sun, Jul 9, 2023 at 11:53 AM j0nnymoe @.***> wrote:

Provide container startup logs please.

— Reply to this email directly, view it on GitHub https://github.com/linuxserver/docker-webtop/issues/164#issuecomment-1627783789, or unsubscribe https://github.com/notifications/unsubscribe-auth/AMQIVR7CHN3ZNK3LWK6UHRLXPLV2TANCNFSM6AAAAAA2DRZLEQ . You are receiving this because you authored the thread.Message ID: @.***>