Matrix DB has incorrect locale - Synapse failed to start #92
Labels
No labels
Blocked
Existing Service
Infrastructure Issue
Refactor
Security Hardening
Security Issue
Service Idea
Service Removal
Upgrade service
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: data.coop/ansible#92
Loading…
Reference in a new issue
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?
After bumping to latest Synapse (1.63.1), container failed to start with the following error message:
I don't know if we can simply change the locale on the current DB or whether we need to create a new DB and then migrate data. For now I have hard-coded the setting inside
homeserver.yaml
.Here's a hint from https://hub.docker.com/_/postgres:
I think it's likely that we don't need to run
localedef
forC
locale, though.But how do we do it for an existing database. From what I could see the locale is set only on DB creation. Does that mean we have to start with a fresh DB and then try to restore data from the old one (with a different locale)?
(also, why are we running postgres 10? Isn't that quite old?)
Yes but last time we tried to upgrade everything broke for some reason. I don't think the upgrade path is straightforward.