mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-11 10:21:02 +01:00
Update 02-init_steps.sh
This commit is contained in:
@@ -21,7 +21,8 @@ done
|
||||
# Check if issues with installation
|
||||
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)"
|
||||
bashio::log.fatal "Issue with installation detected, reinstallation will proceed. Your files are copied in /share/nextcloud_$(date +%F)"
|
||||
cp /data/config/www/nextcloud /share/nextcloud_"$(date +%F)"
|
||||
rm /data/config/www/nextcloud/index.php
|
||||
/./etc/s6-overlay/s6-rc.d/init-nextcloud-config/run
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user