Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Commit

Permalink
Don't fail start on non-C locale postgres database
Browse files Browse the repository at this point in the history
Instead just warn. This is a temporary workaround to allow
provisioning new Modular hosts.

See #6734
and #6696 (comment)

Signed-off-by: Jason Robinson <[email protected]>
  • Loading branch information
jaywink authored and Half-Shot committed Jul 13, 2020
1 parent 29df3d0 commit 7078251
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion synapse/storage/engines/postgres.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ def check_new_database(self, txn):
errors.append(" - 'CTYPE' is set to %r. Should be 'C'" % (ctype,))

if errors:
raise IncorrectDatabaseSetup(
logger.warning(
"Database is incorrectly configured:\n\n%s\n\n"
"See docs/postgres.md for more information." % ("\n".join(errors))
)
Expand Down

0 comments on commit 7078251

Please sign in to comment.