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