From 00fb8144086b31deac9fad1a2cc2038025c24281 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9s=20Villarreal?= Date: Tue, 14 Feb 2023 21:31:30 +0100 Subject: [PATCH] Nextcloud: Add step to change the datadir setting (#2205) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Add step to change the datadir setting * Update pages/04.applications/10.docs/nextcloud/app_nextcloud.md Co-authored-by: Éric Gaspar <46165813+ericgaspar@users.noreply.github.com> --------- Co-authored-by: Éric Gaspar <46165813+ericgaspar@users.noreply.github.com> --- 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..98b6f7cf 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