diff --git a/.VERSION b/.VERSION index 6743486..444448d 100644 --- a/.VERSION +++ b/.VERSION @@ -1 +1 @@ -v8.1.0-beta.1 \ No newline at end of file +v8.0.1 \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index ce8c04d..1a73879 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,10 +1,7 @@ ## Changelog -### v8.1.0-beta.1 (14.04.2023) -* enhance github actions -* enhance log output of maintenance script on restore ([#333](https://github.com/buanet/ioBroker.docker/issues/333)) -* allow iobroker admin to be disabled at startup ([#332](https://github.com/buanet/ioBroker.docker/issues/332)) -* allow deletion of objects and states db password with value "none" ([#306](https://github.com/buanet/ioBroker.docker/issues/306)) +### v8.0.1 (17.04.2023) +* fix calling of "iob setup first" on slaves ([#335](https://github.com/buanet/ioBroker.docker/issues/335)) ### v8.0.0 (20.03.2023) * update readme and docs diff --git a/debian/scripts/iobroker_startup.sh b/debian/scripts/iobroker_startup.sh index 3977436..1ef3bdc 100644 --- a/debian/scripts/iobroker_startup.sh +++ b/debian/scripts/iobroker_startup.sh @@ -302,8 +302,8 @@ else stop_on_error fi -# if restored a fresh install, runing "iob setup first" for database init, otherwise check database connection -if [[ -f /opt/iobroker/.fresh_install ]]; then +# if restored a fresh install, running "iob setup first" for database init (but not on slaves!), otherwise check database connection +if [[ -f /opt/iobroker/.fresh_install && "$multihost" != "slave" ]]; then echo -n "Initializing a fresh installation of ioBroker... " set +e bash iob setup first > /opt/iobroker/log/iob_setup_first.log 2>&1