From 0b74566b744dc4a5a8f0a44e9f7df66236553ecb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Bauer?= Date: Tue, 25 Feb 2020 19:14:25 +0100 Subject: [PATCH] added postgres fixes to upgrading section --- README.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/README.md b/README.md index 0faea3c..3692cd2 100644 --- a/README.md +++ b/README.md @@ -54,3 +54,14 @@ docker-compose stop rm -r $(docker volume inspect zammaddockercompose_elasticsearch-data | grep Mountpoint | sed -e 's#.*": "##g' -e 's#",##')/* docker-compose start ``` + +To workaround the changes in the PostgreSQL container do the following: + +``` +docker-compose start +docker exec -it zammaddockercompose_zammad-postgresql_1 bash +psql --username postgres --dbname zammad_production +CREATE USER zammad; +ALTER USER zammad WITH PASSWORD 'zammad'; +ALTER USER zammad WITH SUPERUSER CREATEDB; +```