mirror of
https://github.com/YunoHost/doc.git
synced 2024-09-03 20:06:26 +02:00
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:
parent
8c98a9c34f
commit
00fb814408
1 changed files with 6 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Reference in a new issue