openHABian upgrading hangs

I upgraded using the upgrade tool. Everything went reasonably well. Now, however, after a few days of things being fine I cannot use openhabian-config to update the system. I get a frozen screen at
Updating repositories and upgrading installed packages...
And then only after I hit a key or press the mouse button (on Putty), do I get an “OK” on that line and then I get put back to the openhabian-config menu. If I run apt update, I see that openhabian-config has not updated the system.
Any ideas here?

debugmode=maximum and try again

and your post was off-topic on OH3 so I moved it

Thanks Markus. Once I put debug mode to maximum, it prompted me about Java and did not hang but still did not update. I think the issue has something to do with Java versions, but I don’t know what to do to fix it. Just to be clear, on the actual functionality side of OpenHAB everything is working fine.

[09:55:12] openhabian@openhab:~$ sudo openhabian-config
2020-12-31_09:55:15_EST [openHABian] Checking for root privileges... OK
+ export UNATTENDED MIGRATION 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/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=/home/openhabian
+ cd /opt
+ update_openhabian_conf
+ local config=/etc/openhabian.conf
+ local referenceConfig=/opt/openhabian/openhabian.conf.dist
+ cp /etc/openhabian.conf /etc/openhabian.conf.BAK
+ cp /dev/null /etc/openhabian.conf
+ read -r line
+ [[ # Modify your openHABian settings =~ ^# ]]
+ echo '# Modify your openHABian settings'
+ read -r line
+ [[ # Handle with care, only touch if you need to!! =~ ^# ]]
+ echo '# Handle with care, only touch if you need to!!'
+ read -r line
+ [[ # This file will only be used on unattended initial install. =~ ^# ]]
+ 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. =~ ^# ]]
+ echo '# If you want to change anything after unattended install completed, use menu in openhabian-config.'
+ read -r line
+ [[ '' =~ ^# ]]
+ [[ -z '' ]]
+ echo ''
+ read -r line
+ [[ # Hostname to set this one to =~ ^# ]]
+ echo '# Hostname to set this one to'
+ read -r line
+ [[ hostname=openHABianDevice =~ ^# ]]
+ [[ -z hostname=openHABianDevice ]]
++ echo hostname=openHABianDevice
++ cut -d= -f1
+ param=hostname
+ [[ -z x ]]
+ [[ openhab == *\ * ]]
+ echo hostname=openhab
+ read -r line
+ [[ # if it exists, the default user (with its working environment) will be renamed to this username given here ... =~ ^# ]]
+ echo '# if it exists, the default user (with its working environment) will be renamed to this username given here ...'
+ read -r line
+ [[ username=openhabian =~ ^# ]]
+ [[ -z username=openhabian ]]
++ echo username=openhabian
++ cut -d= -f1
+ param=username
+ [[ -z x ]]
+ [[ openhabian == *\ * ]]
+ echo username=openhabian
+ read -r line
+ [[ # and given this password. The password will be removed from this file after completion for security reasons. =~ ^# ]]
+ echo '# and given this password. The password will be removed from this file after completion for security reasons.'
+ read -r line
+ [[ userpw=openhabian =~ ^# ]]
+ [[ -z userpw=openhabian ]]
++ echo userpw=openhabian
++ cut -d= -f1
+ param=userpw
+ [[ -z x ]]
+ [[ openhabian == *\ * ]]
+ echo userpw=openhabian
+ read -r line
+ [[ # set this to download a SSH key and authorize the owner to login as the admin user =~ ^# ]]
+ 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 =~ ^# ]]
+ echo '#adminkeyurl=https://github.com/openhab/openhabian/adminkey.pub'
+ read -r line
+ [[ '' =~ ^# ]]
+ [[ -z '' ]]
+ echo ''
+ read -r line
+ [[ # Language and timezone. See Debian documentation for valid values. =~ ^# ]]
+ echo '# Language and timezone. See Debian documentation for valid values.'
+ read -r line
+ [[ timezone=Europe/Berlin =~ ^# ]]
+ [[ -z timezone=Europe/Berlin ]]
++ echo timezone=Europe/Berlin
++ cut -d= -f1
+ param=timezone
+ [[ -z x ]]
+ [[ Europe/Berlin == *\ * ]]
+ echo timezone=Europe/Berlin
+ read -r line
+ [[ locales="en_US.UTF-8 de_DE.UTF-8" =~ ^# ]]
+ [[ -z locales="en_US.UTF-8 de_DE.UTF-8" ]]
++ echo 'locales="en_US.UTF-8 de_DE.UTF-8"'
++ cut -d= -f1
+ param=locales
+ [[ -z x ]]
+ [[ 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" =~ ^# ]]
+ [[ -z system_default_locale="en_US.UTF-8" ]]
++ echo 'system_default_locale="en_US.UTF-8"'
++ cut -d= -f1
+ param=system_default_locale
+ [[ -z x ]]
+ [[ en_US.UTF-8 == *\ * ]]
+ echo system_default_locale=en_US.UTF-8
+ read -r line
+ [[ '' =~ ^# ]]
+ [[ -z '' ]]
+ echo ''
+ read -r line
+ [[ # WiFi settings. An ethernet connection is recommended. =~ ^# ]]
+ 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 =~ ^# ]]
+ 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. =~ ^# ]]
+ 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 =~ ^# ]]
+ 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. =~ ^# ]]
+ echo '# have your WiFi remain unchanged/uninitialized. Make sure your Ethernet works.'
+ read -r line
+ [[ # ATTENTION: you need to escape these special characters: $, `, ", \, (newline) =~ ^# ]]
+ echo '# ATTENTION: you need to escape these special characters: $, `, ", \, (newline)'
+ read -r line
+ [[ # 'Escaping' means to put an additional \ in front of that character =~ ^# ]]
+ echo '# '\''Escaping'\'' means to put an additional \ in front of that character'
+ read -r line
+ [[ wifi_ssid="" =~ ^# ]]
+ [[ -z wifi_ssid="" ]]
++ echo 'wifi_ssid=""'
++ cut -d= -f1
+ param=wifi_ssid
+ [[ -z x ]]
+ [[ '' == *\ * ]]
+ echo wifi_ssid=
+ read -r line
+ [[ wifi_psk="" =~ ^# ]]
+ [[ -z wifi_psk="" ]]
++ echo 'wifi_psk=""'
++ cut -d= -f1
+ param=wifi_psk
+ [[ -z x ]]
+ [[ '' == *\ * ]]
+ echo wifi_psk=
+ read -r line
+ [[ '' =~ ^# ]]
+ [[ -z '' ]]
+ echo ''
+ read -r line
+ [[ # Wi-Fi setting. Select a two-letter country code suitable for your location =~ ^# ]]
+ echo '# Wi-Fi setting. Select a two-letter country code suitable for your location'
+ read -r line
+ [[ # E.g. US (default), DE, AU, NZ... =~ ^# ]]
+ echo '# E.g. US (default), DE, AU, NZ...'
+ read -r line
+ [[ # You may infringe on local legislature otherwise =~ ^# ]]
+ 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 =~ ^# ]]
+ echo '# See https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2 or /usr/share/zoneinfo/zone.tab'
+ read -r line
+ [[ wifi_country="" =~ ^# ]]
+ [[ -z wifi_country="" ]]
++ echo 'wifi_country=""'
++ cut -d= -f1
+ param=wifi_country
+ [[ -z x ]]
+ [[ '' == *\ * ]]
+ echo wifi_country=
+ read -r line
+ [[ '' =~ ^# ]]
+ [[ -z '' ]]
+ echo ''
+ read -r line
+ [[ # Eventually disable all IPv6 e.g. on installation problems =~ ^# ]]
+ echo '# Eventually disable all IPv6 e.g. on installation problems'
+ read -r line
+ [[ # values: "enable", "disable" =~ ^# ]]
+ echo '# values: "enable", "disable"'
+ read -r line
+ [[ ipv6=enable =~ ^# ]]
+ [[ -z ipv6=enable ]]
++ echo ipv6=enable
++ cut -d= -f1
+ param=ipv6
+ [[ -z x ]]
+ [[ enable == *\ * ]]
+ echo ipv6=enable
+ read -r line
+ [[ '' =~ ^# ]]
+ [[ -z '' ]]
+ echo ''
+ read -r line
+ [[ # repo and branch to clone from =~ ^# ]]
+ echo '# repo and branch to clone from'
+ read -r line
+ [[ repositoryurl=https://github.com/openhab/openhabian.git =~ ^# ]]
+ [[ -z repositoryurl=https://github.com/openhab/openhabian.git ]]
++ cut -d= -f1
++ echo repositoryurl=https://github.com/openhab/openhabian.git
+ param=repositoryurl
+ [[ -z x ]]
+ [[ https://github.com/openhab/openhabian.git == *\ * ]]
+ echo repositoryurl=https://github.com/openhab/openhabian.git
+ read -r line
+ [[ clonebranch=openHAB3 =~ ^# ]]
+ [[ -z clonebranch=openHAB3 ]]
++ echo clonebranch=openHAB3
++ cut -d= -f1
+ param=clonebranch
+ [[ -z x ]]
+ [[ openHAB3 == *\ * ]]
+ echo clonebranch=openHAB3
+ read -r line
+ [[ '' =~ ^# ]]
+ [[ -z '' ]]
+ echo ''
+ read -r line
+ [[ # debug verbosity mode =~ ^# ]]
+ echo '# debug verbosity mode'
+ read -r line
+ [[ # off, on (verbose output in log) or maximum (show every command) =~ ^# ]]
+ echo '# off, on (verbose output in log) or maximum (show every command)'
+ read -r line
+ [[ debugmode=off =~ ^# ]]
+ [[ -z debugmode=off ]]
++ echo debugmode=off
++ cut -d= -f1
+ param=debugmode
+ [[ -z x ]]
+ [[ maximum == *\ * ]]
+ echo debugmode=maximum
+ read -r line
+ [[ '' =~ ^# ]]
+ [[ -z '' ]]
+ echo ''
+ read -r line
+ [[ # fake hardware =~ ^# ]]
+ echo '# fake hardware'
+ read -r line
+ [[ # force treating your box as if it was a ... =~ ^# ]]
+ 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 =~ ^# ]]
+ echo '# pi4, pi4_8gb, cm4, pi400, pi3, cm3, pi3+, cm3+, pi2, pi1, cm1, pi0, pi0w'
+ read -r line
+ [[ #hw=pi4 =~ ^# ]]
+ echo '#hw=pi4'
+ read -r line
+ [[ '' =~ ^# ]]
+ [[ -z '' ]]
+ echo ''
+ read -r line
+ [[ # Hardware architecture =~ ^# ]]
+ echo '# Hardware architecture'
+ read -r line
+ [[ # x86_64, amd64, armv6l, armv7l, aarch64, arm64 =~ ^# ]]
+ echo '# x86_64, amd64, armv6l, armv7l, aarch64, arm64'
+ read -r line
+ [[ #hwarch=armv7l =~ ^# ]]
+ echo '#hwarch=armv7l'
+ read -r line
+ [[ '' =~ ^# ]]
+ [[ -z '' ]]
+ echo ''
+ read -r line
+ [[ # OS Release =~ ^# ]]
+ echo '# OS Release'
+ read -r line
+ [[ # ubuntu, raspbian, debian =~ ^# ]]
+ echo '# ubuntu, raspbian, debian'
+ read -r line
+ [[ # stretch, buster =~ ^# ]]
+ echo '# stretch, buster'
+ read -r line
+ [[ # bionic, focal =~ ^# ]]
+ echo '# bionic, focal'
+ read -r line
+ [[ #release=buster =~ ^# ]]
+ echo '#release=buster'
+ read -r line
+ [[ '' =~ ^# ]]
+ [[ -z '' ]]
+ echo ''
+ read -r line
+ [[ # Java architecture mode =~ ^# ]]
+ echo '# Java architecture mode'
+ read -r line
+ [[ # Valid arguments: "Adopt11", "Zulu8-32", "Zulu8-64", "Zulu11-32", or "Zulu11-64" =~ ^# ]]
+ echo '# Valid arguments: "Adopt11", "Zulu8-32", "Zulu8-64", "Zulu11-32", or "Zulu11-64"'
+ read -r line
+ [[ java_opt=Zulu11-32 =~ ^# ]]
+ [[ -z java_opt=Zulu11-32 ]]
++ echo java_opt=Zulu11-32
++ cut -d= -f1
+ param=java_opt
+ [[ -z x ]]
+ [[ Zulu11-64 == *\ * ]]
+ echo java_opt=Zulu11-64
+ read -r line
+ [[ '' =~ ^# ]]
+ [[ -z '' ]]
+ echo ''
+ read -r line
+ [[ # install ZRAM per default, set to "disable" to skip installation =~ ^# ]]
+ echo '# install ZRAM per default, set to "disable" to skip installation'
+ read -r line
+ [[ #zraminstall=enable =~ ^# ]]
+ echo '#zraminstall=enable'
+ read -r line
+ [[ '' =~ ^# ]]
+ [[ -z '' ]]
+ echo ''
+ read -r line
+ [[ # start comitup hotspot if internet is not reachable =~ ^# ]]
+ echo '# start comitup hotspot if internet is not reachable'
+ read -r line
+ [[ hotspot=enable =~ ^# ]]
+ [[ -z hotspot=enable ]]
++ echo hotspot=enable
++ cut -d= -f1
+ param=hotspot
+ [[ -z x ]]
+ [[ enable == *\ * ]]
+ echo hotspot=enable
+ read -r line
+ [[ '' =~ ^# ]]
+ [[ -z '' ]]
+ echo ''
+ read -r line
+ [[ # external SD card device to backup and mirror the internal SD card to =~ ^# ]]
+ echo '# external SD card device to backup and mirror the internal SD card to'
+ read -r line
+ [[ #backupdrive=/dev/sda =~ ^# ]]
+ echo '#backupdrive=/dev/sda'
+ read -r line
+ [[ #storageconfig=openhab-dir =~ ^# ]]
+ echo '#storageconfig=openhab-dir'
+ read -r line
+ [[ #storagedir=/storage =~ ^# ]]
+ echo '#storagedir=/storage'
+ read -r line
+ [[ #storagetapes=15 =~ ^# ]]
+ echo '#storagetapes=15'
+ read -r line
+ [[ #storagecapacity=1024 =~ ^# ]]
+ echo '#storagecapacity=1024'
+ read -r line
+ [[ '' =~ ^# ]]
+ [[ -z '' ]]
+ echo ''
+ read -r line
+ [[ # mail relay settings =~ ^# ]]
+ echo '# mail relay settings'
+ read -r line
+ [[ #adminmail=john.doe@foo.bar =~ ^# ]]
+ echo '#adminmail=john.doe@foo.bar'
+ read -r line
+ [[ #relayuser=john.doe@foo.bar =~ ^# ]]
+ echo '#relayuser=john.doe@foo.bar'
+ read -r line
+ [[ #relaypass=secret =~ ^# ]]
+ echo '#relaypass=secret'
+ read -r line
+ [[ #smarthost=smtp.gmail.com =~ ^# ]]
+ echo '#smarthost=smtp.gmail.com'
+ read -r line
+ [[ #smartport=587 =~ ^# ]]
+ echo '#smartport=587'
+ read -r line
+ [[ '' =~ ^# ]]
+ [[ -z '' ]]
+ echo ''
+ read -r line
+ [[ # Tailscale VPN =~ ^# ]]
+ echo '# Tailscale VPN'
+ read -r line
+ [[ #preauthkey=tskey-xxxxxxxxxxxxxxxxx =~ ^# ]]
+ echo '#preauthkey=tskey-xxxxxxxxxxxxxxxxx'
+ read -r line
+ [[ '' =~ ^# ]]
+ [[ -z '' ]]
+ echo ''
+ read -r line
+ [[ # vim: filetype=sh =~ ^# ]]
+ echo '# vim: filetype=sh'
+ read -r line
+ config_ipv6
+ local aptConf=/etc/apt/apt.conf/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=10415
+ whiptail_check
+ apt-get update
++ 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 ]]
++ timestamp
++ date +%F_%T_%Z
+ echo -n '2020-12-31_09:55:16_EST [openHABian] Loading configuration file '\''/etc/openhabian.conf'\''... '
2020-12-31_09:55:16_EST [openHABian] Loading configuration file '/etc/openhabian.conf'... ++ getent group openhabian
+ [[ ! -n openhabian:x:1000:openhabian ]]
+ id -u openhabian
+ source /etc/openhabian.conf
++ hostname=openhab
++ 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
++ java_opt=Zulu11-64
++ hotspot=enable
+ echo OK
OK
+ openhabian_console_check
+ [[ -z 1 ]]
++ tput cols
+ [[ 160 -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 continue 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 LTS).\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=v1.6.2
+++ git -C /opt/openhabian log --oneline
+++ wc -l
++ revCount=1083
+++ git -C /opt/openhabian log --pretty=format:%h -n 1
++ shorthash=38e50ad
++ echo '[openHAB3]v1.6.2-1083(38e50ad)'
+ echo '2020-12-31_09:55:16_EST [openHABian] openHABian configuration tool version: [openHAB3]v1.6.2-1083(38e50ad)'
2020-12-31_09:55:16_EST [openHABian] openHABian configuration tool version: [openHAB3]v1.6.2-1083(38e50ad)
++ timestamp
++ date +%F_%T_%Z
+ echo -n '2020-12-31_09:55:16_EST [openHABian] Checking for changes in origin branch openHAB3... '
2020-12-31_09:55:16_EST [openHABian] Checking for changes in origin branch openHAB3... + is_pine64
++ uname -r
+ [[ 5.4.79-v7+ =~ pine64-longsleep ]]
+ return 1
+ is_jessie
+ [[ '' == \j\e\s\s\i\e ]]
++ cat /etc/os-release
+ [[ PRETTY_NAME="Raspbian GNU/Linux 10 (buster)"
NAME="Raspbian GNU/Linux"
VERSION_ID="10"
VERSION="10 (buster)"
VERSION_CODENAME=buster
ID=raspbian
ID_LIKE=debian
HOME_URL="http://www.raspbian.org/"
SUPPORT_URL="http://www.raspbian.org/RaspbianForums"
BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs" =~ jessie ]]
+ return 1
+ is_xenial
+ [[ '' == \x\e\n\i\a\l ]]
++ cat /etc/os-release
+ [[ PRETTY_NAME="Raspbian GNU/Linux 10 (buster)"
NAME="Raspbian GNU/Linux"
VERSION_ID="10"
VERSION="10 (buster)"
VERSION_CODENAME=buster
ID=raspbian
ID_LIKE=debian
HOME_URL="http://www.raspbian.org/"
SUPPORT_URL="http://www.raspbian.org/RaspbianForums"
BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs" =~ 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}'
+ [[ 38e50ad94c905a196b14da31482cfb871b3b3f1a == 38e50ad94c905a196b14da31482cfb871b3b3f1a ]]
+ 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 '2020-12-31_09:55:17_EST [openHABian] Switching to branch openHAB3... '
2020-12-31_09:55:17_EST [openHABian] Switching to branch openHAB3... + git -C /opt/openhabian checkout --quiet openHAB3
+ echo OK
OK
+ [[ -n '' ]]
+ 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=v1.6.2
++++ git -C /opt/openhabian log --oneline
++++ wc -l
+++ revCount=1083
++++ git -C /opt/openhabian log --pretty=format:%h -n 1
+++ shorthash=38e50ad
+++ echo '[openHAB3]v1.6.2-1083(38e50ad)'
++ whiptail --title 'Welcome to the openHABian Configuration Tool [openHAB3]v1.6.2-1083(38e50ad)' --menu 'Setup Options' 18 116 11 --cancel-button Exit --ok-button Execute '00 | About openHABian' 'Information about the openHABian project 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 system 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='02 | Upgrade System'
+ RET=0
+ '[' 0 -eq 1 ']'
+ '[' 0 -eq 255 ']'
+ [[ 02 | Upgrade System == '' ]]
+ [[ 02 | Upgrade System == \0\0* ]]
+ [[ 02 | Upgrade System == \0\1* ]]
+ [[ 02 | Upgrade System == \0\2* ]]
+ wait_for_apt_to_finish_update
++ timestamp
++ date +%F_%T_%Z
+ echo -n '2020-12-31_09:55:20_EST [openHABian] Updating Linux package information... '
2020-12-31_09:55:20_EST [openHABian] Updating Linux package information... + [[ -z 10415 ]]
+ tail --pid=10415 -f /dev/null
+ echo OK
OK
+ system_upgrade
++ timestamp
++ date +%F_%T_%Z
+ echo -n '2020-12-31_09:55:34_EST [openHABian] Updating repositories and upgrading installed packages... '
2020-12-31_09:55:34_EST [openHABian] Updating repositories and upgrading installed packages... + cond_redirect apt-get upgrade --yes
+ [[ -n '' ]]
+ echo -e '\n\033[90;01m$ apt-get upgrade --yes \033[39;49;00m'

$ apt-get upgrade --yes
+ apt-get upgrade --yes
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages have been kept back:
  binutils binutils-arm-linux-gnueabihf binutils-common libbinutils
0 upgraded, 0 newly installed, 0 to remove and 4 not upgraded.
+ return 0
+ cond_redirect java_install_or_update Zulu11-64
+ [[ -n '' ]]
+ echo -e '\n\033[90;01m$ java_install_or_update Zulu11-64 \033[39;49;00m'

$ java_install_or_update Zulu11-64
+ java_install_or_update Zulu11-64
+ local branch
++ git -C /opt/openhabian rev-parse --abbrev-ref HEAD
+ branch=openHAB3
++ command -v java
+ [[ -x /usr/bin/java ]]
++ java -version
+ [[ openjdk version "11.0.9" 2020-10-20 LTS
OpenJDK Runtime Environment Zulu11.43+88-CA (build 11.0.9+11-LTS)
OpenJDK Client VM Zulu11.43+88-CA (build 11.0.9+11-LTS, mixed mode) == *\Z\u\l\u* ]]
++ command -v java
+ [[ -x /usr/bin/java ]]
+ [[ Zulu11-64 == \A\d\o\p\t\1\1 ]]
+ [[ Zulu11-64 != \A\d\o\p\t\1\1 ]]
++ java -version
+ [[ openjdk version "11.0.9" 2020-10-20 LTS
OpenJDK Runtime Environment Zulu11.43+88-CA (build 11.0.9+11-LTS)
OpenJDK Client VM Zulu11.43+88-CA (build 11.0.9+11-LTS, mixed mode) == *\A\d\o\p\t\O\p\e\n\J\D\K* ]]
+ [[ Zulu11-64 == \Z\u\l\u\8\-\6\4 ]]
+ [[ Zulu11-64 == \Z\u\l\u\1\1\-\6\4 ]]
+ is_aarch64
+ [[ '' == \a\a\r\c\h\6\4 ]]
+ [[ '' == \a\r\m\6\4 ]]
+ case "$(uname -m)" in
++ uname -m
+ return 1
+ is_x86_64
+ [[ '' == \x\8\6\_\6\4 ]]
+ [[ '' == \a\m\d\6\4 ]]
+ case "$(uname -m)" in
++ uname -m
+ return 1
+ [[ -n 1 ]]
+ whiptail --title 'Incompatible hardware detected' --msgbox 'Zulu OpenJDK 64-bit: this option does not currently work on your platform.\n\nDefaulting to Java Zulu 8 32-bit installation.' 9 80
++ command -v java
+ [[ -x /usr/bin/java ]]
+ cond_redirect java -version
+ [[ -n '' ]]
+ echo -e '\n\033[90;01m$ java -version \033[39;49;00m'

$ java -version
+ java -version
openjdk version "11.0.9" 2020-10-20 LTS
OpenJDK Runtime Environment Zulu11.43+88-CA (build 11.0.9+11-LTS)
OpenJDK Client VM Zulu11.43+88-CA (build 11.0.9+11-LTS, mixed mode)
+ return 0
+ return 0
+ echo OK
OK
+ '[' 0 -ne 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=v1.6.2
++++ git -C /opt/openhabian log --oneline
++++ wc -l
+++ revCount=1083
++++ git -C /opt/openhabian log --pretty=format:%h -n 1
+++ shorthash=38e50ad
+++ echo '[openHAB3]v1.6.2-1083(38e50ad)'
++ whiptail --title 'Welcome to the openHABian Configuration Tool [openHAB3]v1.6.2-1083(38e50ad)' --menu 'Setup Options' 18 116 11 --cancel-button Exit --ok-button Execute '00 | About openHABian' 'Information about the openHABian project 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 system 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='02 | Upgrade System'
+ RET=0
+ '[' 0 -eq 1 ']'
+ '[' 0 -eq 255 ']'
+ [[ 02 | Upgrade System == '' ]]
+ [[ 02 | Upgrade System == \0\0* ]]
+ [[ 02 | Upgrade System == \0\1* ]]
+ [[ 02 | Upgrade System == \0\2* ]]
+ wait_for_apt_to_finish_update
++ timestamp
++ date +%F_%T_%Z
+ echo -n '2020-12-31_09:56:06_EST [openHABian] Updating Linux package information... '
2020-12-31_09:56:06_EST [openHABian] Updating Linux package information... + [[ -z 10415 ]]
+ tail --pid=10415 -f /dev/null
+ echo OK
OK
+ system_upgrade
++ timestamp
++ date +%F_%T_%Z
+ echo -n '2020-12-31_09:56:06_EST [openHABian] Updating repositories and upgrading installed packages... '
2020-12-31_09:56:06_EST [openHABian] Updating repositories and upgrading installed packages... + cond_redirect apt-get upgrade --yes
+ [[ -n '' ]]
+ echo -e '\n\033[90;01m$ apt-get upgrade --yes \033[39;49;00m'

$ apt-get upgrade --yes
+ apt-get upgrade --yes
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages have been kept back:
  binutils binutils-arm-linux-gnueabihf binutils-common libbinutils
0 upgraded, 0 newly installed, 0 to remove and 4 not upgraded.
+ return 0
+ cond_redirect java_install_or_update Zulu11-64
+ [[ -n '' ]]
+ echo -e '\n\033[90;01m$ java_install_or_update Zulu11-64 \033[39;49;00m'

$ java_install_or_update Zulu11-64
+ java_install_or_update Zulu11-64
+ local branch
++ git -C /opt/openhabian rev-parse --abbrev-ref HEAD
+ branch=openHAB3
++ command -v java
+ [[ -x /usr/bin/java ]]
++ java -version
+ [[ openjdk version "11.0.9" 2020-10-20 LTS
OpenJDK Runtime Environment Zulu11.43+88-CA (build 11.0.9+11-LTS)
OpenJDK Client VM Zulu11.43+88-CA (build 11.0.9+11-LTS, mixed mode) == *\Z\u\l\u* ]]
++ command -v java
+ [[ -x /usr/bin/java ]]
+ [[ Zulu11-64 == \A\d\o\p\t\1\1 ]]
+ [[ Zulu11-64 != \A\d\o\p\t\1\1 ]]
++ java -version
+ [[ openjdk version "11.0.9" 2020-10-20 LTS
OpenJDK Runtime Environment Zulu11.43+88-CA (build 11.0.9+11-LTS)
OpenJDK Client VM Zulu11.43+88-CA (build 11.0.9+11-LTS, mixed mode) == *\A\d\o\p\t\O\p\e\n\J\D\K* ]]
+ [[ Zulu11-64 == \Z\u\l\u\8\-\6\4 ]]
+ [[ Zulu11-64 == \Z\u\l\u\1\1\-\6\4 ]]
+ is_aarch64
+ [[ '' == \a\a\r\c\h\6\4 ]]
+ [[ '' == \a\r\m\6\4 ]]
+ case "$(uname -m)" in
++ uname -m
+ return 1
+ is_x86_64
+ [[ '' == \x\8\6\_\6\4 ]]
+ [[ '' == \a\m\d\6\4 ]]
+ case "$(uname -m)" in
++ uname -m
+ return 1
+ [[ -n 1 ]]
+ whiptail --title 'Incompatible hardware detected' --msgbox 'Zulu OpenJDK 64-bit: this option does not currently work on your platform.\n\nDefaulting to Java Zulu 8 32-bit installation.' 9 80
++ command -v java
+ [[ -x /usr/bin/java ]]
+ cond_redirect java -version
+ [[ -n '' ]]
+ echo -e '\n\033[90;01m$ java -version \033[39;49;00m'

$ java -version
+ java -version
openjdk version "11.0.9" 2020-10-20 LTS
OpenJDK Runtime Environment Zulu11.43+88-CA (build 11.0.9+11-LTS)
OpenJDK Client VM Zulu11.43+88-CA (build 11.0.9+11-LTS, mixed mode)
+ return 0
+ return 0
+ echo OK
OK
+ '[' 0 -ne 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=v1.6.2
++++ git -C /opt/openhabian log --oneline
++++ wc -l
+++ revCount=1083
++++ git -C /opt/openhabian log --pretty=format:%h -n 1
+++ shorthash=38e50ad
+++ echo '[openHAB3]v1.6.2-1083(38e50ad)'
++ whiptail --title 'Welcome to the openHABian Configuration Tool [openHAB3]v1.6.2-1083(38e50ad)' --menu 'Setup Options' 18 116 11 --cancel-button Exit --ok-button Execute '00 | About openHABian' 'Information about the openHABian project 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 system 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
+ [[ '' == \p\i\4 ]]
+ grep -q '^Revision\s*:\s*[ 123][0-9a-fA-F][0-9a-fA-F][0-9a-fA-F]11[0-9a-fA-F]$' /proc/cpuinfo
+ return 1
+ is_cmfour
+ [[ '' == \c\m\4 ]]
+ grep -q '^Revision\s*:\s*[ 123][0-9a-fA-F][0-9a-fA-F][0-9a-fA-F]14[0-9a-fA-F]$' /proc/cpuinfo
+ return 1
+ is_pi400
+ [[ '' == \p\i\4\0\0 ]]
+ grep -q '^Revision\s*:\s*[ 123][0-9a-fA-F][0-9a-fA-F][0-9a-fA-F]13[0-9a-fA-F]$' /proc/cpuinfo
+ return 1
+ is_cmthreeplus
+ [[ '' == \c\m\3\+ ]]
+ grep -q '^Revision\s*:\s*[ 123][0-9a-fA-F][0-9a-fA-F][0-9a-fA-F]10[0-9a-fA-F]$' /proc/cpuinfo
+ return 1
+ is_cmthree
+ [[ '' == \c\m\3 ]]
+ grep -q '^Revision\s*:\s*[ 123][0-9a-fA-F][0-9a-fA-F][0-9a-fA-F]0[aA][0-9a-fA-F]$' /proc/cpuinfo
+ return 1
+ is_pithree
+ [[ '' == \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 0
+ return 0
+ local algo
+ local defaultPassword
+ local defaultUser
+ local generatedPassword
+ local introText
+ local originalPassword
+ local salt
+ is_pi
+ is_pifour
+ [[ '' == \p\i\4 ]]
+ grep -q '^Revision\s*:\s*[ 123][0-9a-fA-F][0-9a-fA-F][0-9a-fA-F]11[0-9a-fA-F]$' /proc/cpuinfo
+ return 1
+ is_cmfour
+ [[ '' == \c\m\4 ]]
+ grep -q '^Revision\s*:\s*[ 123][0-9a-fA-F][0-9a-fA-F][0-9a-fA-F]14[0-9a-fA-F]$' /proc/cpuinfo
+ return 1
+ is_pi400
+ [[ '' == \p\i\4\0\0 ]]
+ grep -q '^Revision\s*:\s*[ 123][0-9a-fA-F][0-9a-fA-F][0-9a-fA-F]13[0-9a-fA-F]$' /proc/cpuinfo
+ return 1
+ is_cmthreeplus
+ [[ '' == \c\m\3\+ ]]
+ grep -q '^Revision\s*:\s*[ 123][0-9a-fA-F][0-9a-fA-F][0-9a-fA-F]10[0-9a-fA-F]$' /proc/cpuinfo
+ return 1
+ is_cmthree
+ [[ '' == \c\m\3 ]]
+ grep -q '^Revision\s*:\s*[ 123][0-9a-fA-F][0-9a-fA-F][0-9a-fA-F]0[aA][0-9a-fA-F]$' /proc/cpuinfo
+ return 1
+ is_pithree
+ [[ '' == \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 0
+ return 0
+ id -u pi
+ is_pi
+ is_pifour
+ [[ '' == \p\i\4 ]]
+ grep -q '^Revision\s*:\s*[ 123][0-9a-fA-F][0-9a-fA-F][0-9a-fA-F]11[0-9a-fA-F]$' /proc/cpuinfo
+ return 1
+ is_cmfour
+ [[ '' == \c\m\4 ]]
+ grep -q '^Revision\s*:\s*[ 123][0-9a-fA-F][0-9a-fA-F][0-9a-fA-F]14[0-9a-fA-F]$' /proc/cpuinfo
+ return 1
+ is_pi400
+ [[ '' == \p\i\4\0\0 ]]
+ grep -q '^Revision\s*:\s*[ 123][0-9a-fA-F][0-9a-fA-F][0-9a-fA-F]13[0-9a-fA-F]$' /proc/cpuinfo
+ return 1
+ is_cmthreeplus
+ [[ '' == \c\m\3\+ ]]
+ grep -q '^Revision\s*:\s*[ 123][0-9a-fA-F][0-9a-fA-F][0-9a-fA-F]10[0-9a-fA-F]$' /proc/cpuinfo
+ return 1
+ is_cmthree
+ [[ '' == \c\m\3 ]]
+ grep -q '^Revision\s*:\s*[ 123][0-9a-fA-F][0-9a-fA-F][0-9a-fA-F]0[aA][0-9a-fA-F]$' /proc/cpuinfo
+ return 1
+ is_pithree
+ [[ '' == \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 0
+ return 0
+ defaultUser=openhabian
+ defaultPassword=openhabian
++ grep -w openhabian /etc/shadow
++ cut -d: -f2
+ originalPassword='$6$YyqX2R5a6vhCRmbA$7uavLuQpbTQxUORdnnvfgcj6lWze3H.Gqu8jIYlV/d2qn9erTrTrpiUL/HZB1JlwtX9CSIs26i5hQIZ6p9UrY.'
++ echo '$6$YyqX2R5a6vhCRmbA$7uavLuQpbTQxUORdnnvfgcj6lWze3H.Gqu8jIYlV/d2qn9erTrTrpiUL/HZB1JlwtX9CSIs26i5hQIZ6p9UrY.'
++ cut '-d$' -f2
+ 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 openhabian'\''!'
++ echo '$6$YyqX2R5a6vhCRmbA$7uavLuQpbTQxUORdnnvfgcj6lWze3H.Gqu8jIYlV/d2qn9erTrTrpiUL/HZB1JlwtX9CSIs26i5hQIZ6p9UrY.'
++ cut '-d$' -f3
+ salt=YyqX2R5a6vhCRmbA
+ export algo defaultPassword salt
++ perl -le 'print crypt("$ENV{defaultPassword}","\$$ENV{algo}\$$ENV{salt}\$")'
+ generatedPassword='$6$YyqX2R5a6vhCRmbA$0co8tvXlap3bOX9AObW9DMEYwpxt9WLJ/DsgK7lvqI4FB3EW4cJXjfICpRJKyyOQXkucM9qkMhLrKHseDTCo20'
++ timestamp
++ date +%F_%T_%Z
+ echo -n '2020-12-31_09:56:19_EST [openHABian] Checking for default openHABian username:password combination... '
2020-12-31_09:56:19_EST [openHABian] Checking for default openHABian username:password combination... ++ id -u openhabian
+ [[ -n 1000 ]]
+ [[ $6$YyqX2R5a6vhCRmbA$0co8tvXlap3bOX9AObW9DMEYwpxt9WLJ/DsgK7lvqI4FB3EW4cJXjfICpRJKyyOQXkucM9qkMhLrKHseDTCo20 == \$\6\$\Y\y\q\X\2\R\5\a\6\v\h\C\R\m\b\A\$\7\u\a\v\L\u\Q\p\b\T\Q\x\U\O\R\d\n\n\v\f\g\c\j\6\l\W\z\e\3\H\.\G\q\u\8\j\I\Y\l\V\/\d\2\q\n\9\e\r\T\r\T\r\p\i\U\L\/\H\Z\B\1\J\l\w\t\X\9\C\S\I\s\2\6\i\5\h\Q\I\Z\6\p\9\U\r\Y\. ]]
+ echo OK
OK
++ timestamp
++ date +%F_%T_%Z
+ echo -e '2020-12-31_09:56:19_EST [openHABian] We hope you got what you came for! See you again soon ;)'
2020-12-31_09:56:19_EST [openHABian] We hope you got what you came for! See you again soon ;)
+ cd /home/openhabian

And just in case this might be helpful:

[10:11:12] openhabian@openhab:~$ sudo update-alternatives --config java
There is only one alternative in link group java (providing /usr/bin/java): /opt/jdk/zulu11.43.88-ca-jdk11.0.9-linux_aarch32hf/bin/java
Nothing to configure.

Well then. 02 updates ALL installed Linux packages. If there’s one that requires interactive input in the non-interactive mode openHABian runs this in then that’s a problem with that package. probably confirmed to install it so now it does not happen any more (possibly until there’s a newer version of that pkg available). If you want to know for sure, keep debugmode=maximum enabled on next upgrade.