Description
Hi,
When starting up my container I get the following error:
Running startup scripts
Preparing Config Folder
Applied owners rights on Postgres folder...
Running Postgres
Starting Postgres...
Running Guacamole server
Post startup DB scripts
Running postgres init
Running postgres init
PostgreSQL Database directory appears to contain a database; Skipping initialization
guacd[18]: INFO: Guacamole proxy daemon (guacd) version 1.5.0 started
guacd[18]: INFO: Listening on host 0.0.0.0, port 4822
2025-06-20 07:58:59.742 UTC [17] LOG: starting PostgreSQL 13.10 on x86_64-alpine-linux-musl, compiled by gcc (Alpine 12.2.1_git20220924-r4) 12.2.1 20220924, 64-bit
2025-06-20 07:58:59.742 UTC [17] LOG: listening on IPv4 address "127.0.0.1", port 5432
2025-06-20 07:58:59.742 UTC [17] LOG: could not bind IPv6 address "::1": Address not available
2025-06-20 07:58:59.742 UTC [17] HINT: Is another postmaster already running on port 5432? If not, wait a few seconds and retry.
2025-06-20 07:58:59.749 UTC [17] FATAL: lock file "/run/postgresql/.s.PGSQL.5432.lock" already exists
2025-06-20 07:58:59.749 UTC [17] HINT: Is another postmaster (PID 19) using socket file "/run/postgresql/.s.PGSQL.5432"?
2025-06-20 07:58:59.751 UTC [17] LOG: database system is shut down
Guacamole client waiting for DB
And keep stuck waiting for DB.
I tried to logon to the docker container and find the "/run/postgresql/.s.PGSQL.5432.lock" but cant find it.
This is my docker-compose file:
version: '3.5'
services:
guacamole:
image: maxwaldorf/guacamole
container_name: guacamole
restart: unless-stopped
# ports:
# - 8080:8080
volumes:
- /data/config/guacamole:/config