From af3a9314a0acc95004646b3a3016d8490e5c72f5 Mon Sep 17 00:00:00 2001 From: szaimen Date: Thu, 23 Dec 2021 20:30:26 +0100 Subject: [PATCH] add a missing detail regarding migration Signed-off-by: szaimen --- migration.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/migration.md b/migration.md index 1fa90e95..74a5eadf 100644 --- a/migration.md +++ b/migration.md @@ -76,7 +76,8 @@ The procedure for migrating the files and the database works like this: 1. Next, run `sudo chown -R 33:0 /var/lib/docker/volumes/nextcloud_aio_nextcloud_data/_data/*` to apply the correct permissions 1. Edit the Nextcloud AIO config.php file that is stored in `/var/lib/docker/volumes/nextcloud_aio_nextcloud/_data/config/config.php` and modify only `passwordsalt`, `secret`, `instanceid` and set it to the old values that you used on your old installation. If you are brave, feel free to modify further values e.g. add your old LDAP config or S3 storage config. (Some things like Mail server config can be added back using Nextcloud's webinterface later on). 1. When you are done and saved your changes to the file, finally start the containers again and wait until all containers are running. -1. As last step, run `sudo docker exec -it nextcloud-aio-nextcloud php occ maintenance:data-fingerprint`. +1. Now run `sudo docker exec -it nextcloud-aio-nextcloud php occ maintenance:data-fingerprint`. +1. As last step, install all apps again that were installed before on your old instance by using the webinterface. Now the whole Nextcloud instance should work again.
If not, feel free to restore the AIO instance from backup and start at step 8 again.