Add step to change the datadir setting

This commit is contained in:
Andrés Villarreal 2023-01-31 12:49:33 +01:00 committed by GitHub
parent 8ccceb6a5c
commit 141411c3f4
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
```
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