From 9593ded808057e71a5ae54abf7f6037d6e057a68 Mon Sep 17 00:00:00 2001 From: Andrey Antukh Date: Thu, 24 Nov 2022 13:38:53 +0100 Subject: [PATCH] :paperclip: Add missing copy on postgres upgrade script --- docker/postgres-upgrade.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docker/postgres-upgrade.sh b/docker/postgres-upgrade.sh index 07f627b1c..3cae26b26 100755 --- a/docker/postgres-upgrade.sh +++ b/docker/postgres-upgrade.sh @@ -24,4 +24,6 @@ pushd /var/lib/postgresql PGDATA=$PGDATANEW gosu postgres initdb -U penpot --data-checksums gosu postgres pg_upgrade -U penpot +cp $PGDATAOLD/pg_hba.conf $PGDATANEW/pg_hba.conf + popd