Postgres unhealthy.

could someone please help me? Immich was working well, bu suddenly (no update) it cannot start:
#docker logs 29db25206e87
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 locale "en_US.utf8".
The default database encoding has accordingly been set to "UTF8".
The default text search configuration will be set to "english".

Data page checksums are enabled.

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


Success. You can now start the database server using:

pg_ctl -D /var/lib/postgresql/data -l logfile start

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....2025-05-28 20:37:00.635 UTC [49] LOG: redirecting log output to logging collector process
2025-05-28 20:37:00.635 UTC [49] HINT: Future log output will appear in directory "log".
done
server started
CREATE DATABASE


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

waiting for server to shut down.... done
server stopped

PostgreSQL init process complete; ready for start up.

2025-05-28 20:37:01.076 UTC [1] LOG: redirecting log output to logging collector process
2025-05-28 20:37:01.076 UTC [1] HINT: Future log output will appear in directory "log".
Was this page helpful?