From e30e24ae4a9cf56499f8461b72373d140df8df1e Mon Sep 17 00:00:00 2001 From: Hugo Tiburtino <45924645+hugotiburtino@users.noreply.github.com> Date: Wed, 13 Nov 2024 02:28:33 +0100 Subject: [PATCH] doc(readme): add info about a common problem --- README.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/README.md b/README.md index 72971f7..2c4cd09 100644 --- a/README.md +++ b/README.md @@ -30,3 +30,11 @@ Docker and Make If you want to test the image just locally, use `make docker_build`. To publish an image just push to any branch after changing a version, and the CI is gone take care of it. + +### Common problems +After upgrading kratos, there may be some changes in the database, like new tables. +You may need to grant privileges again to the postgres users. +```sql +GRANT ALL PRIVILEGES ON DATABASE kratos TO serlo; +GRANT SELECT ON ALL TABLES IN SCHEMA public TO serlo_readonly; +```