© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
ImmichI
Immich•14mo ago•
3 replies
daicon

Help Windows Docker DEsktop - Postgres container restart boot

Hi
I can't get the postgres container to run correctly, it is always restarting.
I have tried with the windows recommendations to use a new volume ‘pgdata’, and the behaviour is the same.

What could be happening?

Logs container postgres:

2024-12-28 10:26:39 The files belonging to this database system will be owned by user "postgres".
2024-12-28 10:26:39 This user must also own the server process.
2024-12-28 10:26:39
2024-12-28 10:26:39 The database cluster will be initialized with locale "en_US.utf8".
2024-12-28 10:26:39 The default database encoding has accordingly been set to "UTF8".
2024-12-28 10:26:39 The default text search configuration will be set to "english".
2024-12-28 10:26:39
2024-12-28 10:26:39 Data page checksums are enabled.
2024-12-28 10:26:39
2024-12-28 10:26:39 fixing permissions on existing directory /var/lib/postgresql/data ... ok
2024-12-28 10:26:39 creating subdirectories ... ok
2024-12-28 10:26:39 selecting dynamic shared memory implementation ... posix
2024-12-28 10:26:39 selecting default max_connections ... 100
2024-12-28 10:26:39 selecting default shared_buffers ... 128MB
2024-12-28 10:26:39 selecting default time zone ... Etc/UTC
2024-12-28 10:26:39 creating configuration files ... ok
2024-12-28 10:26:40 running bootstrap script ... ok
2024-12-28 10:26:44 performing post-bootstrap initialization ... ok
2024-12-28 10:26:46 syncing data to disk ... ok
2024-12-28 10:26:46
2024-12-28 10:26:46
2024-12-28 10:26:46 Success. You can now start the database server using:
2024-12-28 10:26:46
2024-12-28 10:26:46 pg_ctl -D /var/lib/postgresql/data -l logfile start
2024-12-28 10:26:46
2024-12-28 10:26:46 waiting for server to start.... stopped waiting
2024-12-28 10:26:48
2024-12-28 10:26:48 PostgreSQL Database directory appears to contain a database; Skipping initialization
2024-12-28 10:26:48


Thanks
env965B
docker-compose.yml3.25KB
ImmichJoin
A place to hang out, get support, discuss Immich, get announcements about releases and anything else going on.
36,590Members
Resources
Was this page helpful?

Similar Threads

Recent Announcements

Similar Threads

Docker container not talking to postgres container.
ImmichIImmich / help-desk-support
9mo ago
Infinite DB restart after vectorchord upgrade (windows + docker)
ImmichIImmich / help-desk-support
3w ago
Existing Postgres Container
ImmichIImmich / help-desk-support
4y ago
Docker Container Size
ImmichIImmich / help-desk-support
3y ago