Database incompatibilites on postgres major upgrade #10

Open
opened 2024-03-28 15:13:13 +00:00 by kawaiipunk · 1 comment
Owner
t2024-03-28T15:12:47.258052000Z PostgreSQL Database directory appears to contain a database; Skipping initialization
 2024-03-28T15:12:47.258199000Z 
s2024-03-28T15:12:47.279924000Z 2024-03-28 15:12:47.277 UTC [1] FATAL:  database files are incompatible with server
�2024-03-28T15:12:47.280347000Z 2024-03-28 15:12:47.277 UTC [1] DETAIL:  The data directory was initialized by PostgreSQL version 15, which is not compatible with this version 16.2 (Debian 16.2-1.pgdg120+2).
``` t2024-03-28T15:12:47.258052000Z PostgreSQL Database directory appears to contain a database; Skipping initialization 2024-03-28T15:12:47.258199000Z s2024-03-28T15:12:47.279924000Z 2024-03-28 15:12:47.277 UTC [1] FATAL: database files are incompatible with server �2024-03-28T15:12:47.280347000Z 2024-03-28 15:12:47.277 UTC [1] DETAIL: The data directory was initialized by PostgreSQL version 15, which is not compatible with this version 16.2 (Debian 16.2-1.pgdg120+2). ```
Owner

Happens with every postgres major version upgrade. Maybe there should be a warning in abra recipe upgrade.

The fix is to pull in this stuff from e.g. outline:

Happens with every postgres major version upgrade. Maybe there should be a warning in `abra recipe upgrade`. The fix is to pull in this stuff from e.g. outline: * https://git.coopcloud.tech/coop-cloud/outline/src/branch/main/entrypoint.postgres.sh.tmpl * https://git.coopcloud.tech/coop-cloud/outline/src/branch/main/compose.yml#L64
kawaiipunk changed title from Database incompatibilites to Database incompatibilites on postgres major upgrade 2024-03-28 15:23:54 +00:00
Sign in to join this conversation.
No Label
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: coop-cloud/penpot#10
No description provided.