diff --git a/.github/starsevol.svg b/.github/starsevol.svg index b7572b29c..633b8c8ac 100644 --- a/.github/starsevol.svg +++ b/.github/starsevol.svg @@ -1,4 +1,4 @@ AprilJulyOctober2022AprilJulyOctober2023 100200300400500600alexbelgium/hassio-addonsStar HistoryDateGitHub Stars \ No newline at end of file + }AprilJulyOctober2022AprilJulyOctober2023 100200300400500600alexbelgium/hassio-addonsStar HistoryDateGitHub Stars \ No newline at end of file diff --git a/nextcloud/CHANGELOG.md b/nextcloud/CHANGELOG.md index 47abd7564..17966d67e 100644 --- a/nextcloud/CHANGELOG.md +++ b/nextcloud/CHANGELOG.md @@ -1,6 +1,9 @@ +- Fix : bug in launcher script status detector if data is in a mounted directory +### 26.0.0-2 (26-03-2023) +- Minor bugs fixed - Fix : connection with desktop client https://github.com/alexbelgium/hassio-addons/issues/771 -- Improve : status check code -- Fix : reinstallation code +- Improve : status check code https://github.com/alexbelgium/hassio-addons/issues/768 +- Fix : reinstallation code https://github.com/alexbelgium/hassio-addons/issues/764 ## 26.0.0 (24-03-2023) @@ -17,7 +20,7 @@ - Minor bugs fixed - Implemented safety check that reinstalls nextcloud if issue detected https://github.com/alexbelgium/hassio-addons/issues/764 - Implemented healthcheck -- Redirect crond errors to addon logs +- Redirect crond errors to addon logs https://github.com/alexbelgium/hassio-addons/issues/752 - Improve elasticsearch integration - Links nginx & php logs with addon logs - Optimized nginx code to remove server error messages 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 129ec397a..a91290c65 100755 --- a/nextcloud/rootfs/etc/cont-init.d/02-init_steps.sh +++ b/nextcloud/rootfs/etc/cont-init.d/02-init_steps.sh @@ -51,18 +51,18 @@ if [[ $($LAUNCHER -V 2>&1) == *"not installed"* ]] || [ ! -f /data/config/www/ne bashio::log.green " " touch /notinstalled exit 0 -elif [[ $($LAUNCHER -V 2>&1) == *"Nextcloud"* ]]; then - # Log - bashio::log.green "--------------------------------------" - bashio::log.green "Nextcloud $CURRENTVERSION is installed" - bashio::log.green "--------------------------------------" # Is there an error elif [[ $($LAUNCHER -V 2>&1) == *"Composer autoloader not found"* ]]; then bashio::log.red "--------------------------------------------------------" bashio::log.red "Issue in installation detected, Nextcloud will reinstall" bashio::log.red "--------------------------------------------------------" touch /reinstall -else +elif [[ $($LAUNCHER -V 2>&1) == *"Nextcloud"* ]] || grep -q "/mnt/" /data/config/www/nextcloud/config/config.php &>/dev/null; then + # Log + bashio::log.green "--------------------------------------" + bashio::log.green "Nextcloud $CURRENTVERSION is installed" + bashio::log.green "--------------------------------------" +elif ! grep -q "/mnt/" /data/config/www/nextcloud/config/config.php; then bashio::log.red "------------------------------------------------------------------" bashio::log.red "Unknown error detected, please create issue in github or reinstall" bashio::log.red "------------------------------------------------------------------"