Nextcloud: Add step to change the datadir setting (#2205)

* 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>
This commit is contained in:
Andrés Villarreal 2023-02-14 21:31:30 +01:00 committed by GitHub
parent 8c98a9c34f
commit 00fb814408
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -133,6 +133,12 @@ cd /var/www/nextcloud
sudo -u nextcloud php7.3 occ files:scan --all 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. 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 ### Nextcloud and Cloudflare