flcontainers / guacamole

A Docker Container for Apache Guacamole, a client-less remote desktop gateway. It supports standard protocols like VNC, RDP, and SSH over HTML5. For x64, arm64 and ppc64le.
https://hub.docker.com/r/flcontainers/guacamole
GNU General Public License v3.0
322 stars 60 forks source link

1.5.3 cant login with guacadmin after fresh install #98

Closed kmayakova closed 1 month ago

kmayakova commented 11 months ago

"An error has occurred and this action cannot be completed.."

docker logs 8b85923ff408:

Running startup scripts
Preparing Config Folder
Running Postgres
Starting Postgres...
Running Guacamole server
Post startup DB scripts
Running postgres init
Running postgres init
********************************************************************************
WARNING: POSTGRES_HOST_AUTH_METHOD has been set to "trust". This will allow
         anyone with access to the Postgres port to access your database without
         a password, even if POSTGRES_PASSWORD is set. See PostgreSQL
         documentation about "trust":
         https://www.postgresql.org/docs/current/auth-trust.html
         In Docker's default configuration, this is effectively any other
         container on the same system.

         It is not recommended to use POSTGRES_HOST_AUTH_METHOD=trust. Replace
         it with "-e POSTGRES_PASSWORD=password" instead to set a password in
         "docker run".
********************************************************************************
guacd[20]: INFO:        Guacamole proxy daemon (guacd) version 1.5.3 started
guacd[20]: INFO:        Listening on host 0.0.0.0, port 4822
The files belonging to this database system will be owned by user "postgres".
This user must also own the server process.

The database cluster will be initialized with locales
  COLLATE:  C
  CTYPE:    C.UTF-8
  MESSAGES: C
  MONETARY: C
  NUMERIC:  C
  TIME:     C
The default database encoding has accordingly been set to "UTF8".
The default text search configuration will be set to "english".

Data page checksums are disabled.

fixing permissions on existing directory /config/postgres ... ok
creating subdirectories ... ok
selecting dynamic shared memory implementation ... posix
selecting default max_connections ... 100
selecting default shared_buffers ... 128MB
selecting default time zone ... GMT-4
creating configuration files ... ok
running bootstrap script ... ok
performing post-bootstrap initialization ... ok
syncing data to disk ... ok

Success.

initdb: warning: enabling "trust" authentication for local connections
You can change this by editing pg_hba.conf or using the option -A, or
--auth-local and --auth-host, the next time you run initdb.
waiting for server to start....2023-10-05 21:34:32.830 GMT [63] LOG:  starting PostgreSQL 13.12 on x86_64-alpine-linux-musl, compiled by gcc (Alpine 12.2.1_git20220924-r10) 12.2.1 20220924, 64-bit
2023-10-05 21:34:32.840 GMT [63] LOG:  listening on Unix socket "/run/postgresql/.s.PGSQL.5432"
2023-10-05 21:34:32.850 GMT [64] LOG:  database system was shut down at 2023-10-05 21:34:32 GMT
2023-10-05 21:34:32.858 GMT [63] LOG:  database system is ready to accept connections
 done
server started
CREATE DATABASE

/usr/local/bin/_postgres.sh: ignoring /docker-entrypoint-initdb.d/*

waiting for server to shut down...2023-10-05 21:34:33.204 GMT [63] LOG:  received fast shutdown request
.2023-10-05 21:34:33.204 GMT [63] LOG:  aborting any active transactions
2023-10-05 21:34:33.208 GMT [63] LOG:  background worker "logical replication launcher" (PID 70) exited with exit code 1
2023-10-05 21:34:33.212 GMT [65] LOG:  shutting down
2023-10-05 21:34:33.238 GMT [63] LOG:  database system is shut down
 done
server stopped

PostgreSQL init process complete; ready for start up.

2023-10-05 21:34:33.371 GMT [19] LOG:  starting PostgreSQL 13.12 on x86_64-alpine-linux-musl, compiled by gcc (Alpine 12.2.1_git20220924-r10) 12.2.1 20220924, 64-bit
2023-10-05 21:34:33.376 GMT [19] LOG:  listening on IPv4 address "127.0.0.1", port 5432
2023-10-05 21:34:33.379 GMT [19] LOG:  could not create IPv6 socket for address "::1": Address family not supported by protocol
2023-10-05 21:34:33.383 GMT [19] LOG:  listening on Unix socket "/run/postgresql/.s.PGSQL.5432"
2023-10-05 21:34:33.391 GMT [78] LOG:  database system was shut down at 2023-10-05 21:34:33 GMT
2023-10-05 21:34:33.400 GMT [19] LOG:  database system is ready to accept connections
database port open... Finishing Configuration
CREATE TYPE
CREATE TYPE
CREATE TYPE
CREATE TYPE
CREATE TYPE
CREATE TABLE
CREATE INDEX
CREATE TABLE
CREATE INDEX
CREATE TABLE
CREATE TABLE
CREATE TABLE
CREATE TABLE
CREATE TABLE
CREATE INDEX
CREATE TABLE
CREATE INDEX
CREATE TABLE
CREATE INDEX
CREATE TABLE
CREATE INDEX
CREATE TABLE
CREATE INDEX
CREATE TABLE
CREATE INDEX
CREATE TABLE
CREATE INDEX
CREATE TABLE
CREATE INDEX
CREATE TABLE
CREATE INDEX
CREATE INDEX
CREATE TABLE
CREATE INDEX
CREATE INDEX
CREATE TABLE
CREATE INDEX
CREATE INDEX
CREATE TABLE
CREATE INDEX
CREATE TABLE
CREATE INDEX
CREATE INDEX
CREATE TABLE
CREATE INDEX
CREATE INDEX
CREATE TABLE
CREATE INDEX
CREATE INDEX
CREATE INDEX
CREATE INDEX
CREATE INDEX
CREATE INDEX
CREATE TABLE
CREATE INDEX
CREATE INDEX
CREATE INDEX
CREATE INDEX
CREATE TABLE
CREATE INDEX
INSERT 0 1
INSERT 0 1
INSERT 0 6
INSERT 0 3
Running Tomcat
Tomcat started.
container started
Running startup scripts
Preparing Config Folder
rm: can't remove '/config/guacamole/extensions/guacamole-auth-header-*.jar': No such file or directory
rm: can't remove '/config/guacamole/extensions/guacamole-auth-jdbc-mysql-*.jar': No such file or directory
rm: can't remove '/config/guacamole/extensions/guacamole-auth-jdbc-sqlserver-*.jar': No such file or directory
rm: can't remove '/config/guacamole/extensions/guacamole-auth-json-*.jar': No such file or directory
rm: can't remove '/config/guacamole/extensions/guacamole-auth-ldap-*.jar': No such file or directory
rm: can't remove '/config/guacamole/extensions/guacamole-auth-quickconnect-*.jar': No such file or directory
rm: can't remove '/config/guacamole/extensions/guacamole-auth-sso-openid-*.jar': No such file or directory
rm: can't remove '/config/guacamole/extensions/guacamole-auth-sso-saml-*.jar': No such file or directory
rm: can't remove '/config/guacamole/extensions/guacamole-auth-sso-cas-*.jar': No such file or directory
rm: can't remove '/config/guacamole/extensions/guacamole-auth-totp-*.jar': No such file or directory
rm: can't remove '/config/guacamole/extensions/guacamole-vault-ksm-*.jar': No such file or directory
rm: can't remove '/config/guacamole/extensions/guacamole-history-recording-storage-*.jar': No such file or directory
Applied owners rights on Postgres folder...
DB lock removed...
Running Postgres
Starting Postgres...
Running Guacamole server
Post startup DB scripts
Running postgres init
Running postgres init
guacd[43]: INFO:        Guacamole proxy daemon (guacd) version 1.5.3 started
guacd[43]: INFO:        Listening on host 0.0.0.0, port 4822

PostgreSQL Database directory appears to contain a database; Skipping initialization

2023-10-05 21:36:45.689 GMT [42] LOG:  starting PostgreSQL 13.12 on x86_64-alpine-linux-musl, compiled by gcc (Alpine 12.2.1_git20220924-r10) 12.2.1 20220924, 64-bit
2023-10-05 21:36:45.693 GMT [42] LOG:  listening on IPv4 address "127.0.0.1", port 5432
2023-10-05 21:36:45.696 GMT [42] LOG:  could not create IPv6 socket for address "::1": Address family not supported by protocol
2023-10-05 21:36:45.706 GMT [42] LOG:  listening on Unix socket "/run/postgresql/.s.PGSQL.5432"
2023-10-05 21:36:45.714 GMT [72] LOG:  database system was interrupted; last known up at 2023-10-05 21:34:33 GMT
2023-10-05 21:36:45.790 GMT [72] LOG:  database system was not properly shut down; automatic recovery in progress
2023-10-05 21:36:45.793 GMT [72] LOG:  redo starts at 0/15AAFE0
2023-10-05 21:36:45.831 GMT [72] LOG:  invalid record length at 0/16652F8: wanted 24, got 0
2023-10-05 21:36:45.831 GMT [72] LOG:  redo done at 0/16652C0
2023-10-05 21:36:45.861 GMT [42] LOG:  database system is ready to accept connections
database port open... Finishing Configuration
guacamole database already up-to-date. Nothing applied...
Running Tomcat
Tomcat started.
container started
jonaavanza commented 10 months ago

Are you using docker compose @kmayakova ?