From 141411c3f47cf1c743e3289326b16ee17df31b70 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9s=20Villarreal?= Date: Tue, 31 Jan 2023 12:49:33 +0100 Subject: [PATCH] Add step to change the datadir setting --- pages/04.applications/10.docs/nextcloud/app_nextcloud.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pages/04.applications/10.docs/nextcloud/app_nextcloud.md b/pages/04.applications/10.docs/nextcloud/app_nextcloud.md index 5a53f6d4..a429c496 100644 --- a/pages/04.applications/10.docs/nextcloud/app_nextcloud.md +++ b/pages/04.applications/10.docs/nextcloud/app_nextcloud.md @@ -133,6 +133,12 @@ cd /var/www/nextcloud sudo -u nextcloud php7.3 occ files:scan --all ``` +Update the yunohost setting, so automatic upgrades and backups know where the datadir is located: +```bash +Case A: yunohost app setting nextcloud datadir -v /media/storage +Case B: yunohost app setting nextcloud datadir -v /media/storage/nextcloud_data/nextcloud/data/ +``` + It's over now. Now test if everything is fine, try connecting to your Nextcloud instance, upload a file, check its proper synchronization. ### Nextcloud and Cloudflare