summaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorBen Siddans <96931223+bsiddans@users.noreply.github.com>2023-03-05 06:16:46 +1100
committerGitHub <noreply@github.com>2023-03-04 19:16:46 +0000
commit31c59aea24f8516f862ca136766168016e840593 (patch)
tree8c5c67a76cfebb63c0aeacbabf91ff8e4d9a3cf2 /README.md
parentbcb0642e000fc352c323d9651562cc54efa4e781 (diff)
Add words to README to draw attention to the use of upgrades.exclude, potential for files to be removed during installation/upgrades. (#1862)
Diffstat (limited to 'README.md')
-rw-r--r--README.md4
1 files changed, 4 insertions, 0 deletions
diff --git a/README.md b/README.md
index 39a9e893..267df3b8 100644
--- a/README.md
+++ b/README.md
@@ -91,6 +91,10 @@ $ docker run -d \
-v theme:/var/www/html/themes/<YOUR_CUSTOM_THEME> \
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
To use the [Nextcloud command-line interface](https://docs.nextcloud.com/server/latest/admin_manual/configuration_server/occ_command.html) (aka. `occ` command):