abesnier / docker-guacamole

A self-contained guacamole docker container for x64. Remotely connect over SSH, RDP or VNC using HTML5.
https://hub.docker.com/r/abesnier/guacamole
GNU General Public License v3.0
78 stars 14 forks source link

Impossible to start since the updated version to s6 overlay 3.0 #1

Closed SirOch27 closed 2 years ago

SirOch27 commented 2 years ago

Describe The Bug: Since the update of the 2022-01-20 (updated to s6 overlay 3.0), the docker doesn't want to start (see message log)

To Reproduce: Install the docker image and try to launch it

Expected behavior: launching the docker without issue

Logs: Start container abesnier-guacamole failed: {"message":"OCI runtime create failed: container_linux.go:367: starting container process caused: exec: \"/init\": stat /init: no such file or directory: unknown"}.

Remove any sensative information.

Screenshots:

Environment:

abesnier commented 2 years ago

Thanks for the report. Image reverted to s6 overlay 2.2.0.2. (tags 1.4.0 or latest) Further investigations ongoing.

SirOch27 commented 2 years ago

Thank you for the fast action. all is working fine

abesnier commented 2 years ago

Yeah, upgrading to s6_overlay v3 is much more work than expected (especially with some bugs that make things even more difficult...) I am working on fixing it, but this may not be so soon...

abesnier commented 2 years ago

@SirOch27 I think it is fixed, with the support of the s6overlay team. May I please ask you to try the image abesnier/guacamole:1.4.0-s6test?

SirOch27 commented 2 years ago

@abesnier just tested the test image and all seems working now. Docker launched well, connection are OK and 2FA works also. happy to have helped you ;-)

abesnier commented 2 years ago

Nice! There is a confirmed bug with s6 3.0 (not linked to my failed image, that was my mistake, but trying to fix it revealed a bug). The image is currently built with s6 overlay binaries built by me. For consistency, I will update the guacamole:1.4.0-latest image when the fixed binaries are officially available (and update to Tomcat 9.0.58 at the same time).

SirOch27 commented 2 years ago

Good news. I am still using and testing version 1.4.0-s6_v3. The only error i saw in the logs is this one with RDP connection:

[http-nio-8080-exec-5] INFO o.a.g.t.h.RestrictedGuacamoleHTTPTunnelServlet - Using HTTP tunnel (not WebSocket). Performance may be sub-optimal

But i had it on all the Onzu forks version.

abesnier commented 2 years ago

Yes, for what I've seen about this error, it is linked to proxy/reverse proxy configuration. You may get better help in the mailing list. Have a look at this thread for example.

SirOch27 commented 2 years ago

Found the error: forgoten the Websocket configuration in the Synology reverse proxy. All is working fine now :-)

abesnier commented 2 years ago

S6 Overlay has been officially updated to 3.0.0.2 with a permanent fix. Images 1.4.0, 1.4.0-s6_v3 and latest are up to date. Closing the issue. Thanks again for using this image!