-
Notifications
You must be signed in to change notification settings - Fork 34
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
Container fails to start - openbox/novnc exiting with errors #48
Comments
Same exact issue here. |
Thanks for the issue report, I assume there's incompatibility with the latest docker base image or there is still some caching happening. Will investigate further when I find some time soon. |
When I try the install via the Synology UI, I add all the settings then at the final step I get a "Docker API failed" message. Might be the same issue? |
@realies No problem, thank you. I'm running unraid by the way, I saw on forums that running the container in privileged mode would fix it, but i'm worried if a security flaw is found in soulseek, then the container itself it wouldn't isolate the system properly if privilege is on, thus posing a huge security risk. |
@dillonbck, @TheMrRandomDude, @jamesblonde007, can you please test the latest build? |
Hi @realies Thank you for the build. Sadly, still same issue it seems:
|
@TheMrRandomDude, can you please try and report the output of the following commands:
|
Here is what I get back after running those commands:
|
@realies I get same output as @dillonbck
I tested if /usr/share/novnc/utils/websockify/run exists and is executable, it is.
Is self.pem missing an issue? Since it's just a warning. |
@TheMrRandomDude, don't think it's the missing
|
Hi. @realies I'm happy to see it works for you. I fixed the novnc_proxy by modifying the novnc_proxy script to execute from absolute path rather than relative one. Now I have the same output as you above. Howeer, the container is sitll having issues it seems. Now the following thing happens:
Edit no.1 09.35UTC: Just realized the docker inspect is a thing, found the entrypoint at /init.sh; going to see if I can access dmesg or logs anywhere to see why is the "2022-10-22 14:57:38,931 INFO exited: novnc (exit status 1; not expected)" happening
I tried looking for the glthread-posix.c file via find / 2>/dev/null | grep gthread, but I can't find it.. Huh? Now I'm stuck. Edit no.4. 10:03 UTC: Duplicate of moby/moby#42680 (pay attention to mentions). I'm running Unraid 6.7.2 on this server, seems like it's finally due for upgrades, from kernel to everything. In the meantime, since I can't upgrade it today, I'll run Soulseek with seccomp disabled. (Will try --security-opt seccomp=unconfined first) Edit no.5. 10:14 UTC: Just ran the container with additional parameters mentioned above in edit no 4., log outpot looks ok so far, will confirm that it runs properly in a few minutes.
Edit no 6. @realies I confirm that it works properly now. Only three things needed fixing, a permission issue in run script that happened for some reason, a novnc_proxy change from relative to absolute path and running the container with seccomp uncofined. I'd like to add additional code that will check the syscalls handlng via versoin checking of the kernel + additional error handling for novnc_proxy and run, and absolute path fix and I'd like to add this as a push request. The ultimate fix is upgrading the docker & kernel that's running the container to latest versions, but as not all people will do this, I think it would be a good idea to add this pull request. I will add in the script if the old version is detected to have stdout scream at the user that they're running on outdated build and that we highly reccomend upgrading to latest. Does this sound good? Thanks realises. Much appreciate the help |
I was also having an issue with NoVNC crashing and after reading @TheMrRandomDude I added the security_opt unconfined to my configuration and it seemed to fix my problem. For anyone using docker-compose or portainer add the section below to set the security_opt to unconfined
|
I'm getting "script error" once NOVNC starts. Is this related? Is the security_opt an "environment variable"? |
Ive got the same issue - nothing ive attempted works ...
|
@VinneyUK, Docker and host versions? |
I have identical logs as above, running unRAID 6.11.4 with Docker version 20.10.21. I noticed that the errors specifically occur when I run the container with |
Not sure why using a container network would cause this. You could configure VPN for the whole Unraid server as a workaround. |
My soulseek container is failing to start properly (possibly due to some error with openbox/novnc?).
I have docker running via docker-compose - has been working properly until pulling a new image recently (see config below):
I get the following log from the container:
I get the following log from openbox inside the container:
The text was updated successfully, but these errors were encountered: