OH3 is not recognizing cpu correctly

Hello,

since I upgraded my openhab 2 to version 3 yesterday evening, I’m facing multiple issues with the installation.
openhab does not start, the “openhabian-config” wizard reports errors and the influxdb error (InfluxDB Error "field type conflict: input field value on measurement is type integer, already exists as type float dropped=1" - #2 by Wolfgang_S)

openhab not starting:
openhab karaf[22821]: /usr/share/openhab/runtime/bin/karaf: 337: exec: /usr/bin/java: Exec format error

Wizard errors:

There was an error or interruption during the execution of:
"10 | Apply Improvements"

Please try again. If the error persists, please read
/opt/openhabian/docs/openhabian-DEBUG.md or
https://github.com/openhab/openhabian/blob/master/docs/openhabian-DEBUG.md how to proceed.

I was troubleshooting these two issues and noticed, after enabling the debug log mode in /etc/openhabian.conf, that the wizard does not detect the system correctly and believes it is running on a Raspberry Pi.

+ is_pizerow
+ [[ pi4 == \p\i\0\w ]]
+ grep -q '^Revision\s*:\s*[ 123][0-9a-fA-F][0-9a-fA-F][0-9a-fA-F]0[cC][0-9a-fA-F]$' /proc/cpuinfo
**+ return 1**
+ is_pithree
+ [[ pi4 == \p\i\3 ]]
+ grep -q '^Revision\s*:\s*[ 123][0-9a-fA-F][0-9a-fA-F][0-9a-fA-F]0[8dDeE][0-9a-fA-F]$' /proc/cpuinfo
**+ return 1**
+ is_pithreeplus
+ [[ pi4 == \p\i\3\+ ]]
+ grep -q '^Revision\s*:\s*[ 123][0-9a-fA-F][0-9a-fA-F][0-9a-fA-F]0[dDeE][0-9a-fA-F]$' /proc/cpuinfo
**+ return 1**
+ is_pifour
+ [[ pi4 == \p\i\4 ]]
+ return 0
+ [[ -z '' ]]
++ timestamp
++ date +%F_%T_%Z
+ echo -n '2021-02-18_10:49:13_CET [openHABian] Installing pigpio package... '
2021-02-18_10:49:13_CET [openHABian] Installing pigpio package... + cond_redirect apt-get install --yes pigpio
+ [[ -n '' ]]
+ echo -e '\n\033[90;01m$ apt-get install --yes pigpio \033[39;49;00m'

$ apt-get install --yes pigpio
+ apt-get install --yes pigpio
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package pigpio is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'pigpio' has no installation candidate
+ return 100
+ echo FAILED
FAILED
+ return 1
+ '[' 1 -ne 0 ']'
+ whiptail --msgbox 'There was an error or interruption during the execution of:\n  "10 | Apply Improvements"\n\nPlease try again. If the error persists, please read /opt/openhabian/docs/openhabian-DEBUG.md or https://github.com/openhab/openhabian/blob/master/docs/openhabian-DEBUG.md how to proceed.' 14 80
+ return 0
+ true
+ show_main_menu

As a result, it is changing the zulu11 or Java redirect to the wrong version, and the wizard failes because of unsuccessful installation of pigpio, which is only available on Raspberry Pi.

In my case, the openhabian was installed on a Debian 10 machine, running on vSphere 7.
The CPU is an Intel Core i5.

Any idea what’s going on here?

Thanks!
Clemens

You must explain how you installed openHABian and what steps you did there.
Open a Github issue please and provide a complete debug level log of the full unattended installation run or the menu selection that fails.
You can also try to fake hardware (hwarch in openhabian.conf).

Well, the initial installation of Openhab2 on this machine was done about 3 years ago and I followed the official documentation.
And for the update yesterday, I used the openhabian-config - that’s it.

I justed tested the hwarch setting and also adjusted the Zulu11 setting to use 64-bit instead of 32.
At least, the openhabian-config is not breaking the alternatives configuration on Debian for Java, but it still tries to install the pigpio packages and fails.

what documentation. Quote the link.

openHAB is not openHABian

Did you upgrade openhabian-config on start ? what branch do you use ?

That’s not it. I asked what steps you took and to provide a full debug log of that.

Not sure anymore - but afaik this one: openHAB on Linux | openHAB

The entire system is updated daily. Previously, stable was selected, for the upgraded I used “openHAB3”.

And to get the log, I provided at the beginning, I set the debugmode to “maximum” in /etc/openhabian.conf

As I wrote it is not the full log. It does not show where the problem happens.
If you me want help you should answer my questions so please do:

Here’s the log, hope it’s sufficient:

[15:53:02] root@openhab:~# openhabian-config
2021-02-18_15:53:07_CET [openHABian] Checking for root privileges... OK
+ export UNATTENDED SILENT DEBUGMAX INTERACTIVE
+ for shfile in "${BASEDIR:-/opt/openhabian}"/functions/*.bash
+ source /opt/openhabian/functions/auth.bash
+ for shfile in "${BASEDIR:-/opt/openhabian}"/functions/*.bash
+ source /opt/openhabian/functions/backup.bash
+ for shfile in "${BASEDIR:-/opt/openhabian}"/functions/*.bash
+ source /opt/openhabian/functions/config.bash
+ for shfile in "${BASEDIR:-/opt/openhabian}"/functions/*.bash
+ source /opt/openhabian/functions/ext-storage.bash
+ for shfile in "${BASEDIR:-/opt/openhabian}"/functions/*.bash
+ source /opt/openhabian/functions/find.bash
+ for shfile in "${BASEDIR:-/opt/openhabian}"/functions/*.bash
+ source /opt/openhabian/functions/habapp.bash
+ for shfile in "${BASEDIR:-/opt/openhabian}"/functions/*.bash
+ source /opt/openhabian/functions/helpers.bash
++ ESC='\033['
++ COL_DEF='\033[39;49;00m'
++ COL_RED='\033[31;01m'
++ COL_GREEN='\033[32;01m'
++ COL_YELLOW='\033[33;01m'
++ COL_BLUE='\033[34;01m'
++ COL_MAGENTA='\033[35;01m'
++ COL_CYAN='\033[36;01m'
++ COL_LGRAY='\033[37;01m'
++ COL_DGRAY='\033[90;01m'
++ export COL_DEF COL_RED COL_GREEN COL_YELLOW COL_BLUE COL_MAGENTA COL_CYAN COL_LGRAY COL_DGRAY
+ for shfile in "${BASEDIR:-/opt/openhabian}"/functions/*.bash
+ source /opt/openhabian/functions/influxdb+grafana.bash
+ for shfile in "${BASEDIR:-/opt/openhabian}"/functions/*.bash
+ source /opt/openhabian/functions/java-jre.bash
+ for shfile in "${BASEDIR:-/opt/openhabian}"/functions/*.bash
+ source /opt/openhabian/functions/menu.bash
+ for shfile in "${BASEDIR:-/opt/openhabian}"/functions/*.bash
+ source /opt/openhabian/functions/nodejs-apps.bash
+ for shfile in "${BASEDIR:-/opt/openhabian}"/functions/*.bash
+ source /opt/openhabian/functions/openhab.bash
+ for shfile in "${BASEDIR:-/opt/openhabian}"/functions/*.bash
+ source /opt/openhabian/functions/openhabian.bash
+ for shfile in "${BASEDIR:-/opt/openhabian}"/functions/*.bash
+ source /opt/openhabian/functions/packages.bash
+ for shfile in "${BASEDIR:-/opt/openhabian}"/functions/*.bash
+ source /opt/openhabian/functions/system.bash
+ for shfile in "${BASEDIR:-/opt/openhabian}"/functions/*.bash
+ source /opt/openhabian/functions/vpn.bash
+ for shfile in "${BASEDIR:-/opt/openhabian}"/functions/*.bash
+ source /opt/openhabian/functions/wifi.bash
+ for shfile in "${BASEDIR:-/opt/openhabian}"/functions/*.bash
+ source /opt/openhabian/functions/zram.bash
++ pwd
+ OLDWD=/root
+ cd /opt
+ update_openhabian_conf
+ local configFile=/etc/openhabian.conf
+ local referenceConfig=/opt/openhabian/openhabian.conf.dist
+ cp /etc/openhabian.conf /etc/openhabian.conf.BAK
+ read -r line
+ [[ # Modify your openHABian settings =~ ^(#)?[a-zA-Z] ]]
+ echo '# Modify your openHABian settings'
+ read -r line
+ [[ # Handle with care, only touch if you need to!! =~ ^(#)?[a-zA-Z] ]]
+ echo '# Handle with care, only touch if you need to!!'
+ read -r line
+ [[ # This file will only be used on unattended initial install. =~ ^(#)?[a-zA-Z] ]]
+ echo '# This file will only be used on unattended initial install.'
+ read -r line
+ [[ # If you want to change anything after unattended install completed, use menu in openhabian-config. =~ ^(#)?[a-zA-Z] ]]
+ echo '# If you want to change anything after unattended install completed, use menu in openhabian-config.'
+ read -r line
+ [[ '' =~ ^(#)?[a-zA-Z] ]]
+ echo ''
+ read -r line
+ [[ # Hostname to set this one to =~ ^(#)?[a-zA-Z] ]]
+ echo '# Hostname to set this one to'
+ read -r line
+ [[ hostname=openhabian =~ ^(#)?[a-zA-Z] ]]
+ parsed=hostname=openhabian
+ [[ hostname=openhabian =~ ^#[a-zA-Z] ]]
++ cut -d= -f1
++ echo hostname=openhabian
+ param=hostname
+ [[ -v hostname ]]
+ [[ openhabian == *\ * ]]
+ echo hostname=openhabian
+ read -r line
+ [[ # if it exists, the default user (with its working environment) will be renamed to this username given here ... =~ ^(#)?[a-zA-Z] ]]
+ echo '# if it exists, the default user (with its working environment) will be renamed to this username given here ...'
+ read -r line
+ [[ username=openhabian =~ ^(#)?[a-zA-Z] ]]
+ parsed=username=openhabian
+ [[ username=openhabian =~ ^#[a-zA-Z] ]]
++ cut -d= -f1
++ echo username=openhabian
+ param=username
+ [[ -v username ]]
+ [[ openhabian == *\ * ]]
+ echo username=openhabian
+ read -r line
+ [[ # and given this password. The password will be removed from this file after completion for security reasons. =~ ^(#)?[a-zA-Z] ]]
+ echo '# and given this password. The password will be removed from this file after completion for security reasons.'
+ read -r line
+ [[ userpw=openhabian =~ ^(#)?[a-zA-Z] ]]
+ parsed=userpw=openhabian
+ [[ userpw=openhabian =~ ^#[a-zA-Z] ]]
++ cut -d= -f1
++ echo userpw=openhabian
+ param=userpw
+ [[ -v userpw ]]
+ [[ openhabian == *\ * ]]
+ echo userpw=openhabian
+ read -r line
+ [[ # set this to download a SSH key and authorize the owner to login as the admin user =~ ^(#)?[a-zA-Z] ]]
+ echo '# set this to download a SSH key and authorize the owner to login as the admin user'
+ read -r line
+ [[ #adminkeyurl=https://github.com/openhab/openhabian/adminkey.pub =~ ^(#)?[a-zA-Z] ]]
+ parsed='#adminkeyurl=https://github.com/openhab/openhabian/adminkey.pub'
+ [[ #adminkeyurl=https://github.com/openhab/openhabian/adminkey.pub =~ ^#[a-zA-Z] ]]
+ parsed=adminkeyurl=https://github.com/openhab/openhabian/adminkey.pub
++ cut -d= -f1
++ echo adminkeyurl=https://github.com/openhab/openhabian/adminkey.pub
+ param=adminkeyurl
+ [[ -v adminkeyurl ]]
+ echo '#adminkeyurl=https://github.com/openhab/openhabian/adminkey.pub'
+ eval adminkeyurl=https://github.com/openhab/openhabian/adminkey.pub
++ adminkeyurl=https://github.com/openhab/openhabian/adminkey.pub
+ read -r line
+ [[ '' =~ ^(#)?[a-zA-Z] ]]
+ echo ''
+ read -r line
+ [[ # Language and timezone. See Debian documentation for valid values. =~ ^(#)?[a-zA-Z] ]]
+ echo '# Language and timezone. See Debian documentation for valid values.'
+ read -r line
+ [[ timezone=Europe/Berlin =~ ^(#)?[a-zA-Z] ]]
+ parsed=timezone=Europe/Berlin
+ [[ timezone=Europe/Berlin =~ ^#[a-zA-Z] ]]
++ cut -d= -f1
++ echo timezone=Europe/Berlin
+ param=timezone
+ [[ -v timezone ]]
+ [[ Europe/Berlin == *\ * ]]
+ echo timezone=Europe/Berlin
+ read -r line
+ [[ locales="en_US.UTF-8 de_DE.UTF-8" =~ ^(#)?[a-zA-Z] ]]
+ parsed='locales="en_US.UTF-8 de_DE.UTF-8"'
+ [[ locales="en_US.UTF-8 de_DE.UTF-8" =~ ^#[a-zA-Z] ]]
++ cut -d= -f1
++ echo 'locales="en_US.UTF-8 de_DE.UTF-8"'
+ param=locales
+ [[ -v locales ]]
+ [[ en_US.UTF-8 de_DE.UTF-8 == *\ * ]]
+ echo 'locales="en_US.UTF-8 de_DE.UTF-8"'
+ read -r line
+ [[ system_default_locale="en_US.UTF-8" =~ ^(#)?[a-zA-Z] ]]
+ parsed='system_default_locale="en_US.UTF-8"'
+ [[ system_default_locale="en_US.UTF-8" =~ ^#[a-zA-Z] ]]
++ cut -d= -f1
++ echo 'system_default_locale="en_US.UTF-8"'
+ param=system_default_locale
+ [[ -v system_default_locale ]]
+ [[ en_US.UTF-8 == *\ * ]]
+ echo system_default_locale=en_US.UTF-8
+ read -r line
+ [[ '' =~ ^(#)?[a-zA-Z] ]]
+ echo ''
+ read -r line
+ [[ # WiFi settings. An ethernet connection is recommended. =~ ^(#)?[a-zA-Z] ]]
+ echo '# WiFi settings. An ethernet connection is recommended.'
+ read -r line
+ [[ # If you have a RPi4, RPi3, RPi0W or a supported external WiFi dongle, the WiFi =~ ^(#)?[a-zA-Z] ]]
+ echo '# If you have a RPi4, RPi3, RPi0W or a supported external WiFi dongle, the WiFi'
+ read -r line
+ [[ # interface can be setup and used for the initial installation. =~ ^(#)?[a-zA-Z] ]]
+ echo '# interface can be setup and used for the initial installation.'
+ read -r line
+ [[ # Fill in your SSID and password below, leave empty or put comment in front to =~ ^(#)?[a-zA-Z] ]]
+ echo '# Fill in your SSID and password below, leave empty or put comment in front to'
+ read -r line
+ [[ # have your WiFi remain unchanged/uninitialized. Make sure your Ethernet works. =~ ^(#)?[a-zA-Z] ]]
+ echo '# have your WiFi remain unchanged/uninitialized. Make sure your Ethernet works.'
+ read -r line
+ [[ # ATTENTION: you need to escape these special characters: $, `, ", \, (newline) =~ ^(#)?[a-zA-Z] ]]
+ echo '# ATTENTION: you need to escape these special characters: $, `, ", \, (newline)'
+ read -r line
+ [[ # 'Escaping' means to put an additional \ in front of that character =~ ^(#)?[a-zA-Z] ]]
+ echo '# '\''Escaping'\'' means to put an additional \ in front of that character'
+ read -r line
+ [[ wifi_ssid="" =~ ^(#)?[a-zA-Z] ]]
+ parsed='wifi_ssid=""'
+ [[ wifi_ssid="" =~ ^#[a-zA-Z] ]]
++ cut -d= -f1
++ echo 'wifi_ssid=""'
+ param=wifi_ssid
+ [[ -v wifi_ssid ]]
+ [[ '' == *\ * ]]
+ echo wifi_ssid=
+ read -r line
+ [[ wifi_psk="" =~ ^(#)?[a-zA-Z] ]]
+ parsed='wifi_psk=""'
+ [[ wifi_psk="" =~ ^#[a-zA-Z] ]]
++ cut -d= -f1
++ echo 'wifi_psk=""'
+ param=wifi_psk
+ [[ -v wifi_psk ]]
+ [[ '' == *\ * ]]
+ echo wifi_psk=
+ read -r line
+ [[ '' =~ ^(#)?[a-zA-Z] ]]
+ echo ''
+ read -r line
+ [[ # Wi-Fi setting. Select a two-letter country code suitable for your location =~ ^(#)?[a-zA-Z] ]]
+ echo '# Wi-Fi setting. Select a two-letter country code suitable for your location'
+ read -r line
+ [[ # E.g. US (default), DE, AU, NZ... =~ ^(#)?[a-zA-Z] ]]
+ echo '# E.g. US (default), DE, AU, NZ...'
+ read -r line
+ [[ # You may infringe on local legislature otherwise =~ ^(#)?[a-zA-Z] ]]
+ echo '# You may infringe on local legislature otherwise'
+ read -r line
+ [[ # See https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2 or /usr/share/zoneinfo/zone.tab =~ ^(#)?[a-zA-Z] ]]
+ echo '# See https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2 or /usr/share/zoneinfo/zone.tab'
+ read -r line
+ [[ wifi_country="" =~ ^(#)?[a-zA-Z] ]]
+ parsed='wifi_country=""'
+ [[ wifi_country="" =~ ^#[a-zA-Z] ]]
++ cut -d= -f1
++ echo 'wifi_country=""'
+ param=wifi_country
+ [[ -v wifi_country ]]
+ [[ '' == *\ * ]]
+ echo wifi_country=
+ read -r line
+ [[ '' =~ ^(#)?[a-zA-Z] ]]
+ echo ''
+ read -r line
+ [[ # Eventually disable all IPv6 e.g. on installation problems =~ ^(#)?[a-zA-Z] ]]
+ echo '# Eventually disable all IPv6 e.g. on installation problems'
+ read -r line
+ [[ # values: "enable", "disable" =~ ^(#)?[a-zA-Z] ]]
+ echo '# values: "enable", "disable"'
+ read -r line
+ [[ ipv6=enable =~ ^(#)?[a-zA-Z] ]]
+ parsed=ipv6=enable
+ [[ ipv6=enable =~ ^#[a-zA-Z] ]]
++ cut -d= -f1
++ echo ipv6=enable
+ param=ipv6
+ [[ -v ipv6 ]]
+ [[ enable == *\ * ]]
+ echo ipv6=enable
+ read -r line
+ [[ '' =~ ^(#)?[a-zA-Z] ]]
+ echo ''
+ read -r line
+ [[ # repo and branch to clone from =~ ^(#)?[a-zA-Z] ]]
+ echo '# repo and branch to clone from'
+ read -r line
+ [[ repositoryurl=https://github.com/openhab/openhabian.git =~ ^(#)?[a-zA-Z] ]]
+ parsed=repositoryurl=https://github.com/openhab/openhabian.git
+ [[ repositoryurl=https://github.com/openhab/openhabian.git =~ ^#[a-zA-Z] ]]
++ cut -d= -f1
++ echo repositoryurl=https://github.com/openhab/openhabian.git
+ param=repositoryurl
+ [[ -v repositoryurl ]]
+ [[ https://github.com/openhab/openhabian.git == *\ * ]]
+ echo repositoryurl=https://github.com/openhab/openhabian.git
+ read -r line
+ [[ clonebranch=openHAB3 =~ ^(#)?[a-zA-Z] ]]
+ parsed=clonebranch=openHAB3
+ [[ clonebranch=openHAB3 =~ ^#[a-zA-Z] ]]
++ cut -d= -f1
++ echo clonebranch=openHAB3
+ param=clonebranch
+ [[ -v clonebranch ]]
+ [[ openHAB3 == *\ * ]]
+ echo clonebranch=openHAB3
+ read -r line
+ [[ '' =~ ^(#)?[a-zA-Z] ]]
+ echo ''
+ read -r line
+ [[ # debug verbosity mode =~ ^(#)?[a-zA-Z] ]]
+ echo '# debug verbosity mode'
+ read -r line
+ [[ # off, on (verbose output in log) or maximum (show every command) =~ ^(#)?[a-zA-Z] ]]
+ echo '# off, on (verbose output in log) or maximum (show every command)'
+ read -r line
+ [[ debugmode=off =~ ^(#)?[a-zA-Z] ]]
+ parsed=debugmode=off
+ [[ debugmode=off =~ ^#[a-zA-Z] ]]
++ cut -d= -f1
++ echo debugmode=off
+ param=debugmode
+ [[ -v debugmode ]]
+ [[ maximum == *\ * ]]
+ echo debugmode=maximum
+ read -r line
+ [[ '' =~ ^(#)?[a-zA-Z] ]]
+ echo ''
+ read -r line
+ [[ # fake hardware =~ ^(#)?[a-zA-Z] ]]
+ echo '# fake hardware'
+ read -r line
+ [[ # force treating your box as if it was a ... =~ ^(#)?[a-zA-Z] ]]
+ echo '# force treating your box as if it was a ...'
+ read -r line
+ [[ # pi4, pi4_8gb, cm4, pi400, pi3, cm3, pi3+, cm3+, pi2, pi1, cm1, pi0, pi0w =~ ^(#)?[a-zA-Z] ]]
+ echo '# pi4, pi4_8gb, cm4, pi400, pi3, cm3, pi3+, cm3+, pi2, pi1, cm1, pi0, pi0w'
+ read -r line
+ [[ #hw=pi4 =~ ^(#)?[a-zA-Z] ]]
+ parsed='#hw=pi4'
+ [[ #hw=pi4 =~ ^#[a-zA-Z] ]]
+ parsed=hw=pi4
++ cut -d= -f1
++ echo hw=pi4
+ param=hw
+ [[ -v hw ]]
+ echo '#hw=pi4'
+ eval hw=pi4
++ hw=pi4
+ read -r line
+ [[ '' =~ ^(#)?[a-zA-Z] ]]
+ echo ''
+ read -r line
+ [[ # Hardware architecture =~ ^(#)?[a-zA-Z] ]]
+ echo '# Hardware architecture'
+ read -r line
+ [[ # x86_64, amd64, armv6l, armv7l, aarch64, arm64 =~ ^(#)?[a-zA-Z] ]]
+ echo '# x86_64, amd64, armv6l, armv7l, aarch64, arm64'
+ read -r line
+ [[ #hwarch=armv7l =~ ^(#)?[a-zA-Z] ]]
+ parsed='#hwarch=armv7l'
+ [[ #hwarch=armv7l =~ ^#[a-zA-Z] ]]
+ parsed=hwarch=armv7l
++ cut -d= -f1
++ echo hwarch=armv7l
+ param=hwarch
+ [[ -v hwarch ]]
+ [[ amd64 == *\ * ]]
+ echo hwarch=amd64
+ read -r line
+ [[ '' =~ ^(#)?[a-zA-Z] ]]
+ echo ''
+ read -r line
+ [[ # OS distribution/release =~ ^(#)?[a-zA-Z] ]]
+ echo '# OS distribution/release'
+ read -r line
+ [[ # Valid arguments: raspios, raspbian, debian, ubuntu, stretch, buster, bionic, focal =~ ^(#)?[a-zA-Z] ]]
+ echo '# Valid arguments: raspios, raspbian, debian, ubuntu, stretch, buster, bionic, focal'
+ read -r line
+ [[ #osrelease=buster =~ ^(#)?[a-zA-Z] ]]
+ parsed='#osrelease=buster'
+ [[ #osrelease=buster =~ ^#[a-zA-Z] ]]
+ parsed=osrelease=buster
++ cut -d= -f1
++ echo osrelease=buster
+ param=osrelease
+ [[ -v osrelease ]]
+ echo '#osrelease=buster'
+ eval osrelease=buster
++ osrelease=buster
+ read -r line
+ [[ '' =~ ^(#)?[a-zA-Z] ]]
+ echo ''
+ read -r line
+ [[ # Java architecture mode =~ ^(#)?[a-zA-Z] ]]
+ echo '# Java architecture mode'
+ read -r line
+ [[ # Valid arguments: "Adopt11", "Zulu8-32", "Zulu8-64", "Zulu11-32", or "Zulu11-64" =~ ^(#)?[a-zA-Z] ]]
+ echo '# Valid arguments: "Adopt11", "Zulu8-32", "Zulu8-64", "Zulu11-32", or "Zulu11-64"'
+ read -r line
+ [[ java_opt=Zulu11-32 =~ ^(#)?[a-zA-Z] ]]
+ parsed=java_opt=Zulu11-32
+ [[ java_opt=Zulu11-32 =~ ^#[a-zA-Z] ]]
++ cut -d= -f1
++ echo java_opt=Zulu11-32
+ param=java_opt
+ [[ -v java_opt ]]
+ [[ Zulu11-64 == *\ * ]]
+ echo java_opt=Zulu11-64
+ read -r line
+ [[ '' =~ ^(#)?[a-zA-Z] ]]
+ echo ''
+ read -r line
+ [[ # openHAB Log Viewer (frontail) theme =~ ^(#)?[a-zA-Z] ]]
+ echo '# openHAB Log Viewer (frontail) theme'
+ read -r line
+ [[ # Valid arguments: "light", "dark" =~ ^(#)?[a-zA-Z] ]]
+ echo '# Valid arguments: "light", "dark"'
+ read -r line
+ [[ frontailtheme=light =~ ^(#)?[a-zA-Z] ]]
+ parsed=frontailtheme=light
+ [[ frontailtheme=light =~ ^#[a-zA-Z] ]]
++ cut -d= -f1
++ echo frontailtheme=light
+ param=frontailtheme
+ [[ -v frontailtheme ]]
+ [[ light == *\ * ]]
+ echo frontailtheme=light
+ read -r line
+ [[ '' =~ ^(#)?[a-zA-Z] ]]
+ echo ''
+ read -r line
+ [[ # install ZRAM per default, set to "disable" to skip installation =~ ^(#)?[a-zA-Z] ]]
+ echo '# install ZRAM per default, set to "disable" to skip installation'
+ read -r line
+ [[ zraminstall=enable =~ ^(#)?[a-zA-Z] ]]
+ parsed=zraminstall=enable
+ [[ zraminstall=enable =~ ^#[a-zA-Z] ]]
++ cut -d= -f1
++ echo zraminstall=enable
+ param=zraminstall
+ [[ -v zraminstall ]]
+ [[ enable == *\ * ]]
+ echo zraminstall=enable
+ read -r line
+ [[ '' =~ ^(#)?[a-zA-Z] ]]
+ echo ''
+ read -r line
+ [[ # start comitup hotspot if internet is not reachable =~ ^(#)?[a-zA-Z] ]]
+ echo '# start comitup hotspot if internet is not reachable'
+ read -r line
+ [[ hotspot=enable =~ ^(#)?[a-zA-Z] ]]
+ parsed=hotspot=enable
+ [[ hotspot=enable =~ ^#[a-zA-Z] ]]
++ cut -d= -f1
++ echo hotspot=enable
+ param=hotspot
+ [[ -v hotspot ]]
+ [[ enable == *\ * ]]
+ echo hotspot=enable
+ read -r line
+ [[ '' =~ ^(#)?[a-zA-Z] ]]
+ echo ''
+ read -r line
+ [[ # external SD card device to backup and mirror the internal SD card to =~ ^(#)?[a-zA-Z] ]]
+ echo '# external SD card device to backup and mirror the internal SD card to'
+ read -r line
+ [[ #backupdrive=/dev/sda =~ ^(#)?[a-zA-Z] ]]
+ parsed='#backupdrive=/dev/sda'
+ [[ #backupdrive=/dev/sda =~ ^#[a-zA-Z] ]]
+ parsed=backupdrive=/dev/sda
++ cut -d= -f1
++ echo backupdrive=/dev/sda
+ param=backupdrive
+ [[ -v backupdrive ]]
+ echo '#backupdrive=/dev/sda'
+ eval backupdrive=/dev/sda
++ backupdrive=/dev/sda
+ read -r line
+ [[ storageconfig=openhab-dir =~ ^(#)?[a-zA-Z] ]]
+ parsed=storageconfig=openhab-dir
+ [[ storageconfig=openhab-dir =~ ^#[a-zA-Z] ]]
++ cut -d= -f1
++ echo storageconfig=openhab-dir
+ param=storageconfig
+ [[ -v storageconfig ]]
+ [[ openhab-dir == *\ * ]]
+ echo storageconfig=openhab-dir
+ read -r line
+ [[ storagedir=/storage =~ ^(#)?[a-zA-Z] ]]
+ parsed=storagedir=/storage
+ [[ storagedir=/storage =~ ^#[a-zA-Z] ]]
++ cut -d= -f1
++ echo storagedir=/storage
+ param=storagedir
+ [[ -v storagedir ]]
+ [[ /storage == *\ * ]]
+ echo storagedir=/storage
+ read -r line
+ [[ storagetapes=15 =~ ^(#)?[a-zA-Z] ]]
+ parsed=storagetapes=15
+ [[ storagetapes=15 =~ ^#[a-zA-Z] ]]
++ cut -d= -f1
++ echo storagetapes=15
+ param=storagetapes
+ [[ -v storagetapes ]]
+ [[ 15 == *\ * ]]
+ echo storagetapes=15
+ read -r line
+ [[ storagecapacity=10240 =~ ^(#)?[a-zA-Z] ]]
+ parsed=storagecapacity=10240
+ [[ storagecapacity=10240 =~ ^#[a-zA-Z] ]]
++ cut -d= -f1
++ echo storagecapacity=10240
+ param=storagecapacity
+ [[ -v storagecapacity ]]
+ [[ 10240 == *\ * ]]
+ echo storagecapacity=10240
+ read -r line
+ [[ '' =~ ^(#)?[a-zA-Z] ]]
+ echo ''
+ read -r line
+ [[ # mail relay settings =~ ^(#)?[a-zA-Z] ]]
+ echo '# mail relay settings'
+ read -r line
+ [[ #adminmail=john.doe@foo.bar =~ ^(#)?[a-zA-Z] ]]
+ parsed='#adminmail=john.doe@foo.bar'
+ [[ #adminmail=john.doe@foo.bar =~ ^#[a-zA-Z] ]]
+ parsed=adminmail=john.doe@foo.bar
++ cut -d= -f1
++ echo adminmail=john.doe@foo.bar
+ param=adminmail
+ [[ -v adminmail ]]
+ echo '#adminmail=john.doe@foo.bar'
+ eval adminmail=john.doe@foo.bar
++ adminmail=john.doe@foo.bar
+ read -r line
+ [[ #relayuser=john.doe@foo.bar =~ ^(#)?[a-zA-Z] ]]
+ parsed='#relayuser=john.doe@foo.bar'
+ [[ #relayuser=john.doe@foo.bar =~ ^#[a-zA-Z] ]]
+ parsed=relayuser=john.doe@foo.bar
++ cut -d= -f1
++ echo relayuser=john.doe@foo.bar
+ param=relayuser
+ [[ -v relayuser ]]
+ echo '#relayuser=john.doe@foo.bar'
+ eval relayuser=john.doe@foo.bar
++ relayuser=john.doe@foo.bar
+ read -r line
+ [[ #relaypass=secret =~ ^(#)?[a-zA-Z] ]]
+ parsed='#relaypass=secret'
+ [[ #relaypass=secret =~ ^#[a-zA-Z] ]]
+ parsed=relaypass=secret
++ cut -d= -f1
++ echo relaypass=secret
+ param=relaypass
+ [[ -v relaypass ]]
+ echo '#relaypass=secret'
+ eval relaypass=secret
++ relaypass=secret
+ read -r line
+ [[ #smarthost=smtp.gmail.com =~ ^(#)?[a-zA-Z] ]]
+ parsed='#smarthost=smtp.gmail.com'
+ [[ #smarthost=smtp.gmail.com =~ ^#[a-zA-Z] ]]
+ parsed=smarthost=smtp.gmail.com
++ cut -d= -f1
++ echo smarthost=smtp.gmail.com
+ param=smarthost
+ [[ -v smarthost ]]
+ echo '#smarthost=smtp.gmail.com'
+ eval smarthost=smtp.gmail.com
++ smarthost=smtp.gmail.com
+ read -r line
+ [[ #smartport=587 =~ ^(#)?[a-zA-Z] ]]
+ parsed='#smartport=587'
+ [[ #smartport=587 =~ ^#[a-zA-Z] ]]
+ parsed=smartport=587
++ cut -d= -f1
++ echo smartport=587
+ param=smartport
+ [[ -v smartport ]]
+ echo '#smartport=587'
+ eval smartport=587
++ smartport=587
+ read -r line
+ [[ '' =~ ^(#)?[a-zA-Z] ]]
+ echo ''
+ read -r line
+ [[ # Tailscale VPN =~ ^(#)?[a-zA-Z] ]]
+ echo '# Tailscale VPN'
+ read -r line
+ [[ #preauthkey=tskey-xxxxxxxxxxxxxxxxx =~ ^(#)?[a-zA-Z] ]]
+ parsed='#preauthkey=tskey-xxxxxxxxxxxxxxxxx'
+ [[ #preauthkey=tskey-xxxxxxxxxxxxxxxxx =~ ^#[a-zA-Z] ]]
+ parsed=preauthkey=tskey-xxxxxxxxxxxxxxxxx
++ cut -d= -f1
++ echo preauthkey=tskey-xxxxxxxxxxxxxxxxx
+ param=preauthkey
+ [[ -v preauthkey ]]
+ echo '#preauthkey=tskey-xxxxxxxxxxxxxxxxx'
+ eval preauthkey=tskey-xxxxxxxxxxxxxxxxx
++ preauthkey=tskey-xxxxxxxxxxxxxxxxx
+ read -r line
+ [[ '' =~ ^(#)?[a-zA-Z] ]]
+ echo ''
+ read -r line
+ [[ # vim: filetype=sh =~ ^(#)?[a-zA-Z] ]]
+ echo '# vim: filetype=sh'
+ read -r line
+ config_ipv6
+ local aptConf=/etc/apt/apt.conf.d/S90force-ipv4
+ local sysctlConf=/etc/sysctl.d/99-sysctl.conf
+ [[ enable == \d\i\s\a\b\l\e ]]
+ [[ enable == \e\n\a\b\l\e ]]
+ grep -qs '^[[:space:]]*# Disable all IPv6 functionality' /etc/sysctl.d/99-sysctl.conf
+ [[ -n '' ]]
+ apt_update
+ PID_APT=21359
+ whiptail_check
++ command -v whiptail
+ [[ -x /usr/bin/whiptail ]]
+ load_create_config
+ local 'questionText=\nWelcome to openHABian!\n\nPlease provide the name of your Linux user i.e. the account you normally log in with.\n\nTypical user names are '\''pi'\'' or '\''ubuntu'\''.'
+ local input
+ [[ -f /etc/openhabian.conf ]]
+ apt-get update
++ timestamp
++ date +%F_%T_%Z
+ echo -n '2021-02-18_15:53:07_CET [openHABian] Loading configuration file '\''/etc/openhabian.conf'\''... '
2021-02-18_15:53:07_CET [openHABian] Loading configuration file '/etc/openhabian.conf'... ++ getent group openhabian
+ [[ ! -n openhabian:x:1001:openhabian,frontail ]]
+ id -u openhabian
+ source /etc/openhabian.conf
++ hostname=openhabian
++ username=openhabian
++ userpw=openhabian
++ timezone=Europe/Berlin
++ locales='en_US.UTF-8 de_DE.UTF-8'
++ system_default_locale=en_US.UTF-8
++ wifi_ssid=
++ wifi_psk=
++ wifi_country=
++ ipv6=enable
++ repositoryurl=https://github.com/openhab/openhabian.git
++ clonebranch=openHAB3
++ debugmode=maximum
++ hwarch=amd64
++ java_opt=Zulu11-64
++ frontailtheme=light
++ zraminstall=enable
++ hotspot=enable
++ storageconfig=openhab-dir
++ storagedir=/storage
++ storagetapes=15
++ storagecapacity=10240
+ echo OK
OK
+ openhabian_console_check
+ [[ -z 1 ]]
++ tput cols
+ [[ 246 -ge 120 ]]
+ return 0
+ openhabian_update_check
+ [[ -z 1 ]]
+ local branch
+ local introText
+ local unsupportedHWText
+ local unsupportedOSText
+ branch=openHAB3
+ introText='Additions, improvements or fixes were added to the openHABian configuration tool. Would you like to update now and benefit from them? The update will not automatically apply changes to your system.\n\nUpdating is recommended.'
+ unsupportedHWText='You are running on old hardware that is no longer officially supported.\nopenHABian may still work with this or not.\nWe recommend that you replace your hardware with a current SBC such as a RPi4/2GB.\nDo you really want to c ontinue using openHABian on this system?'
+ unsupportedOSText='You are running an old Linux release that is no longer officially supported.\nWe recommend upgrading to the most current stable release of your distribution (or current Long Term Support version for distributions that offer L TS).\nDo you really want to continue using openHABian on this system?'
++ timestamp
++ date +%F_%T_%Z
++ get_git_revision
++ local branch
++ local latestTag
++ local revCount
++ local shorthash
+++ git -C /opt/openhabian rev-parse --abbrev-ref HEAD
++ branch=openHAB3
+++ git -C /opt/openhabian describe --tags --abbrev=0
++ latestTag=patchday-20210119
+++ wc -l
+++ git -C /opt/openhabian log --oneline
++ revCount=1149
+++ git -C /opt/openhabian log --pretty=format:%h -n 1
++ shorthash=04378b8
++ echo '[openHAB3]patchday-20210119-1149(04378b8)'
+ echo '2021-02-18_15:53:07_CET [openHABian] openHABian configuration tool version: [openHAB3]patchday-20210119-1149(04378b8)'
2021-02-18_15:53:07_CET [openHABian] openHABian configuration tool version: [openHAB3]patchday-20210119-1149(04378b8)
++ timestamp
++ date +%F_%T_%Z
+ echo -n '2021-02-18_15:53:07_CET [openHABian] Checking for changes in origin branch openHAB3... '
2021-02-18_15:53:07_CET [openHABian] Checking for changes in origin branch openHAB3... + is_pine64
++ uname -r
+ [[ 4.19.0-14-amd64 =~ pine64-longsleep ]]
+ return 1
+ is_jessie
+ [[ buster == \j\e\s\s\i\e ]]
++ cat /etc/os-release
+ [[ PRETTY_NAME="Debian GNU/Linux 10 (buster)"
NAME="Debian GNU/Linux"
VERSION_ID="10"
VERSION="10 (buster)"
VERSION_CODENAME=buster
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/" =~ jessie ]]
+ return 1
+ is_xenial
+ [[ buster == \x\e\n\i\a\l ]]
++ cat /etc/os-release
+ [[ PRETTY_NAME="Debian GNU/Linux 10 (buster)"
NAME="Debian GNU/Linux"
VERSION_ID="10"
VERSION="10 (buster)"
VERSION_CODENAME=buster
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/" =~ xenial ]]
+ return 1
+ git -C /opt/openhabian config user.email openhabian@openHABian
+ git -C /opt/openhabian config user.name openhabian
+ git -C /opt/openhabian fetch --quiet origin
++ git -C /opt/openhabian rev-parse openHAB3
++ git -C /opt/openhabian rev-parse '@{u}'
+ [[ 04378b84f5c023624404ff67709e0e510d505e1e == 04378b84f5c023624404ff67709e0e510d505e1e ]]
+ echo OK
OK
+ openhabian_announcements
+ [[ -z 1 ]]
+ local newsFile
+ local readNews
+ newsFile=/opt/openhabian/NEWS.md
+ readNews=/opt/openhabian/docs/LASTNEWS.md
+ cmp --silent /opt/openhabian/NEWS.md /opt/openhabian/docs/LASTNEWS.md
++ timestamp
++ date +%F_%T_%Z
+ echo -n '2021-02-18_15:53:08_CET [openHABian] Switching to branch openHAB3... '
2021-02-18_15:53:08_CET [openHABian] Switching to branch openHAB3... + git -C /opt/openhabian checkout --quiet openHAB3
+ echo OK
OK
+ show_main_menu
+ local choice
+ local version
+++ get_git_revision
+++ local branch
+++ local latestTag
+++ local revCount
+++ local shorthash
++++ git -C /opt/openhabian rev-parse --abbrev-ref HEAD
+++ branch=openHAB3
++++ git -C /opt/openhabian describe --tags --abbrev=0
+++ latestTag=patchday-20210119
++++ wc -l
++++ git -C /opt/openhabian log --oneline
+++ revCount=1149
++++ git -C /opt/openhabian log --pretty=format:%h -n 1
+++ shorthash=04378b8
+++ echo '[openHAB3]patchday-20210119-1149(04378b8)'
++ whiptail --title 'Welcome to the openHABian Configuration Tool [openHAB3]patchday-20210119-1149(04378b8)' --menu 'Setup Options' 18 116 11 --cancel-button Exit --ok-button Execute '00 | About openHABian' 'Information about the openHABian proje ct and this tool' '' '' '01 | Select Branch' 'Select the openHABian config tool version ("branch") to run' '02 | Upgrade System' 'Upgrade all installed software packages (incl. openHAB) to their latest version' '03 | Install openHAB' 'Install or  upgrade to openHAB release 3' '' '' '10 | Apply Improvements' 'Apply the latest improvements to the basic openHABian setup ►' '20 | Optional Components' 'Choose from a set of optional software components ►' '30 | System Settings' 'A range of syst em and hardware related configuration steps ►' '40 | openHAB Related' 'Switch the installed openHAB version or apply tweaks ►' '50 | Backup/Restore' 'Manage backups and restore your system ►'
+ choice='10 | Apply Improvements'
+ RET=0
+ '[' 0 -eq 1 ']'
+ '[' 0 -eq 255 ']'
+ [[ 10 | Apply Improvements == '' ]]
+ [[ 10 | Apply Improvements == \0\0* ]]
+ [[ 10 | Apply Improvements == \0\1* ]]
+ [[ 10 | Apply Improvements == \0\2* ]]
+ [[ 10 | Apply Improvements == \0\3* ]]
+ [[ 10 | Apply Improvements == \1\0* ]]
+++ get_git_revision
+++ local branch
+++ local latestTag
+++ local revCount
+++ local shorthash
++++ git -C /opt/openhabian rev-parse --abbrev-ref HEAD
+++ branch=openHAB3
++++ git -C /opt/openhabian describe --tags --abbrev=0
+++ latestTag=patchday-20210119
++++ wc -l
++++ git -C /opt/openhabian log --oneline
+++ revCount=1149
++++ git -C /opt/openhabian log --pretty=format:%h -n 1
+++ shorthash=04378b8
+++ echo '[openHAB3]patchday-20210119-1149(04378b8)'
++ whiptail --title 'Welcome to the openHABian Configuration Tool [openHAB3]patchday-20210119-1149(04378b8)' --menu 'Apply Improvements' 13 116 6 --cancel-button Back --ok-button Execute '11 | Packages' 'Install needed and recommended system pack ages' '12 | Bash&Vim Settings' 'Update customized openHABian settings for bash, vim and nano' '13 | System Tweaks' 'Add /srv mounts and update settings typical for openHAB' '14 | Fix Permissions' 'Update file permissions of commonly used files an d folders' '15 | FireMotD' 'Upgrade the program behind the system overview on SSH login' '16 | Samba' 'Install the Samba file sharing service and set up openHAB shares'
+ choice2='11 | Packages'
+ '[' 0 -eq 1 ']'
+ '[' 1 -eq 255 ']'
+ wait_for_apt_to_finish_update
++ timestamp
++ date +%F_%T_%Z
+ echo -n '2021-02-18_15:53:14_CET [openHABian] Updating Linux package information... '
2021-02-18_15:53:14_CET [openHABian] Updating Linux package information... + [[ -z 21359 ]]
+ tail --pid=21359 -f /dev/null
+ echo OK
OK
+ case "$choice2" in
+ basic_packages
++ timestamp
++ date +%F_%T_%Z
+ echo -n '2021-02-18_15:53:14_CET [openHABian] Installing basic can'\''t-be-wrong packages (screen, vim, ...)... '
2021-02-18_15:53:14_CET [openHABian] Installing basic can't-be-wrong packages (screen, vim, ...)... ++ command -v raspi-config
+ [[ -x '' ]]
+ cond_redirect apt-get install --yes screen vim nano mc vfu bash-completion htop curl wget multitail git util-linux bzip2 zip unzip xz-utils software-properties-common man-db whiptail acl usbutils dirmngr arping
+ [[ -n '' ]]
+ echo -e '\n\033[90;01m$ apt-get install --yes screen vim nano mc vfu bash-completion htop curl wget multitail git util-linux bzip2 zip unzip xz-utils software-properties-common man-db whiptail acl usbutils dirmngr arping \033[39;49;00m'

$ apt-get install --yes screen vim nano mc vfu bash-completion htop curl wget multitail git util-linux bzip2 zip unzip xz-utils software-properties-common man-db whiptail acl usbutils dirmngr arping
+ apt-get install --yes screen vim nano mc vfu bash-completion htop curl wget multitail git util-linux bzip2 zip unzip xz-utils software-properties-common man-db whiptail acl usbutils dirmngr arping
Reading package lists... Done
Building dependency tree
Reading state information... Done
acl is already the newest version (2.2.53-4).
arping is already the newest version (2.19-6).
bash-completion is already the newest version (1:2.8-6).
bzip2 is already the newest version (1.0.6-9.2~deb10u1).
curl is already the newest version (7.64.0-4+deb10u1).
git is already the newest version (1:2.20.1-2+deb10u3).
dirmngr is already the newest version (2.2.12-1+deb10u1).
htop is already the newest version (2.2.0-1+b1).
man-db is already the newest version (2.8.5-2).
mc is already the newest version (3:4.8.22-1).
multitail is already the newest version (6.4.2-3+b1).
nano is already the newest version (3.2-3).
whiptail is already the newest version (0.52.20-8).
screen is already the newest version (4.6.2-3).
software-properties-common is already the newest version (0.96.20.2-2).
unzip is already the newest version (6.0-23+deb10u2).
usbutils is already the newest version (1:010-3).
util-linux is already the newest version (2.33.1-0.1).
vfu is already the newest version (4.16+repack-1+b1).
vim is already the newest version (2:8.1.0875-5).
wget is already the newest version (1.20.1-1.1).
xz-utils is already the newest version (5.2.4-1).
zip is already the newest version (3.0-11+b1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
+ return 0
+ echo OK
OK
+ needed_packages
+ local 'bluetoothPackages=bluez python3-dev libbluetooth-dev raspberrypi-sys-mods pi-bluetooth'
++ timestamp
++ date +%F_%T_%Z
+ echo -n '2021-02-18_15:53:15_CET [openHABian] Installing additional needed packages... '
2021-02-18_15:53:15_CET [openHABian] Installing additional needed packages... + cond_redirect apt-get install --yes apt-transport-https bc sysstat jq moreutils avahi-daemon python3 python3-pip python3-wheel python3-setuptools avahi-autoipd fontco nfig
+ [[ -n '' ]]
+ echo -e '\n\033[90;01m$ apt-get install --yes apt-transport-https bc sysstat jq moreutils avahi-daemon python3 python3-pip python3-wheel python3-setuptools avahi-autoipd fontconfig \033[39;49;00m'

$ apt-get install --yes apt-transport-https bc sysstat jq moreutils avahi-daemon python3 python3-pip python3-wheel python3-setuptools avahi-autoipd fontconfig
+ apt-get install --yes apt-transport-https bc sysstat jq moreutils avahi-daemon python3 python3-pip python3-wheel python3-setuptools avahi-autoipd fontconfig
Reading package lists... Done
Building dependency tree
Reading state information... Done
apt-transport-https is already the newest version (1.8.2.2).
avahi-autoipd is already the newest version (0.7-4+b1).
avahi-daemon is already the newest version (0.7-4+b1).
bc is already the newest version (1.07.1-2+b1).
fontconfig is already the newest version (2.13.1-2).
jq is already the newest version (1.5+dfsg-2+b1).
moreutils is already the newest version (0.62-1).
python3-pip is already the newest version (18.1-5).
python3-setuptools is already the newest version (40.8.0-1).
python3 is already the newest version (3.7.3-1).
sysstat is already the newest version (12.0.3-2).
python3-wheel is already the newest version (0.32.3-2).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
+ return 0
+ echo OK
OK
+ is_pizerow
+ [[ pi4 == \p\i\0\w ]]
+ grep -q '^Revision\s*:\s*[ 123][0-9a-fA-F][0-9a-fA-F][0-9a-fA-F]0[cC][0-9a-fA-F]$' /proc/cpuinfo
+ return 1
+ is_pithree
+ [[ pi4 == \p\i\3 ]]
+ grep -q '^Revision\s*:\s*[ 123][0-9a-fA-F][0-9a-fA-F][0-9a-fA-F]0[8dDeE][0-9a-fA-F]$' /proc/cpuinfo
+ return 1
+ is_pithreeplus
+ [[ pi4 == \p\i\3\+ ]]
+ grep -q '^Revision\s*:\s*[ 123][0-9a-fA-F][0-9a-fA-F][0-9a-fA-F]0[dDeE][0-9a-fA-F]$' /proc/cpuinfo
+ return 1
+ is_pifour
+ [[ pi4 == \p\i\4 ]]
+ return 0
+ [[ -z '' ]]
++ timestamp
++ date +%F_%T_%Z
+ echo -n '2021-02-18_15:53:16_CET [openHABian] Installing pigpio package... '
2021-02-18_15:53:16_CET [openHABian] Installing pigpio package... + cond_redirect apt-get install --yes pigpio
+ [[ -n '' ]]
+ echo -e '\n\033[90;01m$ apt-get install --yes pigpio \033[39;49;00m'

$ apt-get install --yes pigpio
+ apt-get install --yes pigpio
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package pigpio is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'pigpio' has no installation candidate
+ return 100
+ echo FAILED
FAILED
+ return 1
+ '[' 1 -ne 0 ']'
+ whiptail --msgbox 'There was an error or interruption during the execution of:\n  "10 | Apply Improvements"\n\nPlease try again. If the error persists, please read /opt/openhabian/docs/openhabian-DEBUG.md or https://github.com/openhab/openhabia n/blob/master/docs/openhabian-DEBUG.md how to proceed.' 14 80
+ return 0
+ true
+ show_main_menu
+ local choice
+ local version
+++ get_git_revision
+++ local branch
+++ local latestTag
+++ local revCount
+++ local shorthash
++++ git -C /opt/openhabian rev-parse --abbrev-ref HEAD
+++ branch=openHAB3
++++ git -C /opt/openhabian describe --tags --abbrev=0
+++ latestTag=patchday-20210119
++++ wc -l
++++ git -C /opt/openhabian log --oneline
+++ revCount=1149
++++ git -C /opt/openhabian log --pretty=format:%h -n 1
+++ shorthash=04378b8
+++ echo '[openHAB3]patchday-20210119-1149(04378b8)'
++ whiptail --title 'Welcome to the openHABian Configuration Tool [openHAB3]patchday-20210119-1149(04378b8)' --menu 'Setup Options' 18 116 11 --cancel-button Exit --ok-button Execute '00 | About openHABian' 'Information about the openHABian proje ct and this tool' '' '' '01 | Select Branch' 'Select the openHABian config tool version ("branch") to run' '02 | Upgrade System' 'Upgrade all installed software packages (incl. openHAB) to their latest version' '03 | Install openHAB' 'Install or  upgrade to openHAB release 3' '' '' '10 | Apply Improvements' 'Apply the latest improvements to the basic openHABian setup ►' '20 | Optional Components' 'Choose from a set of optional software components ►' '30 | System Settings' 'A range of syst em and hardware related configuration steps ►' '40 | openHAB Related' 'Switch the installed openHAB version or apply tweaks ►' '50 | Backup/Restore' 'Manage backups and restore your system ►'
+ choice=
+ RET=1
+ '[' 1 -eq 1 ']'
+ return 255
+ system_check_default_password
+ is_pi
+ is_pifour
+ [[ pi4 == \p\i\4 ]]
+ return 0
+ return 0
+ local algo
+ local defaultPassword
+ local defaultUser
+ local generatedPassword
+ local introText
+ local originalPassword
+ local salt
+ is_pi
+ is_pifour
+ [[ pi4 == \p\i\4 ]]
+ return 0
+ return 0
+ id -u pi
+ is_pi
+ is_pifour
+ [[ pi4 == \p\i\4 ]]
+ return 0
+ return 0
+ defaultUser=openhabian
+ defaultPassword=openhabian
++ cut -d: -f2
++ grep -w openhabian /etc/shadow
+ originalPassword='#####removed#####
++ cut '-d$' -f2
++ echo '#####removed#####'
+ algo=6
+ introText='The default password was detected on your system! That is a serious security concern. Bad guys or malicious programs in your subnet are able to gain root access!\n\nPlease set a strong password by typing the command '\''passwd openha bian'\''!'
++ cut '-d$' -f3
++ echo '#####removed#####'
+ salt=kgf0Rmy5
+ export algo defaultPassword salt
++ perl -le 'print crypt("$ENV{defaultPassword}","\$$ENV{algo}\$$ENV{salt}\$")'
+ generatedPassword='#####removed#####'
++ timestamp
++ date +%F_%T_%Z
+ echo -n '2021-02-18_15:53:20_CET [openHABian] Checking for default openHABian username:password combination... '
2021-02-18_15:53:20_CET [openHABian] Checking for default openHABian username:password combination... ++ id -u openhabian
+ [[ -n 1001 ]]
+ [[ #####removed##### == #####removed##### ]]
+ echo OK
OK
++ timestamp
++ date +%F_%T_%Z
+ echo -e '2021-02-18_15:53:20_CET [openHABian] We hope you got what you came for! See you again soon ;)'
2021-02-18_15:53:20_CET [openHABian] We hope you got what you came for! See you again soon ;)
+ cd /root
[15:53:20] root@openhab:

Steps taken to get this error:
-) start “openhabian-config” on command line
-) Navigate to “Apply Improvements”
-) Choose “Packages”
-) After the error was displayed, select “ok” and exit the tool

why did you try to install packages on a system that has these ?
You would have need to apt update (menu 02) the install only OH3 from menu 03.

Those are not openHABian install instructions.
openHABian is not openHAB.
So again: how did you install openHABian ?

Edit openhabian.conf to have hw=x86 and hwarch=x86_64 and retry.

Normally you must not install packages, they are already on your system but try to see if that setting makes a difference.

Faking the hardware did not change the behaviour, however I don’t think it’s necessary to continue troubleshooting this issue, as it’s not relevant and for example “Fix permissions” under “Apply improvements” works. Thank you.