New flashed OH3 keeps rebooting during initial installation

Hello,

I flashed openHABian v1.6.3 to my Raspberry Pi 3b and powered up.
Via Putty I can login as openhabian to follow the installation proces. But it looks like it keeps rebooting.
Is this normal? The Raspberry is also extremely slow reacting.

Kind regards, Hans

login as: openhabian
openhabian@10.0.0.21's password:
Linux openhabian 5.4.83-v7+ #1379 SMP Mon Dec 14 13:08:57 GMT 2020 armv7l

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Tue Feb  2 19:55:19 2021 from 10.0.0.50

Wi-Fi is currently blocked by rfkill.
Use raspi-config to set the country before use.


Attention! The openHABian setup process has not finished yet.
Every 2.0s: cat /boot/first-boot.log                                                openhabian: Tue Feb  2 20:04:36 2021



2021-02-02_17:08:18_UTC [openHABian] Starting the openHABian initial setup.
2021-02-02_17:08:33_UTC [openHABian] Storing configuration... OK
2021-02-02_17:08:37_UTC [openHABian] Starting webserver with installation log... OK
2021-02-02_17:08:55_UTC [openHABian] Changing default username and password... OK
2021-02-02_17:09:18_UTC [openHABian] Setting up Ethernet connection... OK
2021-02-02_17:09:20_UTC [openHABian] Ensuring network connectivity... OK
2021-02-02_17:09:20_UTC [openHABian] Waiting for dpkg/apt to get ready... OK
2021-02-02_17:10:56_UTC [openHABian] Updating repositories and upgrading installed packages... OK
2021-02-02_17:18:20_GMT [openHABian] Installing git package... OK
2021-02-02_17:21:59_GMT [openHABian] Updating myself from https://github.com/openhab/openhabian, HEAD branch... OK
2021-02-02_17:22:06_GMT [openHABian] Starting execution of 'openhabian-config unattended'... OK
2021-02-02_17:22:06_GMT [openHABian] Checking for root privileges... OK
2021-02-02_17:24:32_GMT [openHABian] Updating Linux package information... OK
2021-02-02_17:24:39_GMT [openHABian] Loading configuration file '/etc/openhabian.conf'... OK
2021-02-02_17:24:39_GMT [openHABian] Adjusting swap size to 1849 MB... OK (reboot required)
2021-02-02_17:24:39_GMT [openHABian] Setting timezone based on openhabian.conf... OK (Europe/Berlin)
2021-02-02_18:24:39_CET [openHABian] Enabling time synchronization using NTP... OK
2021-02-02_18:24:39_CET [openHABian] Setting locale based on openhabian.conf... OK (reboot required)
2021-02-02_18:26:16_CET [openHABian] Setting hostname of the base system based on openhabian.conf... OK
2021-02-02_18:26:16_CET [openHABian] Setting the GPU memory split down to 16MB for headless system... OK
2021-02-02_18:26:16_CET [openHABian] Enabling Audio output... OK
2021-02-02_18:26:16_CET [openHABian] Installing basic can't-be-wrong packages (screen, vim, ...)... OK
2021-02-02_18:35:51_CET [openHABian] Installing additional needed packages... OK
2021-02-02_18:46:27_CET [openHABian] Installing pigpio package... OK
2021-02-02_18:47:41_CET [openHABian] Installing additional bluetooth packages... OK
2021-02-02_18:49:36_CET [openHABian] Adding slightly tuned bash configuration files to system... OK
2021-02-02_18:49:36_CET [openHABian] Adding slightly tuned vim configuration file to system... OK
2021-02-02_18:49:36_CET [openHABian] Downloading FireMotD... OK
2021-02-02_18:49:39_CET [openHABian] Installing FireMotD... OK
2021-02-02_18:49:39_CET [openHABian] Generating FireMotD theme... OK
2021-02-02_18:50:01_CET [openHABian] Setting up FireMotD apt updates count service... OK
2021-02-02_18:50:21_CET [openHABian] Installing cached version of Java to ensure that some form of Java is installed!
2021-02-02_18:50:21_CET [openHABian] Installing Java Zulu prerequisites (libc, libstdc++, zlib1g)... OK
2021-02-02_18:50:21_CET [openHABian] Installing Java Zulu 11 32-Bit OpenJDK... OK
2021-02-02_18:50:29_CET [openHABian] Installing Java Zulu CEK to enable unlimited cipher strength... OK
2021-02-02_18:50:35_CET [openHABian] Installing Java Zulu prerequisites (libc, libstdc++, zlib1g)... OK
2021-02-02_18:50:35_CET [openHABian] Downloading Java Zulu 11 32-Bit OpenJDK... OK
2021-02-02_18:54:54_CET [openHABian] Installing Java Zulu 11 32-Bit OpenJDK... OK
2021-02-02_18:56:05_CET [openHABian] Installing Java Zulu CEK to enable unlimited cipher strength... OK
2021-02-02_18:56:06_CET [openHABian] Beginning install of latest openHAB3 release (stable)... OK
2021-02-02_18:56:06_CET [openHABian] Adding required keys to apt... OK
2021-02-02_18:56:08_CET [openHABian] Installing selected openHAB3 version... OK
2021-02-02_19:02:19_CET [openHABian] Setting up openHAB service... OK
2021-02-02_19:02:20_CET [openHABian] Optimizing openHAB to run on low memory single board computers... OK
2021-02-02_19:02:20_CET [openHABian] Setting openHAB HTTP/HTTPS ports... OK
2021-02-02_19:02:21_CET [openHABian] Creating dependencies to jointly start services that depend on each other... OK
2021-02-02_19:02:21_CET [openHABian] Adding an openHAB dashboard tile for 'openhabiandocs'... OK
OK
2021-02-02_19:02:21_CET [openHABian] Adding openHAB syntax to vim editor... OK
2021-02-02_19:03:03_CET [openHABian] Adding openHAB syntax to nano editor... OK
2021-02-02_19:03:04_CET [openHABian] Adding openHAB scheme to multitail... OK
2021-02-02_19:03:04_CET [openHABian] Preparing openHAB folder mounts under '/srv/openhab-*'... OK
2021-02-02_19:03:12_CET [openHABian] Applying miscellaneous system settings... OK
2021-02-02_19:03:39_CET [openHABian] Installing Samba...

2021-02-02_19:34:29_CET [openHABian] Starting the openHABian initial setup.
2021-02-02_19:34:32_CET [openHABian] Storing configuration... OK
2021-02-02_19:34:32_CET [openHABian] Starting webserver with installation log... OK
2021-02-02_19:34:38_CET [openHABian] Changing default username and password... SKIPPED
2021-02-02_19:34:38_CET [openHABian] Setting up Ethernet connection... OK
2021-02-02_19:34:38_CET [openHABian] Ensuring network connectivity... OK
2021-02-02_19:34:38_CET [openHABian] Waiting for dpkg/apt to get ready... OK
2021-02-02_19:34:56_CET [openHABian] Updating repositories and upgrading installed packages... OK
2021-02-02_19:34:56_CET [openHABian] Updating myself from https://github.com/openhab/openhabian, HEAD branch... OK
2021-02-02_19:36:26_CET [openHABian] Starting execution of 'openhabian-config unattended'... OK
2021-02-02_19:36:26_CET [openHABian] Checking for root privileges... OK
2021-02-02_19:36:27_CET [openHABian] Updating Linux package information... OK
2021-02-02_19:36:36_CET [openHABian] Loading configuration file '/etc/openhabian.conf'... OK
2021-02-02_19:36:40_CET [openHABian] Adjusting swap size to 1948 MB... OK (reboot required)
2021-02-02_19:36:41_CET [openHABian] Setting timezone based on openhabian.conf... OK (Europe/Berlin)
2021-02-02_19:36:42_CET [openHABian] Enabling time synchronization using NTP... OK
2021-02-02_19:36:42_CET [openHABian] Setting locale based on openhabian.conf... OK (reboot required)
2021-02-02_19:39:37_CET [openHABian] Setting hostname of the base system based on openhabian.conf... OK
2021-02-02_19:39:43_CET [openHABian] Setting the GPU memory split down to 16MB for headless system... OK
2021-02-02_19:39:43_CET [openHABian] Enabling Audio output... OK
2021-02-02_19:39:43_CET [openHABian] Installing basic can't-be-wrong packages (screen, vim, ...)... FAILED
2021-02-02_19:39:43_CET [openHABian] We tried to get your system installed, but without proper internet connectivity thi
s may not have worked properly.
2021-02-02_19:39:43_CET [openHABian] Execution of 'openhabian-config unattended' completed.
2021-02-02_19:39:43_CET [openHABian] First time setup successfully finished. Rebooting your system!
2021-02-02_19:39:43_CET [openHABian] After rebooting the openHAB dashboard will be available at: http://openhabian:8080
2021-02-02_19:39:43_CET [openHABian] After rebooting to gain access to a console, simply reconnect using ssh.


2021-02-02_19:41:14_CET [openHABian] Starting the openHABian initial setup.
2021-02-02_19:41:14_CET [openHABian] Storing configuration... OK
2021-02-02_19:41:14_CET [openHABian] Starting webserver with installation log... bash: /boot/webserver.bash: No such fil
e or directory
FAILED
2021-02-02_19:41:30_CET [openHABian] Changing default username and password... SKIPPED
2021-02-02_19:41:32_CET [openHABian] Setting up Ethernet connection... OK
2021-02-02_19:41:33_CET [openHABian] Ensuring network connectivity... OK
2021-02-02_19:41:33_CET [openHABian] Waiting for dpkg/apt to get ready... OK
2021-02-02_19:41:48_CET [openHABian] Updating repositories and upgrading installed packages... OK
bash: /boot/webserver.bash: No such file or directory
2021-02-02_19:41:48_CET [openHABian] Updating myself from https://github.com/openhab/openhabian, HEAD branch... OK
2021-02-02_19:44:17_CET [openHABian] Starting execution of 'openhabian-config unattended'... OK
2021-02-02_19:44:17_CET [openHABian] Checking for root privileges... OK
2021-02-02_19:44:19_CET [openHABian] Updating Linux package information... OK
2021-02-02_19:44:28_CET [openHABian] Loading configuration file '/etc/openhabian.conf'... OK
2021-02-02_19:44:28_CET [openHABian] Adjusting swap size to 1948 MB... OK (reboot required)
2021-02-02_19:44:29_CET [openHABian] Setting timezone based on openhabian.conf... OK (Europe/Berlin)
2021-02-02_19:44:29_CET [openHABian] Enabling time synchronization using NTP... OK
2021-02-02_19:44:29_CET [openHABian] Setting locale based on openhabian.conf... OK (reboot required)
2021-02-02_19:47:02_CET [openHABian] Setting hostname of the base system based on openhabian.conf... OK
2021-02-02_19:47:03_CET [openHABian] Setting the GPU memory split down to 16MB for headless system... OK
2021-02-02_19:47:03_CET [openHABian] Enabling Audio output... OK
2021-02-02_19:47:04_CET [openHABian] Installing basic can't-be-wrong packages (screen, vim, ...)... FAILED
2021-02-02_19:47:04_CET [openHABian] We tried to get your system installed, but without proper internet connectivity thi
s may not have worked properly.
2021-02-02_19:47:04_CET [openHABian] Execution of 'openhabian-config unattended' completed.
2021-02-02_19:47:04_CET [openHABian] First time setup successfully finished. Rebooting your system!
2021-02-02_19:47:04_CET [openHABian] After rebooting the openHAB dashboard will be available at: http://openhabian:8080
2021-02-02_19:47:04_CET [openHABian] After rebooting to gain access to a console, simply reconnect using ssh.
bash: /boot/webserver.bash: No such file or directory
bash: /boot/webserver.bash: No such file or directory


2021-02-02_19:48:28_CET [openHABian] Starting the openHABian initial setup.
2021-02-02_19:48:28_CET [openHABian] Storing configuration... OK
2021-02-02_19:48:28_CET [openHABian] Starting webserver with installation log... bash: /boot/webserver.bash: No such fil
e or directory
FAILED
2021-02-02_19:48:33_CET [openHABian] Changing default username and password... SKIPPED
2021-02-02_19:48:33_CET [openHABian] Setting up Ethernet connection... OK
2021-02-02_19:48:33_CET [openHABian] Ensuring network connectivity... OK
2021-02-02_19:48:34_CET [openHABian] Waiting for dpkg/apt to get ready... OK
2021-02-02_19:48:52_CET [openHABian] Updating repositories and upgrading installed packages... OK
bash: /boot/webserver.bash: No such file or directory
2021-02-02_19:48:52_CET [openHABian] Updating myself from https://github.com/openhab/openhabian, HEAD branch... OK
2021-02-02_19:49:00_CET [openHABian] Starting execution of 'openhabian-config unattended'... OK
2021-02-02_19:49:00_CET [openHABian] Checking for root privileges... OK
2021-02-02_19:49:03_CET [openHABian] Updating Linux package information... OK
2021-02-02_19:50:15_CET [openHABian] Loading configuration file '/etc/openhabian.conf'... OK
2021-02-02_19:50:15_CET [openHABian] Adjusting swap size to 1948 MB... OK (reboot required)
2021-02-02_19:50:15_CET [openHABian] Setting timezone based on openhabian.conf... OK (Europe/Berlin)
2021-02-02_19:50:16_CET [openHABian] Enabling time synchronization using NTP... OK
2021-02-02_19:50:16_CET [openHABian] Setting locale based on openhabian.conf... OK (reboot required)
2021-02-02_19:53:29_CET [openHABian] Setting hostname of the base system based on openhabian.conf... OK
2021-02-02_19:53:30_CET [openHABian] Setting the GPU memory split down to 16MB for headless system... OK
2021-02-02_19:53:30_CET [openHABian] Enabling Audio output... OK
2021-02-02_19:53:30_CET [openHABian] Installing basic can't-be-wrong packages (screen, vim, ...)... FAILED
2021-02-02_19:53:30_CET [openHABian] We tried to get your system installed, but without proper internet connectivity thi
s may not have worked properly.
2021-02-02_19:53:30_CET [openHABian] Execution of 'openhabian-config unattended' completed.
2021-02-02_19:53:30_CET [openHABian] First time setup successfully finished. Rebooting your system!
2021-02-02_19:53:30_CET [openHABian] After rebooting the openHAB dashboard will be available at: http://openhabian:8080
2021-02-02_19:53:30_CET [openHABian] After rebooting to gain access to a console, simply reconnect using ssh.
bash: /boot/webserver.bash: No such file or directory
bash: /boot/webserver.bash: No such file or directory

As the log teils, your Internet connection is not stable.

Hey Opus,
Indeed, I have also seen that message, but I didn’t change anything in my setup except the replacement of the new flashed SD-card. And my OpenHAB2.5 was running on that machine for more than 2 years.
Maybe it’s unstable because the Pi is too busy with installing something?
Regards, Hans

Probably I found the problem.

What I previously did : flashing the image to some SD-card I found lying around.
Now I took a fresh out of the package new SD-card, and the installation is very fast now.
However still some ‘FAILED’ markings. Don’t know if this is a problem.

Kind regards, Hans

login as: openhabian
openhabian@10.0.0.21's password:
Linux openhabian 5.4.83-v7+ #1379 SMP Mon Dec 14 13:08:57 GMT 2020 armv7l

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Tue Feb  2 20:32:29 2021 from 10.0.0.50

Wi-Fi is currently blocked by rfkill.
Use raspi-config to set the country before use.


Attention! The openHABian setup process has not finished yet.
Every 2.0s: cat /boot/first-boot.log                                                                                           openhabian: Tue Feb  2 20:42:22 2021



2021-01-11_13:09:21_UTC [openHABian] Starting the openHABian initial setup.
2021-01-11_13:09:21_UTC [openHABian] Storing configuration... OK
2021-01-11_13:09:21_UTC [openHABian] Starting webserver with installation log... OK
2021-01-11_13:09:27_UTC [openHABian] Changing default username and password... OK
2021-01-11_13:09:27_UTC [openHABian] Setting up Ethernet connection... OK
2021-01-11_13:09:27_UTC [openHABian] Ensuring network connectivity... OK
2021-01-11_13:09:27_UTC [openHABian] Waiting for dpkg/apt to get ready... OK
2021-02-02_19:28:48_UTC [openHABian] Updating repositories and upgrading installed packages... OK
2021-02-02_19:28:48_UTC [openHABian] Installing git package... FAILED
2021-02-02_19:28:48_UTC [openHABian] Updating myself from https://github.com/openhab/openhabian, HEAD branch... OK
2021-02-02_19:28:52_UTC [openHABian] Starting execution of 'openhabian-config unattended'... OK
2021-02-02_19:28:52_UTC [openHABian] Checking for root privileges... OK
2021-02-02_19:28:55_UTC [openHABian] Updating Linux package information... OK
2021-02-02_19:29:12_UTC [openHABian] Loading configuration file '/etc/openhabian.conf'... OK
2021-02-02_19:29:15_UTC [openHABian] Adjusting swap size to 1849 MB... OK (reboot required)
2021-02-02_19:29:15_UTC [openHABian] Setting timezone based on openhabian.conf... OK (Europe/Berlin)
2021-02-02_20:29:15_CET [openHABian] Enabling time synchronization using NTP... OK
2021-02-02_20:29:15_CET [openHABian] Setting locale based on openhabian.conf... OK (reboot required)
2021-02-02_20:30:43_CET [openHABian] Setting hostname of the base system based on openhabian.conf... OK
2021-02-02_20:30:43_CET [openHABian] Setting the GPU memory split down to 16MB for headless system... OK
2021-02-02_20:30:43_CET [openHABian] Enabling Audio output... OK
2021-02-02_20:30:43_CET [openHABian] Installing basic can't-be-wrong packages (screen, vim, ...)... OK
2021-02-02_20:31:41_CET [openHABian] Installing additional needed packages... OK
2021-02-02_20:32:38_CET [openHABian] Installing pigpio package... OK
2021-02-02_20:32:46_CET [openHABian] Installing additional bluetooth packages... OK
2021-02-02_20:33:17_CET [openHABian] Adding slightly tuned bash configuration files to system... OK
2021-02-02_20:33:19_CET [openHABian] Adding slightly tuned vim configuration file to system... OK
2021-02-02_20:33:19_CET [openHABian] Downloading FireMotD... OK
2021-02-02_20:33:21_CET [openHABian] Installing FireMotD... OK
2021-02-02_20:33:21_CET [openHABian] Generating FireMotD theme... OK
2021-02-02_20:33:39_CET [openHABian] Setting up FireMotD apt updates count service... OK
2021-02-02_20:33:54_CET [openHABian] Installing cached version of Java to ensure that some form of Java is installed!
2021-02-02_20:33:54_CET [openHABian] Installing Java Zulu prerequisites (libc, libstdc++, zlib1g)... OK
2021-02-02_20:33:54_CET [openHABian] Installing Java Zulu 11 32-Bit OpenJDK... OK
2021-02-02_20:33:55_CET [openHABian] Installing Java Zulu CEK to enable unlimited cipher strength... OK
2021-02-02_20:33:57_CET [openHABian] Installing Java Zulu prerequisites (libc, libstdc++, zlib1g)... OK
2021-02-02_20:33:57_CET [openHABian] Downloading Java Zulu 11 32-Bit OpenJDK... OK
2021-02-02_20:34:50_CET [openHABian] Installing Java Zulu 11 32-Bit OpenJDK... OK
2021-02-02_20:34:50_CET [openHABian] Installing Java Zulu CEK to enable unlimited cipher strength... OK
2021-02-02_20:34:51_CET [openHABian] Beginning install of latest openHAB3 release (stable)... OK
2021-02-02_20:34:51_CET [openHABian] Adding required keys to apt... OK
2021-02-02_20:34:52_CET [openHABian] Installing selected openHAB3 version... OK
2021-02-02_20:36:43_CET [openHABian] Setting up openHAB service... OK
2021-02-02_20:36:45_CET [openHABian] Optimizing openHAB to run on low memory single board computers... OK
2021-02-02_20:36:45_CET [openHABian] Setting openHAB HTTP/HTTPS ports... OK
2021-02-02_20:36:45_CET [openHABian] Creating dependencies to jointly start services that depend on each other... OK
2021-02-02_20:36:46_CET [openHABian] Removing delay on loading openHAB rules... OK
2021-02-02_20:36:47_CET [openHABian] Adding an openHAB dashboard tile for 'openhabiandocs'... OK
OK
2021-02-02_20:36:47_CET [openHABian] Adding openHAB syntax to vim editor... OK
2021-02-02_20:36:48_CET [openHABian] Adding openHAB syntax to nano editor... OK
2021-02-02_20:36:48_CET [openHABian] Adding openHAB scheme to multitail... OK
2021-02-02_20:36:48_CET [openHABian] Preparing openHAB folder mounts under '/srv/openhab-*'... OK
2021-02-02_20:36:55_CET [openHABian] Applying miscellaneous system settings... OK
2021-02-02_20:36:55_CET [openHABian] Installing Samba... OK
2021-02-02_20:38:38_CET [openHABian] Setting up Samba network shares... OK
2021-02-02_20:38:38_CET [openHABian] Setting up Samba service... OK
2021-02-02_20:38:41_CET [openHABian] Applying file permissions recommendations... OK
OK
OK
OK
OK
OK
FAILED (wget https://github.com/openhab/openhabian/adminkey.pub)
2021-02-02_20:38:43_CET [openHABian] Installing Frontail prerequsites (NodeJS)... OK
2021-02-02_20:39:30_CET [openHABian] Installing openHAB Log Viewer (frontail)... OK
2021-02-02_20:40:01_CET [openHABian] Configuring openHAB Log Viewer (frontail)... OK
2021-02-02_20:40:01_CET [openHABian] Setting up openHAB Log Viewer (frontail) service, theme: openhab ... OK
2021-02-02_20:40:02_CET [openHABian] Adding an openHAB dashboard tile for 'frontail'... OK
2021-02-02_20:40:03_CET [openHABian] Installing ZRAM... OK
2021-02-02_20:40:23_CET [openHABian] Installing MTA required packages (mailutils, exim4, dnsutils)... OK
OK
2021-02-02_20:41:19_CET [openHABian] Beginning Mail Transfer Agent setup... OK
2021-02-02_20:41:20_CET [openHABian] Adding exim4 to zram service dependencies... OK
2021-02-02_20:41:21_CET [openHABian] Creating MTA config... OK
2021-02-02_20:41:21_CET [openHABian] Adding to john.doe@foo.bar email to system accounts... OK
2021-02-02_20:41:21_CET [openHABian] tailscale VPN installation... SKIPPED (no preauthkey defined)
2021-02-02_20:41:21_CET [openHABian] Setting up automated SD mirroring and backup... OK
blockdev: cannot open /dev/sda: No such file or directory
FAILED (bad destination)
2021-02-02_20:41:36_CET [openHABian] Cleaning up... OK

This issue looks solved, you may close this topic.
Kind regards, Hans

In this case only you can select the check mark symbol on any answer to mark this thread resolved.

When the installation takes a long time (more than 1h), multiple restarts and re-try to install, when RPi is getting slow and reaction time when ssh… check your SD-card for writing/reading speed.

I have the same issue and use a brand new San Disk Extreme with 32 GB (read 160MB/s & Write 60 MB/s).
Shouldn’t this be ok?

Hello All,
I get the same behavior with 3 different SD card : 2 x brand new SANDISK Ultra-SD and 1 x Sony Pro. They have been flashed with the “OpenHabian stable” image, so there is no opportunity to control step by step the auto-update process…
I cannot believe it comes from the SD card…The Sony one was running fine with another automation software.
Too bad, i stay with Domoticz for the moment.

Did you check wether the Hotspot was activated during the setup. I did observe that yesterday, deactivated that in the xonfig and it started as normal.
Just my 2 cents.

No it won’t be due to SD.
Not sure what you mean by “openHABian stable” image.
The “stable” branch will install old openHAB2 which probably is not what you want.
Make sure first that you use latest openHABian image.
Check out install instructions and mind the Troubleshooting section in there (or proceed to the debug guide).