From 73240f70a6eac611b7f8addbca633b3c40c28f04 Mon Sep 17 00:00:00 2001 From: Louis <6653109+artonge@users.noreply.github.com> Date: Thu, 1 Oct 2020 12:29:32 +0200 Subject: [PATCH] Update docker-entrypoint.sh Config files do not seems to get updated during a nextcloud upgrade. This command should correctly update them. --- docker-entrypoint.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/docker-entrypoint.sh b/docker-entrypoint.sh index b9ec5fc5..3fd70299 100755 --- a/docker-entrypoint.sh +++ b/docker-entrypoint.sh @@ -96,6 +96,7 @@ if expr "$1" : "apache" 1>/dev/null || [ "$1" = "php-fpm" ] || [ "${NEXTCLOUD_UP rsync_options="-rlD" fi rsync $rsync_options --delete --exclude-from=/upgrade.exclude /usr/src/nextcloud/ /var/www/html/ + rsync $rsync_options --delete --exclude config.php /usr/src/nextcloud/config/ /var/www/html/config/ for dir in config data custom_apps themes; do if [ ! -d "/var/www/html/$dir" ] || directory_empty "/var/www/html/$dir"; then