File tree Expand file tree Collapse file tree 1 file changed +21
-0
lines changed
Expand file tree Collapse file tree 1 file changed +21
-0
lines changed Original file line number Diff line number Diff line change @@ -325,3 +325,24 @@ ALTER DEFAULT PRIVILEGES IN SCHEMA public GRANT SELECT ON TABLES TO {readonly_us
325325-- Revoke access to authtoken_token table
326326REVOKE SELECT ON authtoken_token FROM {readonly_username};
327327```
328+
329+ ## Migration from bitnami/postgresql to library/postgres DB image
330+
331+ After migration from the bitnami/postgresql to library/postgres DB image, you might notice a working in logs like this:
332+
333+ ```log
334+ ...
335+ WARNING: database "waldur" has a collation version mismatch
336+ DETAIL: The database was created using collation version 2.36, but the operating system provides version 2.41.
337+ ...
338+ ```
339+
340+ In this case, you can simply update the collaction version and reindex the Waldur DB and the public schema:
341+
342+ ```postgresql
343+ -- Run these commands in the psql shell of the waldur-db container
344+
345+ ALTER DATABASE waldur REFRESH COLLATION VERSION;
346+ REINDEX DATABASE waldur;
347+ REINDEX SCHEMA public;
348+ ```
You can’t perform that action at this time.
0 commit comments