Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

After update on Synology, soulseek UI doesn't work #101

Open
jamesblonde007 opened this issue Oct 27, 2024 · 29 comments
Open

After update on Synology, soulseek UI doesn't work #101

jamesblonde007 opened this issue Oct 27, 2024 · 29 comments

Comments

@jamesblonde007
Copy link

I updated Soulseek on Synology today using the usually successful method of updating via the Container Manager.
All port settings seem to be as before.
This time I can't access the UI and the logs are full of the same errors being repeated over and over:

Screenshot 2024-10-27 at 12 02 01

Can anyone help?

@pixelpowder
Copy link

Same issue, must be the latest update. Waiting for fix :)

@realies
Copy link
Owner

realies commented Oct 28, 2024

I don't have a Synology system, but using the docker compose in this repository works fine: https://github.com/realies/soulseek-docker/blob/b145e0d8f294b058d802cf33f5791d18b62d6b5f/docker-compose.yml

Can you provide more information on how you run the container?

@pixelpowder
Copy link

It has been working without issue until the last update.
I use container manager to run the container.

There was also an update to the Synology OS which I applied 2 days ago in case that's maybe related.
https://www.synology.com/en-uk/releaseNote/DSM

@jamesblonde007
Copy link
Author

It has been working without issue until the last update. I use container manager to run the container.

There was also an update to the Synology OS which I applied 2 days ago in case that's maybe related. https://www.synology.com/en-uk/releaseNote/DSM

Sounds like we have identical experiences

@pixelpowder
Copy link

Hi
Will there be a fix for the issue you think? @realies

@realies
Copy link
Owner

realies commented Oct 30, 2024

@pixelpowder, to do a fix, I need to reproduce the issue. I don't have Synology hardware. Can DSM be used without it?

@pixelpowder
Copy link

@jamesblonde007
Copy link
Author

Any updates about this issue?

@pixelpowder
Copy link

I got a bad feeling about this

@realies
Copy link
Owner

realies commented Nov 12, 2024

haven't had enough time to check yet, the DSM virtualisation appears to require some;
could you guys try to LLM it in the meantime?

@pixelpowder
Copy link

I can use standalone for now its not a problem but when im not on my local network your solution allows me to externally connect to soulseek and download directly to NAS which is so good.

@jamesblonde007
Copy link
Author

Just updated to the latest release today. Unfortunately the issue hasn't been resolved.

@pixelpowder
Copy link

pixelpowder commented Nov 18, 2024 via email

@realies
Copy link
Owner

realies commented Dec 20, 2024

I got DSM running in a VM and I don't see the same issue. In fact, it runs as expected. What hardware are you running it on?

dsm-soulseek

@pixelpowder
Copy link

pixelpowder commented Dec 21, 2024 via email

@jamesblonde007
Copy link
Author

Synology DS220+
DSM 7.2.2-72806 Update 2

@realies
Copy link
Owner

realies commented Dec 21, 2024

thanks for the feedback, I'll release a debug build later today which can hopefully tell us more about why it crashes

@pixelpowder
Copy link

pixelpowder commented Dec 21, 2024 via email

@realies
Copy link
Owner

realies commented Dec 26, 2024

I've added more logging and a static port configuration in the file that appears to cause the crash:

echo "Environment variables:"
echo "VNC_PORT=${VNC_PORT}"
echo "NOVNC_PORT=${NOVNC_PORT}"
echo "PUID=${PUID}"
echo "User resolution:"
echo "id -nu $PUID = $(id -nu $PUID)"
echo "Full command that will be executed:"
echo "s6-setuidgid $(id -nu $PUID) /usr/share/novnc/utils/novnc_proxy --vnc localhost:5900 --listen 6080 --web /usr/share/novnc"
# Start noVNC proxy with explicit websockify options
exec s6-setuidgid $(id -nu $PUID) /usr/share/novnc/utils/novnc_proxy --vnc localhost:5900 --listen 6080 --web /usr/share/novnc

What do you see in the logs with the realies/souseek:debug image?
https://hub.docker.com/layers/realies/soulseek/debug/images/sha256-c8a4009b8903f6843e45b5188d2d123331f54d3c40149bddf10a6ed0e496bcef

@jamesblonde007
Copy link
Author

I would love to help if I can but I'm afraid that I don't understand how to help. Would you mind setting out the steps?

@realies
Copy link
Owner

realies commented Dec 31, 2024

  1. Find out how to set the image name and tag in the container configuration
  2. Set it to realies/soulseek:debug
  3. Run it and copy the startup log here

@jamesblonde007
Copy link
Author

jamesblonde007 commented Jan 3, 2025

ok, I hope I understood correctly. Here was the result:

soulseek-debug
date,stream,content
2025/01/03 12:23:10,stdout,[mi] mieq: warning: overriding existing handler (nil) with 0x5599b0560580 for event 3

2025/01/03 12:23:10,stdout,[mi] mieq: warning: overriding existing handler (nil) with 0x5599b0560580 for event 2

2025/01/03 12:23:10,stdout,Errors from xkbcomp are not fatal to the X server

2025/01/03 12:23:10,stdout,> Warning: Could not resolve keysym XF86NavInfo

2025/01/03 12:23:10,stdout,> Warning: Could not resolve keysym XF86SidevuSonar

2025/01/03 12:23:10,stdout,> Warning: Could not resolve keysym XF86ClearvuSonar

2025/01/03 12:23:10,stdout,> Warning: Could not resolve keysym XF86TraditionalSonar

2025/01/03 12:23:10,stdout,> Warning: Could not resolve keysym XF86RadarOverlay

2025/01/03 12:23:10,stdout,> Warning: Could not resolve keysym XF86DualRangeRadar

2025/01/03 12:23:10,stdout,> Warning: Could not resolve keysym XF86SingleRangeRadar

2025/01/03 12:23:10,stdout,> Warning: Could not resolve keysym XF86FishingChart

2025/01/03 12:23:10,stdout,> Warning: Could not resolve keysym XF86NavChart

2025/01/03 12:23:10,stdout,> Warning: Could not resolve keysym XF86Sos

2025/01/03 12:23:10,stdout,> Warning: Could not resolve keysym XF86MarkWaypoint

2025/01/03 12:23:10,stdout,> Warning: Could not resolve keysym XF86AutopilotEngageToggle

2025/01/03 12:23:10,stdout,> Warning: Could not resolve keysym XF86PreviousElement

2025/01/03 12:23:10,stdout,> Warning: Could not resolve keysym XF86NextElement

2025/01/03 12:23:10,stdout,> Warning: Could not resolve keysym XF86CameraAccessToggle

2025/01/03 12:23:10,stdout,> Warning: Could not resolve keysym XF86CameraAccessDisable

2025/01/03 12:23:10,stdout,> Warning: Could not resolve keysym XF86CameraAccessEnable

2025/01/03 12:23:10,stdout,The XKEYBOARD keymap compiler (xkbcomp) reports:

2025/01/03 12:23:10,stdout, - proxying from :6080 to localhost:5900

2025/01/03 12:23:10,stdout, - No SSL/TLS support (no cert file)

2025/01/03 12:23:10,stdout, - Web server. Web root: /usr/share/novnc

2025/01/03 12:23:10,stdout, - Listen on :6080

2025/01/03 12:23:10,stdout,WebSocket server settings:

2025/01/03 12:23:08,stdout, vncext: created VNC server for screen 0

2025/01/03 12:23:08,stdout," vncext: Listening for VNC connections on all interface(s), port 5900
"
2025/01/03 12:23:08,stdout, vncext: VNC extension running!

2025/01/03 12:23:08,stdout,Fri Jan 3 11:23:08 2025

2025/01/03 12:23:08,stdout,

2025/01/03 12:23:08,stdout,

2025/01/03 12:23:08,stdout,Underlying X server release 12101011

2025/01/03 12:23:08,stdout,See https://www.tigervnc.org for information on TigerVNC.

2025/01/03 12:23:08,stdout,Copyright (C) 1999-2022 TigerVNC Team and many others (see README.rst)

2025/01/03 12:23:08,stdout,Xvnc TigerVNC 1.13.1 - built 2024-04-01 08:26

2025/01/03 12:23:08,stdout,

2025/01/03 12:23:08,stdout,s6-rc: info: service legacy-services successfully started

2025/01/03 12:23:08,stdout,

2025/01/03 12:23:08,stdout,

2025/01/03 12:23:08,stdout,Press Ctrl-C to exit

2025/01/03 12:23:08,stdout,

2025/01/03 12:23:08,stdout, http://soulseek-debug:6080/vnc.html?host=soulseek-debug&port=6080

2025/01/03 12:23:08,stdout,

2025/01/03 12:23:08,stdout,Navigate to this URL:

2025/01/03 12:23:08,stdout,

2025/01/03 12:23:08,stdout,

2025/01/03 12:23:08,stdout,s6-rc: info: service legacy-services: starting

2025/01/03 12:23:08,stdout,s6-rc: info: service init-setup successfully started

2025/01/03 12:23:08,stdout,usermod: no changes

2025/01/03 12:23:08,stdout,Starting webserver and WebSockets proxy on port 6080

2025/01/03 12:23:08,stdout,Using local websockify at /usr/share/novnc/utils/websockify/run

2025/01/03 12:23:07,stdout,Warning: could not find self.pem

2025/01/03 12:23:07,stdout,s6-setuidgid soulseek /usr/share/novnc/utils/novnc_proxy --vnc localhost:5900 --listen 6080 --web /usr/share/novnc

2025/01/03 12:23:07,stdout,Full command that will be executed:

2025/01/03 12:23:07,stdout,id -nu 1000 = soulseek

2025/01/03 12:23:07,stdout,User resolution:

2025/01/03 12:23:07,stdout,PUID=1000

2025/01/03 12:23:07,stdout,NOVNC_PORT=6080

2025/01/03 12:23:07,stdout,VNC_PORT=5900

2025/01/03 12:23:07,stdout,Environment variables:

2025/01/03 12:23:06,stdout,s6-rc: info: service legacy-cont-init successfully started

2025/01/03 12:23:06,stdout,s6-rc: info: service legacy-cont-init: starting

2025/01/03 12:23:06,stdout,s6-rc: info: service fix-attrs successfully started

2025/01/03 12:23:06,stdout,s6-rc: info: service init-setup: starting

2025/01/03 12:23:06,stdout,s6-rc: info: service fix-attrs: starting

2025/01/03 12:23:06,stdout,s6-rc: info: service s6rc-oneshot-runner successfully started

2025/01/03 12:23:06,stdout,s6-rc: info: service svc-novnc successfully started

2025/01/03 12:23:06,stdout,s6-rc: info: service svc-tigervnc successfully started

2025/01/03 12:23:06,stdout,s6-rc: info: service svc-soulseek successfully started

2025/01/03 12:23:06,stdout,s6-rc: info: service svc-openbox successfully started

2025/01/03 12:23:06,stdout,s6-rc: info: service s6rc-oneshot-runner: starting

2025/01/03 12:23:06,stdout,s6-rc: info: service svc-novnc: starting

2025/01/03 12:23:06,stdout,s6-rc: info: service svc-openbox: starting

2025/01/03 12:23:06,stdout,s6-rc: info: service svc-soulseek: starting

2025/01/03 12:23:06,stdout,s6-rc: info: service svc-tigervnc: starting

@realies
Copy link
Owner

realies commented Jan 3, 2025

Thanks. Does it work?

@jamesblonde007
Copy link
Author

I tried reaching the UI on port 6080 (and 5900) but was unable to connect.

@realies
Copy link
Owner

realies commented Jan 4, 2025

Are you able to connect after a forced reload (dropping cache) or through an incognito window? If not, what's the error?

@jamesblonde007
Copy link
Author

My apologies, in my rush to test this I hadn't set up the port config settings yet. After setting everything up properly, I was able to access the UI and everything is now working. Nice!

Just curious, what changed?

@realies
Copy link
Owner

realies commented Jan 8, 2025

This is the diff for the debug image: 55b8879. The main difference is that it uses static port values instead of using the VNC_PORT and NOVNC_PORT environment variables for them.

It makes me wonder if the latest tag instead of debug works fine too after you did the port configuration.

@jamesblonde007
Copy link
Author

No, I was just lazy when I did the first debug test so please disregard that test. Before then, I always had the port configuration set up and if you remember it was an update (via Container Manager) which bricked the application, and that update inherited the port config settings.

@realies
Copy link
Owner

realies commented Jan 8, 2025

This is strange because in appears that the other scripts that use environment variables work fine.
But not the one that starts noVNC. Can you try the latest tag once again after this finishes building? https://github.com/realies/soulseek-docker/actions/runs/12672831245/job/35317741604

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants