Upgrade to Postgres 16 #40
Labels
No Label
Breaking
Domain
komu.boo
Domain
langrock.info
Domain
libre.moe
Involves
Documentation
Involves
Security
Involves
Testing
Kind
Bug
Kind
Enhancement
Priority
Critical
Priority
High
Priority
Low
Priority
Medium
Service
Drone
Service
Element
Service
Gitea
Service
Matrix
Service
Nextcloud
Service
Szuru
Status
Abandoned
Status
Blocked
Status
Duplicate
Status
Invalid
Status
Need More Info
Status
Planned
Status
Won't Fix
No Milestone
No project
No Assignees
1 Participants
Notifications
Total Time Spent: 1 hour 30 minutes
Due Date
lukas
1 hour 30 minutes
Dependencies
No dependencies set.
Reference: KomuSolutions/igot99issues#40
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
We are currently using version 13, first released in September 2020 and supported until November 2025. While this version is still supported for at least a year, Postgres is currently gearing up to its 17 release, so it's probably a good time to upgrade to the current latest version. The 16 release came out in September 2023 and will be supported until November 2028.
The reason this upgrade wasn't made already is that, like with many databases, major releases carry storage schema changes and are not compatible with data from previous versions, which prompts for a migration/upgrade. As all services on libre.moe use a singular database, this wasn't done before as it requires a decent amount of downtime and time for testing.
https://github.com/pgautoupgrade/docker-pgautoupgrade
During this migration, I will also copy over the db from arael to armisael so that each server can have it's own db. There have been times in the past, where an outage/reboot of arael caused services on armisael to be unavailable due to depending on the db on arael.
In the future, this could also be used to synchronize the two DBs, so that one db can take over responsibility while the other one is restarting and vice-versa.
Verify support for Postgres 16 with all services using it as db:
Upgrade will commence tomorrow at 14:00 CEST
https://status.libre.moe/maintenance/384717
Arael is now fully operational again, moving on to adding the db to Armisael
Database has been moved over, db's have been balanced (arael: -nextcloud, armisael: -*\nextcloud), backup routines have been adjusted.