Merge pull request #339 from buanet/beta

update feature branch
This commit is contained in:
André Germann
2023-04-25 21:29:05 +02:00
committed by GitHub
7 changed files with 19 additions and 18 deletions

View File

@@ -303,8 +303,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