2021-01-11_13:09:18_GMT [openHABian] Starting the openHABian initial setup. 2021-01-11_13:09:18_GMT [openHABian] Storing configuration... OK 2021-01-11_13:09:19_GMT [openHABian] Enable maximum debugging output ++ timestamp ++ date +%F_%T_%Z + echo -n '2021-01-11_13:09:19_GMT [openHABian] Starting webserver with installation log... ' 2021-01-11_13:09:19_GMT [openHABian] Starting webserver with installation log... ++ command -v python3 + [[ -x /usr/bin/python3 ]] + bash /boot/webserver.bash start + sleep 5 ++ ps -ef ++ pgrep python3 + isWebRunning=685 + [[ -n 685 ]] + echo OK OK + defaultUserAndGroup=openhabian + userName=openhabian + groupName=openhabian + is_raspbian + [[ '' == \r\a\s\p\b\i\a\n ]] ++ 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" =~ Raspbian ]] + return 0 + defaultUserAndGroup=pi + rm -f /etc/sudoers.d/010_pi-nopasswd ++ timestamp ++ date +%F_%T_%Z + echo -n '2021-01-11_13:09:24_GMT [openHABian] Changing default username and password... ' 2021-01-11_13:09:24_GMT [openHABian] Changing default username and password... + [[ -v openhabian ]] + id pi + id openhabian + usermod -l openhabian pi + usermod -m -d /home/openhabian openhabian + groupmod -n openhabian pi + echo openhabian:openhabian + chpasswd + echo OK OK + echo 'watch cat /boot/first-boot.log' + echo noipv4ll + [[ -z '' ]] ++ timestamp ++ date +%F_%T_%Z + echo -n '2021-01-11_13:09:24_GMT [openHABian] Setting up Ethernet connection... ' 2021-01-11_13:09:24_GMT [openHABian] Setting up Ethernet connection... + grep -qs up /sys/class/net/eth0/operstate + echo OK OK + running_in_docker + [[ -n '' ]] + grep -qs 'docker\|lxc' /proc/1/cgroup + [[ -f /.dockerenv ]] + return 1 + tryUntil 'ping -c1 8.8.8.8 &> /dev/null || curl --silent --head http://www.openhab.org/docs |& grep -qs '\''HTTP/1.1 200 OK'\''' 5 1 + local cmd + local attempts + local interval + cmd='ping -c1 8.8.8.8 &> /dev/null || curl --silent --head http://www.openhab.org/docs |& grep -qs '\''HTTP/1.1 200 OK'\''' + attempts=5 + interval=1 + [[ 5 -le 0 ]] + cond_echo '\nexecuting ping -c1 8.8.8.8 &> /dev/null || curl --silent --head http://www.openhab.org/docs |& grep -qs '\''HTTP/1.1 200 OK'\'' \c' + [[ -z 1 ]] + eval 'ping -c1 8.8.8.8 &> /dev/null || curl --silent --head http://www.openhab.org/docs |& grep -qs '\''HTTP/1.1 200 OK'\''' ++ ping -c1 8.8.8.8 + out=0 + [[ 0 -eq 0 ]] + break + [[ -z 1 ]] + return 5 ++ timestamp ++ date +%F_%T_%Z + echo -n '2021-01-11_13:09:24_GMT [openHABian] Ensuring network connectivity... ' 2021-01-11_13:09:24_GMT [openHABian] Ensuring network connectivity... + running_in_docker + [[ -n '' ]] + grep -qs 'docker\|lxc' /proc/1/cgroup + [[ -f /.dockerenv ]] + return 1 + tryUntil 'ping -c1 8.8.8.8 &> /dev/null || curl --silent --head http://www.openhab.org/docs |& grep -qs '\''HTTP/1.1 200 OK'\''' 5 1 + local cmd + local attempts + local interval + cmd='ping -c1 8.8.8.8 &> /dev/null || curl --silent --head http://www.openhab.org/docs |& grep -qs '\''HTTP/1.1 200 OK'\''' + attempts=5 + interval=1 + [[ 5 -le 0 ]] + cond_echo '\nexecuting ping -c1 8.8.8.8 &> /dev/null || curl --silent --head http://www.openhab.org/docs |& grep -qs '\''HTTP/1.1 200 OK'\'' \c' + [[ -z 1 ]] + eval 'ping -c1 8.8.8.8 &> /dev/null || curl --silent --head http://www.openhab.org/docs |& grep -qs '\''HTTP/1.1 200 OK'\''' ++ ping -c1 8.8.8.8 + out=0 + [[ 0 -eq 0 ]] + break + [[ -z 1 ]] + return 5 + echo OK OK ++ timestamp ++ date +%F_%T_%Z + echo -n '2021-01-11_13:09:24_GMT [openHABian] Waiting for dpkg/apt to get ready... ' 2021-01-11_13:09:24_GMT [openHABian] Waiting for dpkg/apt to get ready... + wait_for_apt_to_be_ready + local attempts + local interval + local pid + attempts=10 + interval=1 + [[ 10 -le 0 ]] + pid=724 + apt-get update +++ tail --pid=724 -f /dev/null ++ eval '' + [[ '' -eq 0 ]] + return 0 + echo OK OK ++ dpkg -s raspberrypi-kernel ++ grep 'Version:[[:space:]]' + firmwareBefore='Version: 1.20210303-1' ++ timestamp ++ date +%F_%T_%Z + echo -n '2021-05-06_09:52:32_BST [openHABian] Updating repositories and upgrading installed packages... ' 2021-05-06_09:52:32_BST [openHABian] Updating repositories and upgrading installed packages... + apt-get install --fix-broken --yes +++ apt-get --yes upgrade ++ eval '' + [[ '' -eq 100 ]] ++ dpkg -s raspberrypi-kernel ++ grep 'Version:[[:space:]]' + [[ Version: 1.20210303-1 != \V\e\r\s\i\o\n\:\ \1\.\2\0\2\1\0\3\0\3\-\1 ]] + echo OK OK ++ command -v python3 + [[ -x /usr/bin/python3 ]] + bash /boot/webserver.bash reinsure_running ++ command -v git + [[ -x '' ]] ++ timestamp ++ date +%F_%T_%Z + echo -n '2021-05-06_09:52:32_BST [openHABian] Installing git package... ' 2021-05-06_09:52:32_BST [openHABian] Installing git package... + apt-get install --yes git + echo FAILED FAILED ++ timestamp ++ date +%F_%T_%Z + echo -n '2021-05-06_09:52:32_BST [openHABian] Updating myself from https://github.com/openhab/openhabian, main branch... ' 2021-05-06_09:52:32_BST [openHABian] Updating myself from https://github.com/openhab/openhabian, main branch... +++ openhabian_update ++ eval '' + [[ '' -eq 0 ]] + echo OK OK + ln -sfn /opt/openhabian/openhabian-setup.sh /usr/local/bin/openhabian-config ++ timestamp ++ date +%F_%T_%Z + echo '2021-05-06_09:52:32_BST [openHABian] Starting execution of '\''openhabian-config unattended'\''... OK' 2021-05-06_09:52:32_BST [openHABian] Starting execution of 'openhabian-config unattended'... OK + openhabian-config unattended 2021-05-06_09:52:32_BST [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=/ + 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] ]] ++ echo hostname=openhabian ++ cut -d= -f1 + 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] ]] ++ echo username=openhabian ++ cut -d= -f1 + 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] ]] ++ echo userpw=openhabian ++ cut -d= -f1 + 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="" =~ ^(#)?[a-zA-Z] ]] + parsed='adminkeyurl=""' + [[ adminkeyurl="" =~ ^#[a-zA-Z] ]] ++ echo 'adminkeyurl=""' ++ cut -d= -f1 + param=adminkeyurl + [[ -v adminkeyurl ]] + [[ '' == *\ * ]] + echo adminkeyurl= + 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] ]] ++ echo timezone=Europe/Berlin ++ cut -d= -f1 + 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] ]] ++ echo 'locales="en_US.UTF-8 de_DE.UTF-8"' ++ cut -d= -f1 + 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] ]] ++ echo 'system_default_locale="en_US.UTF-8"' ++ cut -d= -f1 + 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] ]] ++ echo 'wifi_ssid=""' ++ cut -d= -f1 + param=wifi_ssid + [[ -v wifi_ssid ]] + [[ '' == *\ * ]] + echo wifi_ssid= + read -r line + [[ wifi_password="" =~ ^(#)?[a-zA-Z] ]] + parsed='wifi_password=""' + [[ wifi_password="" =~ ^#[a-zA-Z] ]] ++ echo 'wifi_password=""' ++ cut -d= -f1 + param=wifi_password + [[ -v wifi_password ]] + [[ '' == *\ * ]] + echo wifi_password= + 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] ]] ++ echo 'wifi_country=""' ++ cut -d= -f1 + 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 == *\ * ]] + echo repositoryurl=https://github.com/openhab/openhabian + read -r line + [[ clonebranch=openHAB3 =~ ^(#)?[a-zA-Z] ]] + parsed=clonebranch=openHAB3 + [[ clonebranch=openHAB3 =~ ^#[a-zA-Z] ]] ++ echo clonebranch=openHAB3 ++ cut -d= -f1 + param=clonebranch + [[ -v clonebranch ]] + [[ main == *\ * ]] + echo clonebranch=main + 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, x86 =~ ^(#)?[a-zA-Z] ]] + echo '# pi4, pi4_8gb, cm4, pi400, pi3, cm3, pi3+, cm3+, pi2, pi1, cm1, pi0, pi0w, x86' + read -r line + [[ # hw= =~ ^(#)?[a-zA-Z] ]] + echo '# hw=' + 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= =~ ^(#)?[a-zA-Z] ]] + echo '# hwarch=' + 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= =~ ^(#)?[a-zA-Z] ]] + echo '# osrelease=' + 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", "Zulu11-32", or "Zulu11-64" =~ ^(#)?[a-zA-Z] ]] + echo '# Valid arguments: "Adopt11", "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] ]] ++ echo java_opt=Zulu11-32 ++ cut -d= -f1 + param=java_opt + [[ -v java_opt ]] + [[ Zulu11-32 == *\ * ]] + echo java_opt=Zulu11-32 + 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] ]] ++ echo frontailtheme=light ++ cut -d= -f1 + 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] ]] + echo '# backupdrive=/dev/sda' + read -r line + [[ storageconfig=openhab-dir =~ ^(#)?[a-zA-Z] ]] + parsed=storageconfig=openhab-dir + [[ storageconfig=openhab-dir =~ ^#[a-zA-Z] ]] ++ echo storageconfig=openhab-dir ++ cut -d= -f1 + 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] ]] ++ echo storagedir=/storage ++ cut -d= -f1 + param=storagedir + [[ -v storagedir ]] + [[ /storage == *\ * ]] + echo storagedir=/storage + read -r line + [[ storagetapes=15 =~ ^(#)?[a-zA-Z] ]] + parsed=storagetapes=15 + [[ storagetapes=15 =~ ^#[a-zA-Z] ]] ++ echo storagetapes=15 ++ cut -d= -f1 + param=storagetapes + [[ -v storagetapes ]] + [[ 15 == *\ * ]] + echo storagetapes=15 + read -r line + [[ storagecapacity=1024 =~ ^(#)?[a-zA-Z] ]] + parsed=storagecapacity=1024 + [[ storagecapacity=1024 =~ ^#[a-zA-Z] ]] ++ echo storagecapacity=1024 ++ cut -d= -f1 + param=storagecapacity + [[ -v storagecapacity ]] + [[ 1024 == *\ * ]] + echo storagecapacity=1024 + 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] ]] + echo '# adminmail=john.doe@foo.bar' + read -r line + [[ # relayuser=john.doe@foo.bar =~ ^(#)?[a-zA-Z] ]] + echo '# relayuser=john.doe@foo.bar' + read -r line + [[ # relaypass=secret =~ ^(#)?[a-zA-Z] ]] + echo '# relaypass=secret' + read -r line + [[ # smarthost=smtp.gmail.com =~ ^(#)?[a-zA-Z] ]] + echo '# smarthost=smtp.gmail.com' + read -r line + [[ # smartport=587 =~ ^(#)?[a-zA-Z] ]] + echo '# 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] ]] + echo '# preauthkey=tskey-xxxxxxxxxxxxxxxxx' + read -r line + [[ '' =~ ^(#)?[a-zA-Z] ]] + echo '' + read -r line + [[ # Custom log files =~ ^(#)?[a-zA-Z] ]] + echo '# Custom log files' + read -r line + [[ # custom_log_files=("/var/log/foo.log" "/var/log/bar.log") =~ ^(#)?[a-zA-Z] ]] + echo '# custom_log_files=("/var/log/foo.log" "/var/log/bar.log")' + read -r line + [[ '' =~ ^(#)?[a-zA-Z] ]] + echo '' + read -r line + [[ # vim: filetype=sh =~ ^(#)?[a-zA-Z] ]] + echo '# vim: filetype=sh' + read -r line + set_cpu_speed + is_raspios + [[ '' == \r\a\s\p\i\o\s ]] + is_raspbian + [[ '' == \r\a\s\p\b\i\a\n ]] ++ 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" =~ Raspbian ]] + return 0 + return 0 + running_in_docker + [[ -n '' ]] + grep -qs 'docker\|lxc' /proc/1/cgroup + [[ -f /.dockerenv ]] + return 1 + echo 'GOVERNOR="ondemand"' + echo ondemand + 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 1 ]] + export DEBIAN_FRONTEND=noninteractive + DEBIAN_FRONTEND=noninteractive + wait_for_apt_to_finish_update ++ timestamp ++ date +%F_%T_%Z + echo -n '2021-05-06_09:52:32_BST [openHABian] Updating Linux package information... ' 2021-05-06_09:52:32_BST [openHABian] Updating Linux package information... + [[ -z '' ]] + apt_update + PID_APT=1038 + tail --pid=1038 -f /dev/null + apt-get update + echo OK OK + 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 '2021-05-06_09:52:45_BST [openHABian] Loading configuration file '\''/etc/openhabian.conf'\''... ' 2021-05-06_09:52:45_BST [openHABian] Loading configuration file '/etc/openhabian.conf'... ++ getent group openhabian + [[ ! -n openhabian:x:1000: ]] + id -u openhabian + source /etc/openhabian.conf ++ hostname=openhabian ++ username=openhabian ++ userpw=openhabian ++ adminkeyurl= ++ timezone=Europe/Berlin ++ locales='en_US.UTF-8 de_DE.UTF-8' ++ system_default_locale=en_US.UTF-8 ++ wifi_ssid= ++ wifi_password= ++ wifi_country= ++ ipv6=enable ++ repositoryurl=https://github.com/openhab/openhabian ++ clonebranch=main ++ debugmode=maximum ++ java_opt=Zulu11-32 ++ frontailtheme=light ++ zraminstall=enable ++ hotspot=enable ++ storageconfig=openhab-dir ++ storagedir=/storage ++ storagetapes=15 ++ storagecapacity=1024 + echo OK OK + change_swapsize + 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 0 + return 0 + local free + local minFree + local swap + local totalMemory ++ awk '/MemTotal/ {print $2}' /proc/meminfo + totalMemory=3919132 + [[ -z 3919132 ]] + swap=7838264 + minFree=15676528 ++ df -hk / ++ awk '/dev/ { print $4 }' + free=26919340 + [[ 26919340 -ge 15676528 ]] + size=7838264 + (( size/=1024 )) ++ timestamp ++ date +%F_%T_%Z + echo -n '2021-05-06_09:52:47_BST [openHABian] Adjusting swap size to 7654 MB... ' 2021-05-06_09:52:47_BST [openHABian] Adjusting swap size to 7654 MB... + cond_redirect dphys-swapfile swapoff + [[ -n '' ]] + echo -e '\n\033[90;01m$ dphys-swapfile swapoff \033[39;49;00m' $ dphys-swapfile swapoff  + dphys-swapfile swapoff + return 0 + cond_redirect sed -i 's|^#*.*CONF_SWAPSIZE=.*$|CONF_SWAPSIZE=7654|g' /etc/dphys-swapfile + [[ -n '' ]] + echo -e '\n\033[90;01m$ sed -i s|^#*.*CONF_SWAPSIZE=.*$|CONF_SWAPSIZE=7654|g /etc/dphys-swapfile \033[39;49;00m' $ sed -i s|^#*.*CONF_SWAPSIZE=.*$|CONF_SWAPSIZE=7654|g /etc/dphys-swapfile  + sed -i 's|^#*.*CONF_SWAPSIZE=.*$|CONF_SWAPSIZE=7654|g' /etc/dphys-swapfile + return 0 + cond_redirect dphys-swapfile swapon + [[ -n '' ]] + echo -e '\n\033[90;01m$ dphys-swapfile swapon \033[39;49;00m' $ dphys-swapfile swapon  + dphys-swapfile swapon + return 0 + echo 'OK (reboot required)' OK (reboot required) + timezone_setting + [[ -n '' ]] + [[ -n Europe/Berlin ]] ++ timestamp ++ date +%F_%T_%Z + echo -n '2021-05-06_09:52:47_BST [openHABian] Setting timezone based on openhabian.conf... ' 2021-05-06_09:52:47_BST [openHABian] Setting timezone based on openhabian.conf... + running_in_docker + [[ -n '' ]] + grep -qs 'docker\|lxc' /proc/1/cgroup + [[ -f /.dockerenv ]] + return 1 + running_on_github + [[ -n '' ]] + return 1 + cond_redirect timedatectl set-timezone Europe/Berlin + [[ -n '' ]] + echo -e '\n\033[90;01m$ timedatectl set-timezone Europe/Berlin \033[39;49;00m' $ timedatectl set-timezone Europe/Berlin  + timedatectl set-timezone Europe/Berlin + return 0 ++ cat /etc/timezone + echo 'OK (Europe/Berlin)' OK (Europe/Berlin) + setup_ntp enable + running_in_docker + [[ -n '' ]] + grep -qs 'docker\|lxc' /proc/1/cgroup + [[ -f /.dockerenv ]] + return 1 + is_raspios + [[ '' == \r\a\s\p\i\o\s ]] + is_raspbian + [[ '' == \r\a\s\p\b\i\a\n ]] ++ 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" =~ Raspbian ]] + return 0 + return 0 + [[ enable == \e\n\a\b\l\e ]] ++ timestamp ++ date +%F_%T_%Z + echo -n '2021-05-06_10:52:48_CEST [openHABian] Enabling time synchronization using NTP... ' 2021-05-06_10:52:48_CEST [openHABian] Enabling time synchronization using NTP... + cond_redirect cp /opt/openhabian/includes/50-timesyncd.conf /lib/dhcpcd/dhcpcd-hooks/ + [[ -n '' ]] + echo -e '\n\033[90;01m$ cp /opt/openhabian/includes/50-timesyncd.conf /lib/dhcpcd/dhcpcd-hooks/ \033[39;49;00m' $ cp /opt/openhabian/includes/50-timesyncd.conf /lib/dhcpcd/dhcpcd-hooks/  + cp /opt/openhabian/includes/50-timesyncd.conf /lib/dhcpcd/dhcpcd-hooks/ + return 0 + cond_redirect timedatectl set-ntp true + [[ -n '' ]] + echo -e '\n\033[90;01m$ timedatectl set-ntp true \033[39;49;00m' $ timedatectl set-ntp true  + timedatectl set-ntp true + return 0 + echo OK OK + locale_setting + local locale + dpkg -s locales + [[ -n '' ]] ++ timestamp ++ date +%F_%T_%Z + echo -n '2021-05-06_10:52:48_CEST [openHABian] Setting locale based on openhabian.conf... ' 2021-05-06_10:52:48_CEST [openHABian] Setting locale based on openhabian.conf... + is_ubuntu + [[ '' == \u\b\u\n\t\u ]] ++ 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" =~ Ubuntu ]] + return 1 + for loc in $locales + sed -i '/^#[[:space:]]en_US.UTF-8/s/^#[[:space:]]//' /etc/locale.gen + for loc in $locales + sed -i '/^#[[:space:]]de_DE.UTF-8/s/^#[[:space:]]//' /etc/locale.gen + cond_redirect locale-gen + [[ -n '' ]] + echo -e '\n\033[90;01m$ locale-gen \033[39;49;00m' $ locale-gen  + locale-gen Generating locales (this might take a while)... de_DE.UTF-8... done en_GB.UTF-8... done en_US.UTF-8... done Generation complete. + return 0 + cond_redirect dpkg-reconfigure --frontend=noninteractive locales + [[ -n '' ]] + echo -e '\n\033[90;01m$ dpkg-reconfigure --frontend=noninteractive locales \033[39;49;00m' $ dpkg-reconfigure --frontend=noninteractive locales  + dpkg-reconfigure --frontend=noninteractive locales Generating locales (this might take a while)... de_DE.UTF-8... done en_GB.UTF-8... done en_US.UTF-8... done Generation complete. + return 0 ++ grep '^[[:space:]]*LANG=' /etc/default/locale ++ sed 's|LANG=||g' + locale=en_GB.UTF-8 + cond_redirect update-locale LANG=en_GB.UTF-8 LC_ALL=en_GB.UTF-8 LC_CTYPE=en_GB.UTF-8 LANGUAGE=en_GB.UTF-8 + [[ -n '' ]] + echo -e '\n\033[90;01m$ update-locale LANG=en_GB.UTF-8 LC_ALL=en_GB.UTF-8 LC_CTYPE=en_GB.UTF-8 LANGUAGE=en_GB.UTF-8 \033[39;49;00m' $ update-locale LANG=en_GB.UTF-8 LC_ALL=en_GB.UTF-8 LC_CTYPE=en_GB.UTF-8 LANGUAGE=en_GB.UTF-8  + update-locale LANG=en_GB.UTF-8 LC_ALL=en_GB.UTF-8 LC_CTYPE=en_GB.UTF-8 LANGUAGE=en_GB.UTF-8 + return 0 + echo 'OK (reboot required)' OK (reboot required) + [[ -n '' ]] + hostname_change + running_in_docker + [[ -n '' ]] + grep -qs 'docker\|lxc' /proc/1/cgroup + [[ -f /.dockerenv ]] + return 1 + local newHostname + [[ -n '' ]] ++ timestamp ++ date +%F_%T_%Z + echo -n '2021-05-06_10:53:25_CEST [openHABian] Setting hostname of the base system based on openhabian.conf... ' 2021-05-06_10:53:25_CEST [openHABian] Setting hostname of the base system based on openhabian.conf... + newHostname=openhabian + cond_redirect hostnamectl set-hostname openhabian + [[ -n '' ]] + echo -e '\n\033[90;01m$ hostnamectl set-hostname openhabian \033[39;49;00m' $ hostnamectl set-hostname openhabian  + hostnamectl set-hostname openhabian + return 0 + sed -i 's|127.0.1.1.*$|127.0.1.1 openhabian|g' /etc/hosts + echo OK OK + [[ -n '' ]] + memory_split + 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 0 + return 0 ++ timestamp ++ date +%F_%T_%Z + echo -n '2021-05-06_10:53:25_CEST [openHABian] Setting the GPU memory split down to 16MB for headless system... ' 2021-05-06_10:53:25_CEST [openHABian] Setting the GPU memory split down to 16MB for headless system... + grep -qs '^[[:space:]]*gpu_mem' /boot/config.txt + echo gpu_mem=16 + echo OK OK + enable_rpi_audio + 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 0 + return 0 ++ timestamp ++ date +%F_%T_%Z + echo -n '2021-05-06_10:53:25_CEST [openHABian] Enabling Audio output... ' 2021-05-06_10:53:25_CEST [openHABian] Enabling Audio output... + grep -qs '^[[:space:]]*dtparam=audio' /boot/config.txt + cond_redirect sed -i 's|dtparam=audio.*$|dtparam=audio=on|g' /boot/config.txt + [[ -n '' ]] + echo -e '\n\033[90;01m$ sed -i s|dtparam=audio.*$|dtparam=audio=on|g /boot/config.txt \033[39;49;00m' $ sed -i s|dtparam=audio.*$|dtparam=audio=on|g /boot/config.txt  + sed -i 's|dtparam=audio.*$|dtparam=audio=on|g' /boot/config.txt + return 0 + cond_redirect adduser openhabian audio + [[ -n '' ]] + echo -e '\n\033[90;01m$ adduser openhabian audio \033[39;49;00m' $ adduser openhabian audio  + adduser openhabian audio The user `openhabian' is already a member of `audio'. + return 0 + echo OK OK + basic_packages ++ timestamp ++ date +%F_%T_%Z + echo -n '2021-05-06_10:53:25_CEST [openHABian] Installing basic can'\''t-be-wrong packages (screen, vim, ...)... ' 2021-05-06_10:53:25_CEST [openHABian] Installing basic can't-be-wrong packages (screen, vim, ...)... ++ command -v raspi-config + [[ -x /usr/bin/raspi-config ]] + cond_redirect apt-get purge --yes raspi-config + [[ -n '' ]] + echo -e '\n\033[90;01m$ apt-get purge --yes raspi-config \033[39;49;00m' $ apt-get purge --yes raspi-config  + apt-get purge --yes raspi-config Reading package lists... Building dependency tree... Reading state information... The following package was automatically installed and is no longer required: triggerhappy Use 'apt autoremove' to remove it. The following packages will be REMOVED: raspi-config* 0 upgraded, 0 newly installed, 1 to remove and 43 not upgraded. After this operation, 124 kB disk space will be freed. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 40126 files and directories currently installed.) Removing raspi-config (20210212) ... (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 40118 files and directories currently installed.) Purging configuration files for raspi-config (20210212) ... Processing triggers for systemd (241-7~deb10u6+rpi1) ... + return 0 + 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 cpufrequtils 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 cpufrequtils 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 cpufrequtils 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 cpufrequtils software-properties-common man-db whiptail acl usbutils dirmngr arping Reading package lists... Building dependency tree... Reading state information... bash-completion is already the newest version (1:2.8-6). bzip2 is already the newest version (1.0.6-9.2~deb10u1). bzip2 set to manually installed. dirmngr is already the newest version (2.2.12-1+rpi1+deb10u1). htop is already the newest version (2.2.0-1). man-db is already the newest version (2.8.5-2). nano is already the newest version (3.2-3). 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). wget is already the newest version (1.20.1-1.1). wget set to manually installed. whiptail is already the newest version (0.52.20-8). whiptail set to manually installed. xz-utils is already the newest version (5.2.4-1). xz-utils set to manually installed. The following package was automatically installed and is no longer required: triggerhappy Use 'apt autoremove' to remove it. The following additional packages will be installed: gir1.2-glib-2.0 gir1.2-packagekitglib-1.0 git-man libappstream4 libcpufreq0 libcurl3-gnutls libcurl4 liberror-perl libgirepository-1.0-1 libglib2.0-bin libgstreamer1.0-0 libncurses5 libnet1 libpackagekit-glib2-18 libpcap0.8 libstemmer0d libutempter0 libyaml-0-2 mc-data packagekit packagekit-tools python3-dbus python3-distro-info python3-gi python3-pycurl python3-software-properties unattended-upgrades vim-runtime Suggested packages: git-daemon-run | git-daemon-sysvinit git-doc git-el git-email git-gui gitk gitweb git-cvs git-mediawiki git-svn gstreamer1.0-tools arj catdvi | texlive-binaries dbview djvulibre-bin epub-utils genisoimage gv imagemagick libaspell-dev links | w3m | lynx odt2txt poppler-utils python-boto python-tz xpdf | pdf-viewer appstream python-dbus-doc python3-dbus-dbg libcurl4-gnutls-dev python-pycurl-doc python3-pycurl-dbg byobu | screenie | iselect bsd-mailx default-mta | mail-transport-agent needrestart powermgmt-base ctags vim-doc vim-scripts The following NEW packages will be installed: acl arping cpufrequtils gir1.2-glib-2.0 gir1.2-packagekitglib-1.0 git git-man libappstream4 libcpufreq0 libcurl3-gnutls liberror-perl libgirepository-1.0-1 libglib2.0-bin libgstreamer1.0-0 libncurses5 libnet1 libpackagekit-glib2-18 libpcap0.8 libstemmer0d libutempter0 libyaml-0-2 mc mc-data multitail packagekit packagekit-tools python3-dbus python3-distro-info python3-gi python3-pycurl python3-software-properties screen software-properties-common unattended-upgrades vfu vim vim-runtime zip The following packages will be upgraded: curl libcurl4 2 upgraded, 38 newly installed, 0 to remove and 41 not upgraded. Need to get 886 kB/20.4 MB of archives. After this operation, 88.5 MB of additional disk space will be used. Get:2 http://www.mirrorservice.org/sites/archive.raspbian.org/raspbian buster/main armhf cpufrequtils armhf 008-1.1 [33.9 kB] Get:1 http://archive-bm.raspbian.org/raspbian buster/main armhf libcpufreq0 armhf 008-1.1 [11.2 kB] Get:3 http://raspbian.mirror.uk.sargasso.net/raspbian buster/main armhf curl armhf 7.64.0-4+deb10u2 [254 kB] Get:4 http://raspbian.mirror.uk.sargasso.net/raspbian buster/main armhf libcurl4 armhf 7.64.0-4+deb10u2 [294 kB] Get:5 http://raspbian.mirror.uk.sargasso.net/raspbian buster/main armhf libcurl3-gnutls armhf 7.64.0-4+deb10u2 [292 kB] apt-listchanges: Reading changelogs... Preconfiguring packages ... Fetched 886 kB in 1s (905 kB/s) Selecting previously unselected package libcpufreq0. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 40115 files and directories currently installed.) Preparing to unpack .../00-libcpufreq0_008-1.1_armhf.deb ... Unpacking libcpufreq0 (008-1.1) ... Selecting previously unselected package cpufrequtils. Preparing to unpack .../01-cpufrequtils_008-1.1_armhf.deb ... Unpacking cpufrequtils (008-1.1) ... Selecting previously unselected package libstemmer0d:armhf. Preparing to unpack .../02-libstemmer0d_0+svn585-1_armhf.deb ... Unpacking libstemmer0d:armhf (0+svn585-1) ... Selecting previously unselected package libutempter0:armhf. Preparing to unpack .../03-libutempter0_1.1.6-3_armhf.deb ... Unpacking libutempter0:armhf (1.1.6-3) ... Selecting previously unselected package screen. Preparing to unpack .../04-screen_4.6.2-3+deb10u1_armhf.deb ... Unpacking screen (4.6.2-3+deb10u1) ... Selecting previously unselected package acl. Preparing to unpack .../05-acl_2.2.53-4_armhf.deb ... Unpacking acl (2.2.53-4) ... Selecting previously unselected package libnet1:armhf. Preparing to unpack .../06-libnet1_1.1.6+dfsg-3.1_armhf.deb ... Unpacking libnet1:armhf (1.1.6+dfsg-3.1) ... Selecting previously unselected package libpcap0.8:armhf. Preparing to unpack .../07-libpcap0.8_1.8.1-6_armhf.deb ... Unpacking libpcap0.8:armhf (1.8.1-6) ... Selecting previously unselected package arping. Preparing to unpack .../08-arping_2.19-6_armhf.deb ... Unpacking arping (2.19-6) ... Preparing to unpack .../09-curl_7.64.0-4+deb10u2_armhf.deb ... Unpacking curl (7.64.0-4+deb10u2) over (7.64.0-4+deb10u1) ... Preparing to unpack .../10-libcurl4_7.64.0-4+deb10u2_armhf.deb ... Unpacking libcurl4:armhf (7.64.0-4+deb10u2) over (7.64.0-4+deb10u1) ... Selecting previously unselected package libgirepository-1.0-1:armhf. Preparing to unpack .../11-libgirepository-1.0-1_1.58.3-2_armhf.deb ... Unpacking libgirepository-1.0-1:armhf (1.58.3-2) ... Selecting previously unselected package gir1.2-glib-2.0:armhf. Preparing to unpack .../12-gir1.2-glib-2.0_1.58.3-2_armhf.deb ... Unpacking gir1.2-glib-2.0:armhf (1.58.3-2) ... Selecting previously unselected package libpackagekit-glib2-18:armhf. Preparing to unpack .../13-libpackagekit-glib2-18_1.1.12-5_armhf.deb ... Unpacking libpackagekit-glib2-18:armhf (1.1.12-5) ... Selecting previously unselected package gir1.2-packagekitglib-1.0. Preparing to unpack .../14-gir1.2-packagekitglib-1.0_1.1.12-5_armhf.deb ... Unpacking gir1.2-packagekitglib-1.0 (1.1.12-5) ... Selecting previously unselected package libcurl3-gnutls:armhf. Preparing to unpack .../15-libcurl3-gnutls_7.64.0-4+deb10u2_armhf.deb ... Unpacking libcurl3-gnutls:armhf (7.64.0-4+deb10u2) ... Selecting previously unselected package liberror-perl. Preparing to unpack .../16-liberror-perl_0.17027-2_all.deb ... Unpacking liberror-perl (0.17027-2) ... Selecting previously unselected package git-man. Preparing to unpack .../17-git-man_1%3a2.20.1-2+deb10u3_all.deb ... Unpacking git-man (1:2.20.1-2+deb10u3) ... Selecting previously unselected package git. Preparing to unpack .../18-git_1%3a2.20.1-2+deb10u3_armhf.deb ... Unpacking git (1:2.20.1-2+deb10u3) ... Selecting previously unselected package libyaml-0-2:armhf. Preparing to unpack .../19-libyaml-0-2_0.2.1-1_armhf.deb ... Unpacking libyaml-0-2:armhf (0.2.1-1) ... Selecting previously unselected package libappstream4:armhf. Preparing to unpack .../20-libappstream4_0.12.5-1_armhf.deb ... Unpacking libappstream4:armhf (0.12.5-1) ... Selecting previously unselected package libglib2.0-bin. Preparing to unpack .../21-libglib2.0-bin_2.58.3-2+deb10u2_armhf.deb ... Unpacking libglib2.0-bin (2.58.3-2+deb10u2) ... Selecting previously unselected package libgstreamer1.0-0:armhf. Preparing to unpack .../22-libgstreamer1.0-0_1.14.4-1_armhf.deb ... Unpacking libgstreamer1.0-0:armhf (1.14.4-1) ... Selecting previously unselected package libncurses5:armhf. Preparing to unpack .../23-libncurses5_6.1+20181013-2+deb10u2_armhf.deb ... Unpacking libncurses5:armhf (6.1+20181013-2+deb10u2) ... Selecting previously unselected package mc-data. Preparing to unpack .../24-mc-data_3%3a4.8.22-1_all.deb ... Unpacking mc-data (3:4.8.22-1) ... Selecting previously unselected package mc. Preparing to unpack .../25-mc_3%3a4.8.22-1_armhf.deb ... Unpacking mc (3:4.8.22-1) ... Selecting previously unselected package multitail. Preparing to unpack .../26-multitail_6.4.2-3_armhf.deb ... Unpacking multitail (6.4.2-3) ... Selecting previously unselected package packagekit. Preparing to unpack .../27-packagekit_1.1.12-5_armhf.deb ... Unpacking packagekit (1.1.12-5) ... Selecting previously unselected package packagekit-tools. Preparing to unpack .../28-packagekit-tools_1.1.12-5_armhf.deb ... Unpacking packagekit-tools (1.1.12-5) ... Selecting previously unselected package python3-dbus. Preparing to unpack .../29-python3-dbus_1.2.8-3_armhf.deb ... Unpacking python3-dbus (1.2.8-3) ... Selecting previously unselected package python3-distro-info. Preparing to unpack .../30-python3-distro-info_0.21_all.deb ... Unpacking python3-distro-info (0.21) ... Selecting previously unselected package python3-gi. Preparing to unpack .../31-python3-gi_3.30.4-1_armhf.deb ... Unpacking python3-gi (3.30.4-1) ... Selecting previously unselected package python3-pycurl. Preparing to unpack .../32-python3-pycurl_7.43.0.2-0.1_armhf.deb ... Unpacking python3-pycurl (7.43.0.2-0.1) ... Selecting previously unselected package python3-software-properties. Preparing to unpack .../33-python3-software-properties_0.96.20.2-2_all.deb ... Unpacking python3-software-properties (0.96.20.2-2) ... Selecting previously unselected package software-properties-common. Preparing to unpack .../34-software-properties-common_0.96.20.2-2_all.deb ... Unpacking software-properties-common (0.96.20.2-2) ... Selecting previously unselected package unattended-upgrades. Preparing to unpack .../35-unattended-upgrades_1.11.2_all.deb ... Unpacking unattended-upgrades (1.11.2) ... Selecting previously unselected package vfu. Preparing to unpack .../36-vfu_4.16+repack-1_armhf.deb ... Unpacking vfu (4.16+repack-1) ... Selecting previously unselected package vim-runtime. Preparing to unpack .../37-vim-runtime_2%3a8.1.0875-5_all.deb ... Adding 'diversion of /usr/share/vim/vim81/doc/help.txt to /usr/share/vim/vim81/doc/help.txt.vim-tiny by vim-runtime' Adding 'diversion of /usr/share/vim/vim81/doc/tags to /usr/share/vim/vim81/doc/tags.vim-tiny by vim-runtime' Unpacking vim-runtime (2:8.1.0875-5) ... Selecting previously unselected package vim. Preparing to unpack .../38-vim_2%3a8.1.0875-5_armhf.deb ... Unpacking vim (2:8.1.0875-5) ... Selecting previously unselected package zip. Preparing to unpack .../39-zip_3.0-11_armhf.deb ... Unpacking zip (3.0-11) ... Setting up python3-dbus (1.2.8-3) ... Setting up libyaml-0-2:armhf (0.2.1-1) ... Setting up libglib2.0-bin (2.58.3-2+deb10u2) ... Setting up libpackagekit-glib2-18:armhf (1.1.12-5) ... Setting up libcurl3-gnutls:armhf (7.64.0-4+deb10u2) ... Setting up libnet1:armhf (1.1.6+dfsg-3.1) ... Setting up libncurses5:armhf (6.1+20181013-2+deb10u2) ... Setting up acl (2.2.53-4) ... Setting up liberror-perl (0.17027-2) ... Setting up vfu (4.16+repack-1) ... Setting up zip (3.0-11) ... Setting up python3-pycurl (7.43.0.2-0.1) ... Setting up python3-software-properties (0.96.20.2-2) ... Setting up libpcap0.8:armhf (1.8.1-6) ... Setting up mc-data (3:4.8.22-1) ... Setting up libutempter0:armhf (1.1.6-3) ... Setting up libcpufreq0 (008-1.1) ... Setting up multitail (6.4.2-3) ... Setting up libcurl4:armhf (7.64.0-4+deb10u2) ... Setting up git-man (1:2.20.1-2+deb10u3) ... Setting up libgirepository-1.0-1:armhf (1.58.3-2) ... Setting up curl (7.64.0-4+deb10u2) ... Setting up libstemmer0d:armhf (0+svn585-1) ... Setting up vim-runtime (2:8.1.0875-5) ... Setting up python3-distro-info (0.21) ... Setting up libgstreamer1.0-0:armhf (1.14.4-1) ... Setcap worked! gst-ptp-helper is not suid! Setting up vim (2:8.1.0875-5) ... update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vim (vim) in auto mode update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vimdiff (vimdiff) in auto mode update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rvim (rvim) in auto mode update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rview (rview) in auto mode update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vi (vi) in auto mode update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/view (view) in auto mode update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/ex (ex) in auto mode Setting up arping (2.19-6) ... Setting up mc (3:4.8.22-1) ... Setting up screen (4.6.2-3+deb10u1) ... Setting up libappstream4:armhf (0.12.5-1) ... Setting up unattended-upgrades (1.11.2) ... Creating config file /etc/apt/apt.conf.d/20auto-upgrades with new version Creating config file /etc/apt/apt.conf.d/50unattended-upgrades with new version Created symlink /etc/systemd/system/multi-user.target.wants/unattended-upgrades.service → /lib/systemd/system/unattended-upgrades.service. Synchronizing state of unattended-upgrades.service with SysV service script with /lib/systemd/systemd-sysv-install. Executing: /lib/systemd/systemd-sysv-install enable unattended-upgrades Setting up cpufrequtils (008-1.1) ... update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults Setting up git (1:2.20.1-2+deb10u3) ... Setting up gir1.2-glib-2.0:armhf (1.58.3-2) ... Setting up packagekit (1.1.12-5) ... Setting up packagekit-tools (1.1.12-5) ... Setting up gir1.2-packagekitglib-1.0 (1.1.12-5) ... Setting up python3-gi (3.30.4-1) ... Setting up software-properties-common (0.96.20.2-2) ... Processing triggers for install-info (6.5.0.dfsg.1-4+b1) ... Processing triggers for mime-support (3.62) ... Processing triggers for libc-bin (2.28-10+rpi1) ... Processing triggers for systemd (241-7~deb10u6+rpi1) ... Processing triggers for man-db (2.8.5-2) ... Processing triggers for dbus (1.12.20-0+deb10u1) ... + 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-05-06_10:54:09_CEST [openHABian] Installing additional needed packages... ' 2021-05-06_10:54:09_CEST [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 fontconfig + [[ -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... Building dependency tree... Reading state information... python3 is already the newest version (3.7.3-1). python3 set to manually installed. The following package was automatically installed and is no longer required: triggerhappy Use 'apt autoremove' to remove it. The following additional packages will be installed: dh-python fontconfig-config fonts-dejavu-core libexpat1-dev libfontconfig1 libio-pty-perl libipc-run-perl libjq1 libonig5 libpython3-dev libpython3.7 libpython3.7-dev libpython3.7-minimal libpython3.7-stdlib libsensors-config libsensors5 python-pip-whl python3-asn1crypto python3-cffi-backend python3-crypto python3-cryptography python3-dev python3-distutils python3-entrypoints python3-keyring python3-keyrings.alt python3-lib2to3 python3-secretstorage python3-xdg python3.7 python3.7-dev python3.7-minimal Suggested packages: lm-sensors libtime-duration-perl libtimedate-perl python-crypto-doc python-cryptography-doc python3-cryptography-vectors gnome-keyring libkf5wallet-bin gir1.2-gnomekeyring-1.0 python-secretstorage-doc python-setuptools-doc python3.7-venv python3.7-doc binfmt-support isag The following NEW packages will be installed: apt-transport-https avahi-autoipd bc dh-python fontconfig fontconfig-config fonts-dejavu-core jq libexpat1-dev libfontconfig1 libio-pty-perl libipc-run-perl libjq1 libonig5 libpython3-dev libpython3.7-dev libsensors-config libsensors5 moreutils python-pip-whl python3-asn1crypto python3-cffi-backend python3-crypto python3-cryptography python3-dev python3-distutils python3-entrypoints python3-keyring python3-keyrings.alt python3-lib2to3 python3-pip python3-secretstorage python3-setuptools python3-wheel python3-xdg python3.7-dev sysstat The following packages will be upgraded: avahi-daemon libpython3.7 libpython3.7-minimal libpython3.7-stdlib python3.7 python3.7-minimal 6 upgraded, 37 newly installed, 0 to remove and 35 not upgraded. Need to get 53.3 MB/59.8 MB of archives. After this operation, 90.3 MB of additional disk space will be used. Get:1 http://archive-bm.raspbian.org/raspbian buster/main armhf python3.7 armhf 3.7.3-2+deb10u3 [330 kB] Get:2 http://mirror1.it.ox.ac.uk/sites/archive.raspbian.org/archive/raspbian buster/main armhf libpython3.7 armhf 3.7.3-2+deb10u3 [1,253 kB] Get:3 http://mirror.mythic-beasts.com/raspbian/raspbian buster/main armhf libpython3.7-stdlib armhf 3.7.3-2+deb10u3 [1,664 kB] Get:4 http://raspbian.mirror.uk.sargasso.net/raspbian buster/main armhf python3.7-minimal armhf 3.7.3-2+deb10u3 [1,464 kB] Get:5 http://www.mirrorservice.org/sites/archive.raspbian.org/raspbian buster/main armhf libpython3.7-minimal armhf 3.7.3-2+deb10u3 [583 kB] Get:7 http://archive-bm.raspbian.org/raspbian buster/main armhf avahi-autoipd armhf 0.7-4+deb10u1 [53.3 kB] Get:8 http://archive-bm.raspbian.org/raspbian buster/main armhf avahi-daemon armhf 0.7-4+deb10u1 [85.1 kB] Get:10 http://mirror1.it.ox.ac.uk/sites/archive.raspbian.org/archive/raspbian buster/main armhf python3.7-dev armhf 3.7.3-2+deb10u3 [513 kB] Get:6 http://raspbian.mirror.uk.sargasso.net/raspbian buster/main armhf apt-transport-https all 1.8.2.3 [149 kB] Get:9 http://raspbian.mirror.uk.sargasso.net/raspbian buster/main armhf libpython3.7-dev armhf 3.7.3-2+deb10u3 [47.2 MB] apt-listchanges: Reading changelogs... Preconfiguring packages ... Fetched 53.3 MB in 47s (1,144 kB/s) (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 43952 files and directories currently installed.) Preparing to unpack .../00-python3.7_3.7.3-2+deb10u3_armhf.deb ... Unpacking python3.7 (3.7.3-2+deb10u3) over (3.7.3-2+deb10u2) ... Preparing to unpack .../01-libpython3.7_3.7.3-2+deb10u3_armhf.deb ... Unpacking libpython3.7:armhf (3.7.3-2+deb10u3) over (3.7.3-2+deb10u2) ... Preparing to unpack .../02-libpython3.7-stdlib_3.7.3-2+deb10u3_armhf.deb ... Unpacking libpython3.7-stdlib:armhf (3.7.3-2+deb10u3) over (3.7.3-2+deb10u2) ... Preparing to unpack .../03-python3.7-minimal_3.7.3-2+deb10u3_armhf.deb ... Unpacking python3.7-minimal (3.7.3-2+deb10u3) over (3.7.3-2+deb10u2) ... Preparing to unpack .../04-libpython3.7-minimal_3.7.3-2+deb10u3_armhf.deb ... Unpacking libpython3.7-minimal:armhf (3.7.3-2+deb10u3) over (3.7.3-2+deb10u2) ... Selecting previously unselected package bc. Preparing to unpack .../05-bc_1.07.1-2_armhf.deb ... Unpacking bc (1.07.1-2) ... Selecting previously unselected package apt-transport-https. Preparing to unpack .../06-apt-transport-https_1.8.2.3_all.deb ... Unpacking apt-transport-https (1.8.2.3) ... Selecting previously unselected package avahi-autoipd. Preparing to unpack .../07-avahi-autoipd_0.7-4+deb10u1_armhf.deb ... Unpacking avahi-autoipd (0.7-4+deb10u1) ... Preparing to unpack .../08-avahi-daemon_0.7-4+deb10u1_armhf.deb ... Unpacking avahi-daemon (0.7-4+deb10u1) over (0.7-4+b1) ... dpkg: warning: unable to delete old directory '/etc/resolvconf/update-libc.d': Directory not empty dpkg: warning: unable to delete old directory '/etc/resolvconf': Directory not empty Selecting previously unselected package python3-lib2to3. Preparing to unpack .../09-python3-lib2to3_3.7.3-1_all.deb ... Unpacking python3-lib2to3 (3.7.3-1) ... Selecting previously unselected package python3-distutils. Preparing to unpack .../10-python3-distutils_3.7.3-1_all.deb ... Unpacking python3-distutils (3.7.3-1) ... Selecting previously unselected package dh-python. Preparing to unpack .../11-dh-python_3.20190308_all.deb ... Unpacking dh-python (3.20190308) ... Selecting previously unselected package fonts-dejavu-core. Preparing to unpack .../12-fonts-dejavu-core_2.37-1_all.deb ... Unpacking fonts-dejavu-core (2.37-1) ... Selecting previously unselected package fontconfig-config. Preparing to unpack .../13-fontconfig-config_2.13.1-2_all.deb ... Unpacking fontconfig-config (2.13.1-2) ... Selecting previously unselected package libfontconfig1:armhf. Preparing to unpack .../14-libfontconfig1_2.13.1-2_armhf.deb ... Unpacking libfontconfig1:armhf (2.13.1-2) ... Selecting previously unselected package fontconfig. Preparing to unpack .../15-fontconfig_2.13.1-2_armhf.deb ... Unpacking fontconfig (2.13.1-2) ... Selecting previously unselected package libonig5:armhf. Preparing to unpack .../16-libonig5_6.9.1-1_armhf.deb ... Unpacking libonig5:armhf (6.9.1-1) ... Selecting previously unselected package libjq1:armhf. Preparing to unpack .../17-libjq1_1.5+dfsg-2+b1_armhf.deb ... Unpacking libjq1:armhf (1.5+dfsg-2+b1) ... Selecting previously unselected package jq. Preparing to unpack .../18-jq_1.5+dfsg-2+b1_armhf.deb ... Unpacking jq (1.5+dfsg-2+b1) ... Selecting previously unselected package libexpat1-dev:armhf. Preparing to unpack .../19-libexpat1-dev_2.2.6-2+deb10u1_armhf.deb ... Unpacking libexpat1-dev:armhf (2.2.6-2+deb10u1) ... Selecting previously unselected package libio-pty-perl. Preparing to unpack .../20-libio-pty-perl_1%3a1.08-1.1+b4_armhf.deb ... Unpacking libio-pty-perl (1:1.08-1.1+b4) ... Selecting previously unselected package libipc-run-perl. Preparing to unpack .../21-libipc-run-perl_20180523.0-1_all.deb ... Unpacking libipc-run-perl (20180523.0-1) ... Selecting previously unselected package libpython3.7-dev:armhf. Preparing to unpack .../22-libpython3.7-dev_3.7.3-2+deb10u3_armhf.deb ... Unpacking libpython3.7-dev:armhf (3.7.3-2+deb10u3) ... Selecting previously unselected package libpython3-dev:armhf. Preparing to unpack .../23-libpython3-dev_3.7.3-1_armhf.deb ... Unpacking libpython3-dev:armhf (3.7.3-1) ... Selecting previously unselected package libsensors-config. Preparing to unpack .../24-libsensors-config_1%3a3.5.0-3_all.deb ... Unpacking libsensors-config (1:3.5.0-3) ... Selecting previously unselected package libsensors5:armhf. Preparing to unpack .../25-libsensors5_1%3a3.5.0-3_armhf.deb ... Unpacking libsensors5:armhf (1:3.5.0-3) ... Selecting previously unselected package moreutils. Preparing to unpack .../26-moreutils_0.62-1+b1_armhf.deb ... Unpacking moreutils (0.62-1+b1) ... Selecting previously unselected package python-pip-whl. Preparing to unpack .../27-python-pip-whl_18.1-5+rpt1_all.deb ... Unpacking python-pip-whl (18.1-5+rpt1) ... Selecting previously unselected package python3-asn1crypto. Preparing to unpack .../28-python3-asn1crypto_0.24.0-1_all.deb ... Unpacking python3-asn1crypto (0.24.0-1) ... Selecting previously unselected package python3-cffi-backend. Preparing to unpack .../29-python3-cffi-backend_1.12.2-1_armhf.deb ... Unpacking python3-cffi-backend (1.12.2-1) ... Selecting previously unselected package python3-crypto. Preparing to unpack .../30-python3-crypto_2.6.1-9+b1_armhf.deb ... Unpacking python3-crypto (2.6.1-9+b1) ... Selecting previously unselected package python3-cryptography. Preparing to unpack .../31-python3-cryptography_2.6.1-3+deb10u2_armhf.deb ... Unpacking python3-cryptography (2.6.1-3+deb10u2) ... Selecting previously unselected package python3.7-dev. Preparing to unpack .../32-python3.7-dev_3.7.3-2+deb10u3_armhf.deb ... Unpacking python3.7-dev (3.7.3-2+deb10u3) ... Selecting previously unselected package python3-dev. Preparing to unpack .../33-python3-dev_3.7.3-1_armhf.deb ... Unpacking python3-dev (3.7.3-1) ... Selecting previously unselected package python3-entrypoints. Preparing to unpack .../34-python3-entrypoints_0.3-1_all.deb ... Unpacking python3-entrypoints (0.3-1) ... Selecting previously unselected package python3-secretstorage. Preparing to unpack .../35-python3-secretstorage_2.3.1-2_all.deb ... Unpacking python3-secretstorage (2.3.1-2) ... Selecting previously unselected package python3-keyring. Preparing to unpack .../36-python3-keyring_17.1.1-1_all.deb ... Unpacking python3-keyring (17.1.1-1) ... Selecting previously unselected package python3-keyrings.alt. Preparing to unpack .../37-python3-keyrings.alt_3.1.1-1_all.deb ... Unpacking python3-keyrings.alt (3.1.1-1) ... Selecting previously unselected package python3-pip. Preparing to unpack .../38-python3-pip_18.1-5+rpt1_all.deb ... Unpacking python3-pip (18.1-5+rpt1) ... Selecting previously unselected package python3-setuptools. Preparing to unpack .../39-python3-setuptools_40.8.0-1_all.deb ... Unpacking python3-setuptools (40.8.0-1) ... Selecting previously unselected package python3-wheel. Preparing to unpack .../40-python3-wheel_0.32.3-2_all.deb ... Unpacking python3-wheel (0.32.3-2) ... Selecting previously unselected package python3-xdg. Preparing to unpack .../41-python3-xdg_0.25-5_all.deb ... Unpacking python3-xdg (0.25-5) ... Selecting previously unselected package sysstat. Preparing to unpack .../42-sysstat_12.0.3-2_armhf.deb ... Unpacking sysstat (12.0.3-2) ... Setting up python3-entrypoints (0.3-1) ... Setting up apt-transport-https (1.8.2.3) ... Setting up libio-pty-perl (1:1.08-1.1+b4) ... Setting up libsensors-config (1:3.5.0-3) ... Setting up bc (1.07.1-2) ... Setting up python3-xdg (0.25-5) ... Setting up libpython3.7-minimal:armhf (3.7.3-2+deb10u3) ... Setting up python3-wheel (0.32.3-2) ... Setting up libexpat1-dev:armhf (2.2.6-2+deb10u1) ... Setting up avahi-autoipd (0.7-4+deb10u1) ... Setting up fonts-dejavu-core (2.37-1) ... Setting up libipc-run-perl (20180523.0-1) ... Setting up libsensors5:armhf (1:3.5.0-3) ... Setting up python3.7-minimal (3.7.3-2+deb10u3) ... Setting up avahi-daemon (0.7-4+deb10u1) ... Removing obsolete conffile /etc/network/if-up.d/avahi-daemon ... Removing obsolete conffile /etc/resolvconf/update-libc.d/avahi-daemon ... Setting up python3-crypto (2.6.1-9+b1) ... Setting up python-pip-whl (18.1-5+rpt1) ... Setting up python3-lib2to3 (3.7.3-1) ... Setting up python3-asn1crypto (0.24.0-1) ... Setting up sysstat (12.0.3-2) ... Creating config file /etc/default/sysstat with new version update-alternatives: using /usr/bin/sar.sysstat to provide /usr/bin/sar (sar) in auto mode Created symlink /etc/systemd/system/multi-user.target.wants/sysstat.service → /lib/systemd/system/sysstat.service. Setting up libonig5:armhf (6.9.1-1) ... Setting up python3-cffi-backend (1.12.2-1) ... Setting up python3-distutils (3.7.3-1) ... Setting up dh-python (3.20190308) ... Setting up libpython3.7-stdlib:armhf (3.7.3-2+deb10u3) ... Setting up moreutils (0.62-1+b1) ... Setting up python3-setuptools (40.8.0-1) ... Setting up libpython3.7:armhf (3.7.3-2+deb10u3) ... Setting up libjq1:armhf (1.5+dfsg-2+b1) ... Setting up fontconfig-config (2.13.1-2) ... Setting up libpython3.7-dev:armhf (3.7.3-2+deb10u3) ... Setting up python3-cryptography (2.6.1-3+deb10u2) ... Setting up python3-pip (18.1-5+rpt1) ... Setting up python3-keyrings.alt (3.1.1-1) ... Setting up jq (1.5+dfsg-2+b1) ... Setting up libfontconfig1:armhf (2.13.1-2) ... Setting up python3.7 (3.7.3-2+deb10u3) ... Setting up fontconfig (2.13.1-2) ... Regenerating fonts cache... done. Setting up libpython3-dev:armhf (3.7.3-1) ... Setting up python3.7-dev (3.7.3-2+deb10u3) ... Setting up python3-secretstorage (2.3.1-2) ... Setting up python3-dev (3.7.3-1) ... Setting up python3-keyring (17.1.1-1) ... Processing triggers for mime-support (3.62) ... Processing triggers for libc-bin (2.28-10+rpi1) ... Processing triggers for systemd (241-7~deb10u6+rpi1) ... Processing triggers for man-db (2.8.5-2) ... Processing triggers for dbus (1.12.20-0+deb10u1) ... Processing triggers for install-info (6.5.0.dfsg.1-4+b1) ... + return 0 + echo OK OK + is_pizerow + [[ '' == \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 + [[ '' == \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 + [[ '' == \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 + [[ '' == \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 0 + [[ -z '' ]] ++ timestamp ++ date +%F_%T_%Z + echo -n '2021-05-06_10:55:48_CEST [openHABian] Installing pigpio package... ' 2021-05-06_10:55:48_CEST [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... Building dependency tree... Reading state information... The following package was automatically installed and is no longer required: triggerhappy Use 'apt autoremove' to remove it. The following additional packages will be installed: libpigpio-dev libpigpio1 libpigpiod-if-dev libpigpiod-if1 libpigpiod-if2-1 pigpio-tools pigpiod The following NEW packages will be installed: libpigpio-dev libpigpio1 libpigpiod-if-dev libpigpiod-if1 libpigpiod-if2-1 pigpio pigpio-tools pigpiod 0 upgraded, 8 newly installed, 0 to remove and 35 not upgraded. Need to get 348 kB of archives. After this operation, 1,029 kB of additional disk space will be used. Get:1 http://archive.raspberrypi.org/debian buster/main armhf libpigpio1 armhf 1.79-1+rpt1 [91.4 kB] Get:2 http://archive.raspberrypi.org/debian buster/main armhf libpigpio-dev armhf 1.79-1+rpt1 [78.5 kB] Get:3 http://archive.raspberrypi.org/debian buster/main armhf libpigpiod-if1 armhf 1.79-1+rpt1 [20.5 kB] Get:4 http://archive.raspberrypi.org/debian buster/main armhf libpigpiod-if2-1 armhf 1.79-1+rpt1 [24.4 kB] Get:5 http://archive.raspberrypi.org/debian buster/main armhf libpigpiod-if-dev armhf 1.79-1+rpt1 [76.9 kB] Get:6 http://archive.raspberrypi.org/debian buster/main armhf pigpio-tools armhf 1.79-1+rpt1 [42.9 kB] Get:7 http://archive.raspberrypi.org/debian buster/main armhf pigpiod armhf 1.79-1+rpt1 [9,900 B] Get:8 http://archive.raspberrypi.org/debian buster/main armhf pigpio armhf 1.79-1+rpt1 [3,564 B] Fetched 348 kB in 0s (2,282 kB/s) Selecting previously unselected package libpigpio1. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 45410 files and directories currently installed.) Preparing to unpack .../0-libpigpio1_1.79-1+rpt1_armhf.deb ... Unpacking libpigpio1 (1.79-1+rpt1) ... Selecting previously unselected package libpigpio-dev. Preparing to unpack .../1-libpigpio-dev_1.79-1+rpt1_armhf.deb ... Unpacking libpigpio-dev (1.79-1+rpt1) ... Selecting previously unselected package libpigpiod-if1. Preparing to unpack .../2-libpigpiod-if1_1.79-1+rpt1_armhf.deb ... Unpacking libpigpiod-if1 (1.79-1+rpt1) ... Selecting previously unselected package libpigpiod-if2-1. Preparing to unpack .../3-libpigpiod-if2-1_1.79-1+rpt1_armhf.deb ... Unpacking libpigpiod-if2-1 (1.79-1+rpt1) ... Selecting previously unselected package libpigpiod-if-dev. Preparing to unpack .../4-libpigpiod-if-dev_1.79-1+rpt1_armhf.deb ... Unpacking libpigpiod-if-dev (1.79-1+rpt1) ... Selecting previously unselected package pigpio-tools. Preparing to unpack .../5-pigpio-tools_1.79-1+rpt1_armhf.deb ... Unpacking pigpio-tools (1.79-1+rpt1) ... Selecting previously unselected package pigpiod. Preparing to unpack .../6-pigpiod_1.79-1+rpt1_armhf.deb ... Unpacking pigpiod (1.79-1+rpt1) ... Selecting previously unselected package pigpio. Preparing to unpack .../7-pigpio_1.79-1+rpt1_armhf.deb ... Unpacking pigpio (1.79-1+rpt1) ... Setting up pigpio-tools (1.79-1+rpt1) ... Setting up libpigpiod-if1 (1.79-1+rpt1) ... Setting up libpigpiod-if2-1 (1.79-1+rpt1) ... Setting up libpigpio1 (1.79-1+rpt1) ... Setting up pigpiod (1.79-1+rpt1) ... Setting up libpigpiod-if-dev (1.79-1+rpt1) ... Setting up libpigpio-dev (1.79-1+rpt1) ... Setting up pigpio (1.79-1+rpt1) ... Processing triggers for man-db (2.8.5-2) ... Processing triggers for libc-bin (2.28-10+rpi1) ... + return 0 + echo OK OK ++ timestamp ++ date +%F_%T_%Z + echo -n '2021-05-06_10:55:54_CEST [openHABian] Installing additional bluetooth packages... ' 2021-05-06_10:55:54_CEST [openHABian] Installing additional bluetooth packages... + is_stretch + [[ '' == \s\t\r\e\t\c\h ]] ++ 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" =~ stretch ]] + return 1 + bluetoothPackages+=' python3-bluez' + cond_redirect apt-get install --yes bluez python3-dev libbluetooth-dev raspberrypi-sys-mods pi-bluetooth python3-bluez + [[ -n '' ]] + echo -e '\n\033[90;01m$ apt-get install --yes bluez python3-dev libbluetooth-dev raspberrypi-sys-mods pi-bluetooth python3-bluez \033[39;49;00m' $ apt-get install --yes bluez python3-dev libbluetooth-dev raspberrypi-sys-mods pi-bluetooth python3-bluez  + apt-get install --yes bluez python3-dev libbluetooth-dev raspberrypi-sys-mods pi-bluetooth python3-bluez Reading package lists... Building dependency tree... Reading state information... python3-dev is already the newest version (3.7.3-1). python3-dev set to manually installed. bluez is already the newest version (5.50-1.2~deb10u1+rpt2). bluez set to manually installed. pi-bluetooth is already the newest version (0.1.15). raspberrypi-sys-mods is already the newest version (20210310). The following package was automatically installed and is no longer required: triggerhappy Use 'apt autoremove' to remove it. The following additional packages will be installed: libbluetooth3 The following NEW packages will be installed: libbluetooth-dev libbluetooth3 python3-bluez 0 upgraded, 3 newly installed, 0 to remove and 35 not upgraded. Need to get 234 kB/327 kB of archives. After this operation, 992 kB of additional disk space will be used. Get:1 http://archive.raspberrypi.org/debian buster/main armhf libbluetooth-dev armhf 5.50-1.2~deb10u1+rpt2 [190 kB] Get:2 http://archive-bm.raspbian.org/raspbian buster/main armhf python3-bluez armhf 0.22+really0.22-1 [43.5 kB] Fetched 234 kB in 0s (477 kB/s) Selecting previously unselected package libbluetooth3:armhf. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 45456 files and directories currently installed.) Preparing to unpack .../libbluetooth3_5.50-1.2~deb10u1+rpt2_armhf.deb ... Unpacking libbluetooth3:armhf (5.50-1.2~deb10u1+rpt2) ... Selecting previously unselected package libbluetooth-dev:armhf. Preparing to unpack .../libbluetooth-dev_5.50-1.2~deb10u1+rpt2_armhf.deb ... Unpacking libbluetooth-dev:armhf (5.50-1.2~deb10u1+rpt2) ... Selecting previously unselected package python3-bluez. Preparing to unpack .../python3-bluez_0.22+really0.22-1_armhf.deb ... Unpacking python3-bluez (0.22+really0.22-1) ... Setting up libbluetooth3:armhf (5.50-1.2~deb10u1+rpt2) ... Setting up python3-bluez (0.22+really0.22-1) ... Setting up libbluetooth-dev:armhf (5.50-1.2~deb10u1+rpt2) ... Processing triggers for libc-bin (2.28-10+rpi1) ... + return 0 + echo OK OK + bashrc_copy ++ timestamp ++ date +%F_%T_%Z + echo -n '2021-05-06_10:55:59_CEST [openHABian] Adding slightly tuned bash configuration files to system... ' 2021-05-06_10:55:59_CEST [openHABian] Adding slightly tuned bash configuration files to system... + cp /opt/openhabian/includes/bash.bashrc /etc/bash.bashrc + cp /opt/openhabian/includes/bashrc-root /root/.bashrc + cp /opt/openhabian/includes/bash_profile /home/openhabian/.bash_profile + chown openhabian:openhabian /home/openhabian/.bash_profile + echo OK OK + vimrc_copy ++ timestamp ++ date +%F_%T_%Z + echo -n '2021-05-06_10:55:59_CEST [openHABian] Adding slightly tuned vim configuration file to system... ' 2021-05-06_10:55:59_CEST [openHABian] Adding slightly tuned vim configuration file to system... + cp /opt/openhabian/includes/vimrc /etc/vim/vimrc + echo OK OK + install_tailscale install + local 'installText=We will install the tailscale VPN client on your system. Use it to securely interconnect multiple openHAB(ian) instances.\nSee https://tailscale.com/blog/how-tailscale-works/ for a comprehensive explanation how it creates a secure VPN. For personal use, you can get a free solo service from tailscale.com.' + local 'removeText=We will remove the tailscale VPN client from your system.\n\nDouble-check ~/.ssh/authorized_keys and eventually remove the admin key.' + local serviceTargetDir=/lib/systemd/system + [[ -n 1 ]] + [[ ! -v preauthkey ]] ++ timestamp ++ date +%F_%T_%Z + echo '2021-05-06_10:55:59_CEST [openHABian] tailscale VPN installation... SKIPPED (no preauthkey defined)' 2021-05-06_10:55:59_CEST [openHABian] tailscale VPN installation... SKIPPED (no preauthkey defined) + return 1 + misc_system_settings ++ timestamp ++ date +%F_%T_%Z + echo -n '2021-05-06_10:55:59_CEST [openHABian] Applying miscellaneous system settings... ' 2021-05-06_10:55:59_CEST [openHABian] Applying miscellaneous system settings... + cond_echo 'Setting Java and arping file capabilites' + [[ -z '' ]] + echo -e '\033[33;01mSetting Java and arping file capabilites\033[39;49;00m' Setting Java and arping file capabilites +++ command -v java ++ realpath '' realpath: '': No such file or directory + cond_redirect setcap 'cap_net_raw,cap_net_admin=+eip cap_net_bind_service=+ep' '' + [[ -n '' ]] + echo -e '\n\033[90;01m$ setcap cap_net_raw,cap_net_admin=+eip cap_net_bind_service=+ep \033[39;49;00m' $ setcap cap_net_raw,cap_net_admin=+eip cap_net_bind_service=+ep  + setcap 'cap_net_raw,cap_net_admin=+eip cap_net_bind_service=+ep' '' Failed to set capabilities on file `' (No such file or directory) The value of the capability argument is not permitted for a file. Or the file is not a regular (non-symlink) file + return 1 + echo 'FAILED (setcap java)' FAILED (setcap java) + cond_redirect setcap 'cap_net_raw,cap_net_admin=+eip cap_net_bind_service=+ep' /usr/sbin/arping + [[ -n '' ]] + echo -e '\n\033[90;01m$ setcap cap_net_raw,cap_net_admin=+eip cap_net_bind_service=+ep /usr/sbin/arping \033[39;49;00m' $ setcap cap_net_raw,cap_net_admin=+eip cap_net_bind_service=+ep /usr/sbin/arping  + setcap 'cap_net_raw,cap_net_admin=+eip cap_net_bind_service=+ep' /usr/sbin/arping + return 0 + cond_echo 'Creating a README note for end user'\''s home folder' + [[ -z '' ]] + echo -e '\033[33;01mCreating a README note for end user'\''s home folder\033[39;49;00m' Creating a README note for end user's home folder + echo -e 'This is your linux user'\''s "home" folder.\nPlace personal files, programs or scripts here.' + cond_echo 'Creating SSH key files' + [[ -z '' ]] + echo -e '\033[33;01mCreating SSH key files\033[39;49;00m' Creating SSH key files + cond_redirect mkdir -p /home/openhabian/.ssh + [[ -n '' ]] + echo -e '\n\033[90;01m$ mkdir -p /home/openhabian/.ssh \033[39;49;00m' $ mkdir -p /home/openhabian/.ssh  + mkdir -p /home/openhabian/.ssh + return 0 + cond_redirect chmod 700 /home/openhabian/.ssh + [[ -n '' ]] + echo -e '\n\033[90;01m$ chmod 700 /home/openhabian/.ssh \033[39;49;00m' $ chmod 700 /home/openhabian/.ssh  + chmod 700 /home/openhabian/.ssh + return 0 + cond_redirect touch /home/openhabian/.ssh/authorized_keys + [[ -n '' ]] + echo -e '\n\033[90;01m$ touch /home/openhabian/.ssh/authorized_keys \033[39;49;00m' $ touch /home/openhabian/.ssh/authorized_keys  + touch /home/openhabian/.ssh/authorized_keys + return 0 + cond_redirect chmod 600 /home/openhabian/.ssh/authorized_keys + [[ -n '' ]] + echo -e '\n\033[90;01m$ chmod 600 /home/openhabian/.ssh/authorized_keys \033[39;49;00m' $ chmod 600 /home/openhabian/.ssh/authorized_keys  + chmod 600 /home/openhabian/.ssh/authorized_keys + return 0 + cond_redirect chown -R openhabian:openhabian /home/openhabian/.ssh + [[ -n '' ]] + echo -e '\n\033[90;01m$ chown -R openhabian:openhabian /home/openhabian/.ssh \033[39;49;00m' $ chown -R openhabian:openhabian /home/openhabian/.ssh  + chown -R openhabian:openhabian /home/openhabian/.ssh + return 0 + is_raspbian + [[ '' == \r\a\s\p\b\i\a\n ]] ++ 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" =~ Raspbian ]] + return 0 + sed -i /SystemMax/d /etc/systemd/journald.conf + echo -e 'SystemMaxUse=50M\nSystemMaxFileSize=10M\nSystemMaxFiles=5' + cond_echo 'Creating persistent systemd journal folder location: /var/log/journal' + [[ -z '' ]] + echo -e '\033[33;01mCreating persistent systemd journal folder location: /var/log/journal\033[39;49;00m' Creating persistent systemd journal folder location: /var/log/journal + cond_redirect mkdir -p /var/log/journal + [[ -n '' ]] + echo -e '\n\033[90;01m$ mkdir -p /var/log/journal \033[39;49;00m' $ mkdir -p /var/log/journal  + mkdir -p /var/log/journal + return 0 + cond_redirect systemd-tmpfiles --create --prefix /var/log/journal + [[ -n '' ]] + echo -e '\n\033[90;01m$ systemd-tmpfiles --create --prefix /var/log/journal \033[39;49;00m' $ systemd-tmpfiles --create --prefix /var/log/journal  + systemd-tmpfiles --create --prefix /var/log/journal + return 0 + cond_echo 'Keeping at most 30 days of systemd journal entries' + [[ -z '' ]] + echo -e '\033[33;01mKeeping at most 30 days of systemd journal entries\033[39;49;00m' Keeping at most 30 days of systemd journal entries + cond_redirect journalctl --vacuum-time=30d + [[ -n '' ]] + echo -e '\n\033[90;01m$ journalctl --vacuum-time=30d \033[39;49;00m' $ journalctl --vacuum-time=30d  + journalctl --vacuum-time=30d Deleted archived journal /var/log/journal/619e3d8f4b2d4ebb92fe948fcea98932/system@70133faa1b734bdba67efd5c3f2c5900-0000000000000001-0005b89f9b84bb18.journal (8.0M). Vacuuming done, freed 8.0M of archived journals from /var/log/journal/619e3d8f4b2d4ebb92fe948fcea98932. + return 0 + echo 'GOVERNOR="ondemand"' + cond_echo 'Setting a distinguishable apt User-Agent' + [[ -z '' ]] + echo -e '\033[33;01mSetting a distinguishable apt User-Agent\033[39;49;00m' Setting a distinguishable apt User-Agent + echo 'Acquire { http::User-Agent "Debian APT-HTTP/1.3 openHABian"; };' + echo OK OK + add_admin_ssh_key + [[ -z '' ]] + return 0 + firemotd_setup + running_in_docker + [[ -n '' ]] + grep -qs 'docker\|lxc' /proc/1/cgroup + [[ -f /.dockerenv ]] + return 1 + running_on_github + [[ -n '' ]] + return 1 + local firemotdDir=/opt/FireMotD + local targetDir=/etc/systemd/system/ + dpkg -s bc sysstat jq moreutils make + firemotd_download /opt ++ timestamp ++ date +%F_%T_%Z + echo -n '2021-05-06_10:56:00_CEST [openHABian] Downloading FireMotD... ' 2021-05-06_10:56:00_CEST [openHABian] Downloading FireMotD... + [[ -d /opt/FireMotD ]] + cond_echo '\nUpdate... ' + [[ -z '' ]] + echo -e '\033[33;01m\nUpdate... \033[39;49;00m'  Update...  + cond_redirect update_git_repo /opt/FireMotD master + [[ -n '' ]] + echo -e '\n\033[90;01m$ update_git_repo /opt/FireMotD master \033[39;49;00m' $ update_git_repo /opt/FireMotD master  + update_git_repo /opt/FireMotD master + local branch + local path + branch=master + path=/opt/FireMotD ++ timestamp ++ date +%F_%T_%Z ++ basename /opt/FireMotD + echo -n '2021-05-06_10:56:00_CEST [openHABian] Updating FireMotD, master branch from git... ' 2021-05-06_10:56:00_CEST [openHABian] Updating FireMotD, master branch from git... + cond_redirect git -C /opt/FireMotD fetch origin + [[ -n '' ]] + echo -e '\n\033[90;01m$ git -C /opt/FireMotD fetch origin \033[39;49;00m' $ git -C /opt/FireMotD fetch origin  + git -C /opt/FireMotD fetch origin + return 0 + cond_redirect git -C /opt/FireMotD fetch --tags --force --prune + [[ -n '' ]] + echo -e '\n\033[90;01m$ git -C /opt/FireMotD fetch --tags --force --prune \033[39;49;00m' $ git -C /opt/FireMotD fetch --tags --force --prune  + git -C /opt/FireMotD fetch --tags --force --prune + return 0 + cond_redirect git -C /opt/FireMotD reset --hard origin/master + [[ -n '' ]] + echo -e '\n\033[90;01m$ git -C /opt/FireMotD reset --hard origin/master \033[39;49;00m' $ git -C /opt/FireMotD reset --hard origin/master  + git -C /opt/FireMotD reset --hard origin/master HEAD is now at 3d2bea6 fix + return 0 + cond_redirect git -C /opt/FireMotD clean --force -x -d + [[ -n '' ]] + echo -e '\n\033[90;01m$ git -C /opt/FireMotD clean --force -x -d \033[39;49;00m' $ git -C /opt/FireMotD clean --force -x -d  + git -C /opt/FireMotD clean --force -x -d + return 0 + cond_redirect git -C /opt/FireMotD checkout master + [[ -n '' ]] + echo -e '\n\033[90;01m$ git -C /opt/FireMotD checkout master \033[39;49;00m' $ git -C /opt/FireMotD checkout master  + git -C /opt/FireMotD checkout master Already on 'master' Your branch is up to date with 'origin/master'. + return 0 + echo OK OK + return 0 + echo OK OK ++ timestamp ++ date +%F_%T_%Z + echo -n '2021-05-06_10:56:01_CEST [openHABian] Installing FireMotD... ' 2021-05-06_10:56:01_CEST [openHABian] Installing FireMotD... + cond_redirect make --always-make --directory=/opt/FireMotD install + [[ -n '' ]] + echo -e '\n\033[90;01m$ make --always-make --directory=/opt/FireMotD install \033[39;49;00m' $ make --always-make --directory=/opt/FireMotD install  + make --always-make --directory=/opt/FireMotD install make: Entering directory '/opt/FireMotD' cp FireMotD /usr/local/bin/FireMotD chmod 755 /usr/local/bin/FireMotD mkdir -p /usr/share/firemotd/data mkdir -p /usr/share/firemotd/templates mkdir -p /usr/share/firemotd/themes mkdir -p /usr/share/firemotd/cache cp templates/* /usr/share/firemotd/templates cp themes/* /usr/share/firemotd/themes make: Leaving directory '/opt/FireMotD' + return 0 + cond_redirect make --always-make --directory=/opt/FireMotD bash_completion + [[ -n '' ]] + echo -e '\n\033[90;01m$ make --always-make --directory=/opt/FireMotD bash_completion \033[39;49;00m' $ make --always-make --directory=/opt/FireMotD bash_completion  + make --always-make --directory=/opt/FireMotD bash_completion make: Entering directory '/opt/FireMotD' cp bash_completion.d/FireMotD /etc/bash_completion.d/FireMotD make: Leaving directory '/opt/FireMotD' + return 0 + echo OK OK ++ timestamp ++ date +%F_%T_%Z + echo -n '2021-05-06_10:56:01_CEST [openHABian] Generating FireMotD theme... ' 2021-05-06_10:56:01_CEST [openHABian] Generating FireMotD theme... + cond_redirect FireMotD -S -d -D all + [[ -n '' ]] + echo -e '\n\033[90;01m$ FireMotD -S -d -D all \033[39;49;00m' $ FireMotD -S -d -D all  + FireMotD -S -d -D all 2021-05-06 10:56:01,468: FireMotD: Info: Debug mode 2021-05-06 10:56:01,481: FireMotD: Info: FireMotD action save started 2021-05-06 10:56:01,494: FireMotD: Info: Action "save" 2021-05-06 10:56:01,508: FireMotD: Info: Exportfile /usr/share/firemotd/data/FireMotD.json not found. 2021-05-06 10:56:01,520: FireMotD: Info: Template type set to all. Overwriting.. 2021-05-06 10:56:01,556: FireMotD: Info: Exploring HostIp 2021-05-06 10:56:01,635: FireMotD: Info: Exploring Release 2021-05-06 10:56:01,762: FireMotD: Info: Exploring Kernel 2021-05-06 10:56:01,832: FireMotD: Info: Exploring Platform 2021-05-06 10:56:01,934: FireMotD: Info: Exploring InstallDate 2021-05-06 10:56:01,996: FireMotD: Info: Exploring Updates E: Failed to fetch https://dl.bintray.com/openhab/apt-repo2/dists/stable/InRelease 403 Forbidden [IP: 54.93.146.46 443] E: The repository 'https://dl.bintray.com/openhab/apt-repo2 stable InRelease' is no longer signed. 2021-05-06 10:56:09,598: FireMotD: Info: Exploring Httpd 2021-05-06 10:56:09,659: FireMotD: Info: Exploring Nginx 2021-05-06 10:56:09,720: FireMotD: Info: Exploring Mysql 2021-05-06 10:56:09,796: FireMotD: Info: Exploring Postgres 2021-05-06 10:56:09,857: FireMotD: Info: Exploring Php 2021-05-06 10:56:09,939: FireMotD: Info: Exploring Elasticsearch 2021-05-06 10:56:09,998: FireMotD: Info: Exploring Logstash 2021-05-06 10:56:10,056: FireMotD: Info: Exploring Kibana 2021-05-06 10:56:10,114: FireMotD: Info: Export system data to "/usr/share/firemotd/data/FireMotD.json" finished. 2021-05-06 10:56:10,137: FireMotD: Info: ExportFile: -rwxrw-rw- 1 root root 3234 May 6 10:56 /usr/share/firemotd/data/FireMotD.json 2021-05-06 10:56:10,152: FireMotD: Info: FireMotD action save finished + return 0 + cond_redirect FireMotD -G Gray + [[ -n '' ]] + echo -e '\n\033[90;01m$ FireMotD -G Gray \033[39;49;00m' $ FireMotD -G Gray  + FireMotD -G Gray + return 0 + echo OK OK + grep -qs FireMotD /home/openhabian/.bash_profile ++ timestamp ++ date +%F_%T_%Z + echo -n '2021-05-06_10:56:13_CEST [openHABian] Setting up FireMotD apt updates count service... ' 2021-05-06_10:56:13_CEST [openHABian] Setting up FireMotD apt updates count service... + cond_echo '\nMake FireMotD check for new updates every night... ' + [[ -z '' ]] + echo -e '\033[33;01m\nMake FireMotD check for new updates every night... \033[39;49;00m'  Make FireMotD check for new updates every night...  + cond_redirect install -m 644 /opt/openhabian/includes/firemotd.service /opt/openhabian/includes/firemotd.timer /etc/systemd/system/ + [[ -n '' ]] + echo -e '\n\033[90;01m$ install -m 644 /opt/openhabian/includes/firemotd.service /opt/openhabian/includes/firemotd.timer /etc/systemd/system/ \033[39;49;00m' $ install -m 644 /opt/openhabian/includes/firemotd.service /opt/openhabian/includes/firemotd.timer /etc/systemd/system/  + install -m 644 /opt/openhabian/includes/firemotd.service /opt/openhabian/includes/firemotd.timer /etc/systemd/system/ + return 0 + cond_redirect systemctl -q daemon-reload + cond_redirect systemctl enable --now firemotd.timer + cond_echo '\nMake FireMotD check for new updates after using apt... ' + [[ -z '' ]] + echo -e '\033[33;01m\nMake FireMotD check for new updates after using apt... \033[39;49;00m'  Make FireMotD check for new updates after using apt...  + cond_redirect install -m 644 /opt/openhabian/includes/15firemotd /etc/apt/apt.conf.d/ + [[ -n '' ]] + echo -e '\n\033[90;01m$ install -m 644 /opt/openhabian/includes/15firemotd /etc/apt/apt.conf.d/ \033[39;49;00m' $ install -m 644 /opt/openhabian/includes/15firemotd /etc/apt/apt.conf.d/  + install -m 644 /opt/openhabian/includes/15firemotd /etc/apt/apt.conf.d/ + return 0 + cond_echo '\nInitial FireMotD updates check' + [[ -z '' ]] + echo -e '\033[33;01m\nInitial FireMotD updates check\033[39;49;00m'  Initial FireMotD updates check + cond_redirect FireMotD -S + [[ -n '' ]] + echo -e '\n\033[90;01m$ FireMotD -S \033[39;49;00m' $ FireMotD -S  + FireMotD -S E: Failed to fetch https://dl.bintray.com/openhab/apt-repo2/dists/stable/InRelease 403 Forbidden [IP: 54.93.146.46 443] E: The repository 'https://dl.bintray.com/openhab/apt-repo2 stable InRelease' is no longer signed. + return 0 + echo OK OK + java_install_or_update Zulu11-32 + local branch ++ git -C /opt/openhabian rev-parse --abbrev-ref HEAD + branch=main ++ command -v java + [[ -x '' ]] ++ command -v java + [[ -x '' ]] + [[ Zulu11-32 == \Z\u\l\u\1\1\-\3\2 ]] + [[ -n 1 ]] + java_zulu_dir + local dir + for dir in /opt/jdk/* + [[ -d /opt/jdk/zulu11.45.27-ca-jdk11.0.10-linux_aarch32hf ]] + return 0 ++ timestamp ++ date +%F_%T_%Z + echo '2021-05-06_10:56:23_CEST [openHABian] Installing cached version of Java to ensure that some form of Java is installed!' 2021-05-06_10:56:23_CEST [openHABian] Installing cached version of Java to ensure that some form of Java is installed! + java_zulu_prerequisite Zulu11-32 ++ timestamp ++ date +%F_%T_%Z + echo -n '2021-05-06_10:56:23_CEST [openHABian] Installing Java Zulu prerequisites (libc, libstdc++, zlib1g)... ' 2021-05-06_10:56:23_CEST [openHABian] Installing Java Zulu prerequisites (libc, libstdc++, zlib1g)... + [[ Zulu11-32 == \Z\u\l\u\1\1\-\6\4 ]] + is_arm + is_armv6l + [[ '' == \a\r\m\v\6\l ]] + case "$(uname -m)" in ++ uname -m + return 1 + is_armv7l + [[ '' == \a\r\m\v\7\l ]] + case "$(uname -m)" in ++ uname -m + return 0 + return 0 + dpkg -s libc6:armhf libstdc++6:armhf zlib1g:armhf + echo OK OK + return 0 + java_zulu_install Zulu11-32 + local jdkBin + local jdkLib ++ find /opt/jdk/zulu11.45.27-ca-jdk11.0.10-linux_aarch32hf/bin ... -print -quit + jdkBin=/opt/jdk/zulu11.45.27-ca-jdk11.0.10-linux_aarch32hf/bin ++ find /opt/jdk/zulu11.45.27-ca-jdk11.0.10-linux_aarch32hf/lib ... -print -quit + jdkLib=/opt/jdk/zulu11.45.27-ca-jdk11.0.10-linux_aarch32hf/lib + [[ Zulu11-32 == \Z\u\l\u\1\1\-\3\2 ]] ++ timestamp ++ date +%F_%T_%Z + echo -n '2021-05-06_10:56:23_CEST [openHABian] Installing Java Zulu 11 32-Bit OpenJDK... ' 2021-05-06_10:56:23_CEST [openHABian] Installing Java Zulu 11 32-Bit OpenJDK... + openhab_is_running + openhab_is_installed + openhab2_is_installed ++ dpkg -s openhab2 ++ grep Status ++ cut '-d ' -f2 + [[ '' == \i\n\s\t\a\l\l ]] + return 1 + openhab3_is_installed ++ dpkg -s openhab ++ grep Status ++ cut '-d ' -f2 + [[ '' == \i\n\s\t\a\l\l ]] + return 1 + return 1 + return 1 + cond_redirect java_alternatives_reset + [[ -n '' ]] + echo -e '\n\033[90;01m$ java_alternatives_reset \033[39;49;00m' $ java_alternatives_reset  + java_alternatives_reset + update-alternatives --quiet --remove-all java + update-alternatives --quiet --remove-all jjs + update-alternatives --quiet --remove-all keytool + update-alternatives --quiet --remove-all pack200 + update-alternatives --quiet --remove-all rmid + update-alternatives --quiet --remove-all rmiregistry + update-alternatives --quiet --remove-all unpack200 + update-alternatives --quiet --remove-all jexec + update-alternatives --quiet --remove-all javac + return 2 + cond_redirect update-alternatives --install /usr/bin/java java /opt/jdk/zulu11.45.27-ca-jdk11.0.10-linux_aarch32hf/bin/java 1000000 + [[ -n '' ]] + echo -e '\n\033[90;01m$ update-alternatives --install /usr/bin/java java /opt/jdk/zulu11.45.27-ca-jdk11.0.10-linux_aarch32hf/bin/java 1000000 \033[39;49;00m' $ update-alternatives --install /usr/bin/java java /opt/jdk/zulu11.45.27-ca-jdk11.0.10-linux_aarch32hf/bin/java 1000000  + update-alternatives --install /usr/bin/java java /opt/jdk/zulu11.45.27-ca-jdk11.0.10-linux_aarch32hf/bin/java 1000000 update-alternatives: using /opt/jdk/zulu11.45.27-ca-jdk11.0.10-linux_aarch32hf/bin/java to provide /usr/bin/java (java) in auto mode + return 0 + cond_redirect update-alternatives --install /usr/bin/jjs jjs /opt/jdk/zulu11.45.27-ca-jdk11.0.10-linux_aarch32hf/bin/jjs 1000000 + [[ -n '' ]] + echo -e '\n\033[90;01m$ update-alternatives --install /usr/bin/jjs jjs /opt/jdk/zulu11.45.27-ca-jdk11.0.10-linux_aarch32hf/bin/jjs 1000000 \033[39;49;00m' $ update-alternatives --install /usr/bin/jjs jjs /opt/jdk/zulu11.45.27-ca-jdk11.0.10-linux_aarch32hf/bin/jjs 1000000  + update-alternatives --install /usr/bin/jjs jjs /opt/jdk/zulu11.45.27-ca-jdk11.0.10-linux_aarch32hf/bin/jjs 1000000 update-alternatives: using /opt/jdk/zulu11.45.27-ca-jdk11.0.10-linux_aarch32hf/bin/jjs to provide /usr/bin/jjs (jjs) in auto mode + return 0 + cond_redirect update-alternatives --install /usr/bin/keytool keytool /opt/jdk/zulu11.45.27-ca-jdk11.0.10-linux_aarch32hf/bin/keytool 1000000 + [[ -n '' ]] + echo -e '\n\033[90;01m$ update-alternatives --install /usr/bin/keytool keytool /opt/jdk/zulu11.45.27-ca-jdk11.0.10-linux_aarch32hf/bin/keytool 1000000 \033[39;49;00m' $ update-alternatives --install /usr/bin/keytool keytool /opt/jdk/zulu11.45.27-ca-jdk11.0.10-linux_aarch32hf/bin/keytool 1000000  + update-alternatives --install /usr/bin/keytool keytool /opt/jdk/zulu11.45.27-ca-jdk11.0.10-linux_aarch32hf/bin/keytool 1000000 update-alternatives: using /opt/jdk/zulu11.45.27-ca-jdk11.0.10-linux_aarch32hf/bin/keytool to provide /usr/bin/keytool (keytool) in auto mode + return 0 + cond_redirect update-alternatives --install /usr/bin/pack200 pack200 /opt/jdk/zulu11.45.27-ca-jdk11.0.10-linux_aarch32hf/bin/pack200 1000000 + [[ -n '' ]] + echo -e '\n\033[90;01m$ update-alternatives --install /usr/bin/pack200 pack200 /opt/jdk/zulu11.45.27-ca-jdk11.0.10-linux_aarch32hf/bin/pack200 1000000 \033[39;49;00m' $ update-alternatives --install /usr/bin/pack200 pack200 /opt/jdk/zulu11.45.27-ca-jdk11.0.10-linux_aarch32hf/bin/pack200 1000000  + update-alternatives --install /usr/bin/pack200 pack200 /opt/jdk/zulu11.45.27-ca-jdk11.0.10-linux_aarch32hf/bin/pack200 1000000 update-alternatives: using /opt/jdk/zulu11.45.27-ca-jdk11.0.10-linux_aarch32hf/bin/pack200 to provide /usr/bin/pack200 (pack200) in auto mode + return 0 + cond_redirect update-alternatives --install /usr/bin/rmid rmid /opt/jdk/zulu11.45.27-ca-jdk11.0.10-linux_aarch32hf/bin/rmid 1000000 + [[ -n '' ]] + echo -e '\n\033[90;01m$ update-alternatives --install /usr/bin/rmid rmid /opt/jdk/zulu11.45.27-ca-jdk11.0.10-linux_aarch32hf/bin/rmid 1000000 \033[39;49;00m' $ update-alternatives --install /usr/bin/rmid rmid /opt/jdk/zulu11.45.27-ca-jdk11.0.10-linux_aarch32hf/bin/rmid 1000000  + update-alternatives --install /usr/bin/rmid rmid /opt/jdk/zulu11.45.27-ca-jdk11.0.10-linux_aarch32hf/bin/rmid 1000000 update-alternatives: using /opt/jdk/zulu11.45.27-ca-jdk11.0.10-linux_aarch32hf/bin/rmid to provide /usr/bin/rmid (rmid) in auto mode + return 0 + cond_redirect update-alternatives --install /usr/bin/rmiregistry rmiregistry /opt/jdk/zulu11.45.27-ca-jdk11.0.10-linux_aarch32hf/bin/rmiregistry 1000000 + [[ -n '' ]] + echo -e '\n\033[90;01m$ update-alternatives --install /usr/bin/rmiregistry rmiregistry /opt/jdk/zulu11.45.27-ca-jdk11.0.10-linux_aarch32hf/bin/rmiregistry 1000000 \033[39;49;00m' $ update-alternatives --install /usr/bin/rmiregistry rmiregistry /opt/jdk/zulu11.45.27-ca-jdk11.0.10-linux_aarch32hf/bin/rmiregistry 1000000  + update-alternatives --install /usr/bin/rmiregistry rmiregistry /opt/jdk/zulu11.45.27-ca-jdk11.0.10-linux_aarch32hf/bin/rmiregistry 1000000 update-alternatives: using /opt/jdk/zulu11.45.27-ca-jdk11.0.10-linux_aarch32hf/bin/rmiregistry to provide /usr/bin/rmiregistry (rmiregistry) in auto mode + return 0 + cond_redirect update-alternatives --install /usr/bin/unpack200 unpack200 /opt/jdk/zulu11.45.27-ca-jdk11.0.10-linux_aarch32hf/bin/unpack200 1000000 + [[ -n '' ]] + echo -e '\n\033[90;01m$ update-alternatives --install /usr/bin/unpack200 unpack200 /opt/jdk/zulu11.45.27-ca-jdk11.0.10-linux_aarch32hf/bin/unpack200 1000000 \033[39;49;00m' $ update-alternatives --install /usr/bin/unpack200 unpack200 /opt/jdk/zulu11.45.27-ca-jdk11.0.10-linux_aarch32hf/bin/unpack200 1000000  + update-alternatives --install /usr/bin/unpack200 unpack200 /opt/jdk/zulu11.45.27-ca-jdk11.0.10-linux_aarch32hf/bin/unpack200 1000000 update-alternatives: using /opt/jdk/zulu11.45.27-ca-jdk11.0.10-linux_aarch32hf/bin/unpack200 to provide /usr/bin/unpack200 (unpack200) in auto mode + return 0 + cond_redirect update-alternatives --install /usr/bin/jexec jexec /opt/jdk/zulu11.45.27-ca-jdk11.0.10-linux_aarch32hf/lib/jexec 1000000 + [[ -n '' ]] + echo -e '\n\033[90;01m$ update-alternatives --install /usr/bin/jexec jexec /opt/jdk/zulu11.45.27-ca-jdk11.0.10-linux_aarch32hf/lib/jexec 1000000 \033[39;49;00m' $ update-alternatives --install /usr/bin/jexec jexec /opt/jdk/zulu11.45.27-ca-jdk11.0.10-linux_aarch32hf/lib/jexec 1000000  + update-alternatives --install /usr/bin/jexec jexec /opt/jdk/zulu11.45.27-ca-jdk11.0.10-linux_aarch32hf/lib/jexec 1000000 update-alternatives: using /opt/jdk/zulu11.45.27-ca-jdk11.0.10-linux_aarch32hf/lib/jexec to provide /usr/bin/jexec (jexec) in auto mode + return 0 + echo /opt/jdk/zulu11.45.27-ca-jdk11.0.10-linux_aarch32hf/lib + echo /opt/jdk/zulu11.45.27-ca-jdk11.0.10-linux_aarch32hf/lib/jli + echo /opt/jdk/zulu11.45.27-ca-jdk11.0.10-linux_aarch32hf/lib/client + ldconfig + echo OK OK + java_zulu_install_crypto_extension + [[ -n '' ]] + local jdkSecurity + local policyTempLocation ++ realpath /usr/bin/java ++ sed 's|/java||' + jdkSecurity=/opt/jdk/zulu11.45.27-ca-jdk11.0.10-linux_aarch32hf/bin/../lib/security ++ mktemp -d /tmp/openhabian.XXXXX + policyTempLocation=/tmp/openhabian.iHI6v ++ timestamp ++ date +%F_%T_%Z + echo -n '2021-05-06_10:56:23_CEST [openHABian] Installing Java Zulu CEK to enable unlimited cipher strength... ' 2021-05-06_10:56:23_CEST [openHABian] Installing Java Zulu CEK to enable unlimited cipher strength... + cond_redirect mkdir -p /opt/jdk/zulu11.45.27-ca-jdk11.0.10-linux_aarch32hf/bin/../lib/security + [[ -n '' ]] + echo -e '\n\033[90;01m$ mkdir -p /opt/jdk/zulu11.45.27-ca-jdk11.0.10-linux_aarch32hf/bin/../lib/security \033[39;49;00m' $ mkdir -p /opt/jdk/zulu11.45.27-ca-jdk11.0.10-linux_aarch32hf/bin/../lib/security  + mkdir -p /opt/jdk/zulu11.45.27-ca-jdk11.0.10-linux_aarch32hf/bin/../lib/security + return 0 + cond_redirect wget -qO /tmp/openhabian.iHI6v/crypto.zip https://cdn.azul.com/zcek/bin/ZuluJCEPolicies.zip + [[ -n '' ]] + echo -e '\n\033[90;01m$ wget -qO /tmp/openhabian.iHI6v/crypto.zip https://cdn.azul.com/zcek/bin/ZuluJCEPolicies.zip \033[39;49;00m' $ wget -qO /tmp/openhabian.iHI6v/crypto.zip https://cdn.azul.com/zcek/bin/ZuluJCEPolicies.zip  + wget -qO /tmp/openhabian.iHI6v/crypto.zip https://cdn.azul.com/zcek/bin/ZuluJCEPolicies.zip + return 0 + cond_redirect unzip /tmp/openhabian.iHI6v/crypto.zip -d /tmp/openhabian.iHI6v + [[ -n '' ]] + echo -e '\n\033[90;01m$ unzip /tmp/openhabian.iHI6v/crypto.zip -d /tmp/openhabian.iHI6v \033[39;49;00m' $ unzip /tmp/openhabian.iHI6v/crypto.zip -d /tmp/openhabian.iHI6v  + unzip /tmp/openhabian.iHI6v/crypto.zip -d /tmp/openhabian.iHI6v Archive: /tmp/openhabian.iHI6v/crypto.zip creating: /tmp/openhabian.iHI6v/ZuluJCEPolicies/ inflating: /tmp/openhabian.iHI6v/ZuluJCEPolicies/LICENSE inflating: /tmp/openhabian.iHI6v/ZuluJCEPolicies/README.txt inflating: /tmp/openhabian.iHI6v/ZuluJCEPolicies/DISCLAIMER inflating: /tmp/openhabian.iHI6v/ZuluJCEPolicies/local_policy.jar inflating: /tmp/openhabian.iHI6v/ZuluJCEPolicies/US_export_policy.jar + return 0 + cond_redirect cp -u /tmp/openhabian.iHI6v/ZuluJCEPolicies/local_policy.jar /tmp/openhabian.iHI6v/ZuluJCEPolicies/US_export_policy.jar /opt/jdk/zulu11.45.27-ca-jdk11.0.10-linux_aarch32hf/bin/../lib/security + [[ -n '' ]] + echo -e '\n\033[90;01m$ cp -u /tmp/openhabian.iHI6v/ZuluJCEPolicies/local_policy.jar /tmp/openhabian.iHI6v/ZuluJCEPolicies/US_export_policy.jar /opt/jdk/zulu11.45.27-ca-jdk11.0.10-linux_aarch32hf/bin/../lib/security \033[39;49;00m' $ cp -u /tmp/openhabian.iHI6v/ZuluJCEPolicies/local_policy.jar /tmp/openhabian.iHI6v/ZuluJCEPolicies/US_export_policy.jar /opt/jdk/zulu11.45.27-ca-jdk11.0.10-linux_aarch32hf/bin/../lib/security  + cp -u /tmp/openhabian.iHI6v/ZuluJCEPolicies/local_policy.jar /tmp/openhabian.iHI6v/ZuluJCEPolicies/US_export_policy.jar /opt/jdk/zulu11.45.27-ca-jdk11.0.10-linux_aarch32hf/bin/../lib/security + return 0 + echo OK OK + cond_redirect rm -rf /tmp/openhabian.iHI6v + [[ -n '' ]] + echo -e '\n\033[90;01m$ rm -rf /tmp/openhabian.iHI6v \033[39;49;00m' $ rm -rf /tmp/openhabian.iHI6v  + rm -rf /tmp/openhabian.iHI6v + return 0 + openhab_is_installed + openhab2_is_installed ++ dpkg -s openhab2 ++ grep Status ++ cut '-d ' -f2 + [[ '' == \i\n\s\t\a\l\l ]] + return 1 + openhab3_is_installed ++ dpkg -s openhab ++ grep Status ++ cut '-d ' -f2 + [[ '' == \i\n\s\t\a\l\l ]] + return 1 + return 1 + [[ Zulu11-32 == \A\d\o\p\t\1\1 ]] + [[ Zulu11-32 != \A\d\o\p\t\1\1 ]] ++ java -version + [[ openjdk version "11.0.10" 2021-01-19 LTS OpenJDK Runtime Environment Zulu11.45+27-CA (build 11.0.10+9-LTS) OpenJDK Client VM Zulu11.45+27-CA (build 11.0.10+9-LTS, mixed mode) == *\A\d\o\p\t\O\p\e\n\J\D\K* ]] + [[ Zulu11-32 == \Z\u\l\u\1\1\-\6\4 ]] + [[ Zulu11-32 != \A\d\o\p\t\1\1 ]] + cond_redirect java_zulu_update_available Zulu11-32 + [[ -n '' ]] + echo -e '\n\033[90;01m$ java_zulu_update_available Zulu11-32 \033[39;49;00m' $ java_zulu_update_available Zulu11-32  + java_zulu_update_available Zulu11-32 ++ command -v java + [[ -x /usr/bin/java ]] + local availableVersion + local filter + local javaArch + local javaVersion + local jdkBin + local link + local requestedArch ++ command -v jq + [[ -x /usr/bin/jq ]] + filter='[.jdk_version[] | tostring] | join(".")' ++ find /opt/jdk/zulu11.45.27-ca-jdk11.0.10-linux_aarch32hf/bin ... -print -quit + jdkBin=/opt/jdk/zulu11.45.27-ca-jdk11.0.10-linux_aarch32hf/bin ++ /opt/jdk/zulu11.45.27-ca-jdk11.0.10-linux_aarch32hf/bin/java -version ++ grep -m 1 -o '[0-9]\{0,3\}\.[0-9]\{0,3\}\.[0-9]\{0,3\}[\.+][0-9]\{0,3\}' ++ head -1 ++ sed 's|+|.|g' + javaVersion=11.0.10.9 + link='https://api.azul.com/zulu/download/community/v1.0/bundles/latest/?os=linux&ext=tar.gz&javafx=false' + [[ Zulu11-32 == \Z\u\l\u\1\1\-\3\2 ]] + is_arm + is_armv6l + [[ '' == \a\r\m\v\6\l ]] + case "$(uname -m)" in ++ uname -m + return 1 + is_armv7l + [[ '' == \a\r\m\v\7\l ]] + case "$(uname -m)" in ++ uname -m + return 0 + return 0 + requestedArch=aarch32hf ++ curl -s -H 'Accept: application/json' 'https://api.azul.com/zulu/download/community/v1.0/bundles/latest/?os=linux&ext=tar.gz&javafx=false&jdk_version=11&arch=arm&hw_bitness=32&abi=hard_float' ++ jq -r '[.jdk_version[] | tostring] | join(".")' + availableVersion=11.0.11.9 + [[ -z aarch32hf ]] + [[ -z 11.0.11.9 ]] + [[ /opt/jdk/zulu11.45.27-ca-jdk11.0.10-linux_aarch32hf/bin == *\a\a\r\c\h\3\2\h\f* ]] + javaArch=aarch32hf + [[ /opt/jdk/zulu11.45.27-ca-jdk11.0.10-linux_aarch32hf/bin == *\i\6\8\6* ]] + [[ /opt/jdk/zulu11.45.27-ca-jdk11.0.10-linux_aarch32hf/bin == *\a\a\r\c\h\6\4* ]] + [[ /opt/jdk/zulu11.45.27-ca-jdk11.0.10-linux_aarch32hf/bin == *\x\6\4* ]] + [[ 11.0.10.9 == \1\1\.\0\.\1\1\.\9 ]] + return 0 + java_zulu_prerequisite Zulu11-32 ++ timestamp ++ date +%F_%T_%Z + echo -n '2021-05-06_10:56:26_CEST [openHABian] Installing Java Zulu prerequisites (libc, libstdc++, zlib1g)... ' 2021-05-06_10:56:26_CEST [openHABian] Installing Java Zulu prerequisites (libc, libstdc++, zlib1g)... + [[ Zulu11-32 == \Z\u\l\u\1\1\-\6\4 ]] + is_arm + is_armv6l + [[ '' == \a\r\m\v\6\l ]] + case "$(uname -m)" in ++ uname -m + return 1 + is_armv7l + [[ '' == \a\r\m\v\7\l ]] + case "$(uname -m)" in ++ uname -m + return 0 + return 0 + dpkg -s libc6:armhf libstdc++6:armhf zlib1g:armhf + echo OK OK + return 0 + [[ main == \o\p\e\n\H\A\B\3 ]] + java_zulu_fetch Zulu11-32 + local downloadLink + local jdkInstallLocation + local link + jdkInstallLocation=/opt/jdk + link='https://api.azul.com/zulu/download/community/v1.0/bundles/latest/binary/?os=linux&ext=tar.gz&javafx=false' + [[ Zulu11-32 == \Z\u\l\u\1\1\-\3\2 ]] ++ timestamp ++ date +%F_%T_%Z + echo -n '2021-05-06_10:56:26_CEST [openHABian] Downloading Java Zulu 11 32-Bit OpenJDK... ' 2021-05-06_10:56:26_CEST [openHABian] Downloading Java Zulu 11 32-Bit OpenJDK... + is_arm + is_armv6l + [[ '' == \a\r\m\v\6\l ]] + case "$(uname -m)" in ++ uname -m + return 1 + is_armv7l + [[ '' == \a\r\m\v\7\l ]] + case "$(uname -m)" in ++ uname -m + return 0 + return 0 ++ curl 'https://api.azul.com/zulu/download/community/v1.0/bundles/latest/binary/?os=linux&ext=tar.gz&javafx=false&jdk_version=11&arch=arm&hw_bitness=32&abi=hard_float' -s -L -I -o /dev/null -w '%{url_effective}' + downloadLink=https://cdn.azul.com/zulu-embedded/bin/zulu11.48.21-ca-jdk11.0.11-linux_aarch32hf.tar.gz + [[ -z https://cdn.azul.com/zulu-embedded/bin/zulu11.48.21-ca-jdk11.0.11-linux_aarch32hf.tar.gz ]] + mkdir -p /opt/jdk + rm -rf /opt/jdk/zulu11.45.27-ca-jdk11.0.10-linux_aarch32hf + cond_redirect wget -nv -O /opt/jdk/zulu.tar.gz https://cdn.azul.com/zulu-embedded/bin/zulu11.48.21-ca-jdk11.0.11-linux_aarch32hf.tar.gz + [[ -n '' ]] + echo -e '\n\033[90;01m$ wget -nv -O /opt/jdk/zulu.tar.gz https://cdn.azul.com/zulu-embedded/bin/zulu11.48.21-ca-jdk11.0.11-linux_aarch32hf.tar.gz \033[39;49;00m' $ wget -nv -O /opt/jdk/zulu.tar.gz https://cdn.azul.com/zulu-embedded/bin/zulu11.48.21-ca-jdk11.0.11-linux_aarch32hf.tar.gz  + wget -nv -O /opt/jdk/zulu.tar.gz https://cdn.azul.com/zulu-embedded/bin/zulu11.48.21-ca-jdk11.0.11-linux_aarch32hf.tar.gz 2021-05-06 10:56:54 URL:https://cdn.azul.com/zulu-embedded/bin/zulu11.48.21-ca-jdk11.0.11-linux_aarch32hf.tar.gz [178185984/178185984] -> "/opt/jdk/zulu.tar.gz" [1] + return 0 + cond_redirect tar -xpzf /opt/jdk/zulu.tar.gz -C /opt/jdk + [[ -n '' ]] + echo -e '\n\033[90;01m$ tar -xpzf /opt/jdk/zulu.tar.gz -C /opt/jdk \033[39;49;00m' $ tar -xpzf /opt/jdk/zulu.tar.gz -C /opt/jdk  + tar -xpzf /opt/jdk/zulu.tar.gz -C /opt/jdk + return 0 + cond_redirect rm -rf /opt/jdk/zulu.tar.gz + [[ -n '' ]] + echo -e '\n\033[90;01m$ rm -rf /opt/jdk/zulu.tar.gz \033[39;49;00m' $ rm -rf /opt/jdk/zulu.tar.gz  + rm -rf /opt/jdk/zulu.tar.gz + return 0 + echo OK OK + java_zulu_install Zulu11-32 + local jdkBin + local jdkLib ++ find /opt/jdk/zulu11.48.21-ca-jdk11.0.11-linux_aarch32hf/bin ... -print -quit + jdkBin=/opt/jdk/zulu11.48.21-ca-jdk11.0.11-linux_aarch32hf/bin ++ find /opt/jdk/zulu11.48.21-ca-jdk11.0.11-linux_aarch32hf/lib ... -print -quit + jdkLib=/opt/jdk/zulu11.48.21-ca-jdk11.0.11-linux_aarch32hf/lib + [[ Zulu11-32 == \Z\u\l\u\1\1\-\3\2 ]] ++ timestamp ++ date +%F_%T_%Z + echo -n '2021-05-06_10:57:02_CEST [openHABian] Installing Java Zulu 11 32-Bit OpenJDK... ' 2021-05-06_10:57:02_CEST [openHABian] Installing Java Zulu 11 32-Bit OpenJDK... + openhab_is_running + openhab_is_installed + openhab2_is_installed ++ dpkg -s openhab2 ++ grep Status ++ cut '-d ' -f2 + [[ '' == \i\n\s\t\a\l\l ]] + return 1 + openhab3_is_installed ++ dpkg -s openhab ++ grep Status ++ cut '-d ' -f2 + [[ '' == \i\n\s\t\a\l\l ]] + return 1 + return 1 + return 1 + cond_redirect java_alternatives_reset + [[ -n '' ]] + echo -e '\n\033[90;01m$ java_alternatives_reset \033[39;49;00m' $ java_alternatives_reset  + java_alternatives_reset + update-alternatives --quiet --remove-all java + update-alternatives --quiet --remove-all jjs + update-alternatives --quiet --remove-all keytool + update-alternatives --quiet --remove-all pack200 + update-alternatives --quiet --remove-all rmid + update-alternatives --quiet --remove-all rmiregistry + update-alternatives --quiet --remove-all unpack200 + update-alternatives --quiet --remove-all jexec + update-alternatives --quiet --remove-all javac + return 2 + cond_redirect update-alternatives --install /usr/bin/java java /opt/jdk/zulu11.48.21-ca-jdk11.0.11-linux_aarch32hf/bin/java 1000000 + [[ -n '' ]] + echo -e '\n\033[90;01m$ update-alternatives --install /usr/bin/java java /opt/jdk/zulu11.48.21-ca-jdk11.0.11-linux_aarch32hf/bin/java 1000000 \033[39;49;00m' $ update-alternatives --install /usr/bin/java java /opt/jdk/zulu11.48.21-ca-jdk11.0.11-linux_aarch32hf/bin/java 1000000  + update-alternatives --install /usr/bin/java java /opt/jdk/zulu11.48.21-ca-jdk11.0.11-linux_aarch32hf/bin/java 1000000 update-alternatives: using /opt/jdk/zulu11.48.21-ca-jdk11.0.11-linux_aarch32hf/bin/java to provide /usr/bin/java (java) in auto mode + return 0 + cond_redirect update-alternatives --install /usr/bin/jjs jjs /opt/jdk/zulu11.48.21-ca-jdk11.0.11-linux_aarch32hf/bin/jjs 1000000 + [[ -n '' ]] + echo -e '\n\033[90;01m$ update-alternatives --install /usr/bin/jjs jjs /opt/jdk/zulu11.48.21-ca-jdk11.0.11-linux_aarch32hf/bin/jjs 1000000 \033[39;49;00m' $ update-alternatives --install /usr/bin/jjs jjs /opt/jdk/zulu11.48.21-ca-jdk11.0.11-linux_aarch32hf/bin/jjs 1000000  + update-alternatives --install /usr/bin/jjs jjs /opt/jdk/zulu11.48.21-ca-jdk11.0.11-linux_aarch32hf/bin/jjs 1000000 update-alternatives: using /opt/jdk/zulu11.48.21-ca-jdk11.0.11-linux_aarch32hf/bin/jjs to provide /usr/bin/jjs (jjs) in auto mode + return 0 + cond_redirect update-alternatives --install /usr/bin/keytool keytool /opt/jdk/zulu11.48.21-ca-jdk11.0.11-linux_aarch32hf/bin/keytool 1000000 + [[ -n '' ]] + echo -e '\n\033[90;01m$ update-alternatives --install /usr/bin/keytool keytool /opt/jdk/zulu11.48.21-ca-jdk11.0.11-linux_aarch32hf/bin/keytool 1000000 \033[39;49;00m' $ update-alternatives --install /usr/bin/keytool keytool /opt/jdk/zulu11.48.21-ca-jdk11.0.11-linux_aarch32hf/bin/keytool 1000000  + update-alternatives --install /usr/bin/keytool keytool /opt/jdk/zulu11.48.21-ca-jdk11.0.11-linux_aarch32hf/bin/keytool 1000000 update-alternatives: using /opt/jdk/zulu11.48.21-ca-jdk11.0.11-linux_aarch32hf/bin/keytool to provide /usr/bin/keytool (keytool) in auto mode + return 0 + cond_redirect update-alternatives --install /usr/bin/pack200 pack200 /opt/jdk/zulu11.48.21-ca-jdk11.0.11-linux_aarch32hf/bin/pack200 1000000 + [[ -n '' ]] + echo -e '\n\033[90;01m$ update-alternatives --install /usr/bin/pack200 pack200 /opt/jdk/zulu11.48.21-ca-jdk11.0.11-linux_aarch32hf/bin/pack200 1000000 \033[39;49;00m' $ update-alternatives --install /usr/bin/pack200 pack200 /opt/jdk/zulu11.48.21-ca-jdk11.0.11-linux_aarch32hf/bin/pack200 1000000  + update-alternatives --install /usr/bin/pack200 pack200 /opt/jdk/zulu11.48.21-ca-jdk11.0.11-linux_aarch32hf/bin/pack200 1000000 update-alternatives: using /opt/jdk/zulu11.48.21-ca-jdk11.0.11-linux_aarch32hf/bin/pack200 to provide /usr/bin/pack200 (pack200) in auto mode + return 0 + cond_redirect update-alternatives --install /usr/bin/rmid rmid /opt/jdk/zulu11.48.21-ca-jdk11.0.11-linux_aarch32hf/bin/rmid 1000000 + [[ -n '' ]] + echo -e '\n\033[90;01m$ update-alternatives --install /usr/bin/rmid rmid /opt/jdk/zulu11.48.21-ca-jdk11.0.11-linux_aarch32hf/bin/rmid 1000000 \033[39;49;00m' $ update-alternatives --install /usr/bin/rmid rmid /opt/jdk/zulu11.48.21-ca-jdk11.0.11-linux_aarch32hf/bin/rmid 1000000  + update-alternatives --install /usr/bin/rmid rmid /opt/jdk/zulu11.48.21-ca-jdk11.0.11-linux_aarch32hf/bin/rmid 1000000 update-alternatives: using /opt/jdk/zulu11.48.21-ca-jdk11.0.11-linux_aarch32hf/bin/rmid to provide /usr/bin/rmid (rmid) in auto mode + return 0 + cond_redirect update-alternatives --install /usr/bin/rmiregistry rmiregistry /opt/jdk/zulu11.48.21-ca-jdk11.0.11-linux_aarch32hf/bin/rmiregistry 1000000 + [[ -n '' ]] + echo -e '\n\033[90;01m$ update-alternatives --install /usr/bin/rmiregistry rmiregistry /opt/jdk/zulu11.48.21-ca-jdk11.0.11-linux_aarch32hf/bin/rmiregistry 1000000 \033[39;49;00m' $ update-alternatives --install /usr/bin/rmiregistry rmiregistry /opt/jdk/zulu11.48.21-ca-jdk11.0.11-linux_aarch32hf/bin/rmiregistry 1000000  + update-alternatives --install /usr/bin/rmiregistry rmiregistry /opt/jdk/zulu11.48.21-ca-jdk11.0.11-linux_aarch32hf/bin/rmiregistry 1000000 update-alternatives: using /opt/jdk/zulu11.48.21-ca-jdk11.0.11-linux_aarch32hf/bin/rmiregistry to provide /usr/bin/rmiregistry (rmiregistry) in auto mode + return 0 + cond_redirect update-alternatives --install /usr/bin/unpack200 unpack200 /opt/jdk/zulu11.48.21-ca-jdk11.0.11-linux_aarch32hf/bin/unpack200 1000000 + [[ -n '' ]] + echo -e '\n\033[90;01m$ update-alternatives --install /usr/bin/unpack200 unpack200 /opt/jdk/zulu11.48.21-ca-jdk11.0.11-linux_aarch32hf/bin/unpack200 1000000 \033[39;49;00m' $ update-alternatives --install /usr/bin/unpack200 unpack200 /opt/jdk/zulu11.48.21-ca-jdk11.0.11-linux_aarch32hf/bin/unpack200 1000000  + update-alternatives --install /usr/bin/unpack200 unpack200 /opt/jdk/zulu11.48.21-ca-jdk11.0.11-linux_aarch32hf/bin/unpack200 1000000 update-alternatives: using /opt/jdk/zulu11.48.21-ca-jdk11.0.11-linux_aarch32hf/bin/unpack200 to provide /usr/bin/unpack200 (unpack200) in auto mode + return 0 + cond_redirect update-alternatives --install /usr/bin/jexec jexec /opt/jdk/zulu11.48.21-ca-jdk11.0.11-linux_aarch32hf/lib/jexec 1000000 + [[ -n '' ]] + echo -e '\n\033[90;01m$ update-alternatives --install /usr/bin/jexec jexec /opt/jdk/zulu11.48.21-ca-jdk11.0.11-linux_aarch32hf/lib/jexec 1000000 \033[39;49;00m' $ update-alternatives --install /usr/bin/jexec jexec /opt/jdk/zulu11.48.21-ca-jdk11.0.11-linux_aarch32hf/lib/jexec 1000000  + update-alternatives --install /usr/bin/jexec jexec /opt/jdk/zulu11.48.21-ca-jdk11.0.11-linux_aarch32hf/lib/jexec 1000000 update-alternatives: using /opt/jdk/zulu11.48.21-ca-jdk11.0.11-linux_aarch32hf/lib/jexec to provide /usr/bin/jexec (jexec) in auto mode + return 0 + echo /opt/jdk/zulu11.48.21-ca-jdk11.0.11-linux_aarch32hf/lib + echo /opt/jdk/zulu11.48.21-ca-jdk11.0.11-linux_aarch32hf/lib/jli + echo /opt/jdk/zulu11.48.21-ca-jdk11.0.11-linux_aarch32hf/lib/client + ldconfig + echo OK OK + java_zulu_install_crypto_extension + [[ -n '' ]] + local jdkSecurity + local policyTempLocation ++ realpath /usr/bin/java ++ sed 's|/java||' + jdkSecurity=/opt/jdk/zulu11.48.21-ca-jdk11.0.11-linux_aarch32hf/bin/../lib/security ++ mktemp -d /tmp/openhabian.XXXXX + policyTempLocation=/tmp/openhabian.4XcxS ++ timestamp ++ date +%F_%T_%Z + echo -n '2021-05-06_10:57:04_CEST [openHABian] Installing Java Zulu CEK to enable unlimited cipher strength... ' 2021-05-06_10:57:04_CEST [openHABian] Installing Java Zulu CEK to enable unlimited cipher strength... + cond_redirect mkdir -p /opt/jdk/zulu11.48.21-ca-jdk11.0.11-linux_aarch32hf/bin/../lib/security + [[ -n '' ]] + echo -e '\n\033[90;01m$ mkdir -p /opt/jdk/zulu11.48.21-ca-jdk11.0.11-linux_aarch32hf/bin/../lib/security \033[39;49;00m' $ mkdir -p /opt/jdk/zulu11.48.21-ca-jdk11.0.11-linux_aarch32hf/bin/../lib/security  + mkdir -p /opt/jdk/zulu11.48.21-ca-jdk11.0.11-linux_aarch32hf/bin/../lib/security + return 0 + cond_redirect wget -qO /tmp/openhabian.4XcxS/crypto.zip https://cdn.azul.com/zcek/bin/ZuluJCEPolicies.zip + [[ -n '' ]] + echo -e '\n\033[90;01m$ wget -qO /tmp/openhabian.4XcxS/crypto.zip https://cdn.azul.com/zcek/bin/ZuluJCEPolicies.zip \033[39;49;00m' $ wget -qO /tmp/openhabian.4XcxS/crypto.zip https://cdn.azul.com/zcek/bin/ZuluJCEPolicies.zip  + wget -qO /tmp/openhabian.4XcxS/crypto.zip https://cdn.azul.com/zcek/bin/ZuluJCEPolicies.zip + return 0 + cond_redirect unzip /tmp/openhabian.4XcxS/crypto.zip -d /tmp/openhabian.4XcxS + [[ -n '' ]] + echo -e '\n\033[90;01m$ unzip /tmp/openhabian.4XcxS/crypto.zip -d /tmp/openhabian.4XcxS \033[39;49;00m' $ unzip /tmp/openhabian.4XcxS/crypto.zip -d /tmp/openhabian.4XcxS  + unzip /tmp/openhabian.4XcxS/crypto.zip -d /tmp/openhabian.4XcxS Archive: /tmp/openhabian.4XcxS/crypto.zip creating: /tmp/openhabian.4XcxS/ZuluJCEPolicies/ inflating: /tmp/openhabian.4XcxS/ZuluJCEPolicies/LICENSE inflating: /tmp/openhabian.4XcxS/ZuluJCEPolicies/README.txt inflating: /tmp/openhabian.4XcxS/ZuluJCEPolicies/DISCLAIMER inflating: /tmp/openhabian.4XcxS/ZuluJCEPolicies/local_policy.jar inflating: /tmp/openhabian.4XcxS/ZuluJCEPolicies/US_export_policy.jar + return 0 + cond_redirect cp -u /tmp/openhabian.4XcxS/ZuluJCEPolicies/local_policy.jar /tmp/openhabian.4XcxS/ZuluJCEPolicies/US_export_policy.jar /opt/jdk/zulu11.48.21-ca-jdk11.0.11-linux_aarch32hf/bin/../lib/security + [[ -n '' ]] + echo -e '\n\033[90;01m$ cp -u /tmp/openhabian.4XcxS/ZuluJCEPolicies/local_policy.jar /tmp/openhabian.4XcxS/ZuluJCEPolicies/US_export_policy.jar /opt/jdk/zulu11.48.21-ca-jdk11.0.11-linux_aarch32hf/bin/../lib/security \033[39;49;00m' $ cp -u /tmp/openhabian.4XcxS/ZuluJCEPolicies/local_policy.jar /tmp/openhabian.4XcxS/ZuluJCEPolicies/US_export_policy.jar /opt/jdk/zulu11.48.21-ca-jdk11.0.11-linux_aarch32hf/bin/../lib/security  + cp -u /tmp/openhabian.4XcxS/ZuluJCEPolicies/local_policy.jar /tmp/openhabian.4XcxS/ZuluJCEPolicies/US_export_policy.jar /opt/jdk/zulu11.48.21-ca-jdk11.0.11-linux_aarch32hf/bin/../lib/security + return 0 + echo OK OK + cond_redirect rm -rf /tmp/openhabian.4XcxS + [[ -n '' ]] + echo -e '\n\033[90;01m$ rm -rf /tmp/openhabian.4XcxS \033[39;49;00m' $ rm -rf /tmp/openhabian.4XcxS  + rm -rf /tmp/openhabian.4XcxS + return 0 + openhab_is_installed + openhab2_is_installed ++ dpkg -s openhab2 ++ grep Status ++ cut '-d ' -f2 + [[ '' == \i\n\s\t\a\l\l ]] + return 1 + openhab3_is_installed ++ dpkg -s openhab ++ grep Status ++ cut '-d ' -f2 + [[ '' == \i\n\s\t\a\l\l ]] + return 1 + return 1 ++ 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.11" 2021-04-20 LTS OpenJDK Runtime Environment Zulu11.48+21-CA (build 11.0.11+9-LTS) OpenJDK Client VM Zulu11.48+21-CA (build 11.0.11+9-LTS, mixed mode) + return 0 + openhab_setup openHAB3 stable + local introText + local successText + local repo + local openhabVersion + [[ openHAB3 == \o\p\e\n\H\A\B\3 ]] + ohPkgName=openhab + [[ stable == \u\n\s\t\a\b\l\e ]] + [[ stable == \s\t\a\b\l\e ]] + introText='You are about to install or change to the latest stable openHAB3 release.\n\nPlease be aware that downgrading from a newer unstable snapshot build is not officially supported. Please consult with the documentation or community forum and be sure to take a full openHAB configuration backup first!' + successText='The stable release of openHAB3 is now installed on your system.\n\nPlease test the correct behavior of your setup. You might need to adapt your configuration, if available. If you made changes to the files in '\''/var/lib/openhab'\'' they were replaced, but you can restore them from backup files next to the originals.\n\nCheck the "openHAB Release Notes" and the official announcements to learn about additons, fixes and changes.' + repo='deb https://dl.bintray.com/openhab/apt-repo2 stable main' + [[ stable == \u\n\s\t\a\b\l\e ]] + [[ stable == \s\t\a\b\l\e ]] ++ timestamp ++ date +%F_%T_%Z + echo -n '2021-05-06_10:57:04_CEST [openHABian] Beginning install of latest openHAB3 release (stable)... ' 2021-05-06_10:57:04_CEST [openHABian] Beginning install of latest openHAB3 release (stable)... + [[ -n '' ]] + echo OK OK + running_in_docker + [[ -n '' ]] + grep -qs 'docker\|lxc' /proc/1/cgroup + [[ -f /.dockerenv ]] + return 1 + [[ -z '' ]] + add_keys 'https://bintray.com/user/downloadSubjectPublicKey?username=openhab' + local repoKey ++ mktemp /tmp/openhabian.XXXXX + repoKey=/tmp/openhabian.NY0Gq ++ timestamp ++ date +%F_%T_%Z + echo -n '2021-05-06_10:57:04_CEST [openHABian] Adding required keys to apt... ' 2021-05-06_10:57:04_CEST [openHABian] Adding required keys to apt... + cond_redirect wget -qO /tmp/openhabian.NY0Gq 'https://bintray.com/user/downloadSubjectPublicKey?username=openhab' + [[ -n '' ]] + echo -e '\n\033[90;01m$ wget -qO /tmp/openhabian.NY0Gq https://bintray.com/user/downloadSubjectPublicKey?username=openhab \033[39;49;00m' $ wget -qO /tmp/openhabian.NY0Gq https://bintray.com/user/downloadSubjectPublicKey?username=openhab  + wget -qO /tmp/openhabian.NY0Gq 'https://bintray.com/user/downloadSubjectPublicKey?username=openhab' + return 8 + cond_redirect apt-key add /tmp/openhabian.NY0Gq + [[ -n '' ]] + echo -e '\n\033[90;01m$ apt-key add /tmp/openhabian.NY0Gq \033[39;49;00m' $ apt-key add /tmp/openhabian.NY0Gq  + apt-key add /tmp/openhabian.NY0Gq Warning: apt-key output should not be parsed (stdout is not a terminal) gpg: no valid OpenPGP data found. + return 2 + echo FAILED FAILED + rm -f /tmp/openhabian.NY0Gq + return 1 + return 1 + vim_openhab_syntax ++ timestamp ++ date +%F_%T_%Z + echo -n '2021-05-06_10:57:05_CEST [openHABian] Adding openHAB syntax to vim editor... ' 2021-05-06_10:57:05_CEST [openHABian] Adding openHAB syntax to vim editor... + cond_redirect mkdir -p /home/openhabian/.vim/ftdetect /home/openhabian/.vim/syntax + [[ -n '' ]] + echo -e '\n\033[90;01m$ mkdir -p /home/openhabian/.vim/ftdetect /home/openhabian/.vim/syntax \033[39;49;00m' $ mkdir -p /home/openhabian/.vim/ftdetect /home/openhabian/.vim/syntax  + mkdir -p /home/openhabian/.vim/ftdetect /home/openhabian/.vim/syntax + return 0 + cond_redirect wget -O /home/openhabian/.vim/syntax/openhab.vim https://github.com/cyberkov/openhab-vim/raw/master/syntax/openhab.vim + [[ -n '' ]] + echo -e '\n\033[90;01m$ wget -O /home/openhabian/.vim/syntax/openhab.vim https://github.com/cyberkov/openhab-vim/raw/master/syntax/openhab.vim \033[39;49;00m' $ wget -O /home/openhabian/.vim/syntax/openhab.vim https://github.com/cyberkov/openhab-vim/raw/master/syntax/openhab.vim  + wget -O /home/openhabian/.vim/syntax/openhab.vim https://github.com/cyberkov/openhab-vim/raw/master/syntax/openhab.vim --2021-05-06 10:57:05-- https://github.com/cyberkov/openhab-vim/raw/master/syntax/openhab.vim Resolving github.com (github.com)... 140.82.121.4 Connecting to github.com (github.com)|140.82.121.4|:443... connected. HTTP request sent, awaiting response... 302 Found Location: https://raw.githubusercontent.com/cyberkov/openhab-vim/master/syntax/openhab.vim [following] --2021-05-06 10:57:06-- https://raw.githubusercontent.com/cyberkov/openhab-vim/master/syntax/openhab.vim Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 185.199.108.133, 185.199.109.133, 185.199.110.133, ... Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|185.199.108.133|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 6065 (5.9K) [text/plain] Saving to: ‘/home/openhabian/.vim/syntax/openhab.vim’ 0K ..... 100% 3.93M=0.001s 2021-05-06 10:57:06 (3.93 MB/s) - ‘/home/openhabian/.vim/syntax/openhab.vim’ saved [6065/6065] + return 0 + cond_redirect wget -O /home/openhabian/.vim/ftdetect/openhab.vim https://github.com/cyberkov/openhab-vim/raw/master/ftdetect/openhab.vim + [[ -n '' ]] + echo -e '\n\033[90;01m$ wget -O /home/openhabian/.vim/ftdetect/openhab.vim https://github.com/cyberkov/openhab-vim/raw/master/ftdetect/openhab.vim \033[39;49;00m' $ wget -O /home/openhabian/.vim/ftdetect/openhab.vim https://github.com/cyberkov/openhab-vim/raw/master/ftdetect/openhab.vim  + wget -O /home/openhabian/.vim/ftdetect/openhab.vim https://github.com/cyberkov/openhab-vim/raw/master/ftdetect/openhab.vim --2021-05-06 10:57:06-- https://github.com/cyberkov/openhab-vim/raw/master/ftdetect/openhab.vim Resolving github.com (github.com)... 140.82.121.4 Connecting to github.com (github.com)|140.82.121.4|:443... connected. HTTP request sent, awaiting response... 302 Found Location: https://raw.githubusercontent.com/cyberkov/openhab-vim/master/ftdetect/openhab.vim [following] --2021-05-06 10:57:06-- https://raw.githubusercontent.com/cyberkov/openhab-vim/master/ftdetect/openhab.vim Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 185.199.109.133, 185.199.110.133, 185.199.111.133, ... Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|185.199.109.133|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 661 [text/plain] Saving to: ‘/home/openhabian/.vim/ftdetect/openhab.vim’ 0K 100% 4.15M=0s 2021-05-06 10:57:07 (4.15 MB/s) - ‘/home/openhabian/.vim/ftdetect/openhab.vim’ saved [661/661] + return 0 + chown -R openhabian:openhabian /home/openhabian/.vim + echo OK OK + nano_openhab_syntax ++ timestamp ++ date +%F_%T_%Z + echo -n '2021-05-06_10:57:07_CEST [openHABian] Adding openHAB syntax to nano editor... ' 2021-05-06_10:57:07_CEST [openHABian] Adding openHAB syntax to nano editor... + cond_redirect wget -O /usr/share/nano/openhab.nanorc https://github.com/airix1/openhabnano/raw/master/openhab.nanorc + [[ -n '' ]] + echo -e '\n\033[90;01m$ wget -O /usr/share/nano/openhab.nanorc https://github.com/airix1/openhabnano/raw/master/openhab.nanorc \033[39;49;00m' $ wget -O /usr/share/nano/openhab.nanorc https://github.com/airix1/openhabnano/raw/master/openhab.nanorc  + wget -O /usr/share/nano/openhab.nanorc https://github.com/airix1/openhabnano/raw/master/openhab.nanorc --2021-05-06 10:57:07-- https://github.com/airix1/openhabnano/raw/master/openhab.nanorc Resolving github.com (github.com)... 140.82.121.4 Connecting to github.com (github.com)|140.82.121.4|:443... connected. HTTP request sent, awaiting response... 302 Found Location: https://raw.githubusercontent.com/airix1/openhabnano/master/openhab.nanorc [following] --2021-05-06 10:57:07-- https://raw.githubusercontent.com/airix1/openhabnano/master/openhab.nanorc Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 185.199.110.133, 185.199.111.133, 185.199.108.133, ... Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|185.199.110.133|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 2321 (2.3K) [text/plain] Saving to: ‘/usr/share/nano/openhab.nanorc’ 0K .. 100% 4.65M=0s 2021-05-06 10:57:07 (4.65 MB/s) - ‘/usr/share/nano/openhab.nanorc’ saved [2321/2321] + return 0 + echo -e '\n## openHAB syntax\ninclude "/usr/share/nano/openhab.nanorc"' + echo OK OK + multitail_openhab_scheme ++ timestamp ++ date +%F_%T_%Z + echo -n '2021-05-06_10:57:08_CEST [openHABian] Adding openHAB scheme to multitail... ' 2021-05-06_10:57:08_CEST [openHABian] Adding openHAB scheme to multitail... + cp /opt/openhabian/includes/multitail.openhab.conf /etc/multitail.openhab.conf + cond_redirect sed -i -e '/^.*multitail.*openhab.*$/d' /etc/multitail.conf + [[ -n '' ]] + echo -e '\n\033[90;01m$ sed -i -e /^.*multitail.*openhab.*$/d /etc/multitail.conf \033[39;49;00m' $ sed -i -e /^.*multitail.*openhab.*$/d /etc/multitail.conf  + sed -i -e '/^.*multitail.*openhab.*$/d' /etc/multitail.conf + return 0 + cond_redirect sed -i -e 's|^# misc.*$|# openHAB logs\\ninclude:/etc/multitail.openhab.conf\\n#\\n# misc|g' /etc/multitail.conf + [[ -n '' ]] + echo -e '\n\033[90;01m$ sed -i -e s|^# misc.*$|# openHAB logs\\ninclude:/etc/multitail.openhab.conf\\n#\\n# misc|g /etc/multitail.conf \033[39;49;00m' $ sed -i -e s|^# misc.*$|# openHAB logs\ninclude:/etc/multitail.openhab.conf\n#\n# misc|g /etc/multitail.conf  + sed -i -e 's|^# misc.*$|# openHAB logs\\ninclude:/etc/multitail.openhab.conf\\n#\\n# misc|g' /etc/multitail.conf + return 0 + echo OK OK + srv_bind_mounts + [[ -f /etc/ztab ]] ++ timestamp ++ date +%F_%T_%Z + echo -n '2021-05-06_10:57:08_CEST [openHABian] Preparing openHAB folder mounts under '\''/srv/openhab-*'\''... ' 2021-05-06_10:57:08_CEST [openHABian] Preparing openHAB folder mounts under '/srv/openhab-*'... + cond_redirect umount -q /srv/openhab-sys /srv/openhab-conf /srv/openhab-userdata /srv/openhab-addons + [[ -n '' ]] + echo -e '\n\033[90;01m$ umount -q /srv/openhab-sys /srv/openhab-conf /srv/openhab-userdata /srv/openhab-addons \033[39;49;00m' $ umount -q /srv/openhab-sys /srv/openhab-conf /srv/openhab-userdata /srv/openhab-addons  + umount -q /srv/openhab-sys /srv/openhab-conf /srv/openhab-userdata /srv/openhab-addons umount: /srv/openhab-sys: no mount point specified. umount: /srv/openhab-conf: no mount point specified. umount: /srv/openhab-userdata: no mount point specified. umount: /srv/openhab-addons: no mount point specified. + return 128 + cond_redirect rm -f '/etc/systemd/system/srv*.mount' + [[ -n '' ]] + echo -e '\n\033[90;01m$ rm -f /etc/systemd/system/srv*.mount \033[39;49;00m' $ rm -f /etc/systemd/system/srv*.mount  + rm -f '/etc/systemd/system/srv*.mount' + return 0 + cond_redirect mkdir -p /srv/openhab-sys /srv/openhab-conf /srv/openhab-userdata /srv/openhab-addons + [[ -n '' ]] + echo -e '\n\033[90;01m$ mkdir -p /srv/openhab-sys /srv/openhab-conf /srv/openhab-userdata /srv/openhab-addons \033[39;49;00m' $ mkdir -p /srv/openhab-sys /srv/openhab-conf /srv/openhab-userdata /srv/openhab-addons  + mkdir -p /srv/openhab-sys /srv/openhab-conf /srv/openhab-userdata /srv/openhab-addons + return 0 + cond_redirect cp /opt/openhabian/includes/srv_readme.txt /srv/README.txt + [[ -n '' ]] + echo -e '\n\033[90;01m$ cp /opt/openhabian/includes/srv_readme.txt /srv/README.txt \033[39;49;00m' $ cp /opt/openhabian/includes/srv_readme.txt /srv/README.txt  + cp /opt/openhabian/includes/srv_readme.txt /srv/README.txt + return 0 + cond_redirect chmod ugo+w /srv /srv/README.txt + [[ -n '' ]] + echo -e '\n\033[90;01m$ chmod ugo+w /srv /srv/README.txt \033[39;49;00m' $ chmod ugo+w /srv /srv/README.txt  + chmod ugo+w /srv /srv/README.txt + return 0 + cond_redirect create_mount /usr/share/openhab sys + [[ -n '' ]] + echo -e '\n\033[90;01m$ create_mount /usr/share/openhab sys \033[39;49;00m' $ create_mount /usr/share/openhab sys  + create_mount /usr/share/openhab sys + running_in_docker + [[ -n '' ]] + grep -qs 'docker\|lxc' /proc/1/cgroup + [[ -f /.dockerenv ]] + return 1 + local destination + local mountPoint + local source + destination=sys ++ systemd-escape --path /srv/openhab-sys --suffix mount + mountPoint='srv-openhab\x2dsys.mount' + source=/usr/share/openhab ++ timestamp ++ date +%F_%T_%Z + echo -n '2021-05-06_10:57:08_CEST [openHABian] Creating mount /usr/share/openhab in '\''/srv/openhab-sys'\''... ' 2021-05-06_10:57:08_CEST [openHABian] Creating mount /usr/share/openhab in '/srv/openhab-sys'... + sed -e 's|%SRC|/usr/share/openhab|g; s|%DEST|sys|g' /opt/openhabian/includes/srv_mount_template + cond_redirect systemctl -q daemon-reload + cond_redirect systemctl enable --now 'srv-openhab\x2dsys.mount' + [[ -n '' ]] + echo -e '\n\033[90;01m$ systemctl enable --now srv-openhab\x2dsys.mount \033[39;49;00m' $ systemctl enable --now srv-openhab-sys.mount  + systemctl enable --now 'srv-openhab\x2dsys.mount' Created symlink /etc/systemd/system/multi-user.target.wants/srv-openhab\x2dsys.mount → /etc/systemd/system/srv-openhab\x2dsys.mount. + return 0 + echo OK OK + return 0 + cond_redirect create_mount /etc/openhab conf + [[ -n '' ]] + echo -e '\n\033[90;01m$ create_mount /etc/openhab conf \033[39;49;00m' $ create_mount /etc/openhab conf  + create_mount /etc/openhab conf + running_in_docker + [[ -n '' ]] + grep -qs 'docker\|lxc' /proc/1/cgroup + [[ -f /.dockerenv ]] + return 1 + local destination + local mountPoint + local source + destination=conf ++ systemd-escape --path /srv/openhab-conf --suffix mount + mountPoint='srv-openhab\x2dconf.mount' + source=/etc/openhab ++ timestamp ++ date +%F_%T_%Z + echo -n '2021-05-06_10:57:09_CEST [openHABian] Creating mount /etc/openhab in '\''/srv/openhab-conf'\''... ' 2021-05-06_10:57:09_CEST [openHABian] Creating mount /etc/openhab in '/srv/openhab-conf'... + sed -e 's|%SRC|/etc/openhab|g; s|%DEST|conf|g' /opt/openhabian/includes/srv_mount_template + cond_redirect systemctl -q daemon-reload + cond_redirect systemctl enable --now 'srv-openhab\x2dconf.mount' + [[ -n '' ]] + echo -e '\n\033[90;01m$ systemctl enable --now srv-openhab\x2dconf.mount \033[39;49;00m' $ systemctl enable --now srv-openhab-conf.mount  + systemctl enable --now 'srv-openhab\x2dconf.mount' Created symlink /etc/systemd/system/multi-user.target.wants/srv-openhab\x2dconf.mount → /etc/systemd/system/srv-openhab\x2dconf.mount. + return 0 + echo OK OK + return 0 + cond_redirect create_mount /var/lib/openhab userdata + [[ -n '' ]] + echo -e '\n\033[90;01m$ create_mount /var/lib/openhab userdata \033[39;49;00m' $ create_mount /var/lib/openhab userdata  + create_mount /var/lib/openhab userdata + running_in_docker + [[ -n '' ]] + grep -qs 'docker\|lxc' /proc/1/cgroup + [[ -f /.dockerenv ]] + return 1 + local destination + local mountPoint + local source + destination=userdata ++ systemd-escape --path /srv/openhab-userdata --suffix mount + mountPoint='srv-openhab\x2duserdata.mount' + source=/var/lib/openhab ++ timestamp ++ date +%F_%T_%Z + echo -n '2021-05-06_10:57:10_CEST [openHABian] Creating mount /var/lib/openhab in '\''/srv/openhab-userdata'\''... ' 2021-05-06_10:57:10_CEST [openHABian] Creating mount /var/lib/openhab in '/srv/openhab-userdata'... + sed -e 's|%SRC|/var/lib/openhab|g; s|%DEST|userdata|g' /opt/openhabian/includes/srv_mount_template + cond_redirect systemctl -q daemon-reload + cond_redirect systemctl enable --now 'srv-openhab\x2duserdata.mount' + [[ -n '' ]] + echo -e '\n\033[90;01m$ systemctl enable --now srv-openhab\x2duserdata.mount \033[39;49;00m' $ systemctl enable --now srv-openhab-userdata.mount  + systemctl enable --now 'srv-openhab\x2duserdata.mount' Created symlink /etc/systemd/system/multi-user.target.wants/srv-openhab\x2duserdata.mount → /etc/systemd/system/srv-openhab\x2duserdata.mount. + return 0 + echo OK OK + return 0 + cond_redirect create_mount /usr/share/openhab/addons addons + [[ -n '' ]] + echo -e '\n\033[90;01m$ create_mount /usr/share/openhab/addons addons \033[39;49;00m' $ create_mount /usr/share/openhab/addons addons  + create_mount /usr/share/openhab/addons addons + running_in_docker + [[ -n '' ]] + grep -qs 'docker\|lxc' /proc/1/cgroup + [[ -f /.dockerenv ]] + return 1 + local destination + local mountPoint + local source + destination=addons ++ systemd-escape --path /srv/openhab-addons --suffix mount + mountPoint='srv-openhab\x2daddons.mount' + source=/usr/share/openhab/addons ++ timestamp ++ date +%F_%T_%Z + echo -n '2021-05-06_10:57:11_CEST [openHABian] Creating mount /usr/share/openhab/addons in '\''/srv/openhab-addons'\''... ' 2021-05-06_10:57:11_CEST [openHABian] Creating mount /usr/share/openhab/addons in '/srv/openhab-addons'... + sed -e 's|%SRC|/usr/share/openhab/addons|g; s|%DEST|addons|g' /opt/openhabian/includes/srv_mount_template + cond_redirect systemctl -q daemon-reload + cond_redirect systemctl enable --now 'srv-openhab\x2daddons.mount' + [[ -n '' ]] + echo -e '\n\033[90;01m$ systemctl enable --now srv-openhab\x2daddons.mount \033[39;49;00m' $ systemctl enable --now srv-openhab-addons.mount  + systemctl enable --now 'srv-openhab\x2daddons.mount' Created symlink /etc/systemd/system/multi-user.target.wants/srv-openhab\x2daddons.mount → /etc/systemd/system/srv-openhab\x2daddons.mount. + return 0 + echo OK OK + return 0 + echo OK OK + [[ -f /etc/ztab ]] + samba_setup + local serviceFile=/lib/systemd/system/smbd.service ++ command -v samba + [[ -x '' ]] ++ timestamp ++ date +%F_%T_%Z + echo -n '2021-05-06_10:57:12_CEST [openHABian] Installing Samba... ' 2021-05-06_10:57:12_CEST [openHABian] Installing Samba... + cond_redirect apt-get install --yes samba + [[ -n '' ]] + echo -e '\n\033[90;01m$ apt-get install --yes samba \033[39;49;00m' $ apt-get install --yes samba  + apt-get install --yes samba Reading package lists... Building dependency tree... Reading state information... The following package was automatically installed and is no longer required: triggerhappy Use 'apt autoremove' to remove it. The following additional packages will be installed: attr ibverbs-providers libavahi-client3 libboost-atomic1.67.0 libboost-iostreams1.67.0 libboost-regex1.67.0 libboost-system1.67.0 libboost-thread1.67.0 libcephfs2 libcups2 libgfapi0 libgfrpc0 libgfxdr0 libglusterfs0 libgpgme11 libibverbs1 libjansson4 libldb1 libnspr4 libnss3 libpython2.7 librados2 libtdb1 libtevent0 python-crypto python-dnspython python-gpg python-ldb python-samba python-talloc python-tdb samba-common samba-common-bin samba-dsdb-modules samba-libs samba-vfs-modules tdb-tools Suggested packages: cups-common python-crypto-doc bind9 bind9utils ctdb ldb-tools ntp | chrony smbldap-tools ufw winbind heimdal-clients The following NEW packages will be installed: attr ibverbs-providers libavahi-client3 libboost-atomic1.67.0 libboost-iostreams1.67.0 libboost-regex1.67.0 libboost-system1.67.0 libboost-thread1.67.0 libcephfs2 libcups2 libgfapi0 libgfrpc0 libgfxdr0 libglusterfs0 libgpgme11 libibverbs1 libjansson4 libldb1 libnspr4 libnss3 libpython2.7 librados2 libtdb1 libtevent0 python-crypto python-dnspython python-gpg python-ldb python-samba python-talloc python-tdb samba samba-common samba-common-bin samba-dsdb-modules samba-libs samba-vfs-modules tdb-tools 0 upgraded, 38 newly installed, 0 to remove and 35 not upgraded. Need to get 197 kB/26.8 MB of archives. After this operation, 101 MB of additional disk space will be used. Get:1 http://mirror1.it.ox.ac.uk/sites/archive.raspbian.org/archive/raspbian buster/main armhf libldb1 armhf 2:1.5.1+really1.4.6-3+deb10u1 [109 kB] Get:2 http://raspbian.mirror.uk.sargasso.net/raspbian buster/main armhf python-ldb armhf 2:1.5.1+really1.4.6-3+deb10u1 [33.3 kB] Get:3 http://raspbian.mirror.uk.sargasso.net/raspbian buster/main armhf libavahi-client3 armhf 0.7-4+deb10u1 [54.0 kB] Preconfiguring packages ... Fetched 197 kB in 0s (408 kB/s) Selecting previously unselected package python-dnspython. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 45535 files and directories currently installed.) Preparing to unpack .../00-python-dnspython_1.16.0-1_all.deb ... Unpacking python-dnspython (1.16.0-1) ... Selecting previously unselected package python-crypto. Preparing to unpack .../01-python-crypto_2.6.1-9+b1_armhf.deb ... Unpacking python-crypto (2.6.1-9+b1) ... Selecting previously unselected package libtdb1:armhf. Preparing to unpack .../02-libtdb1_1.3.16-2+b1_armhf.deb ... Unpacking libtdb1:armhf (1.3.16-2+b1) ... Selecting previously unselected package libtevent0:armhf. Preparing to unpack .../03-libtevent0_0.9.37-1_armhf.deb ... Unpacking libtevent0:armhf (0.9.37-1) ... Selecting previously unselected package libldb1:armhf. Preparing to unpack .../04-libldb1_2%3a1.5.1+really1.4.6-3+deb10u1_armhf.deb ... Unpacking libldb1:armhf (2:1.5.1+really1.4.6-3+deb10u1) ... Selecting previously unselected package libpython2.7:armhf. Preparing to unpack .../05-libpython2.7_2.7.16-2+deb10u1_armhf.deb ... Unpacking libpython2.7:armhf (2.7.16-2+deb10u1) ... Selecting previously unselected package python-ldb. Preparing to unpack .../06-python-ldb_2%3a1.5.1+really1.4.6-3+deb10u1_armhf.deb ... Unpacking python-ldb (2:1.5.1+really1.4.6-3+deb10u1) ... Selecting previously unselected package python-tdb. Preparing to unpack .../07-python-tdb_1.3.16-2+b1_armhf.deb ... Unpacking python-tdb (1.3.16-2+b1) ... Selecting previously unselected package libavahi-client3:armhf. Preparing to unpack .../08-libavahi-client3_0.7-4+deb10u1_armhf.deb ... Unpacking libavahi-client3:armhf (0.7-4+deb10u1) ... Selecting previously unselected package libcups2:armhf. Preparing to unpack .../09-libcups2_2.2.10-6+deb10u4_armhf.deb ... Unpacking libcups2:armhf (2.2.10-6+deb10u4) ... Selecting previously unselected package libjansson4:armhf. Preparing to unpack .../10-libjansson4_2.12-1_armhf.deb ... Unpacking libjansson4:armhf (2.12-1) ... Selecting previously unselected package python-talloc:armhf. Preparing to unpack .../11-python-talloc_2.1.14-2_armhf.deb ... Unpacking python-talloc:armhf (2.1.14-2) ... Selecting previously unselected package samba-libs:armhf. Preparing to unpack .../12-samba-libs_2%3a4.9.5+dfsg-5+deb10u1+rpi1_armhf.deb ... Unpacking samba-libs:armhf (2:4.9.5+dfsg-5+deb10u1+rpi1) ... Selecting previously unselected package python-samba. Preparing to unpack .../13-python-samba_2%3a4.9.5+dfsg-5+deb10u1+rpi1_armhf.deb ... Unpacking python-samba (2:4.9.5+dfsg-5+deb10u1+rpi1) ... Selecting previously unselected package samba-common. Preparing to unpack .../14-samba-common_2%3a4.9.5+dfsg-5+deb10u1+rpi1_all.deb ... Unpacking samba-common (2:4.9.5+dfsg-5+deb10u1+rpi1) ... Selecting previously unselected package samba-common-bin. Preparing to unpack .../15-samba-common-bin_2%3a4.9.5+dfsg-5+deb10u1+rpi1_armhf.deb ... Unpacking samba-common-bin (2:4.9.5+dfsg-5+deb10u1+rpi1) ... Selecting previously unselected package tdb-tools. Preparing to unpack .../16-tdb-tools_1.3.16-2+b1_armhf.deb ... Unpacking tdb-tools (1.3.16-2+b1) ... Selecting previously unselected package samba. Preparing to unpack .../17-samba_2%3a4.9.5+dfsg-5+deb10u1+rpi1_armhf.deb ... Unpacking samba (2:4.9.5+dfsg-5+deb10u1+rpi1) ... Selecting previously unselected package attr. Preparing to unpack .../18-attr_1%3a2.4.48-4_armhf.deb ... Unpacking attr (1:2.4.48-4) ... Selecting previously unselected package libibverbs1:armhf. Preparing to unpack .../19-libibverbs1_22.1-1_armhf.deb ... Unpacking libibverbs1:armhf (22.1-1) ... Selecting previously unselected package ibverbs-providers:armhf. Preparing to unpack .../20-ibverbs-providers_22.1-1_armhf.deb ... Unpacking ibverbs-providers:armhf (22.1-1) ... Selecting previously unselected package libboost-atomic1.67.0:armhf. Preparing to unpack .../21-libboost-atomic1.67.0_1.67.0-13+deb10u1_armhf.deb ... Unpacking libboost-atomic1.67.0:armhf (1.67.0-13+deb10u1) ... Selecting previously unselected package libboost-iostreams1.67.0:armhf. Preparing to unpack .../22-libboost-iostreams1.67.0_1.67.0-13+deb10u1_armhf.deb ... Unpacking libboost-iostreams1.67.0:armhf (1.67.0-13+deb10u1) ... Selecting previously unselected package libboost-regex1.67.0:armhf. Preparing to unpack .../23-libboost-regex1.67.0_1.67.0-13+deb10u1_armhf.deb ... Unpacking libboost-regex1.67.0:armhf (1.67.0-13+deb10u1) ... Selecting previously unselected package libboost-system1.67.0:armhf. Preparing to unpack .../24-libboost-system1.67.0_1.67.0-13+deb10u1_armhf.deb ... Unpacking libboost-system1.67.0:armhf (1.67.0-13+deb10u1) ... Selecting previously unselected package libboost-thread1.67.0:armhf. Preparing to unpack .../25-libboost-thread1.67.0_1.67.0-13+deb10u1_armhf.deb ... Unpacking libboost-thread1.67.0:armhf (1.67.0-13+deb10u1) ... Selecting previously unselected package libnspr4:armhf. Preparing to unpack .../26-libnspr4_2%3a4.20-1_armhf.deb ... Unpacking libnspr4:armhf (2:4.20-1) ... Selecting previously unselected package libnss3:armhf. Preparing to unpack .../27-libnss3_2%3a3.42.1-1+deb10u3_armhf.deb ... Unpacking libnss3:armhf (2:3.42.1-1+deb10u3) ... Selecting previously unselected package librados2:armhf. Preparing to unpack .../28-librados2_12.2.11+dfsg1-2.1+rpi1_armhf.deb ... Unpacking librados2:armhf (12.2.11+dfsg1-2.1+rpi1) ... Selecting previously unselected package libcephfs2:armhf. Preparing to unpack .../29-libcephfs2_12.2.11+dfsg1-2.1+rpi1_armhf.deb ... Unpacking libcephfs2:armhf (12.2.11+dfsg1-2.1+rpi1) ... Selecting previously unselected package libglusterfs0:armhf. Preparing to unpack .../30-libglusterfs0_5.5-3_armhf.deb ... Unpacking libglusterfs0:armhf (5.5-3) ... Selecting previously unselected package libgfxdr0:armhf. Preparing to unpack .../31-libgfxdr0_5.5-3_armhf.deb ... Unpacking libgfxdr0:armhf (5.5-3) ... Selecting previously unselected package libgfrpc0:armhf. Preparing to unpack .../32-libgfrpc0_5.5-3_armhf.deb ... Unpacking libgfrpc0:armhf (5.5-3) ... Selecting previously unselected package libgfapi0:armhf. Preparing to unpack .../33-libgfapi0_5.5-3_armhf.deb ... Unpacking libgfapi0:armhf (5.5-3) ... Selecting previously unselected package libgpgme11:armhf. Preparing to unpack .../34-libgpgme11_1.12.0-6_armhf.deb ... Unpacking libgpgme11:armhf (1.12.0-6) ... Selecting previously unselected package python-gpg. Preparing to unpack .../35-python-gpg_1.12.0-6_armhf.deb ... Unpacking python-gpg (1.12.0-6) ... Selecting previously unselected package samba-dsdb-modules:armhf. Preparing to unpack .../36-samba-dsdb-modules_2%3a4.9.5+dfsg-5+deb10u1+rpi1_armhf.deb ... Unpacking samba-dsdb-modules:armhf (2:4.9.5+dfsg-5+deb10u1+rpi1) ... Selecting previously unselected package samba-vfs-modules:armhf. Preparing to unpack .../37-samba-vfs-modules_2%3a4.9.5+dfsg-5+deb10u1+rpi1_armhf.deb ... Unpacking samba-vfs-modules:armhf (2:4.9.5+dfsg-5+deb10u1+rpi1) ... Setting up python-crypto (2.6.1-9+b1) ... Setting up libibverbs1:armhf (22.1-1) ... Setting up libpython2.7:armhf (2.7.16-2+deb10u1) ... Setting up libboost-regex1.67.0:armhf (1.67.0-13+deb10u1) ... Setting up ibverbs-providers:armhf (22.1-1) ... Setting up attr (1:2.4.48-4) ... Setting up libtdb1:armhf (1.3.16-2+b1) ... Setting up samba-common (2:4.9.5+dfsg-5+deb10u1+rpi1) ... Creating config file /etc/samba/smb.conf with new version Setting up libgpgme11:armhf (1.12.0-6) ... Setting up libjansson4:armhf (2.12-1) ... Setting up libglusterfs0:armhf (5.5-3) ... Setting up libtevent0:armhf (0.9.37-1) ... Setting up libnspr4:armhf (2:4.20-1) ... Setting up tdb-tools (1.3.16-2+b1) ... update-alternatives: using /usr/bin/tdbbackup.tdbtools to provide /usr/bin/tdbbackup (tdbbackup) in auto mode Setting up libboost-iostreams1.67.0:armhf (1.67.0-13+deb10u1) ... Setting up python-tdb (1.3.16-2+b1) ... Setting up libboost-atomic1.67.0:armhf (1.67.0-13+deb10u1) ... Setting up python-dnspython (1.16.0-1) ... Setting up libboost-system1.67.0:armhf (1.67.0-13+deb10u1) ... Setting up python-gpg (1.12.0-6) ... Setting up python-talloc:armhf (2.1.14-2) ... Setting up libavahi-client3:armhf (0.7-4+deb10u1) ... Setting up libgfxdr0:armhf (5.5-3) ... Setting up libldb1:armhf (2:1.5.1+really1.4.6-3+deb10u1) ... Setting up libboost-thread1.67.0:armhf (1.67.0-13+deb10u1) ... Setting up libnss3:armhf (2:3.42.1-1+deb10u3) ... Setting up python-ldb (2:1.5.1+really1.4.6-3+deb10u1) ... Setting up libcups2:armhf (2.2.10-6+deb10u4) ... Setting up libgfrpc0:armhf (5.5-3) ... Setting up librados2:armhf (12.2.11+dfsg1-2.1+rpi1) ... Setting up samba-libs:armhf (2:4.9.5+dfsg-5+deb10u1+rpi1) ... Setting up libcephfs2:armhf (12.2.11+dfsg1-2.1+rpi1) ... Setting up libgfapi0:armhf (5.5-3) ... Setting up samba-dsdb-modules:armhf (2:4.9.5+dfsg-5+deb10u1+rpi1) ... Setting up python-samba (2:4.9.5+dfsg-5+deb10u1+rpi1) ... Setting up samba-vfs-modules:armhf (2:4.9.5+dfsg-5+deb10u1+rpi1) ... Setting up samba-common-bin (2:4.9.5+dfsg-5+deb10u1+rpi1) ... Checking smb.conf with testparm Load smb config files from /etc/samba/smb.conf Loaded services file OK. Server role: ROLE_STANDALONE Done Setting up samba (2:4.9.5+dfsg-5+deb10u1+rpi1) ... Adding group `sambashare' (GID 116) ... Done. Samba is not being run as an AD Domain Controller: Masking samba-ad-dc.service Please ignore the following error about deb-systemd-helper not finding those services. (samba-ad-dc.service masked) Created symlink /etc/systemd/system/multi-user.target.wants/nmbd.service → /lib/systemd/system/nmbd.service. Failed to preset unit: Unit file /etc/systemd/system/samba-ad-dc.service is masked. /usr/bin/deb-systemd-helper: error: systemctl preset failed on samba-ad-dc.service: No such file or directory Created symlink /etc/systemd/system/multi-user.target.wants/smbd.service → /lib/systemd/system/smbd.service. Processing triggers for systemd (241-7~deb10u6+rpi1) ... Processing triggers for man-db (2.8.5-2) ... Processing triggers for libc-bin (2.28-10+rpi1) ... Updating FireMotD available updates count ... + return 0 + echo OK OK ++ timestamp ++ date +%F_%T_%Z + echo -n '2021-05-06_10:57:47_CEST [openHABian] Setting up Samba network shares... ' 2021-05-06_10:57:47_CEST [openHABian] Setting up Samba network shares... + cond_echo '\nCopying over custom '\''smb.conf'\''... ' + [[ -z '' ]] + echo -e '\033[33;01m\nCopying over custom '\''smb.conf'\''... \033[39;49;00m'  Copying over custom 'smb.conf'...  + cond_redirect cp /opt/openhabian/includes/smb.conf /etc/samba/smb.conf + [[ -n '' ]] + echo -e '\n\033[90;01m$ cp /opt/openhabian/includes/smb.conf /etc/samba/smb.conf \033[39;49;00m' $ cp /opt/openhabian/includes/smb.conf /etc/samba/smb.conf  + cp /opt/openhabian/includes/smb.conf /etc/samba/smb.conf + return 0 + cond_echo '\nWriting authentication data to openHABian default... ' + [[ -z '' ]] + echo -e '\033[33;01m\nWriting authentication data to openHABian default... \033[39;49;00m'  Writing authentication data to openHABian default...  + smbpasswd -e openhabian + echo openhabian + echo openhabian + smbpasswd -s -a openhabian + echo OK OK ++ timestamp ++ date +%F_%T_%Z + echo -n '2021-05-06_10:57:48_CEST [openHABian] Setting up Samba service... ' 2021-05-06_10:57:48_CEST [openHABian] Setting up Samba service... + cond_redirect mkdir -p /var/log/samba /var/run/samba + [[ -n '' ]] + echo -e '\n\033[90;01m$ mkdir -p /var/log/samba /var/run/samba \033[39;49;00m' $ mkdir -p /var/log/samba /var/run/samba  + mkdir -p /var/log/samba /var/run/samba + return 0 + cond_redirect sed -i -E -e '/PIDFile/d; /NotifyAccess/ a PIDFile=smbd.pid\nRuntimeDirectory=samba' /lib/systemd/system/smbd.service + [[ -n '' ]] + echo -e '\n\033[90;01m$ sed -i -E -e /PIDFile/d; /NotifyAccess/ a PIDFile=smbd.pid\nRuntimeDirectory=samba /lib/systemd/system/smbd.service \033[39;49;00m' $ sed -i -E -e /PIDFile/d; /NotifyAccess/ a PIDFile=smbd.pid RuntimeDirectory=samba /lib/systemd/system/smbd.service  + sed -i -E -e '/PIDFile/d; /NotifyAccess/ a PIDFile=smbd.pid\nRuntimeDirectory=samba' /lib/systemd/system/smbd.service + return 0 + zram_dependency install nmbd smbd + local zramServiceConfig=/etc/systemd/system/zram-config.service + local install=yes + [[ -f /etc/ztab ]] + return 0 + cond_redirect systemctl enable --now smbd.service + echo OK OK + permissions_corrections + local gpioDir=/sys/devices/platform/soc + groups=("audio" "bluetooth" "dialout" "gpio" "tty") + local groups + openhabFolders=("/etc/openhab" "/var/lib/openhab" "/var/log/openhab" "/usr/share/openhab") + local openhabFolders + local openhabHome=/var/lib/openhab + local retval=0 ++ timestamp ++ date +%F_%T_%Z + echo -n '2021-05-06_10:57:49_CEST [openHABian] Applying file permissions recommendations... ' 2021-05-06_10:57:49_CEST [openHABian] Applying file permissions recommendations... + openhab_is_installed + openhab2_is_installed ++ dpkg -s openhab2 ++ grep Status ++ cut '-d ' -f2 + [[ '' == \i\n\s\t\a\l\l ]] + return 1 + openhab3_is_installed ++ dpkg -s openhab ++ grep Status ++ cut '-d ' -f2 + [[ '' == \i\n\s\t\a\l\l ]] + return 1 + return 1 + echo 'FAILED (please execute after openHAB is installed)' FAILED (please execute after openHAB is installed) + return 1 + clean_config_userpw + cond_redirect sed -i -e 's|^userpw=.*$|\#userpw=xxxxxx|g' /etc/openhabian.conf + [[ -n '' ]] + echo -e '\n\033[90;01m$ sed -i -e s|^userpw=.*$|\#userpw=xxxxxx|g /etc/openhabian.conf \033[39;49;00m' $ sed -i -e s|^userpw=.*$|\#userpw=xxxxxx|g /etc/openhabian.conf  + sed -i -e 's|^userpw=.*$|\#userpw=xxxxxx|g' /etc/openhabian.conf + return 0 + frontail_setup light + local frontailBase + local frontailUser=frontail ++ command -v npm + [[ -x '' ]] ++ timestamp ++ date +%F_%T_%Z + echo -n '2021-05-06_10:57:49_CEST [openHABian] Installing Frontail prerequsites (NodeJS)... ' 2021-05-06_10:57:49_CEST [openHABian] Installing Frontail prerequsites (NodeJS)... + cond_redirect nodejs_setup + [[ -n '' ]] + echo -e '\n\033[90;01m$ nodejs_setup \033[39;49;00m' $ nodejs_setup  + nodejs_setup ++ command -v npm + [[ -x '' ]] + local link=https://unofficial-builds.nodejs.org/download/release/v14.15.4/node-v14.15.4-linux-armv6l.tar.xz + local myDistro + local temp ++ command -v lsb_release + [[ -x /usr/bin/lsb_release ]] ++ lsb_release -sc + myDistro=buster ++ mktemp /tmp/openhabian.XXXXX + temp=/tmp/openhabian.rS7zh + [[ -z '' ]] + is_armv6l + [[ '' == \a\r\m\v\6\l ]] + case "$(uname -m)" in ++ uname -m + return 1 + [[ -z '' ]] + add_keys https://deb.nodesource.com/gpgkey/nodesource.gpg.key + local repoKey ++ mktemp /tmp/openhabian.XXXXX + repoKey=/tmp/openhabian.bEHXR ++ timestamp ++ date +%F_%T_%Z + echo -n '2021-05-06_10:57:49_CEST [openHABian] Adding required keys to apt... ' 2021-05-06_10:57:49_CEST [openHABian] Adding required keys to apt... + cond_redirect wget -qO /tmp/openhabian.bEHXR https://deb.nodesource.com/gpgkey/nodesource.gpg.key + [[ -n '' ]] + echo -e '\n\033[90;01m$ wget -qO /tmp/openhabian.bEHXR https://deb.nodesource.com/gpgkey/nodesource.gpg.key \033[39;49;00m' $ wget -qO /tmp/openhabian.bEHXR https://deb.nodesource.com/gpgkey/nodesource.gpg.key  + wget -qO /tmp/openhabian.bEHXR https://deb.nodesource.com/gpgkey/nodesource.gpg.key + return 0 + cond_redirect apt-key add /tmp/openhabian.bEHXR + [[ -n '' ]] + echo -e '\n\033[90;01m$ apt-key add /tmp/openhabian.bEHXR \033[39;49;00m' $ apt-key add /tmp/openhabian.bEHXR  + apt-key add /tmp/openhabian.bEHXR Warning: apt-key output should not be parsed (stdout is not a terminal) OK + return 0 + echo OK OK + rm -f /tmp/openhabian.bEHXR ++ timestamp ++ date +%F_%T_%Z + echo -n '2021-05-06_10:57:50_CEST [openHABian] Adding NodeSource repository to apt... ' 2021-05-06_10:57:50_CEST [openHABian] Adding NodeSource repository to apt... + echo 'deb https://deb.nodesource.com/node_14.x buster main' + echo 'deb-src https://deb.nodesource.com/node_14.x buster main' + [[ -n '' ]] + cond_redirect apt-get update + [[ -n '' ]] + echo -e '\n\033[90;01m$ apt-get update \033[39;49;00m' $ apt-get update  + apt-get update Hit:1 http://archive.raspberrypi.org/debian buster InRelease Hit:2 http://raspbian.raspberrypi.org/raspbian buster InRelease Hit:3 http://davesteele.github.io/comitup/repo comitup InRelease Hit:4 https://deb.nodesource.com/node_14.x buster InRelease Err:5 https://dl.bintray.com/openhab/apt-repo2 stable InRelease 403 Forbidden [IP: 35.156.120.218 443] Reading package lists... E: Failed to fetch https://dl.bintray.com/openhab/apt-repo2/dists/stable/InRelease 403 Forbidden [IP: 35.156.120.218 443] E: The repository 'https://dl.bintray.com/openhab/apt-repo2 stable InRelease' is no longer signed. + return 100 + echo 'FAILED (update apt lists)' FAILED (update apt lists) + return 1 + return 1 + echo FAILED FAILED + return 1 + custom_frontail_log add '' + local frontailService=/etc/systemd/system/frontail.service + local addLog + local removeLog + local array + [[ -f /etc/systemd/system/frontail.service ]] + whiptail --title 'Frontail not installed' --msgbox 'Frontail is not installed!\n\nCanceling operation!' 9 80 Failed to open terminal.)0                       ┌──────────────────────────┤ Frontail not installed ├──────────────────────────┐│ ││ Frontail is not installed!  ││   ││ Canceling operation!  ││ ││  ││ │└──────────────────────────────────────────────────────────────────────────────┘[?25h[?0c  + return 0 + zram_setup + [[ -n 1 ]] + [[ enable == \d\i\s\a\b\l\e ]] + is_arm + is_armv6l + [[ '' == \a\r\m\v\6\l ]] + case "$(uname -m)" in ++ uname -m + return 1 + is_armv7l + [[ '' == \a\r\m\v\7\l ]] + case "$(uname -m)" in ++ uname -m + return 0 + return 0 + has_lowmem + local totalMemory ++ awk '/MemTotal/ {print $2}' /proc/meminfo + totalMemory=3919132 + [[ -z 3919132 ]] + [[ 3919132 -lt 900000 ]] + return 1 + is_pione + [[ '' == \p\i\1 ]] + grep -q '^Revision\s*:\s*00[0-9a-fA-F][0-9a-fA-F]$' /proc/cpuinfo + grep -q '^Revision\s*:\s*[ 123][0-9a-fA-F][0-9a-fA-F][0-9a-fA-F]0[0-36][0-9a-fA-F]$' /proc/cpuinfo + return 1 + is_cmone + [[ '' == \c\m\1 ]] + grep -q '^Revision\s*:\s*[ 123][0-9a-fA-F][0-9a-fA-F][0-9a-fA-F]06[0-9a-fA-F]$' /proc/cpuinfo + return 1 + is_pizero + [[ '' == \p\i\0 ]] + grep -q '^Revision\s*:\s*[ 123][0-9a-fA-F][0-9a-fA-F][0-9a-fA-F]09[0-9a-fA-F]$' /proc/cpuinfo + return 1 + is_pizerow + [[ '' == \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 ++ timestamp ++ date +%F_%T_%Z + echo -n '2021-05-06_10:57:56_CEST [openHABian] Installing zram... ' 2021-05-06_10:57:56_CEST [openHABian] Installing zram... + cond_redirect init_zram_mounts install + [[ -n '' ]] + echo -e '\n\033[90;01m$ init_zram_mounts install \033[39;49;00m' $ init_zram_mounts install  + init_zram_mounts install + is_arm + is_armv6l + [[ '' == \a\r\m\v\6\l ]] + case "$(uname -m)" in ++ uname -m + return 1 + is_armv7l + [[ '' == \a\r\m\v\7\l ]] + case "$(uname -m)" in ++ uname -m + return 0 + return 0 + local 'introText=You are about to activate the zram feature.\nBe aware you do this at your own risk of data loss.\nPlease check out the "zram status" thread at https://community.openhab.org/t/zram-status/80996 before proceeding.' + local 'lowMemText=Your system has less than 1 GB of RAM. It is definitely NOT recommended to run zram (AND openHAB) on your box. If you proceed now you will do so at your own risk!' + local zramInstallLocation=/opt/zram + [[ install == \i\n\s\t\a\l\l ]] + [[ -f /etc/ztab ]] + [[ -n '' ]] + dpkg -s make libattr1-dev ++ timestamp ++ date +%F_%T_%Z + echo -n '2021-05-06_10:57:56_CEST [openHABian] Installing zram required packages (make, libattr1-dev)... ' 2021-05-06_10:57:56_CEST [openHABian] Installing zram required packages (make, libattr1-dev)... + cond_redirect apt-get install --yes make libattr1-dev + [[ -n '' ]] + echo -e '\n\033[90;01m$ apt-get install --yes make libattr1-dev \033[39;49;00m' $ apt-get install --yes make libattr1-dev  + apt-get install --yes make libattr1-dev Reading package lists... Building dependency tree... Reading state information... make is already the newest version (4.2.1-1.2). make set to manually installed. The following package was automatically installed and is no longer required: triggerhappy Use 'apt autoremove' to remove it. The following NEW packages will be installed: libattr1-dev 0 upgraded, 1 newly installed, 0 to remove and 35 not upgraded. Need to get 0 B/33.8 kB of archives. After this operation, 79.9 kB of additional disk space will be used. Selecting previously unselected package libattr1-dev:armhf. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 47007 files and directories currently installed.) Preparing to unpack .../libattr1-dev_1%3a2.4.48-4_armhf.deb ... Unpacking libattr1-dev:armhf (1:2.4.48-4) ... Setting up libattr1-dev:armhf (1:2.4.48-4) ... Processing triggers for man-db (2.8.5-2) ... Updating FireMotD available updates count ... + return 0 + echo OK OK + install_zram_code /opt/zram + local zramGit=https://github.com/ecdye/zram-config ++ timestamp ++ date +%F_%T_%Z + echo -n '2021-05-06_10:58:05_CEST [openHABian] Installing zram code... ' 2021-05-06_10:58:05_CEST [openHABian] Installing zram code... + cond_redirect mkdir -p /opt/zram + [[ -n '' ]] + echo -e '\n\033[90;01m$ mkdir -p /opt/zram \033[39;49;00m' $ mkdir -p /opt/zram  + mkdir -p /opt/zram + return 0 + [[ -d /opt/zram/zram-config ]] + cond_redirect update_git_repo /opt/zram/zram-config openHAB + [[ -n '' ]] + echo -e '\n\033[90;01m$ update_git_repo /opt/zram/zram-config openHAB \033[39;49;00m' $ update_git_repo /opt/zram/zram-config openHAB  + update_git_repo /opt/zram/zram-config openHAB + local branch + local path + branch=openHAB + path=/opt/zram/zram-config ++ timestamp ++ date +%F_%T_%Z ++ basename /opt/zram/zram-config + echo -n '2021-05-06_10:58:05_CEST [openHABian] Updating zram-config, openHAB branch from git... ' 2021-05-06_10:58:05_CEST [openHABian] Updating zram-config, openHAB branch from git... + cond_redirect git -C /opt/zram/zram-config fetch origin + [[ -n '' ]] + echo -e '\n\033[90;01m$ git -C /opt/zram/zram-config fetch origin \033[39;49;00m' $ git -C /opt/zram/zram-config fetch origin  + git -C /opt/zram/zram-config fetch origin From https://github.com/ecdye/zram-config + 52fc322...77808ea openHAB -> origin/openHAB (forced update) 705a4db..047fd98 main -> origin/main + 6864493...3cc2728 openHAB2 -> origin/openHAB2 (forced update) * [new tag] v1.2.4 -> v1.2.4 * [new tag] v1.2.2 -> v1.2.2 * [new tag] v1.2.3 -> v1.2.3 Fetching submodule overlayfs-tools From https://github.com/kmxz/overlayfs-tools 77bf3f7..291c7f4 master -> origin/master + return 0 + cond_redirect git -C /opt/zram/zram-config fetch --tags --force --prune + [[ -n '' ]] + echo -e '\n\033[90;01m$ git -C /opt/zram/zram-config fetch --tags --force --prune \033[39;49;00m' $ git -C /opt/zram/zram-config fetch --tags --force --prune  + git -C /opt/zram/zram-config fetch --tags --force --prune + return 0 + cond_redirect git -C /opt/zram/zram-config reset --hard origin/openHAB + [[ -n '' ]] + echo -e '\n\033[90;01m$ git -C /opt/zram/zram-config reset --hard origin/openHAB \033[39;49;00m' $ git -C /opt/zram/zram-config reset --hard origin/openHAB  + git -C /opt/zram/zram-config reset --hard origin/openHAB HEAD is now at 77808ea Add openHAB specific changes + return 0 + cond_redirect git -C /opt/zram/zram-config clean --force -x -d + [[ -n '' ]] + echo -e '\n\033[90;01m$ git -C /opt/zram/zram-config clean --force -x -d \033[39;49;00m' $ git -C /opt/zram/zram-config clean --force -x -d  + git -C /opt/zram/zram-config clean --force -x -d + return 0 + cond_redirect git -C /opt/zram/zram-config checkout openHAB + [[ -n '' ]] + echo -e '\n\033[90;01m$ git -C /opt/zram/zram-config checkout openHAB \033[39;49;00m' $ git -C /opt/zram/zram-config checkout openHAB  + git -C /opt/zram/zram-config checkout openHAB Already on 'openHAB' M overlayfs-tools Your branch is up to date with 'origin/openHAB'. + return 0 + echo OK OK + return 0 + echo OK OK ++ timestamp ++ date +%F_%T_%Z + echo -n '2021-05-06_10:58:07_CEST [openHABian] Setting up OverlayFS... ' 2021-05-06_10:58:07_CEST [openHABian] Setting up OverlayFS... + cond_redirect make --always-make --directory=/opt/zram/zram-config/overlayfs-tools + [[ -n '' ]] + echo -e '\n\033[90;01m$ make --always-make --directory=/opt/zram/zram-config/overlayfs-tools \033[39;49;00m' $ make --always-make --directory=/opt/zram/zram-config/overlayfs-tools  + make --always-make --directory=/opt/zram/zram-config/overlayfs-tools make: Entering directory '/opt/zram/zram-config/overlayfs-tools' gcc -Wall -std=c99 -c main.c gcc -Wall -std=c99 -c logic.c gcc -Wall -std=c99 -c sh.c gcc -lm main.o logic.o sh.o -o overlay make: Leaving directory '/opt/zram/zram-config/overlayfs-tools' + return 0 + cond_redirect mkdir -p /usr/local/lib/zram-config/ + [[ -n '' ]] + echo -e '\n\033[90;01m$ mkdir -p /usr/local/lib/zram-config/ \033[39;49;00m' $ mkdir -p /usr/local/lib/zram-config/  + mkdir -p /usr/local/lib/zram-config/ + return 0 + cond_redirect install -m 755 /opt/zram/zram-config/overlayfs-tools/overlay /usr/local/lib/zram-config/overlay + [[ -n '' ]] + echo -e '\n\033[90;01m$ install -m 755 /opt/zram/zram-config/overlayfs-tools/overlay /usr/local/lib/zram-config/overlay \033[39;49;00m' $ install -m 755 /opt/zram/zram-config/overlayfs-tools/overlay /usr/local/lib/zram-config/overlay  + install -m 755 /opt/zram/zram-config/overlayfs-tools/overlay /usr/local/lib/zram-config/overlay + return 0 + echo OK OK ++ timestamp ++ date +%F_%T_%Z + echo -n '2021-05-06_10:58:08_CEST [openHABian] Setting up zram... ' 2021-05-06_10:58:08_CEST [openHABian] Setting up zram... + cond_redirect install -m 755 /opt/zram/zram-config/zram-config /usr/local/sbin + [[ -n '' ]] + echo -e '\n\033[90;01m$ install -m 755 /opt/zram/zram-config/zram-config /usr/local/sbin \033[39;49;00m' $ install -m 755 /opt/zram/zram-config/zram-config /usr/local/sbin  + install -m 755 /opt/zram/zram-config/zram-config /usr/local/sbin + return 0 + cond_redirect install -m 644 /opt/openhabian/includes/ztab /etc/ztab + [[ -n '' ]] + echo -e '\n\033[90;01m$ install -m 644 /opt/openhabian/includes/ztab /etc/ztab \033[39;49;00m' $ install -m 644 /opt/openhabian/includes/ztab /etc/ztab  + install -m 644 /opt/openhabian/includes/ztab /etc/ztab + return 0 + cond_redirect mkdir -p /usr/local/share/zram-config/log + [[ -n '' ]] + echo -e '\n\033[90;01m$ mkdir -p /usr/local/share/zram-config/log \033[39;49;00m' $ mkdir -p /usr/local/share/zram-config/log  + mkdir -p /usr/local/share/zram-config/log + return 0 + cond_redirect install -m 644 /opt/zram/zram-config/zram-config.logrotate /etc/logrotate.d/zram-config + [[ -n '' ]] + echo -e '\n\033[90;01m$ install -m 644 /opt/zram/zram-config/zram-config.logrotate /etc/logrotate.d/zram-config \033[39;49;00m' $ install -m 644 /opt/zram/zram-config/zram-config.logrotate /etc/logrotate.d/zram-config  + install -m 644 /opt/zram/zram-config/zram-config.logrotate /etc/logrotate.d/zram-config + return 0 + echo OK OK + echo ReadWritePaths=/usr/local/share/zram-config/log + [[ -f /etc/systemd/system/find3server.service ]] + openhab_is_installed + openhab2_is_installed ++ dpkg -s openhab2 ++ grep Status ++ cut '-d ' -f2 + [[ '' == \i\n\s\t\a\l\l ]] + return 1 + openhab3_is_installed ++ dpkg -s openhab ++ grep Status ++ cut '-d ' -f2 + [[ '' == \i\n\s\t\a\l\l ]] + return 1 + return 1 ++ timestamp ++ date +%F_%T_%Z + echo -n '2021-05-06_10:58:08_CEST [openHABian] Removing openHAB persistence from zram... ' 2021-05-06_10:58:08_CEST [openHABian] Removing openHAB persistence from zram... + cond_redirect sed -i '/^.*persistence.*$/d' /etc/ztab + [[ -n '' ]] + echo -e '\n\033[90;01m$ sed -i /^.*persistence.*$/d /etc/ztab \033[39;49;00m' $ sed -i /^.*persistence.*$/d /etc/ztab  + sed -i '/^.*persistence.*$/d' /etc/ztab + return 0 + echo OK OK ++ timestamp ++ date +%F_%T_%Z + echo -n '2021-05-06_10:58:08_CEST [openHABian] Setting up zram service... ' 2021-05-06_10:58:08_CEST [openHABian] Setting up zram service... + cond_redirect install -m 644 /opt/zram/zram-config/zram-config.service /etc/systemd/system/zram-config.service + [[ -n '' ]] + echo -e '\n\033[90;01m$ install -m 644 /opt/zram/zram-config/zram-config.service /etc/systemd/system/zram-config.service \033[39;49;00m' $ install -m 644 /opt/zram/zram-config/zram-config.service /etc/systemd/system/zram-config.service  + install -m 644 /opt/zram/zram-config/zram-config.service /etc/systemd/system/zram-config.service + return 0 + cond_redirect systemctl -q daemon-reload + running_in_docker + [[ -n '' ]] + grep -qs 'docker\|lxc' /proc/1/cgroup + [[ -f /.dockerenv ]] + return 1 + running_on_github + [[ -n '' ]] + return 1 + cond_redirect systemctl mask unattended-upgrades.service + [[ -n '' ]] + echo -e '\n\033[90;01m$ systemctl mask unattended-upgrades.service \033[39;49;00m' $ systemctl mask unattended-upgrades.service  + systemctl mask unattended-upgrades.service Created symlink /etc/systemd/system/unattended-upgrades.service → /dev/null. + return 0 + cond_redirect systemctl enable --now zram-config.service + [[ -n '' ]] + echo -e '\n\033[90;01m$ systemctl enable --now zram-config.service \033[39;49;00m' $ systemctl enable --now zram-config.service  + systemctl enable --now zram-config.service Created symlink /etc/systemd/system/basic.target.wants/zram-config.service → /etc/systemd/system/zram-config.service. + return 0 + echo OK OK + return 0 + exim_setup + [[ -n 1 ]] + [[ -z '' ]] ++ timestamp ++ date +%F_%T_%Z + echo '2021-05-06_10:58:09_CEST [openHABian] Beginning Mail Transfer Agent setup... CANCELED (no configuration provided)' 2021-05-06_10:58:09_CEST [openHABian] Beginning Mail Transfer Agent setup... CANCELED (no configuration provided) + return 0 + setup_mirror_SD install + [[ -n 1 ]] + [[ -z '' ]] ++ timestamp ++ date +%F_%T_%Z + echo '2021-05-06_10:58:09_CEST [openHABian] Setting up automated SD mirroring and backup... SKIPPED (no configuration provided)' 2021-05-06_10:58:09_CEST [openHABian] Setting up automated SD mirroring and backup... SKIPPED (no configuration provided) + return 0 + install_cleanup ++ timestamp ++ date +%F_%T_%Z + echo -n '2021-05-06_10:58:09_CEST [openHABian] Cleaning up... ' 2021-05-06_10:58:09_CEST [openHABian] Cleaning up... + cond_redirect systemctl -q daemon-reload + cond_redirect apt-get clean + [[ -n '' ]] + echo -e '\n\033[90;01m$ apt-get clean \033[39;49;00m' $ apt-get clean  + apt-get clean + return 0 + cond_redirect apt-get autoremove --yes + [[ -n '' ]] + echo -e '\n\033[90;01m$ apt-get autoremove --yes \033[39;49;00m' $ apt-get autoremove --yes  + apt-get autoremove --yes Reading package lists... Building dependency tree... Reading state information... The following packages will be REMOVED: triggerhappy 0 upgraded, 0 newly installed, 1 to remove and 35 not upgraded. After this operation, 97.3 kB disk space will be freed. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 47029 files and directories currently installed.) Removing triggerhappy (0.5.0-1) ... Warning: Stopping triggerhappy.service, but it can still be activated by: triggerhappy.socket Processing triggers for man-db (2.8.5-2) ... Updating FireMotD available updates count ... + return 0 + echo OK OK + cd / + rm -f /opt/openHABian-install-inprogress + touch /opt/openHABian-install-successful ++ timestamp ++ date +%F_%T_%Z + echo '2021-05-06_10:58:23_CEST [openHABian] Execution of '\''openhabian-config unattended'\'' completed.' 2021-05-06_10:58:23_CEST [openHABian] Execution of 'openhabian-config unattended' completed. ++ timestamp ++ date +%F_%T_%Z + echo '2021-05-06_10:58:23_CEST [openHABian] First time setup successfully finished. Rebooting your system!' 2021-05-06_10:58:23_CEST [openHABian] First time setup successfully finished. Rebooting your system! ++ timestamp ++ date +%F_%T_%Z + echo '2021-05-06_10:58:23_CEST [openHABian] After rebooting the openHAB dashboard will be available at: http://openhabian:8080' 2021-05-06_10:58:23_CEST [openHABian] After rebooting the openHAB dashboard will be available at: http://openhabian:8080 ++ timestamp ++ date +%F_%T_%Z + echo '2021-05-06_10:58:23_CEST [openHABian] After rebooting to gain access to a console, simply reconnect using ssh.' 2021-05-06_10:58:23_CEST [openHABian] After rebooting to gain access to a console, simply reconnect using ssh. + sleep 12 ++ command -v python3 + [[ -x /usr/bin/python3 ]] + bash /boot/webserver.bash inst_done + sleep 12 ++ command -v python3 + [[ -x /usr/bin/python3 ]] + bash /boot/webserver.bash cleanup + running_in_docker + [[ -n '' ]] + grep -qs 'docker\|lxc' /proc/1/cgroup + [[ -f /.dockerenv ]] + return 1 + reboot