Ich versuche seit einigen Tagen ein openHAB-System aufzusetzen und scheitere kläglich.
Ich hab es mit dem SD-Karten-Image probiert und auch mit einer manuellen Installation auf der Basis RasPi OS lite. Es klappt einfach nicht.
Es wird zwar immer das Linux-System installiert aber die OH-Installation wird abgebrochen. Als Hardware steht ein RasPi 4b mit 2 GB Speicher zur Verfügung(Ethernet).
Ich hab es auch mit verschiedenen Version (openHABian V1.6.6 und openHABian v1.7-beta) probiert.
In der "openhabian.conf" hab ich ich die Parameter
Code: Alles auswählen
# Hostname to set this one to
hostname=oh3
# if it exists, the default user (with its working environment) will be renamed to this username given here ...
username=hab3
# ... and given this password. The password will be removed from this file after completion for security reasons.
userpw="verratichnicht"
# install zram per default, set to "disable" to skip installation
zraminstall=disable
Hier mal die First-Boot-Logs von drei Versuchen:
Code: Alles auswählen
hab3@oh3:~ $ sudo cat /boot/first-boot.log
[sudo] Passwort für hab3:
2021-05-07_16:00:49_BST [openHABian] Starting the openHABian initial setup.
2021-05-07_16:00:49_BST [openHABian] Storing configuration... OK
2021-05-07_16:00:50_BST [openHABian] Starting webserver with installation log... OK
2021-05-07_16:00:56_BST [openHABian] Changing default username and password... O K
2021-05-07_16:01:00_BST [openHABian] Setting up Ethernet connection... OK
2021-05-07_16:01:00_BST [openHABian] Ensuring network connectivity... OK
2021-05-07_16:01:00_BST [openHABian] Waiting for dpkg/apt to get ready... OK
2021-05-07_16:01:07_BST [openHABian] Updating repositories and upgrading install ed packages... OK
2021-05-07_16:01:23_BST [openHABian] Installing git package... OK
2021-05-07_16:01:50_BST [openHABian] Updating myself from https://github.com/ope nhab/openhabian, main branch... OK
2021-05-07_16:01:56_BST [openHABian] Starting execution of 'openhabian-config un attended'... OK
2021-05-07_16:01:56_BST [openHABian] Checking for root privileges... OK
2021-05-07_16:01:57_BST [openHABian] Updating Linux package information... OK
2021-05-07_16:02:02_BST [openHABian] Loading configuration file '/etc/openhabian .conf'... OK
2021-05-07_16:02:03_BST [openHABian] Adjusting swap size to 3744 MB... OK (reboo t required)
2021-05-07_16:02:04_BST [openHABian] Setting timezone based on openhabian.conf.. . OK (Europe/Berlin)
2021-05-07_17:02:04_CEST [openHABian] Enabling time synchronization using NTP... OK
2021-05-07_17:02:04_CEST [openHABian] Setting locale based on openhabian.conf... OK (reboot required)
2021-05-07_17:02:42_CEST [openHABian] Setting hostname of the base system based on openhabian.conf... OK
2021-05-07_17:02:42_CEST [openHABian] Setting the GPU memory split down to 16MB for headless system... OK
2021-05-07_17:02:42_CEST [openHABian] Enabling Audio output... OK
2021-05-07_17:02:42_CEST [openHABian] Installing basic can't-be-wrong packages ( screen, vim, ...)... OK
2021-05-07_17:03:53_CEST [openHABian] Installing additional needed packages... O K
2021-05-07_17:05:05_CEST [openHABian] Installing python3 serial package... OK
2021-05-07_17:05:30_CEST [openHABian] Installing pigpio package... OK
2021-05-07_17:05:54_CEST [openHABian] Installing additional bluetooth packages.. . OK
2021-05-07_17:06:16_CEST [openHABian] Adding slightly tuned bash configuration f iles to system... OK
2021-05-07_17:06:16_CEST [openHABian] Adding slightly tuned vim configuration fi le to system... OK
2021-05-07_17:06:16_CEST [openHABian] tailscale VPN installation... SKIPPED (no preauthkey defined)
2021-05-07_17:06:16_CEST [openHABian] Applying miscellaneous system settings... OK
2021-05-07_17:06:16_CEST [openHABian] Downloading FireMotD... OK
2021-05-07_17:06:19_CEST [openHABian] Installing FireMotD... OK
2021-05-07_17:06:19_CEST [openHABian] Generating FireMotD theme... OK
2021-05-07_17:06:36_CEST [openHABian] Setting up FireMotD apt updates count serv ice... OK
2021-05-07_17:06:51_CEST [openHABian] Installing cached version of Java to ensur e that some form of Java is installed!
2021-05-07_17:06:51_CEST [openHABian] Installing Java Zulu prerequisites (libc, libstdc++, zlib1g)... OK
2021-05-07_17:06:51_CEST [openHABian] Installing Java Zulu 11 32-Bit OpenJDK... OK
2021-05-07_17:06:53_CEST [openHABian] Installing Java Zulu CEK to enable unlimit ed cipher strength... OK
2021-05-07_17:06:55_CEST [openHABian] Installing Java Zulu prerequisites (libc, libstdc++, zlib1g)... OK
2021-05-07_17:06:55_CEST [openHABian] Downloading Java Zulu 11 32-Bit OpenJDK... OK
2021-05-07_17:08:01_CEST [openHABian] Installing Java Zulu 11 32-Bit OpenJDK... OK
2021-05-07_17:08:11_CEST [openHABian] Installing Java Zulu CEK to enable unlimit ed cipher strength... OK
2021-05-07_17:08:11_CEST [openHABian] Beginning install of latest openhab releas e (stable)... OK
2021-05-07_17:08:11_CEST [openHABian] Adding required keys to apt... OK
2021-05-07_17:08:12_CEST [openHABian] Installing selected main version... FAILED (update apt lists)
2021-05-07_17:08:16_CEST [openHABian] Getting initial openHAB configuration... S KIPPED (backup not found at /boot/initial.zip)
2021-05-07_17:08:16_CEST [openHABian] Activating the openHAB console on all inte rfaces... FAILED (sshHost)
2021-05-07_17:08:16_CEST [openHABian] Adding openHAB syntax to vim editor... OK
2021-05-07_17:08:18_CEST [openHABian] Adding openHAB syntax to nano editor... OK
2021-05-07_17:08:19_CEST [openHABian] Adding openHAB scheme to multitail... OK
2021-05-07_17:08:19_CEST [openHABian] Preparing openHAB folder mounts under '/sr v/openhab-*'... OK
2021-05-07_17:08:24_CEST [openHABian] Installing Samba... OK
2021-05-07_17:09:33_CEST [openHABian] Setting up Samba network shares... OK
2021-05-07_17:09:34_CEST [openHABian] Setting up Samba service... OK
2021-05-07_17:09:35_CEST [openHABian] Installing Frontail prerequsites (NodeJS). .. FAILED
Failed to open terminal.
┌──────────────────────────┤ Frontail not installed ├──────────────────────────┐
│ │
│ Frontail is not installed! │
│ │
│ Canceling operation! │
│ │
│ <Ok> │
│ │
└──────────────────────────────────────────────────────────────────────────────┘
2021-05-07_17:09:35_CEST [openHABian] Skipping zram install as requested.2021-05 -07_17:09:35_CEST [openHABian] Beginning Mail Transfer Agent setup... CANCELED ( no configuration provided)
2021-05-07_17:09:35_CEST [openHABian] Applying file permissions recommendations. .. FAILED (please execute after openHAB is installed)
2021-05-07_17:09:36_CEST [openHABian] Setting up automated SD mirroring and back up... SKIPPED (no configuration provided)
2021-05-07_17:09:36_CEST [openHABian] Cleaning up... OK
2021-05-07_17:10:00_CEST [openHABian] Execution of 'openhabian-config unattended ' completed.
2021-05-07_17:10:00_CEST [openHABian] First time setup successfully finished. Re booting your system!
2021-05-07_17:10:00_CEST [openHABian] After rebooting the openHAB dashboard will be available at: http://oh3:8080
2021-05-07_17:10:00_CEST [openHABian] After rebooting to gain access to a consol e, simply reconnect using ssh.
hab3@oh3:~ $
2021-05-07_19:31:37_CEST [openHABian] Starting the openHABian initial setup.
2021-05-07_19:31:37_CEST [openHABian] Storing configuration... OK
2021-05-07_19:31:37_CEST [openHABian] Starting webserver with installation log... bash: /boot/webserver.bash: Datei oder Verzeichnis nicht gefunden
FAILED
2021-05-07_19:31:42_CEST [openHABian] Changing default username and password... SKIPPED
2021-05-07_19:31:42_CEST [openHABian] Setting up Ethernet connection... OK
2021-05-07_19:31:42_CEST [openHABian] Ensuring network connectivity... OK
2021-05-07_19:31:42_CEST [openHABian] Waiting for dpkg/apt to get ready... OK
2021-05-07_19:31:49_CEST [openHABian] Updating repositories and upgrading installed packages... OK
bash: /boot/webserver.bash: Datei oder Verzeichnis nicht gefunden
2021-05-07_19:32:04_CEST [openHABian] Updating myself from https://github.com/openhab/openhabian, main branch... OK
2021-05-07_19:32:10_CEST [openHABian] Starting execution of 'openhabian-config unattended'... OK
2021-05-07_19:32:10_CEST [openHABian] Checking for root privileges... OK
2021-05-07_19:32:11_CEST [openHABian] Updating Linux package information... OK
2021-05-07_19:32:16_CEST [openHABian] Loading configuration file '/etc/openhabian.conf'... OK
2021-05-07_19:32:16_CEST [openHABian] Adjusting swap size to 3844 MB... OK (reboot required)
2021-05-07_19:32:16_CEST [openHABian] Setting timezone based on openhabian.conf... OK (Europe/Berlin)
2021-05-07_19:32:16_CEST [openHABian] Enabling time synchronization using NTP... OK
2021-05-07_19:32:16_CEST [openHABian] Setting locale based on openhabian.conf... OK (reboot required)
2021-05-07_19:32:56_CEST [openHABian] Setting hostname of the base system based on openhabian.conf... OK
2021-05-07_19:32:56_CEST [openHABian] Setting the GPU memory split down to 16MB for headless system... OK
2021-05-07_19:32:56_CEST [openHABian] Enabling Audio output... OK
2021-05-07_19:32:56_CEST [openHABian] Installing basic can't-be-wrong packages (screen, vim, ...)... OK
2021-05-07_19:33:01_CEST [openHABian] Installing additional needed packages... OK
2021-05-07_19:33:09_CEST [openHABian] Installing python3 serial package... OK
2021-05-07_19:33:17_CEST [openHABian] Installing pigpio package... OK
2021-05-07_19:33:22_CEST [openHABian] Installing additional bluetooth packages... OK
2021-05-07_19:33:28_CEST [openHABian] Adding slightly tuned bash configuration files to system... OK
2021-05-07_19:33:29_CEST [openHABian] Adding slightly tuned vim configuration file to system... OK
2021-05-07_19:33:29_CEST [openHABian] tailscale VPN installation... SKIPPED (no preauthkey defined)
2021-05-07_19:33:29_CEST [openHABian] Applying miscellaneous system settings... OK
2021-05-07_19:33:33_CEST [openHABian] Downloading FireMotD... OK
2021-05-07_19:33:34_CEST [openHABian] Installing FireMotD... OK
2021-05-07_19:33:34_CEST [openHABian] Generating FireMotD theme... OK
2021-05-07_19:33:56_CEST [openHABian] Setting up FireMotD apt updates count service... OK
2021-05-07_19:34:19_CEST [openHABian] Beginning install of latest openhab release (stable)... OK
2021-05-07_19:34:19_CEST [openHABian] Adding required keys to apt... OK
2021-05-07_19:34:19_CEST [openHABian] Installing selected main version... FAILED (update apt lists)
2021-05-07_19:34:24_CEST [openHABian] Getting initial openHAB configuration... SKIPPED (backup not found at /boot/initial.zip)
2021-05-07_19:34:24_CEST [openHABian] Activating the openHAB console on all interfaces... FAILED (sshHost)
2021-05-07_19:34:24_CEST [openHABian] Adding openHAB syntax to vim editor... OK
2021-05-07_19:34:25_CEST [openHABian] Adding openHAB syntax to nano editor... OK
2021-05-07_19:34:26_CEST [openHABian] Adding openHAB scheme to multitail... OK
2021-05-07_19:34:26_CEST [openHABian] Preparing openHAB folder mounts under '/srv/openhab-*'... OK
2021-05-07_19:34:30_CEST [openHABian] Setting up Samba network shares... OK
2021-05-07_19:34:30_CEST [openHABian] Setting up Samba service... OK
2021-05-07_19:34:32_CEST [openHABian] Installing Frontail prerequsites (NodeJS)... FAILED
Failed to open terminal.
┌──────────────────────────┤ Frontail not installed ├──────────────────────────┐
│ │
│ Frontail is not installed! │
│ │
│ Canceling operation! │
│ │
│ <Ok> │
│ │
└──────────────────────────────────────────────────────────────────────────────┘
2021-05-07_19:34:32_CEST [openHABian] Skipping zram install as requested.2021-05-07_19:34:32_CEST [openHABian] Beginning Mail Transfer Agent setup... CANCELED (no configuration provided)
2021-05-07_19:34:32_CEST [openHABian] Applying file permissions recommendations... FAILED (please execute after openHAB is installed)
2021-05-07_19:34:32_CEST [openHABian] Setting up automated SD mirroring and backup... SKIPPED (no configuration provided)
2021-05-07_19:34:32_CEST [openHABian] Cleaning up... OK
2021-05-07_19:34:37_CEST [openHABian] Execution of 'openhabian-config unattended' completed.
2021-05-07_19:34:37_CEST [openHABian] First time setup successfully finished. Rebooting your system!
2021-05-07_19:34:37_CEST [openHABian] After rebooting the openHAB dashboard will be available at: http://oh3:8080
2021-05-07_19:34:37_CEST [openHABian] After rebooting to gain access to a console, simply reconnect using ssh.
bash: /boot/webserver.bash: Datei oder Verzeichnis nicht gefunden
bash: /boot/webserver.bash: Datei oder Verzeichnis nicht gefunden
hab3@oh3:~ $
hab3@oh3:~ $ sudo cat /boot/first-boot.log
2021-10-30_11:29:55_UTC [openHABian] Starting the openHABian initial setup.
2021-10-30_11:29:55_UTC [openHABian] Storing configuration... OK
2021-10-30_11:30:04_UTC [openHABian] Starting webserver with installation log... OK
2021-10-30_11:30:15_UTC [openHABian] Changing default username and password... OK
2021-10-30_11:30:33_UTC [openHABian] Setting up Ethernet connection... OK
2021-10-30_11:30:33_UTC [openHABian] Ensuring network connectivity... OK
2021-10-30_11:30:33_UTC [openHABian] Waiting for dpkg/apt to get ready... OK
2021-10-30_11:30:39_UTC [openHABian] Updating repositories and upgrading installed packages... OK
2021-10-30_11:30:57_UTC [openHABian] Installing git package... OK
2021-10-30_11:31:25_UTC [openHABian] Updating myself from https://github.com/openhab/openhabian, HEAD branch... OK
2021-10-30_11:31:28_UTC [openHABian] Starting execution of 'openhabian-config unattended'... OK
2021-10-30_11:31:28_UTC [openHABian] Checking for root privileges... OK
2021-10-30_11:31:28_UTC [openHABian] Updating Linux package information... OK
2021-10-30_11:31:33_UTC [openHABian] Loading configuration file '/etc/openhabian.conf'... OK
2021-10-30_11:31:34_UTC [openHABian] Adjusting swap size to 3744 MB... OK (reboot required)
2021-10-30_11:31:34_UTC [openHABian] Setting timezone based on openhabian.conf... OK (Europe/Berlin)
2021-10-30_13:31:35_CEST [openHABian] Enabling time synchronization using NTP... OK
2021-10-30_13:31:35_CEST [openHABian] Setting locale based on openhabian.conf... OK (reboot required)
2021-10-30_13:32:11_CEST [openHABian] Setting hostname of the base system based on openhabian.conf... OK
2021-10-30_13:32:11_CEST [openHABian] Setting the GPU memory split down to 16MB for headless system... OK
2021-10-30_13:32:11_CEST [openHABian] Enabling Audio output... OK
2021-10-30_13:32:12_CEST [openHABian] Installing basic can't-be-wrong packages (screen, vim, ...)... OK
2021-10-30_13:33:32_CEST [openHABian] Installing additional needed packages... OK
2021-10-30_13:34:19_CEST [openHABian] Installing python3 serial package... OK
2021-10-30_13:34:43_CEST [openHABian] Installing pigpio package... OK
2021-10-30_13:35:08_CEST [openHABian] Installing additional bluetooth packages... OK
2021-10-30_13:35:30_CEST [openHABian] Adding slightly tuned bash configuration files to system... OK
2021-10-30_13:35:30_CEST [openHABian] Adding slightly tuned vim configuration file to system... OK
2021-10-30_13:35:31_CEST [openHABian] tailscale VPN installation... SKIPPED (no preauthkey defined)
2021-10-30_13:35:31_CEST [openHABian] Applying miscellaneous system settings... OK
2021-10-30_13:35:32_CEST [openHABian] Downloading FireMotD... OK
2021-10-30_13:35:34_CEST [openHABian] Installing FireMotD... OK
2021-10-30_13:35:34_CEST [openHABian] Generating FireMotD theme... OK
2021-10-30_13:36:12_CEST [openHABian] Setting up FireMotD apt updates count service... OK
2021-10-30_13:36:34_CEST [openHABian] Installing cached version of Java to ensure that some form of Java is installed!
2021-10-30_13:36:34_CEST [openHABian] Installing Java Zulu prerequisites (libc, libstdc++, zlib1g)... OK
2021-10-30_13:36:34_CEST [openHABian] Installing Java Zulu 11 32-Bit OpenJDK... OK
2021-10-30_13:36:36_CEST [openHABian] Installing Java Zulu CEK to enable unlimited cipher strength... OK
2021-10-30_13:36:37_CEST [openHABian] Beginning install of latest openhab release (stable)... OK
2021-10-30_13:36:37_CEST [openHABian] Adding required keys to apt... OK
2021-10-30_13:36:38_CEST [openHABian] Installing selected HEAD version... FAILED (update apt lists)
2021-10-30_13:36:43_CEST [openHABian] Getting initial openHAB configuration... SKIPPED (backup not found at /boot/initial.zip)
2021-10-30_13:36:43_CEST [openHABian] Activating the openHAB console on all interfaces... FAILED (sshHost)
2021-10-30_13:36:43_CEST [openHABian] Adding openHAB syntax to vim editor... OK
2021-10-30_13:36:45_CEST [openHABian] Adding openHAB syntax to nano editor... OK
2021-10-30_13:36:45_CEST [openHABian] Adding openHAB scheme to multitail... OK
2021-10-30_13:36:45_CEST [openHABian] Preparing openHAB folder mounts under '/srv/openhab-*'... OK
2021-10-30_13:36:50_CEST [openHABian] Installing Samba... OK
2021-10-30_13:38:09_CEST [openHABian] Setting up Samba network shares... OK
2021-10-30_13:38:10_CEST [openHABian] Setting up Samba service... OK
2021-10-30_13:38:11_CEST [openHABian] Installing Frontail prerequsites (NodeJS)... FAILED
Failed to open terminal.
┌──────────────────────────┤ Frontail not installed ├──────────────────────────┐
│ │
│ Frontail is not installed! │
│ │
│ Canceling operation! │
│ │
│ <Ok> │
│ │
└──────────────────────────────────────────────────────────────────────────────┘
2021-10-30_13:38:18_CEST [openHABian] Skipping zram install as requested.2021-10-30_13:38:18_CEST [openHABian] Beginning Mail Transfer Agent setup... CANCELED (no configuration provided)
2021-10-30_13:38:18_CEST [openHABian] Applying file permissions recommendations... FAILED (please execute after openHAB is installed)
2021-10-30_13:38:18_CEST [openHABian] Setting up automated SD mirroring and backup... SKIPPED (no configuration provided)
2021-10-30_13:38:18_CEST [openHABian] Cleaning up... OK
2021-10-30_13:38:50_CEST [openHABian] Execution of 'openhabian-config unattended' completed.
2021-10-30_13:38:50_CEST [openHABian] First time setup successfully finished. Rebooting your system!
2021-10-30_13:38:50_CEST [openHABian] After rebooting the openHAB dashboard will be available at: http://oh3:8080
2021-10-30_13:38:50_CEST [openHABian] After rebooting to gain access to a console, simply reconnect using ssh.
hab3@oh3:~ $