On 12/13/2023 11:32 AM, Remush wrote:
The docker logs don't really provide anything.
I look for Guacamole specific logs.
That is exactly where the Guacamole-specific logs are:
$ sudo docker logs some-guacamole
...
13-Dec-2023 19:45:50.963 INFO [main]
org.apache.catalina.core.StandardEngine.startInternal Starting Servlet
engine: [Apache Tomcat/8.5.91]
13-Dec-2023 19:45:50.990 INFO [localhost-startStop-1]
org.apache.catalina.startup.HostConfig.deployWAR Deploying web
application archive [/home/guacamole/tomcat/webapps/guacamole.war]
13-Dec-2023 19:45:52.603 INFO [localhost-startStop-1]
org.apache.jasper.servlet.TldScanner.scanJars At least one JAR was
scanned for TLDs yet contained no TLDs. Enable debug logging for this
logger for a complete list of JARs that were scanned but no TLDs were
found in them. Skipping unneeded JARs during scanning can
improve startup time and JSP compilation time.
19:45:53.219 [localhost-startStop-1] INFO
o.a.g.environment.LocalEnvironment - GUACAMOLE_HOME is
"/home/guacamole/.guacamole".
19:45:53.381 [localhost-startStop-1] INFO
o.a.g.GuacamoleServletContextListener - Read configuration parameters
from "/home/guacamole/.guacamole/guacamole.properties".
19:45:53.387 [localhost-startStop-1] INFO
o.a.g.rest.auth.HashTokenSessionMap - Sessions will expire after 60
minutes of inactivity.
19:45:55.190 [localhost-startStop-1] INFO
o.a.g.extension.ExtensionModule - Extension "PostgreSQL Authentication"
(postgresql) loaded.
19:45:55.375 [localhost-startStop-1] INFO
o.a.g.t.w.WebSocketTunnelModule - Loading JSR-356 WebSocket support...
13-Dec-2023 19:45:57.005 INFO [localhost-startStop-1]
org.apache.catalina.startup.HostConfig.deployWAR Deployment of web
application archive [/home/guacamole/tomcat/webapps/guacamole.war] has
finished in [6,014] ms
13-Dec-2023 19:45:57.008 INFO [main]
org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler
["http-nio-8080"]
13-Dec-2023 19:45:57.027 INFO [main]
org.apache.catalina.startup.Catalina.start Server startup in 6112 ms
$
I see only the initial setup and when trying to login and it fails the
docker logs doesn't show anything
If you attempt to log in and the attempt fails, there will be messages
noting the failure in the Guacamole logs.
Depending on the nature of the failure, the messages logged during
Guacamole's startup may also be relevant.
About the schemes, I read it before and that's why I did it manually but
it says like it already exists.
So I try to understand if it is necessary when it is a container .
There is no variation on this whether the webapp is deployed via
container or otherwise. The database needs to be initialized before it
can be used. If it was initialized previously, then it does not need to
be initialized.
If you are seeing errors regarding tables, etc. already existing, then
you already initialized that database and do not need to do so again.
- Mike
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]