fix: change mountpoint for postgres 18 #12

Merged
dannygroenewegen merged 1 commits from fix-postgresql-mount into main 2026-11-16 10:46:26 +00:00
Owner

1f441d0e5c upgraded pgautoupgrade from 17 to 18, but did not change the volume mount. Postgres 18 changed the data structure in /var/lib/postgresql. Without the mount point of the db volume updated, postgres will initialize a new database on every container restart. Euro-office will work fine with a new database, but the db volume is not used anymore to persist the database.

This PR updates the mount point. pgautoupgrade moves v17 structured data to the new expected structure for v18.

[1f441d0e5c](https://git.coopcloud.tech/coop-cloud/euro-office/commit/1f441d0e5c98bcfa930a8b1b968658195d536466) upgraded pgautoupgrade from 17 to 18, but did not change the volume mount. Postgres 18 changed the data structure in `/var/lib/postgresql`. Without the mount point of the `db` volume updated, postgres will initialize a new database on every container restart. Euro-office will work fine with a new database, but the `db` volume is not used anymore to persist the database. This PR updates the mount point. `pgautoupgrade` moves v17 structured data to the new expected structure for v18.
dannygroenewegen added 1 commit 2026-11-14 17:24:18 +00:00
CODEOWNERS rules requested review from euro-office-maintainers 2026-11-14 17:24:18 +00:00
moritz approved these changes 2026-11-16 10:23:31 +00:00
dannygroenewegen merged commit f88f3b80e1 into main 2026-11-16 10:46:26 +00:00
dannygroenewegen deleted branch fix-postgresql-mount 2026-11-16 10:46:26 +00:00
Sign in to join this conversation.