From 4bf56d79815e8b39a589976b491e5b21b6a95461 Mon Sep 17 00:00:00 2001 From: ninoppp <101364396+ninoppp@users.noreply.github.com> Date: Sun, 15 May 2022 13:11:53 +0200 Subject: [PATCH 1/2] Update migration.md --- migration.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/migration.md b/migration.md index 0bf07745..505599b0 100644 --- a/migration.md +++ b/migration.md @@ -36,7 +36,7 @@ The procedure for migrating the files and the database works like this: export PG_PASSWORD="my-temporary-password" export PG_DATABASE="nextcloud_db" sudo -u postgres psql < Date: Tue, 17 May 2022 11:30:13 +0200 Subject: [PATCH 2/2] fix it in the second place, too Signed-off-by: szaimen --- migration.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/migration.md b/migration.md index 505599b0..96f6e2b5 100644 --- a/migration.md +++ b/migration.md @@ -42,7 +42,7 @@ The procedure for migrating the files and the database works like this: ``` 1. Run the following command to start the conversion: ``` - occ db:convert-type --all-apps --password "$PGDB_PASS" pgsql "$PG_USER" 127.0.0.1 "$PG_DATABASE" + occ db:convert-type --all-apps --password "$PG_PASSWORD" pgsql "$PG_USER" 127.0.0.1 "$PG_DATABASE" ``` **Please note:** You might need to change the ip-address `127.0.0.1` based on your exact installation.
Further information on the conversion is additionally available here: https://docs.nextcloud.com/server/stable/admin_manual/configuration_database/db_conversion.html#converting-database-type