Christ Almighty
Christ Almighty
IImmich
Created by Christ Almighty on 5/21/2025 in #help-desk-support
Migrating to v1.33.0 "datanase files are incompatable with server"
I followed the guide on the release changing my docker compose but mi getting this error for the database 2025-05-21 21:57:56.467487+00:00Using HDD storage 2025-05-21 21:57:56.474338+00:002025-05-21T21:57:56.474338027Z 2025-05-21 21:57:56.474362+00:00PostgreSQL Database directory appears to contain a database; Skipping initialization 2025-05-21 21:57:56.474369+00:002025-05-21T21:57:56.474369435Z 2025-05-21 21:57:56.480731+00:002025-05-21 21:57:56.480 GMT [1] LOG: skipping missing configuration file "/var/lib/postgresql/data/postgresql.override.conf" 2025-05-21 21:57:56.480875+00:002025-05-21 21:57:56.480 GMT [1] LOG: skipping missing configuration file "/var/lib/postgresql/data/postgresql.override.conf" 2025-05-21 21:57:56.481102+00:002025-05-21 21:57:56.481 UTC [1] FATAL: database files are incompatible with server 2025-05-21 21:57:56.481114+00:002025-05-21 21:57:56.481 UTC [1] DETAIL: The data directory was initialized by PostgreSQL version 15, which is not compatible with this version 14.17 (Debian 14.17-1.pgdg120+1). my updated compose: database: image: ghcr.io/immich-app/postgres:14-vectorchord0.3.0-pgvectors0.2.0 cap_drop: - ALL deploy: resources: limits: cpus: '4' memory: 4096M security_opt: - no-new-privileges=true user: '999:999' container_name: immich_postgres environment: - POSTGRES_DB=${DB_DATABASE_NAME} - POSTGRES_PASSWORD=${DB_PASSWORD} - POSTGRES_PORT=${POSTGRES_PORT} - POSTGRES_USER=${DB_USERNAME} - POSTGRES_INITDB_ARGS='--data-checksums' - DB_STORAGE_TYPE=HDD - TZ=${TZ} volumes: - ${DB_DATA_LOCATION}:/var/lib/postgresql/data #healthcheck: # interval: 10s # retries: 30 # start_period: 10s # test: pg_isready -h 127.0.0.1 -p ${POSTGRES_PORT} -U ${DB_USERNAME} -d ${DB_DATABASE_NAME} # timeout: 5s restart: unless-stopped networks: - immich-backend
14 replies