diff --git a/.VERSION b/.VERSION index e4842dc..444448d 100644 --- a/.VERSION +++ b/.VERSION @@ -1 +1 @@ -v8.0.0 \ No newline at end of file +v8.0.1 \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index 0667261..1a73879 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,8 @@ ## Changelog +### 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 * remove manifests diff --git a/debian/scripts/iobroker_startup.sh b/debian/scripts/iobroker_startup.sh index f3b139e..2dd9082 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