boschkundendienst / guacamole-docker-compose

Guacamole with docker-compose using PostgreSQL, nginx with SSL (self-signed)
GNU General Public License v3.0
983 stars 410 forks source link

guacamole_compose restarts always.. #39

Closed cablesky closed 2 years ago

cablesky commented 2 years ago

Hi, i started the docker-compose File - and then the container "guacamole_compose" keeps restarting..

Here the log of the Container.

What am I doing wrong?

18-Aug-2022 09:00:48.318 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dignore.endorsed.dirs= 18-Aug-2022 09:00:48.318 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.base=/home/guacamole/tomcat 18-Aug-2022 09:00:48.319 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.home=/usr/local/tomcat 18-Aug-2022 09:00:48.319 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.io.tmpdir=/home/guacamole/tomcat/temp 18-Aug-2022 09:00:48.319 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent Loaded Apache Tomcat Native library [1.2.33] using APR version [1.7.0]. 18-Aug-2022 09:00:48.320 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true], UDS [{4}]. 18-Aug-2022 09:00:48.320 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent APR/OpenSSL configuration: useAprConnector [false], useOpenSSL [true] 18-Aug-2022 09:00:48.324 INFO [main] org.apache.catalina.core.AprLifecycleListener.initializeSSL OpenSSL successfully initialized [OpenSSL 3.0.2 15 Mar 2022] 18-Aug-2022 09:00:48.484 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-8080"] 18-Aug-2022 09:00:48.525 INFO [main] org.apache.catalina.startup.Catalina.load Initialization processed in 988 ms 18-Aug-2022 09:00:48.585 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Catalina] 18-Aug-2022 09:00:48.585 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.81] 18-Aug-2022 09:00:48.648 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployWAR Deploying web application archive [/home/guacamole/tomcat/webapps/guacamole.war] 18-Aug-2022 09:01:09.370 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server version name: Apache Tomcat/8.5.81 18-Aug-2022 09:01:09.374 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server built: Jun 8 2022 21:30:15 UTC 18-Aug-2022 09:01:09.374 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server version number: 8.5.81.0 18-Aug-2022 09:01:09.374 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log OS Name: Linux 18-Aug-2022 09:01:09.375 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log OS Version: 5.15.39-1-pve 18-Aug-2022 09:01:09.375 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Architecture: amd64 18-Aug-2022 09:01:09.375 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Java Home: /opt/java/openjdk/jre 18-Aug-2022 09:01:09.376 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Version: 1.8.0_345-b01 18-Aug-2022 09:01:09.376 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Vendor: Temurin 18-Aug-2022 09:01:09.377 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_BASE: /home/guacamole/tomcat 18-Aug-2022 09:01:09.377 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_HOME: /usr/local/tomcat 18-Aug-2022 09:01:09.378 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.config.file=/home/guacamole/tomcat/conf/logging.properties 18-Aug-2022 09:01:09.378 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager 18-Aug-2022 09:01:09.378 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djdk.tls.ephemeralDHKeySize=2048 18-Aug-2022 09:01:09.379 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.protocol.handler.pkgs=org.apache.catalina.webresources 18-Aug-2022 09:01:09.379 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dorg.apache.catalina.security.SecurityListener.UMASK=0027 18-Aug-2022 09:01:09.379 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dignore.endorsed.dirs= 18-Aug-2022 09:01:09.379 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.base=/home/guacamole/tomcat 18-Aug-2022 09:01:09.382 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.home=/usr/local/tomcat 18-Aug-2022 09:01:09.382 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.io.tmpdir=/home/guacamole/tomcat/temp 18-Aug-2022 09:01:09.383 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent Loaded Apache Tomcat Native library [1.2.33] using APR version [1.7.0]. 18-Aug-2022 09:01:09.383 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true], UDS [{4}]. 18-Aug-2022 09:01:09.383 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent APR/OpenSSL configuration: useAprConnector [false], useOpenSSL [true] 18-Aug-2022 09:01:09.388 INFO [main] org.apache.catalina.core.AprLifecycleListener.initializeSSL OpenSSL successfully initialized [OpenSSL 3.0.2 15 Mar 2022] 18-Aug-2022 09:01:09.531 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-8080"] 18-Aug-2022 09:01:09.568 INFO [main] org.apache.catalina.startup.Catalina.load Initialization processed in 1003 ms 18-Aug-2022 09:01:09.615 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Catalina] 18-Aug-2022 09:01:09.615 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.81] 18-Aug-2022 09:01:09.669 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployWAR Deploying web application archive [/home/guacamole/tomcat/webapps/guacamole.war] 18-Aug-2022 09:01:14.296 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server version name: Apache Tomcat/8.5.81 18-Aug-2022 09:01:14.300 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server built: Jun 8 2022 21:30:15 UTC 18-Aug-2022 09:01:14.301 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server version number: 8.5.81.0 18-Aug-2022 09:01:14.301 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log OS Name: Linux 18-Aug-2022 09:01:14.301 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log OS Version: 5.15.39-1-pve 18-Aug-2022 09:01:14.302 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Architecture: amd64 18-Aug-2022 09:01:14.302 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Java Home: /opt/java/openjdk/jre 18-Aug-2022 09:01:14.303 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Version: 1.8.0_345-b01 18-Aug-2022 09:01:14.303 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Vendor: Temurin 18-Aug-2022 09:01:14.303 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_BASE: /home/guacamole/tomcat 18-Aug-2022 09:01:14.304 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_HOME: /usr/local/tomcat 18-Aug-2022 09:01:14.304 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.config.file=/home/guacamole/tomcat/conf/logging.properties 18-Aug-2022 09:01:14.305 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager 18-Aug-2022 09:01:14.305 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djdk.tls.ephemeralDHKeySize=2048 18-Aug-2022 09:01:14.305 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.protocol.handler.pkgs=org.apache.catalina.webresources 18-Aug-2022 09:01:14.306 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dorg.apache.catalina.security.SecurityListener.UMASK=0027 18-Aug-2022 09:01:14.306 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dignore.endorsed.dirs= 18-Aug-2022 09:01:14.306 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.base=/home/guacamole/tomcat 18-Aug-2022 09:01:14.307 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.home=/usr/local/tomcat 18-Aug-2022 09:01:14.307 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.io.tmpdir=/home/guacamole/tomcat/temp 18-Aug-2022 09:01:14.307 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent Loaded Apache Tomcat Native library [1.2.33] using APR version [1.7.0]. 18-Aug-2022 09:01:14.308 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true], UDS [{4}]. 18-Aug-2022 09:01:14.308 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent APR/OpenSSL configuration: useAprConnector [false], useOpenSSL [true] 18-Aug-2022 09:01:14.312 INFO [main] org.apache.catalina.core.AprLifecycleListener.initializeSSL OpenSSL successfully initialized [OpenSSL 3.0.2 15 Mar 2022] 18-Aug-2022 09:01:14.460 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-8080"] 18-Aug-2022 09:01:14.493 INFO [main] org.apache.catalina.startup.Catalina.load Initialization processed in 959 ms 18-Aug-2022 09:01:14.552 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Catalina] 18-Aug-2022 09:01:14.552 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.81] 18-Aug-2022 09:01:14.609 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployWAR Deploying web application archive [/home/guacamole/tomcat/webapps/guacamole.war] 18-Aug-2022 09:01:19.964 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server version name: Apache Tomcat/8.5.81 18-Aug-2022 09:01:19.968 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server built: Jun 8 2022 21:30:15 UTC 18-Aug-2022 09:01:19.968 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server version number: 8.5.81.0 18-Aug-2022 09:01:19.969 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log OS Name: Linux 18-Aug-2022 09:01:19.969 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log OS Version: 5.15.39-1-pve 18-Aug-2022 09:01:19.970 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Architecture: amd64 18-Aug-2022 09:01:19.970 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Java Home: /opt/java/openjdk/jre 18-Aug-2022 09:01:19.970 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Version: 1.8.0_345-b01 18-Aug-2022 09:01:19.971 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Vendor: Temurin 18-Aug-2022 09:01:19.971 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_BASE: /home/guacamole/tomcat 18-Aug-2022 09:01:19.971 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_HOME: /usr/local/tomcat 18-Aug-2022 09:01:19.972 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.config.file=/home/guacamole/tomcat/conf/logging.properties 18-Aug-2022 09:01:19.972 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager 18-Aug-2022 09:01:19.973 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djdk.tls.ephemeralDHKeySize=2048 18-Aug-2022 09:01:19.973 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.protocol.handler.pkgs=org.apache.catalina.webresources 18-Aug-2022 09:01:19.973 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dorg.apache.catalina.security.SecurityListener.UMASK=0027 18-Aug-2022 09:01:19.974 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dignore.endorsed.dirs= 18-Aug-2022 09:01:19.974 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.base=/home/guacamole/tomcat 18-Aug-2022 09:01:19.974 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.home=/usr/local/tomcat 18-Aug-2022 09:01:19.974 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.io.tmpdir=/home/guacamole/tomcat/temp 18-Aug-2022 09:01:19.975 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent Loaded Apache Tomcat Native library [1.2.33] using APR version [1.7.0]. 18-Aug-2022 09:01:19.975 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true], UDS [{4}]. 18-Aug-2022 09:01:19.976 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent APR/OpenSSL configuration: useAprConnector [false], useOpenSSL [true] 18-Aug-2022 09:01:19.980 INFO [main] org.apache.catalina.core.AprLifecycleListener.initializeSSL OpenSSL successfully initialized [OpenSSL 3.0.2 15 Mar 2022] 18-Aug-2022 09:01:20.115 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-8080"] 18-Aug-2022 09:01:20.159 INFO [main] org.apache.catalina.startup.Catalina.load Initialization processed in 981 ms 18-Aug-2022 09:01:20.207 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Catalina] 18-Aug-2022 09:01:20.208 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.81] 18-Aug-2022 09:01:20.247 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployWAR Deploying web application archive [/home/guacamole/tomcat/webapps/guacamole.war]

cablesky commented 2 years ago

I think I found the solution myself: The server only had 512MB main memory. However, guacamole requires at least 1GB - is that correct?

boschkundendienst commented 2 years ago

Hi, thanks for your feedback. I never ran into such problems myself but if it works know, that could be the case. Maybe the server is doing something else and there was really not enough RAM for Guacamole. Anyways, my repo ist just to have a fast proof of concept to run Guacamole and it was never intended to be run in production. I would recommend also the official Docker howto from Gucamole itself https://guacamole.apache.org/doc/gug/guacamole-docker.html