Cannot start netbox-docker, error with PostgreSQL #1079
Replies: 4 comments 2 replies
-
When upgrading Postgres you need to dump and reload your data: |
Beta Was this translation helpful? Give feedback.
-
What I could see from the logs are this
|
Beta Was this translation helpful? Give feedback.
-
I have a similar problem (see below). But mine seems to be due to a key issue. My whole system was already working and not it is not: netbox-docker-netbox-1 | ⏳ Waiting on DB... (24s / 30s) thanks. |
Beta Was this translation helpful? Give feedback.
-
$ sudo podman logs netbox-docker_postgres_1
PostgreSQL Database directory appears to contain a database; Skipping initialization
2024-08-22 16:33:22.235 UTC [1] FATAL: database files are incompatible with server
2024-08-22 16:33:22.235 UTC [1] DETAIL: The data directory was initialized by PostgreSQL version 14, which is not compatible with this version 16.4.
PostgreSQL Database directory appears to contain a database; Skipping initialization this is the reason: # postgres
postgres:
image: docker.io/postgres:16-alpine |
Beta Was this translation helpful? Give feedback.
-
I attempted to start a netbox-docker and got this issue
Please advise how to get over this?
Beta Was this translation helpful? Give feedback.
All reactions