From eec0e8f82216ba3b0f8259a1137668d8787f11b6 Mon Sep 17 00:00:00 2001 From: Ben Siddans Date: Sun, 20 Nov 2022 14:20:24 +1100 Subject: [PATCH] Add words to README to draw attention to the use of upgrades.exclude, potential for files to be removed during installation/upgrades. --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index 0da37051..10c190ef 100644 --- a/README.md +++ b/README.md @@ -89,6 +89,10 @@ $ docker run -d \ -v theme:/var/www/html/themes/ \ 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):