From 9287d8e7471c94849a0b7ecd86337ffc887741df Mon Sep 17 00:00:00 2001 From: exu Date: Tue, 11 Jul 2023 18:22:15 +0200 Subject: [PATCH] Add Nextcloud post-upgrade steps and missing indices command --- pages/02.linux/nextcloud/default.en.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/pages/02.linux/nextcloud/default.en.md b/pages/02.linux/nextcloud/default.en.md index 4b13cd5..58b0bf7 100644 --- a/pages/02.linux/nextcloud/default.en.md +++ b/pages/02.linux/nextcloud/default.en.md @@ -200,6 +200,20 @@ sudo -u www-data php /var/www/nextcloud/updater/updater.phar [/shuser] +Always check the admin status page after an upgrade. Sometimes additional steps are needed to fully complete the upgrade + +#### Missing indices in database + +The missing indices can be added using `occ` + +[shuser] + +```sh +sudo -u www-data php /var/www/nextcloud/occ db:add-missing-indices +``` + +[/shuser] + ### Backup Database Dump database to file