Skip to content

❓ [Question]: stac-db migration failed, what to do? #623

@tlvu

Description

@tlvu

Questions

Updated a staging server from birdhouse-deploy 1.42.2 to latest 2.20.1, got the following error:

$ docker logs stac-db 2>&1 | tail -5

PostgreSQL Database directory appears to contain a database; Skipping initialization

2025-12-19 05:47:10.627 UTC [1] FATAL:  database files are incompatible with server
2025-12-19 05:47:10.627 UTC [1] DETAIL:  The data directory was initialized by PostgreSQL version 13, which is not compatible with this version 17.5 (Debian 17.5-1.pgdg110+1).

Any manual migration possible or the only option is to wipe the old DB file and start fresh?

Metadata

Metadata

Labels

questionFurther information is requested

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions