docker-library / postgres

Docker Official Image packaging for Postgres
http://www.postgresql.org
MIT License
2.2k stars 1.14k forks source link

PANIC: could not locate a valid checkpoint record #1211

Closed CristiXP closed 8 months ago

CristiXP commented 8 months ago

Hello, can anyone help me with this? Runing postgressSQL on homeassistant

PostgreSQL Database directory appears to contain a database; Skipping initialization

2024-03-14 09:37:49.192 EET [6] LOG:  starting PostgreSQL 12.5 on x86_64-pc-linux-musl, compiled by gcc (Alpine 9.3.0) 9.3.0, 64-bit
2024-03-14 09:37:49.192 EET [6] LOG:  listening on IPv4 address "0.0.0.0", port 5432
2024-03-14 09:37:49.192 EET [6] LOG:  listening on IPv6 address "::", port 5432
2024-03-14 09:37:49.194 EET [6] LOG:  listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
2024-03-14 09:37:49.209 EET [34] LOG:  database system was interrupted; last known up at 2024-03-13 08:27:53 EET
2024-03-14 09:37:49.358 EET [34] LOG:  invalid primary checkpoint record
2024-03-14 09:37:49.358 EET [34] PANIC:  could not locate a valid checkpoint record
2024-03-14 09:37:49.525 EET [6] LOG:  startup process (PID 34) was terminated by signal 6: Aborted
2024-03-14 09:37:49.525 EET [6] LOG:  aborting startup due to startup process failure
2024-03-14 09:37:49.526 EET [6] LOG:  database system is shut down