0
0
Fork 0
mirror of https://github.com/nextcloud/docker.git synced 2025-04-21 03:06:08 +02:00

Add words to README to draw attention to the use of upgrades.exclude, potential for files to be removed during installation/upgrades.

This commit is contained in:
Ben Siddans 2022-11-20 14:20:24 +11:00
parent dfb538c5c7
commit eec0e8f822

View file

@ -89,6 +89,10 @@ $ docker run -d \
-v theme:/var/www/html/themes/<YOUR_CUSTOM_THEME> \ -v theme:/var/www/html/themes/<YOUR_CUSTOM_THEME> \
nextcloud nextcloud
``` ```
If mounting additional volumes, you should note that data inside the main folder (`/var/www/html`) may be removed during installation and upgrades, unless listed in [upgrade.exclude](https://github.com/nextcloud/docker/blob/master/upgrade.exclude). You should consider:
- Confirming that [upgrade.exclude](https://github.com/nextcloud/docker/blob/master/upgrade.exclude) contains the files and folders that should persist during installation and upgrades; or
- Mounting storage volumes to locations outside of `/var/www/html`.
## Using the Nextcloud command-line interface ## Using the Nextcloud command-line interface
To use the [Nextcloud command-line interface](https://docs.nextcloud.com/server/latest/admin_manual/configuration_server/occ_command.html) (aka. `occ` command): To use the [Nextcloud command-line interface](https://docs.nextcloud.com/server/latest/admin_manual/configuration_server/occ_command.html) (aka. `occ` command):