Platform information:
Hardware: raspi 4 4GB
OS: raspi os bullseye before i tried openhabian with clonebranch=stable
Issue:
I am unable to install openhabian 1.6.6 or 1.7 successfully
parameters changes in in openhabian.conf: hostname, user, passwd, wlan, clonebranch=stable
Installation starts. There are several errors. After finishing it’s messed up. os is running, but not much more. Looking at open ports i only see 22. Lucky me, i could login per ssh.
the following logs are openhabian 1.6.6
Login prompt:
login as: marino
marino@172.16.172.63's password:
Linux hostoh3 5.10.63-v7l+ #1457 SMP Tue Sep 28 11:26:14 BST 2021 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.
###############################################################################
############### hostoh3 #####################################################
###############################################################################
## Ip = 172.16.172.63
## Release = Raspbian GNU/Linux 10 (buster)
## Kernel = Linux 5.10.63-v7l+
## Platform = Raspberry Pi 4 Model B Rev 1.1
## Uptime = 0 day(s). 0:30:29
## CPU Usage = 0.5% avg over 4 cpu(s) (4 core(s) x 1 socket(s))
## CPU Load = 1m: 0.00, 5m: 0.00, 15m: 0.00
## Memory = Free: 1.37GB (36%), Used: 2.42GB (64%), Total: 3.79GB
## Swap = Free: 1.99GB (100%), Used: 0.00GB (0%), Total: 1.99GB
## Root = Free: 8.71GB (65%), Used: 4.60GB (35%), Total: 13.92GB
## Updates = 0 apt updates available.
## Sessions = 1 session(s)
## Processes = 112 running processes of 32768 maximum processes
###############################################################################
sed: can't read /var/lib/openhab2/etc/version.properties: No such file or directory
sed: can't read /var/lib/openhab2/etc/version.properties: No such file or directory
Welcome to __ _____ ____ _
____ ____ ___ ____ / / / / | / __ )(_)___ _____
/ __ \/ __ \/ _ \/ __ \/ /_/ / /| | / __ / / __ `/ __ \
/ /_/ / /_/ / __/ / / / __ / ___ |/ /_/ / / /_/ / / / /
\____/ .___/\___/_/ /_/_/ /_/_/ |_/_____/_/\__,_/_/ /_/
/_/
openHAB ()
Looking for a place to get started? Check out 'sudo openhabian-config' and the
documentation at https://www.openhab.org/docs/installation/openhabian.html
The openHAB dashboard can be reached at http://oh-test:8080
To interact with openHAB on the command line, execute: 'openhab-cli --help'
firstboot.log looks like this:
2021-05-07_16:01:01_BST [openHABian] Starting the openHABian initial setup.
2021-05-07_16:01:01_BST [openHABian] Storing configuration... OK
2021-05-07_16:01:01_BST [openHABian] Starting webserver with installation log... OK
2021-05-07_16:01:06_BST [openHABian] Changing default username and password... OK
2021-05-07_16:01:07_BST [openHABian] Setting up Wi-Fi connection... ERROR ( is not a valid country code found in '/usr/share/zoneinfo/zone.tab' defaulting to US)
2021-05-07_16:01:07_BST [openHABian] Configuring network... OK (rebooting)
2021-05-07_16:01:22_BST [openHABian] Starting the openHABian initial setup.
2021-05-07_16:01:22_BST [openHABian] Storing configuration... OK
2021-05-07_16:01:22_BST [openHABian] Starting webserver with installation log... OK
2021-05-07_16:01:27_BST [openHABian] Changing default username and password... SKIPPED
2021-05-07_16:01:27_BST [openHABian] Checking if WiFi is working... OK
2021-12-01_12:20:08_GMT [openHABian] Ensuring network connectivity... OK
2021-12-01_12:20:09_GMT [openHABian] Waiting for dpkg/apt to get ready... OK
2021-12-01_12:20:28_GMT [openHABian] Updating repositories and upgrading installed packages... OK (rebooting)
2021-12-01_12:24:05_GMT [openHABian] Starting the openHABian initial setup.
2021-12-01_12:24:05_GMT [openHABian] Storing configuration... OK
2021-12-01_12:24:05_GMT [openHABian] Starting webserver with installation log... OK
2021-12-01_12:24:10_GMT [openHABian] Changing default username and password... SKIPPED
2021-12-01_12:24:10_GMT [openHABian] Checking if WiFi is working... OK
2021-12-01_12:24:14_GMT [openHABian] Ensuring network connectivity... OK
2021-12-01_12:24:14_GMT [openHABian] Waiting for dpkg/apt to get ready... OK
2021-12-01_12:24:21_GMT [openHABian] Updating repositories and upgrading installed packages... OK
2021-12-01_12:24:24_GMT [openHABian] Installing git package... OK
2021-12-01_12:24:36_GMT [openHABian] Updating myself from https://github.com/openhab/openhabian, stable branch... OK
2021-12-01_12:24:41_GMT [openHABian] Starting execution of 'openhabian-config unattended'... OK
2021-12-01_12:24:41_GMT [openHABian] Checking for root privileges... OK
2021-12-01_12:24:41_GMT [openHABian] Updating Linux package information... OK
2021-12-01_12:24:47_GMT [openHABian] Loading configuration file '/etc/openhabian.conf'... OK
2021-12-01_12:24:48_GMT [openHABian] Adjusting swap size to 3838 MB... OK (reboot required)
2021-12-01_12:24:48_GMT [openHABian] Setting timezone based on openhabian.conf... OK (Europe/Berlin)
2021-12-01_13:24:48_CET [openHABian] Enabling time synchronization using NTP... OK
2021-12-01_13:24:48_CET [openHABian] Setting locale based on openhabian.conf... OK (reboot required)
2021-12-01_13:25:25_CET [openHABian] Setting hostname of the base system based on openhabian.conf... OK
2021-12-01_13:25:25_CET [openHABian] Setting the GPU memory split down to 16MB for headless system... OK
2021-12-01_13:25:25_CET [openHABian] Enabling Audio output... OK
2021-12-01_13:25:26_CET [openHABian] Installing basic can't-be-wrong packages (screen, vim, ...)... OK
2021-12-01_13:25:58_CET [openHABian] Installing additional needed packages... OK
2021-12-01_13:26:38_CET [openHABian] Installing pigpio package... OK
2021-12-01_13:26:44_CET [openHABian] Installing additional bluetooth packages... OK
2021-12-01_13:26:52_CET [openHABian] Adding slightly tuned bash configuration files to system... OK
2021-12-01_13:26:52_CET [openHABian] Adding slightly tuned vim configuration file to system... OK
2021-12-01_13:26:52_CET [openHABian] Downloading FireMotD... OK
2021-12-01_13:26:55_CET [openHABian] Installing FireMotD... OK
2021-12-01_13:26:55_CET [openHABian] Generating FireMotD theme... OK
2021-12-01_13:27:09_CET [openHABian] Setting up FireMotD apt updates count service... OK
2021-12-01_13:27:18_CET [openHABian] Installing cached version of Java to ensure that some form of Java is installed!
2021-12-01_13:27:19_CET [openHABian] Installing Java Zulu prerequisites (libc, libstdc++, zlib1g)... OK
2021-12-01_13:27:19_CET [openHABian] Installing Java Zulu 11 32-Bit OpenJDK... OK
2021-12-01_13:27:19_CET [openHABian] Installing Java Zulu CEK to enable unlimited cipher strength... OK
2021-12-01_13:27:21_CET [openHABian] Installing Java Zulu prerequisites (libc, libstdc++, zlib1g)... OK
2021-12-01_13:27:21_CET [openHABian] Downloading Java Zulu 11 32-Bit OpenJDK... OK
2021-12-01_13:29:02_CET [openHABian] Installing Java Zulu 11 32-Bit OpenJDK... OK
2021-12-01_13:29:03_CET [openHABian] Installing Java Zulu CEK to enable unlimited cipher strength... OK
2021-12-01_13:29:04_CET [openHABian] Beginning install of latest openHAB2 release (stable)... OK
2021-12-01_13:29:04_CET [openHABian] Adding required keys to apt... OK
2021-12-01_13:29:07_CET [openHABian] Installing selected openHAB version... FAILED (update apt lists)
2021-12-01_13:29:07_CET [openHABian] Adding openHAB syntax to vim editor... OK
2021-12-01_13:29:11_CET [openHABian] Adding openHAB syntax to nano editor... OK
2021-12-01_13:29:14_CET [openHABian] Adding openHAB scheme to multitail... OK
2021-12-01_13:29:14_CET [openHABian] Preparing openHAB folder mounts under '/srv/openhab2-*'... OK
2021-12-01_13:29:17_CET [openHABian] Applying miscellaneous system settings... OK
2021-12-01_13:29:17_CET [openHABian] Installing Samba... FAILED
2021-12-01_13:29:18_CET [openHABian] Applying file permissions recommendations... FAILED (please execute after openHAB is installed)
2021-12-01_13:29:18_CET [openHABian] Installing Frontail prerequsites (NodeJS)... FAILED
2021-12-01_13:29:20_CET [openHABian] Skipping ZRAM install as requested.2021-12-01_13:29:20_CET [openHABian] Beginning Mail Transfer Agent setup... CANCELED (no configuration provided)
2021-12-01_13:29:20_CET [openHABian] tailscale VPN installation... SKIPPED (no preauthkey defined)
2021-12-01_13:29:20_CET [openHABian] Setting up automated SD mirroring and backup... CANCELED (no configuration provided)
2021-12-01_13:29:20_CET [openHABian] Cleaning up... FAILED
2021-12-01_13:29:20_CET [openHABian] Execution of 'openhabian-config unattended' completed.
2021-12-01_13:29:20_CET [openHABian] First time setup successfully finished. Rebooting your system!
2021-12-01_13:29:20_CET [openHABian] After rebooting the openHAB dashboard will be available at: http://oh-test:8080
2021-12-01_13:29:20_CET [openHABian] After rebooting to gain access to a console, simply reconnect using ssh.
sed: can't read /opt/openhabian/includes/webserver/install-complete.html: No such file or directory
Trying 1.6.6 clonebranche=main i’ve been successfull.
Trying openhabian 1.7beta clonebranch=HEAD i’ve been successfull.
Just realized that 1.7 has just been released. Same sort of problems there. first-boot.log & messages with debug=on available if someone is interested.