From 1db731da3ef8a95c8594e9ca997d30a1fec38bb9 Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Wed, 22 Mar 2023 21:51:02 +0100 Subject: [PATCH] Update 02-init_steps.sh --- nextcloud/rootfs/etc/cont-init.d/02-init_steps.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nextcloud/rootfs/etc/cont-init.d/02-init_steps.sh b/nextcloud/rootfs/etc/cont-init.d/02-init_steps.sh index c5d4a50f5..75134da7f 100755 --- a/nextcloud/rootfs/etc/cont-init.d/02-init_steps.sh +++ b/nextcloud/rootfs/etc/cont-init.d/02-init_steps.sh @@ -22,8 +22,8 @@ done echo "Checking installation" if [[ "$(occ --version)" == *"Composer autoloader not found"* ]]; then bashio::log.fatal "Issue with installation detected, reinstallation will proceed. Your files are copied in /share/nextcloud_backup_$(date +%F)" - mv /data/config/www/nextcloud /share/nextcloud_backup_$(date +%F) - bashio::addon.restart + rm /data/config/www/nextcloud/index.php + /./etc/s6-overlay/s6-rc.d/init-nextcloud-config/run fi # Add new log info to config.php