2023-05-13_10:37:21_UTC [openHABian] Starting the openHABian initial setup. 2023-05-13_10:37:21_UTC [openHABian] Storing configuration... OK 2023-05-13_10:37:21_UTC [openHABian] Enable maximum debugging output + rfkill unblock wifi ++ timestamp ++ printf '%(%F_%T_%Z)T\n' -1 + echo -n '2023-05-13_10:37:21_UTC [openHABian] Starting webserver with installation log... ' 2023-05-13_10:37:21_UTC [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=1002 + [[ -n 1002 ]] + 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 11 (bullseye)" NAME="Raspbian GNU/Linux" VERSION_ID="11" VERSION="11 (bullseye)" VERSION_CODENAME=bullseye 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 + rm -f /etc/sudoers.d/010_pi-nopasswd ++ timestamp ++ printf '%(%F_%T_%Z)T\n' -1 + echo -n '2023-05-13_10:37:26_UTC [openHABian] Changing default username and password... ' 2023-05-13_10:37:26_UTC [openHABian] Changing default username and password... + [[ -v openhabian ]] + id openhabian + id openhabian + echo SKIPPED SKIPPED + echo 'watch cat /boot/first-boot.log' + [[ -z '' ]] ++ timestamp ++ printf '%(%F_%T_%Z)T\n' -1 + echo -n '2023-05-13_10:37:26_UTC [openHABian] Setting up Ethernet connection... ' 2023-05-13_10:37:26_UTC [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 https://www.openhab.org/docs/ |& grep -qs '\''HTTP/[^ ]*[ ]200'\''' 5 1 + local cmd + local attempts + local interval + cmd='ping -c1 8.8.8.8 &> /dev/null || curl --silent --head https://www.openhab.org/docs/ |& grep -qs '\''HTTP/[^ ]*[ ]200'\''' + attempts=5 + interval=1 + [[ 5 -le 0 ]] + cond_echo '\nexecuting ping -c1 8.8.8.8 &> /dev/null || curl --silent --head https://www.openhab.org/docs/ |& grep -qs '\''HTTP/[^ ]*[ ]200'\'' \c' + [[ -z 1 ]] + eval 'ping -c1 8.8.8.8 &> /dev/null || curl --silent --head https://www.openhab.org/docs/ |& grep -qs '\''HTTP/[^ ]*[ ]200'\''' ++ ping -c1 8.8.8.8 + out=0 + [[ 0 -eq 0 ]] + break + [[ -z 1 ]] + return 5 ++ timestamp ++ printf '%(%F_%T_%Z)T\n' -1 + echo -n '2023-05-13_10:37:26_UTC [openHABian] Ensuring network connectivity... ' 2023-05-13_10:37:26_UTC [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 ++ printf '%(%F_%T_%Z)T\n' -1 + echo -n '2023-05-13_10:37:26_UTC [openHABian] Waiting for dpkg/apt to get ready... ' 2023-05-13_10:37:26_UTC [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=1021 + apt-get update +++ tail --pid=1021 -f /dev/null ++ eval '' + [[ '' -eq 0 ]] + return 0 + echo OK OK ++ dpkg -s raspberrypi-kernel ++ grep 'Version:[[:space:]]' + firmwareBefore='Version: 1:1.20230405-1' ++ timestamp ++ printf '%(%F_%T_%Z)T\n' -1 + echo -n '2023-05-13_10:37:32_UTC [openHABian] Updating repositories and upgrading installed packages... ' 2023-05-13_10:37:32_UTC [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:1.20230405-1 != \V\e\r\s\i\o\n\:\ \1\:\1\.\2\0\2\3\0\4\0\5\-\1 ]] + echo OK OK ++ command -v python3 + [[ -x /usr/bin/python3 ]] + bash /boot/webserver.bash reinsure_running ++ command -v git + [[ -x '' ]] ++ timestamp ++ printf '%(%F_%T_%Z)T\n' -1 + echo -n '2023-08-12_18:42:01_UTC [openHABian] Installing git package... ' 2023-08-12_18:42:01_UTC [openHABian] Installing git package... + apt-get install --yes git + echo OK OK ++ timestamp ++ printf '%(%F_%T_%Z)T\n' -1 + echo -n '2023-08-12_18:42:12_UTC [openHABian] Updating myself from https://github.com/openhab/openhabian, openHAB branch... ' 2023-08-12_18:42:12_UTC [openHABian] Updating myself from https://github.com/openhab/openhabian, openHAB branch... +++ openhabian_update openHAB ++ eval '' + [[ '' -eq 0 ]] + echo OK OK + ln -sfn /opt/openhabian/openhabian-setup.sh /usr/local/bin/openhabian-config ++ timestamp ++ printf '%(%F_%T_%Z)T\n' -1 + echo '2023-08-12_18:42:15_UTC [openHABian] Starting execution of '\''openhabian-config unattended'\''... OK' 2023-08-12_18:42:15_UTC [openHABian] Starting execution of 'openhabian-config unattended'... OK + openhabian-config unattended 2023-08-12_18:42:15_UTC [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 ++ 'e#!/usr/bin/env' bash /opt/openhabian/functions/menu.bash: line 1: e#!/usr/bin/env: No such file or directory + 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/nut.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/build-image/openhabian.conf + cp /etc/openhabian.conf /etc/openhabian.conf.BAK + read -r line + [[ # Origin: openhabian.conf =~ ^(#)?[a-zA-Z] ]] + echo '# Origin: openhabian.conf' + read -r line + [[ # =~ ^(#)?[a-zA-Z] ]] + echo '#' + 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 + [[ # ATTENTION: to disable an option a line MUST be of the format '# option=value' =~ ^(#)?[a-zA-Z] ]] + echo '# ATTENTION: to disable an option a line MUST be of the format '\''# option=value'\''' + read -r line + [[ # KEEP THE SPACE IT IS IMPORTANT !! =~ ^(#)?[a-zA-Z] ]] + echo '# KEEP THE SPACE IT IS IMPORTANT !!' + 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] ]] ++ echo ipv6=enable ++ cut -d= -f1 + 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] ]] ++ echo repositoryurl=https://github.com/openhab/openhabian.git ++ cut -d= -f1 + param=repositoryurl + [[ -v repositoryurl ]] + [[ https://github.com/openhab/openhabian == *\ * ]] + echo repositoryurl=https://github.com/openhab/openhabian + read -r line + [[ clonebranch=main =~ ^(#)?[a-zA-Z] ]] + parsed=clonebranch=main + [[ clonebranch=main =~ ^#[a-zA-Z] ]] ++ echo clonebranch=main ++ cut -d= -f1 + param=clonebranch + [[ -v clonebranch ]] + [[ openHAB == *\ * ]] + echo clonebranch=openHAB + read -r line + [[ '' =~ ^(#)?[a-zA-Z] ]] + echo '' + read -r line + [[ # initial openHAB configuration to import (URL or filename) =~ ^(#)?[a-zA-Z] ]] + echo '# initial openHAB configuration to import (URL or filename)' + read -r line + [[ # the file needs to be a zip archive created from openhab-cli backup =~ ^(#)?[a-zA-Z] ]] + echo '# the file needs to be a zip archive created from openhab-cli backup' + read -r line + [[ # initialconfig=/boot/initial.zip =~ ^(#)?[a-zA-Z] ]] + echo '# initialconfig=/boot/initial.zip' + 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=on =~ ^(#)?[a-zA-Z] ]] + parsed=debugmode=on + [[ debugmode=on =~ ^#[a-zA-Z] ]] ++ echo debugmode=on ++ cut -d= -f1 + param=debugmode + [[ -v debugmode ]] + [[ maximum == *\ * ]] + echo debugmode=maximum + read -r line + [[ '' =~ ^(#)?[a-zA-Z] ]] + echo '' + read -r line + [[ # the framebuffer on RPi is enabled by default =~ ^(#)?[a-zA-Z] ]] + echo '# the framebuffer on RPi is enabled by default' + read -r line + [[ framebuffer=enable =~ ^(#)?[a-zA-Z] ]] + parsed=framebuffer=enable + [[ framebuffer=enable =~ ^#[a-zA-Z] ]] ++ echo framebuffer=enable ++ cut -d= -f1 + param=framebuffer + [[ -v framebuffer ]] + [[ enable == *\ * ]] + echo framebuffer=enable + read -r line + [[ '' =~ ^(#)?[a-zA-Z] ]] + echo '' + read -r line + [[ # apt timeout to wait for lock with multiple install actions going on =~ ^(#)?[a-zA-Z] ]] + echo '# apt timeout to wait for lock with multiple install actions going on' + read -r line + [[ apttimeout=60 =~ ^(#)?[a-zA-Z] ]] + parsed=apttimeout=60 + [[ apttimeout=60 =~ ^#[a-zA-Z] ]] ++ echo apttimeout=60 ++ cut -d= -f1 + param=apttimeout + [[ -v apttimeout ]] + [[ 60 == *\ * ]] + echo apttimeout=60 + 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, pi0w2, x86 =~ ^(#)?[a-zA-Z] ]] + echo '# pi4, pi4_8gb, cm4, pi400, pi3, cm3, pi3+, cm3+, pi2, pi1, cm1, pi0, pi0w, pi0w2, 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, bullseye, bionic, focal =~ ^(#)?[a-zA-Z] ]] + echo '# Valid arguments: raspios, raspbian, debian, ubuntu, stretch, buster, bullseye, bionic, focal' + read -r line + [[ # osrelease= =~ ^(#)?[a-zA-Z] ]] + echo '# osrelease=' + read -r line + [[ '' =~ ^(#)?[a-zA-Z] ]] + echo '' + read -r line + [[ # Java version to install =~ ^(#)?[a-zA-Z] ]] + echo '# Java version to install' + read -r line + [[ # Valid arguments: 11, 17 =~ ^(#)?[a-zA-Z] ]] + echo '# Valid arguments: 11, 17' + read -r line + [[ java_opt=17 =~ ^(#)?[a-zA-Z] ]] + parsed=java_opt=17 + [[ java_opt=17 =~ ^#[a-zA-Z] ]] ++ echo java_opt=17 ++ cut -d= -f1 + param=java_opt + [[ -v java_opt ]] + [[ 17 == *\ * ]] + echo java_opt=17 + 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] ]] ++ echo zraminstall=enable ++ cut -d= -f1 + 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] ]] ++ echo hotspot=enable ++ cut -d= -f1 + param=hotspot + [[ -v hotspot ]] + [[ enable == *\ * ]] + echo hotspot=enable + read -r line + [[ hotspotpw=openhabian =~ ^(#)?[a-zA-Z] ]] + parsed=hotspotpw=openhabian + [[ hotspotpw=openhabian =~ ^#[a-zA-Z] ]] ++ echo hotspotpw=openhabian ++ cut -d= -f1 + param=hotspotpw + [[ -v hotspotpw ]] + [[ openhabian == *\ * ]] + echo hotspotpw=openhabian + 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 + [[ # Network UPS Tools =~ ^(#)?[a-zA-Z] ]] + echo '# Network UPS Tools' + read -r line + [[ # nutmode=netserver =~ ^(#)?[a-zA-Z] ]] + echo '# nutmode=netserver' + read -r line + [[ # Settings for netserver: =~ ^(#)?[a-zA-Z] ]] + echo '# Settings for netserver:' + read -r line + [[ # nutupsdriver=usbhid-ups =~ ^(#)?[a-zA-Z] ]] + echo '# nutupsdriver=usbhid-ups' + read -r line + [[ # nutupsdescr="" =~ ^(#)?[a-zA-Z] ]] + echo '# nutupsdescr=""' + read -r line + [[ # Settings for netclient: =~ ^(#)?[a-zA-Z] ]] + echo '# Settings for netclient:' + read -r line + [[ # nutupsname=ups =~ ^(#)?[a-zA-Z] ]] + echo '# nutupsname=ups' + read -r line + [[ # nutupshost=xxx.xxx.xxx.xx =~ ^(#)?[a-zA-Z] ]] + echo '# nutupshost=xxx.xxx.xxx.xx' + read -r line + [[ # nutupsuser=monuser =~ ^(#)?[a-zA-Z] ]] + echo '# nutupsuser=monuser' + read -r line + [[ # nutupspw=secret =~ ^(#)?[a-zA-Z] ]] + echo '# nutupspw=secret' + 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 + [[ # tstags=tag:client =~ ^(#)?[a-zA-Z] ]] + echo '# tstags=tag:client' + 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 + [[ -f /etc/init.d/openhabian-config ]] + cond_redirect wget -nv -O /etc/init.d/openhabian-config https://github.com/RPi-Distro/raspi-config/raw/master/debian/raspi-config.init + [[ -n '' ]] + echo -e '\n\033[90;01m$ wget -nv -O /etc/init.d/openhabian-config https://github.com/RPi-Distro/raspi-config/raw/master/debian/raspi-config.init \033[39;49;00m' $ wget -nv -O /etc/init.d/openhabian-config https://github.com/RPi-Distro/raspi-config/raw/master/debian/raspi-config.init  + wget -nv -O /etc/init.d/openhabian-config https://github.com/RPi-Distro/raspi-config/raw/master/debian/raspi-config.init 2023-08-12 18:42:15 URL:https://raw.githubusercontent.com/RPi-Distro/raspi-config/master/debian/raspi-config.init [1999/1999] -> "/etc/init.d/openhabian-config" [1] + return 0 + sed -i -e s/raspi-config/openhabian-config/ /etc/init.d/openhabian-config + 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 + local 'spin=-\|/' + local i + [[ -z '' ]] + apt_update + export PID_APT=2243 + PID_APT=2243 + nohup apt-get update ++ timestamp ++ printf '%(%F_%T_%Z)T\n' -1 + echo -n '2023-08-12_18:42:15_UTC [openHABian] Updating Linux package information... ' 2023-08-12_18:42:15_UTC [openHABian] Updating Linux package information... + kill -0 2243 + i=1 + echo -ne '\ \033[2D' \ + sleep 0.5 + kill -0 2243 + i=2 + echo -ne '| \033[2D' | + sleep 0.5 + kill -0 2243 + i=3 + echo -ne '/ \033[2D' / + sleep 0.5 + kill -0 2243 + i=0 + echo -ne '- \033[2D' - + sleep 0.5 + kill -0 2243 + i=1 + echo -ne '\ \033[2D' \ + sleep 0.5 + kill -0 2243 + i=2 + echo -ne '| \033[2D' | + sleep 0.5 + kill -0 2243 + i=3 + echo -ne '/ \033[2D' / + sleep 0.5 + kill -0 2243 + i=0 + echo -ne '- \033[2D' - + sleep 0.5 + kill -0 2243 + i=1 + echo -ne '\ \033[2D' \ + sleep 0.5 + kill -0 2243 + i=2 + echo -ne '| \033[2D' | + sleep 0.5 + kill -0 2243 + i=3 + echo -ne '/ \033[2D' / + sleep 0.5 + kill -0 2243 + i=0 + echo -ne '- \033[2D' - + sleep 0.5 + kill -0 2243 + i=1 + echo -ne '\ \033[2D' \ + sleep 0.5 + kill -0 2243 + i=2 + echo -ne '| \033[2D' | + sleep 0.5 + kill -0 2243 + i=3 + echo -ne '/ \033[2D' / + sleep 0.5 + kill -0 2243 + i=0 + echo -ne '- \033[2D' - + sleep 0.5 + kill -0 2243 + i=1 + echo -ne '\ \033[2D' \ + sleep 0.5 + kill -0 2243 + i=2 + echo -ne '| \033[2D' | + sleep 0.5 + kill -0 2243 + i=3 + echo -ne '/ \033[2D' / + sleep 0.5 + kill -0 2243 + i=0 + echo -ne '- \033[2D' - + sleep 0.5 + kill -0 2243 + i=1 + echo -ne '\ \033[2D' \ + sleep 0.5 + kill -0 2243 + 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 ++ printf '%(%F_%T_%Z)T\n' -1 + echo -n '2023-08-12_18:42:26_UTC [openHABian] Loading configuration file '\''/etc/openhabian.conf'\''... ' 2023-08-12_18:42:26_UTC [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=openHAB ++ debugmode=maximum ++ framebuffer=enable ++ apttimeout=60 ++ java_opt=17 ++ zraminstall=enable ++ hotspot=enable ++ hotspotpw=openhabian ++ 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=3884372 + [[ -z 3884372 ]] + swap=7768744 + minFree=15537488 ++ df -hk / ++ awk '/dev/ { print $4 }' + free=920387320 + [[ 920387320 -ge 15537488 ]] + size=7768744 + (( size/=1024 )) ++ timestamp ++ printf '%(%F_%T_%Z)T\n' -1 + echo -n '2023-08-12_18:42:26_UTC [openHABian] Adjusting swap size to 7586 MB... ' 2023-08-12_18:42:26_UTC [openHABian] Adjusting swap size to 7586 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=7586|g' /etc/dphys-swapfile + [[ -n '' ]] + echo -e '\n\033[90;01m$ sed -i s|^#*.*CONF_SWAPSIZE=.*$|CONF_SWAPSIZE=7586|g /etc/dphys-swapfile \033[39;49;00m' $ sed -i s|^#*.*CONF_SWAPSIZE=.*$|CONF_SWAPSIZE=7586|g /etc/dphys-swapfile  + sed -i 's|^#*.*CONF_SWAPSIZE=.*$|CONF_SWAPSIZE=7586|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 ++ printf '%(%F_%T_%Z)T\n' -1 + echo -n '2023-08-12_18:42:26_UTC [openHABian] Setting timezone based on openhabian.conf... ' 2023-08-12_18:42:26_UTC [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) + locale_setting + local syslocale + dpkg -s locales + [[ -n '' ]] ++ timestamp ++ printf '%(%F_%T_%Z)T\n' -1 + echo -n '2023-08-12_20:42:26_CEST [openHABian] Setting locale based on openhabian.conf... ' 2023-08-12_20:42:26_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 11 (bullseye)" NAME="Raspbian GNU/Linux" VERSION_ID="11" VERSION="11 (bullseye)" VERSION_CODENAME=bullseye 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 + syslocale=en_US.UTF-8 + cond_redirect update-locale LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 LANGUAGE=en_US.UTF-8 + [[ -n '' ]] + echo -e '\n\033[90;01m$ update-locale LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 LANGUAGE=en_US.UTF-8 \033[39;49;00m' $ update-locale LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 LANGUAGE=en_US.UTF-8  + update-locale LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 LANGUAGE=en_US.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 ++ printf '%(%F_%T_%Z)T\n' -1 + echo -n '2023-08-12_20:42:43_CEST [openHABian] Setting hostname of the base system based on openhabian.conf... ' 2023-08-12_20:42:43_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 ++ printf '%(%F_%T_%Z)T\n' -1 + echo -n '2023-08-12_20:42:43_CEST [openHABian] Setting the GPU memory split down to 16MB for headless system... ' 2023-08-12_20:42:43_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 + sed -i '/^dtoverlay=vc4-f\?kms-v3d/d' /boot/config.txt + 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 ++ printf '%(%F_%T_%Z)T\n' -1 + echo -n '2023-08-12_20:42:43_CEST [openHABian] Enabling Audio output... ' 2023-08-12_20:42:43_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 ++ printf '%(%F_%T_%Z)T\n' -1 + echo -n '2023-08-12_20:42:43_CEST [openHABian] Installing basic can'\''t-be-wrong packages (screen, vim, ...)... ' 2023-08-12_20:42:43_CEST [openHABian] Installing basic can't-be-wrong packages (screen, vim, ...)... ++ command -v raspi-config + [[ -x /usr/bin/raspi-config ]] + cp /etc/init.d/raspi-config /etc/init.d/openhabian-config + sed -i -e s/raspi-config/openhabian-config/ /etc/init.d/openhabian-config + cond_redirect apt-get -o DPkg::Lock::Timeout=60 purge --yes raspi-config + [[ -n '' ]] + echo -e '\n\033[90;01m$ apt-get -o DPkg::Lock::Timeout=60 purge --yes raspi-config \033[39;49;00m' $ apt-get -o DPkg::Lock::Timeout=60 purge --yes raspi-config  + apt-get -o DPkg::Lock::Timeout=60 purge --yes raspi-config Reading package lists... Building dependency tree... Reading state information... The following packages were automatically installed and are no longer required: alsa-topology-conf alsa-ucm-conf alsa-utils bluez bluez-firmware dos2unix libasound2 libasound2-data libatopology2 libfftw3-single3 libsamplerate0 python3-toml rfkill triggerhappy Use 'apt autoremove' to remove them. The following packages will be REMOVED: pi-bluetooth* raspberrypi-net-mods* raspberrypi-sys-mods* raspi-config* userconf-pi* 0 upgraded, 0 newly installed, 5 to remove and 14 not upgraded. After this operation, 317 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 ... 44855 files and directories currently installed.) Removing pi-bluetooth (0.1.19) ... Removing raspberrypi-net-mods (1.3.4) ... Removing raspberrypi-sys-mods (20230510~bullseye) ... Removing userconf-pi (0.5) ... Removing raspi-config (20230214) ... (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 ... 44802 files and directories currently installed.) Purging configuration files for pi-bluetooth (0.1.19) ... Purging configuration files for userconf-pi (0.5) ... Purging configuration files for raspberrypi-sys-mods (20230510~bullseye) ... Purging configuration files for raspberrypi-net-mods (1.3.4) ... Purging configuration files for raspi-config (20230214) ... + return 0 + cond_redirect apt-get -o DPkg::Lock::Timeout=60 install --yes acl arping apt-utils bash-completion bzip2 coreutils curl dirmngr git htop man-db mc multitail nano nmap lsb-release screen software-properties-common telnet usbutils util-linux vfu vim wget whiptail xz-utils zip + [[ -n '' ]] + echo -e '\n\033[90;01m$ apt-get -o DPkg::Lock::Timeout=60 install --yes acl arping apt-utils bash-completion bzip2 coreutils curl dirmngr git htop man-db mc multitail nano nmap lsb-release screen software-properties-common telnet usbutils util-linux vfu vim wget whiptail xz-utils zip \033[39;49;00m' $ apt-get -o DPkg::Lock::Timeout=60 install --yes acl arping apt-utils bash-completion bzip2 coreutils curl dirmngr git htop man-db mc multitail nano nmap lsb-release screen software-properties-common telnet usbutils util-linux vfu vim wget whiptail xz-utils zip  + apt-get -o DPkg::Lock::Timeout=60 install --yes acl arping apt-utils bash-completion bzip2 coreutils curl dirmngr git htop man-db mc multitail nano nmap lsb-release screen software-properties-common telnet usbutils util-linux vfu vim wget whiptail xz-utils zip Reading package lists... Building dependency tree... Reading state information... apt-utils is already the newest version (2.2.4). bash-completion is already the newest version (1:2.11-2). bzip2 is already the newest version (1.0.8-4). bzip2 set to manually installed. coreutils is already the newest version (8.32-4). curl is already the newest version (7.74.0-1.3+deb11u7). dirmngr is already the newest version (2.2.27-2+deb11u2). git is already the newest version (1:2.30.2-1+deb11u2). htop is already the newest version (3.0.5-7). lsb-release is already the newest version (11.1.0+rpi1). lsb-release set to manually installed. man-db is already the newest version (2.9.4-2). nano is already the newest version (5.4-2+deb11u2). usbutils is already the newest version (1:013-3). util-linux is already the newest version (2.36.1-8+deb11u1). wget is already the newest version (1.21-1+deb11u1). wget set to manually installed. whiptail is already the newest version (0.52.21-4+b2). whiptail set to manually installed. xz-utils is already the newest version (5.2.5-2.1~deb11u1). xz-utils set to manually installed. zip is already the newest version (3.0-12). The following packages were automatically installed and are no longer required: alsa-topology-conf alsa-ucm-conf alsa-utils bluez bluez-firmware dos2unix libasound2 libasound2-data libatopology2 libfftw3-single3 libsamplerate0 python3-toml rfkill triggerhappy Use 'apt autoremove' to remove them. The following additional packages will be installed: gir1.2-glib-2.0 gir1.2-packagekitglib-1.0 libappstream4 libgirepository-1.0-1 libglib2.0-bin libglib2.0-data libgpm2 liblinear4 liblua5.3-0 libnet1 libpackagekit-glib2-18 libstemmer0d libutempter0 lua-lpeg mc-data nmap-common packagekit packagekit-tools python3-dbus python3-distro-info python3-gi python3-pycurl python3-software-properties unattended-upgrades vim-runtime Suggested packages: gpm liblinear-tools liblinear-dev arj catdvi | texlive-binaries dbview djvulibre-bin epub-utils genisoimage gv imagemagick libaspell-dev links | w3m | lynx odt2txt poppler-utils python python-boto python-tz unar wimtools xpdf | pdf-viewer ncat ndiff zenmap 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 gir1.2-glib-2.0 gir1.2-packagekitglib-1.0 libappstream4 libgirepository-1.0-1 libglib2.0-bin libglib2.0-data libgpm2 liblinear4 liblua5.3-0 libnet1 libpackagekit-glib2-18 libstemmer0d libutempter0 lua-lpeg mc mc-data multitail nmap nmap-common packagekit packagekit-tools python3-dbus python3-distro-info python3-gi python3-pycurl python3-software-properties screen software-properties-common telnet unattended-upgrades vfu vim vim-runtime 0 upgraded, 35 newly installed, 0 to remove and 14 not upgraded. Need to get 6,013 kB/19.3 MB of archives. After this operation, 88.4 MB of additional disk space will be used. Get:1 http://mirror.de.leaseweb.net/raspbian/raspbian bullseye/main armhf telnet armhf 0.17-42 [61.2 kB] Get:2 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf liblinear4 armhf 2.3.0+dfsg-5 [38.1 kB] Get:3 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf liblua5.3-0 armhf 5.3.3-1.1+b1 [95.0 kB] Get:4 http://ftp.halifax.rwth-aachen.de/raspbian/raspbian bullseye/main armhf lua-lpeg armhf 1.0.2-1 [28.4 kB] Get:5 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf nmap-common all 7.91+dfsg1+really7.80+dfsg1-2 [4,017 kB] Get:6 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf nmap armhf 7.91+dfsg1+really7.80+dfsg1-2 [1,773 kB] Preconfiguring packages ... Fetched 6,013 kB in 2s (2,771 kB/s) Selecting previously unselected package libutempter0: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 ... 44791 files and directories currently installed.) Preparing to unpack .../00-libutempter0_1.2.1-2_armhf.deb ... Unpacking libutempter0:armhf (1.2.1-2) ... Selecting previously unselected package screen. Preparing to unpack .../01-screen_4.8.0-6_armhf.deb ... Unpacking screen (4.8.0-6) ... Selecting previously unselected package telnet. Preparing to unpack .../02-telnet_0.17-42_armhf.deb ... Unpacking telnet (0.17-42) ... Selecting previously unselected package acl. Preparing to unpack .../03-acl_2.2.53-10_armhf.deb ... Unpacking acl (2.2.53-10) ... Selecting previously unselected package libnet1:armhf. Preparing to unpack .../04-libnet1_1.1.6+dfsg-3.1_armhf.deb ... Unpacking libnet1:armhf (1.1.6+dfsg-3.1) ... Selecting previously unselected package arping. Preparing to unpack .../05-arping_2.21-2_armhf.deb ... Unpacking arping (2.21-2) ... Selecting previously unselected package libgirepository-1.0-1:armhf. Preparing to unpack .../06-libgirepository-1.0-1_1.66.1-1+b1_armhf.deb ... Unpacking libgirepository-1.0-1:armhf (1.66.1-1+b1) ... Selecting previously unselected package gir1.2-glib-2.0:armhf. Preparing to unpack .../07-gir1.2-glib-2.0_1.66.1-1+b1_armhf.deb ... Unpacking gir1.2-glib-2.0:armhf (1.66.1-1+b1) ... Selecting previously unselected package libpackagekit-glib2-18:armhf. Preparing to unpack .../08-libpackagekit-glib2-18_1.2.2-2_armhf.deb ... Unpacking libpackagekit-glib2-18:armhf (1.2.2-2) ... Selecting previously unselected package gir1.2-packagekitglib-1.0. Preparing to unpack .../09-gir1.2-packagekitglib-1.0_1.2.2-2_armhf.deb ... Unpacking gir1.2-packagekitglib-1.0 (1.2.2-2) ... Selecting previously unselected package libstemmer0d:armhf. Preparing to unpack .../10-libstemmer0d_2.1.0-1_armhf.deb ... Unpacking libstemmer0d:armhf (2.1.0-1) ... Selecting previously unselected package libappstream4:armhf. Preparing to unpack .../11-libappstream4_0.14.4-1_armhf.deb ... Unpacking libappstream4:armhf (0.14.4-1) ... Selecting previously unselected package libglib2.0-data. Preparing to unpack .../12-libglib2.0-data_2.66.8-1_all.deb ... Unpacking libglib2.0-data (2.66.8-1) ... Selecting previously unselected package libglib2.0-bin. Preparing to unpack .../13-libglib2.0-bin_2.66.8-1_armhf.deb ... Unpacking libglib2.0-bin (2.66.8-1) ... Selecting previously unselected package libgpm2:armhf. Preparing to unpack .../14-libgpm2_1.20.7-8_armhf.deb ... Unpacking libgpm2:armhf (1.20.7-8) ... Selecting previously unselected package liblinear4:armhf. Preparing to unpack .../15-liblinear4_2.3.0+dfsg-5_armhf.deb ... Unpacking liblinear4:armhf (2.3.0+dfsg-5) ... Selecting previously unselected package liblua5.3-0:armhf. Preparing to unpack .../16-liblua5.3-0_5.3.3-1.1+b1_armhf.deb ... Unpacking liblua5.3-0:armhf (5.3.3-1.1+b1) ... Selecting previously unselected package lua-lpeg:armhf. Preparing to unpack .../17-lua-lpeg_1.0.2-1_armhf.deb ... Unpacking lua-lpeg:armhf (1.0.2-1) ... Selecting previously unselected package mc-data. Preparing to unpack .../18-mc-data_3%3a4.8.26-1.1_all.deb ... Unpacking mc-data (3:4.8.26-1.1) ... Selecting previously unselected package mc. Preparing to unpack .../19-mc_3%3a4.8.26-1.1_armhf.deb ... Unpacking mc (3:4.8.26-1.1) ... Selecting previously unselected package multitail. Preparing to unpack .../20-multitail_6.5.0-3_armhf.deb ... Unpacking multitail (6.5.0-3) ... Selecting previously unselected package nmap-common. Preparing to unpack .../21-nmap-common_7.91+dfsg1+really7.80+dfsg1-2_all.deb ... Unpacking nmap-common (7.91+dfsg1+really7.80+dfsg1-2) ... Selecting previously unselected package nmap. Preparing to unpack .../22-nmap_7.91+dfsg1+really7.80+dfsg1-2_armhf.deb ... Unpacking nmap (7.91+dfsg1+really7.80+dfsg1-2) ... Selecting previously unselected package packagekit. Preparing to unpack .../23-packagekit_1.2.2-2_armhf.deb ... Unpacking packagekit (1.2.2-2) ... Selecting previously unselected package packagekit-tools. Preparing to unpack .../24-packagekit-tools_1.2.2-2_armhf.deb ... Unpacking packagekit-tools (1.2.2-2) ... Selecting previously unselected package python3-dbus. Preparing to unpack .../25-python3-dbus_1.2.16-5_armhf.deb ... Unpacking python3-dbus (1.2.16-5) ... Selecting previously unselected package python3-distro-info. Preparing to unpack .../26-python3-distro-info_1.0_all.deb ... Unpacking python3-distro-info (1.0) ... Selecting previously unselected package python3-gi. Preparing to unpack .../27-python3-gi_3.38.0-2_armhf.deb ... Unpacking python3-gi (3.38.0-2) ... Selecting previously unselected package python3-pycurl. Preparing to unpack .../28-python3-pycurl_7.43.0.6-5_armhf.deb ... Unpacking python3-pycurl (7.43.0.6-5) ... Selecting previously unselected package python3-software-properties. Preparing to unpack .../29-python3-software-properties_0.96.20.2-2.1_all.deb ... Unpacking python3-software-properties (0.96.20.2-2.1) ... Selecting previously unselected package software-properties-common. Preparing to unpack .../30-software-properties-common_0.96.20.2-2.1_all.deb ... Unpacking software-properties-common (0.96.20.2-2.1) ... Selecting previously unselected package unattended-upgrades. Preparing to unpack .../31-unattended-upgrades_2.8_all.deb ... Unpacking unattended-upgrades (2.8) ... Selecting previously unselected package vfu. Preparing to unpack .../32-vfu_4.21-1_armhf.deb ... Unpacking vfu (4.21-1) ... Selecting previously unselected package vim-runtime. Preparing to unpack .../33-vim-runtime_2%3a8.2.2434-3+deb11u1_all.deb ... Adding 'diversion of /usr/share/vim/vim82/doc/help.txt to /usr/share/vim/vim82/doc/help.txt.vim-tiny by vim-runtime' Adding 'diversion of /usr/share/vim/vim82/doc/tags to /usr/share/vim/vim82/doc/tags.vim-tiny by vim-runtime' Unpacking vim-runtime (2:8.2.2434-3+deb11u1) ... Selecting previously unselected package vim. Preparing to unpack .../34-vim_2%3a8.2.2434-3+deb11u1_armhf.deb ... Unpacking vim (2:8.2.2434-3+deb11u1) ... Setting up python3-dbus (1.2.16-5) ... Setting up lua-lpeg:armhf (1.0.2-1) ... Setting up libgpm2:armhf (1.20.7-8) ... Setting up telnet (0.17-42) ... update-alternatives: using /usr/bin/telnet.netkit to provide /usr/bin/telnet (telnet) in auto mode Setting up libpackagekit-glib2-18:armhf (1.2.2-2) ... Setting up libnet1:armhf (1.1.6+dfsg-3.1) ... Setting up liblinear4:armhf (2.3.0+dfsg-5) ... Setting up acl (2.2.53-10) ... Setting up vfu (4.21-1) ... Setting up python3-pycurl (7.43.0.6-5) ... Setting up libglib2.0-data (2.66.8-1) ... Setting up python3-software-properties (0.96.20.2-2.1) ... Setting up mc-data (3:4.8.26-1.1) ... Setting up libutempter0:armhf (1.2.1-2) ... Setting up nmap-common (7.91+dfsg1+really7.80+dfsg1-2) ... Setting up liblua5.3-0:armhf (5.3.3-1.1+b1) ... Setting up multitail (6.5.0-3) ... Setting up libgirepository-1.0-1:armhf (1.66.1-1+b1) ... Setting up libstemmer0d:armhf (2.1.0-1) ... Setting up vim-runtime (2:8.2.2434-3+deb11u1) ... Setting up python3-distro-info (1.0) ... Setting up vim (2:8.2.2434-3+deb11u1) ... 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.21-2) ... Setting up mc (3:4.8.26-1.1) ... Setting up libglib2.0-bin (2.66.8-1) ... Setting up screen (4.8.0-6) ... Setting up libappstream4:armhf (0.14.4-1) ... Setting up nmap (7.91+dfsg1+really7.80+dfsg1-2) ... Setting up unattended-upgrades (2.8) ... 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 gir1.2-glib-2.0:armhf (1.66.1-1+b1) ... Setting up packagekit (1.2.2-2) ... Created symlink /etc/systemd/user/sockets.target.wants/pk-debconf-helper.socket → /usr/lib/systemd/user/pk-debconf-helper.socket. Setting up packagekit-tools (1.2.2-2) ... Setting up gir1.2-packagekitglib-1.0 (1.2.2-2) ... Setting up python3-gi (3.38.0-2) ... Setting up software-properties-common (0.96.20.2-2.1) ... Processing triggers for install-info (6.7.0.dfsg.2-6) ... Processing triggers for mailcap (3.69) ... Processing triggers for libc-bin (2.31-13+rpt2+rpi1+deb11u5) ... Processing triggers for man-db (2.9.4-2) ... Processing triggers for dbus (1.12.24-0+deb11u1) ... + return 0 + echo OK OK + needed_packages ++ timestamp ++ printf '%(%F_%T_%Z)T\n' -1 + echo -n '2023-08-12_20:44:03_CEST [openHABian] Installing additional needed packages... ' 2023-08-12_20:44:03_CEST [openHABian] Installing additional needed packages... + cond_redirect apt-get -o DPkg::Lock::Timeout=60 install --yes apt-transport-https bc sysstat jq moreutils avahi-daemon python3 python3-pip python3-wheel python3-setuptools fontconfig + [[ -n '' ]] + echo -e '\n\033[90;01m$ apt-get -o DPkg::Lock::Timeout=60 install --yes apt-transport-https bc sysstat jq moreutils avahi-daemon python3 python3-pip python3-wheel python3-setuptools fontconfig \033[39;49;00m' $ apt-get -o DPkg::Lock::Timeout=60 install --yes apt-transport-https bc sysstat jq moreutils avahi-daemon python3 python3-pip python3-wheel python3-setuptools fontconfig  + apt-get -o DPkg::Lock::Timeout=60 install --yes apt-transport-https bc sysstat jq moreutils avahi-daemon python3 python3-pip python3-wheel python3-setuptools fontconfig Reading package lists... Building dependency tree... Reading state information... avahi-daemon is already the newest version (0.8-5+deb11u2). python3 is already the newest version (3.9.2-3). python3 set to manually installed. The following packages were automatically installed and are no longer required: alsa-topology-conf alsa-ucm-conf alsa-utils bluez bluez-firmware dos2unix libasound2 libasound2-data libatopology2 libfftw3-single3 libsamplerate0 python3-toml rfkill triggerhappy Use 'apt autoremove' to remove them. The following additional packages will be installed: javascript-common libexpat1-dev libio-pty-perl libipc-run-perl libjq1 libjs-jquery libjs-sphinxdoc libjs-underscore libonig5 libpython3-dev libpython3.9-dev libsensors-config libsensors5 libtime-duration-perl libtimedate-perl python-pip-whl python3-dev python3-distutils python3-lib2to3 python3.9-dev Suggested packages: apache2 | lighttpd | httpd lm-sensors python-setuptools-doc isag The following NEW packages will be installed: apt-transport-https bc fontconfig javascript-common jq libexpat1-dev libio-pty-perl libipc-run-perl libjq1 libjs-jquery libjs-sphinxdoc libjs-underscore libonig5 libpython3-dev libpython3.9-dev libsensors-config libsensors5 libtime-duration-perl libtimedate-perl moreutils python-pip-whl python3-dev python3-distutils python3-lib2to3 python3-pip python3-setuptools python3-wheel python3.9-dev sysstat Preconfiguring packages ... 0 upgraded, 29 newly installed, 0 to remove and 14 not upgraded. Need to get 0 B/9,141 kB of archives. After this operation, 27.6 MB of additional disk space will be used. Selecting previously unselected package bc. (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 ... 48644 files and directories currently installed.) Preparing to unpack .../00-bc_1.07.1-2+b1_armhf.deb ... Unpacking bc (1.07.1-2+b1) ... Selecting previously unselected package apt-transport-https. Preparing to unpack .../01-apt-transport-https_2.2.4_all.deb ... Unpacking apt-transport-https (2.2.4) ... Selecting previously unselected package fontconfig. Preparing to unpack .../02-fontconfig_2.13.1-4.2_armhf.deb ... Unpacking fontconfig (2.13.1-4.2) ... Selecting previously unselected package javascript-common. Preparing to unpack .../03-javascript-common_11+nmu1_all.deb ... Unpacking javascript-common (11+nmu1) ... Selecting previously unselected package libonig5:armhf. Preparing to unpack .../04-libonig5_6.9.6-1.1_armhf.deb ... Unpacking libonig5:armhf (6.9.6-1.1) ... Selecting previously unselected package libjq1:armhf. Preparing to unpack .../05-libjq1_1.6-2.1_armhf.deb ... Unpacking libjq1:armhf (1.6-2.1) ... Selecting previously unselected package jq. Preparing to unpack .../06-jq_1.6-2.1_armhf.deb ... Unpacking jq (1.6-2.1) ... Selecting previously unselected package libexpat1-dev:armhf. Preparing to unpack .../07-libexpat1-dev_2.2.10-2+deb11u5_armhf.deb ... Unpacking libexpat1-dev:armhf (2.2.10-2+deb11u5) ... Selecting previously unselected package libio-pty-perl. Preparing to unpack .../08-libio-pty-perl_1%3a1.15-2_armhf.deb ... Unpacking libio-pty-perl (1:1.15-2) ... Selecting previously unselected package libipc-run-perl. Preparing to unpack .../09-libipc-run-perl_20200505.0-1_all.deb ... Unpacking libipc-run-perl (20200505.0-1) ... Selecting previously unselected package libjs-jquery. Preparing to unpack .../10-libjs-jquery_3.5.1+dfsg+~3.5.5-7_all.deb ... Unpacking libjs-jquery (3.5.1+dfsg+~3.5.5-7) ... Selecting previously unselected package libjs-underscore. Preparing to unpack .../11-libjs-underscore_1.9.1~dfsg-3_all.deb ... Unpacking libjs-underscore (1.9.1~dfsg-3) ... Selecting previously unselected package libjs-sphinxdoc. Preparing to unpack .../12-libjs-sphinxdoc_3.4.3-2_all.deb ... Unpacking libjs-sphinxdoc (3.4.3-2) ... Selecting previously unselected package libpython3.9-dev:armhf. Preparing to unpack .../13-libpython3.9-dev_3.9.2-1+rpi1_armhf.deb ... Unpacking libpython3.9-dev:armhf (3.9.2-1+rpi1) ... Selecting previously unselected package libpython3-dev:armhf. Preparing to unpack .../14-libpython3-dev_3.9.2-3_armhf.deb ... Unpacking libpython3-dev:armhf (3.9.2-3) ... Selecting previously unselected package libsensors-config. Preparing to unpack .../15-libsensors-config_1%3a3.6.0-7_all.deb ... Unpacking libsensors-config (1:3.6.0-7) ... Selecting previously unselected package libsensors5:armhf. Preparing to unpack .../16-libsensors5_1%3a3.6.0-7_armhf.deb ... Unpacking libsensors5:armhf (1:3.6.0-7) ... Selecting previously unselected package libtime-duration-perl. Preparing to unpack .../17-libtime-duration-perl_1.21-1_all.deb ... Unpacking libtime-duration-perl (1.21-1) ... Selecting previously unselected package libtimedate-perl. Preparing to unpack .../18-libtimedate-perl_2.3300-2_all.deb ... Unpacking libtimedate-perl (2.3300-2) ... Selecting previously unselected package moreutils. Preparing to unpack .../19-moreutils_0.65-1_armhf.deb ... Unpacking moreutils (0.65-1) ... Selecting previously unselected package python-pip-whl. Preparing to unpack .../20-python-pip-whl_20.3.4-4+rpt1+deb11u1_all.deb ... Unpacking python-pip-whl (20.3.4-4+rpt1+deb11u1) ... Selecting previously unselected package python3.9-dev. Preparing to unpack .../21-python3.9-dev_3.9.2-1+rpi1_armhf.deb ... Unpacking python3.9-dev (3.9.2-1+rpi1) ... Selecting previously unselected package python3-lib2to3. Preparing to unpack .../22-python3-lib2to3_3.9.2-1_all.deb ... Unpacking python3-lib2to3 (3.9.2-1) ... Selecting previously unselected package python3-distutils. Preparing to unpack .../23-python3-distutils_3.9.2-1_all.deb ... Unpacking python3-distutils (3.9.2-1) ... Selecting previously unselected package python3-dev. Preparing to unpack .../24-python3-dev_3.9.2-3_armhf.deb ... Unpacking python3-dev (3.9.2-3) ... Selecting previously unselected package python3-setuptools. Preparing to unpack .../25-python3-setuptools_52.0.0-4_all.deb ... Unpacking python3-setuptools (52.0.0-4) ... Selecting previously unselected package python3-wheel. Preparing to unpack .../26-python3-wheel_0.34.2-1_all.deb ... Unpacking python3-wheel (0.34.2-1) ... Selecting previously unselected package python3-pip. Preparing to unpack .../27-python3-pip_20.3.4-4+rpt1+deb11u1_all.deb ... Unpacking python3-pip (20.3.4-4+rpt1+deb11u1) ... Selecting previously unselected package sysstat. Preparing to unpack .../28-sysstat_12.5.2-2_armhf.deb ... Unpacking sysstat (12.5.2-2) ... Setting up javascript-common (11+nmu1) ... Setting up fontconfig (2.13.1-4.2) ... Regenerating fonts cache... done. Setting up apt-transport-https (2.2.4) ... Setting up libio-pty-perl (1:1.15-2) ... Setting up libsensors-config (1:3.6.0-7) ... Setting up bc (1.07.1-2+b1) ... Setting up python3-wheel (0.34.2-1) ... Setting up libexpat1-dev:armhf (2.2.10-2+deb11u5) ... Setting up libipc-run-perl (20200505.0-1) ... Setting up libsensors5:armhf (1:3.6.0-7) ... Setting up libtime-duration-perl (1.21-1) ... Setting up libtimedate-perl (2.3300-2) ... Setting up python-pip-whl (20.3.4-4+rpt1+deb11u1) ... Setting up libjs-jquery (3.5.1+dfsg+~3.5.5-7) ... Setting up python3-lib2to3 (3.9.2-1) ... Setting up sysstat (12.5.2-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/sysstat.service.wants/sysstat-collect.timer → /lib/systemd/system/sysstat-collect.timer. Created symlink /etc/systemd/system/sysstat.service.wants/sysstat-summary.timer → /lib/systemd/system/sysstat-summary.timer. Created symlink /etc/systemd/system/multi-user.target.wants/sysstat.service → /lib/systemd/system/sysstat.service. Setting up libonig5:armhf (6.9.6-1.1) ... Setting up libjs-underscore (1.9.1~dfsg-3) ... Setting up python3-distutils (3.9.2-1) ... Setting up moreutils (0.65-1) ... Setting up python3-setuptools (52.0.0-4) ... Setting up libjq1:armhf (1.6-2.1) ... Setting up libpython3.9-dev:armhf (3.9.2-1+rpi1) ... Setting up python3-pip (20.3.4-4+rpt1+deb11u1) ... Setting up libjs-sphinxdoc (3.4.3-2) ... Setting up python3.9-dev (3.9.2-1+rpi1) ... Setting up jq (1.6-2.1) ... Setting up libpython3-dev:armhf (3.9.2-3) ... Setting up python3-dev (3.9.2-3) ... Processing triggers for libc-bin (2.31-13+rpt2+rpi1+deb11u5) ... Processing triggers for man-db (2.9.4-2) ... Processing triggers for install-info (6.7.0.dfsg.2-6) ... + return 0 + echo OK OK + is_pi_wlan + 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 + [[ -z '' ]] ++ timestamp ++ printf '%(%F_%T_%Z)T\n' -1 + echo -n '2023-08-12_20:44:45_CEST [openHABian] Installing python3 serial package... ' 2023-08-12_20:44:45_CEST [openHABian] Installing python3 serial package... + cond_redirect apt-get install --yes -o DPkg::Lock::Timeout=60 python3-smbus python3-serial + [[ -n '' ]] + echo -e '\n\033[90;01m$ apt-get install --yes -o DPkg::Lock::Timeout=60 python3-smbus python3-serial \033[39;49;00m' $ apt-get install --yes -o DPkg::Lock::Timeout=60 python3-smbus python3-serial  + apt-get install --yes -o DPkg::Lock::Timeout=60 python3-smbus python3-serial Reading package lists... Building dependency tree... Reading state information... The following packages were automatically installed and are no longer required: alsa-topology-conf alsa-ucm-conf alsa-utils bluez bluez-firmware dos2unix libasound2 libasound2-data libatopology2 libfftw3-single3 libsamplerate0 python3-toml rfkill triggerhappy Use 'apt autoremove' to remove them. The following additional packages will be installed: i2c-tools libi2c0 read-edid Suggested packages: libi2c-dev python-smbus python3-wxgtk3.0 | python3-wxgtk The following NEW packages will be installed: i2c-tools libi2c0 python3-serial python3-smbus read-edid 0 upgraded, 5 newly installed, 0 to remove and 14 not upgraded. Need to get 205 kB of archives. After this operation, 863 kB of additional disk space will be used. Get:1 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf libi2c0 armhf 4.2-1+b1 [10.4 kB] Get:2 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf i2c-tools armhf 4.2-1+b1 [78.0 kB] Get:4 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf python3-smbus armhf 4.2-1+b1 [12.5 kB] Get:3 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf python3-serial all 3.5~b0-1 [88.8 kB] Get:5 http://mirror.netcologne.de/raspbian/raspbian bullseye/main armhf read-edid armhf 3.0.2-1.1 [14.9 kB] Fetched 205 kB in 1s (192 kB/s) Selecting previously unselected package libi2c0: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 ... 49842 files and directories currently installed.) Preparing to unpack .../libi2c0_4.2-1+b1_armhf.deb ... Unpacking libi2c0:armhf (4.2-1+b1) ... Selecting previously unselected package i2c-tools. Preparing to unpack .../i2c-tools_4.2-1+b1_armhf.deb ... Unpacking i2c-tools (4.2-1+b1) ... Selecting previously unselected package python3-serial. Preparing to unpack .../python3-serial_3.5~b0-1_all.deb ... Unpacking python3-serial (3.5~b0-1) ... Selecting previously unselected package python3-smbus:armhf. Preparing to unpack .../python3-smbus_4.2-1+b1_armhf.deb ... Unpacking python3-smbus:armhf (4.2-1+b1) ... Selecting previously unselected package read-edid. Preparing to unpack .../read-edid_3.0.2-1.1_armhf.deb ... Unpacking read-edid (3.0.2-1.1) ... Setting up libi2c0:armhf (4.2-1+b1) ... Setting up read-edid (3.0.2-1.1) ... Setting up python3-serial (3.5~b0-1) ... Setting up i2c-tools (4.2-1+b1) ... Setting up python3-smbus:armhf (4.2-1+b1) ... Processing triggers for man-db (2.9.4-2) ... Processing triggers for libc-bin (2.31-13+rpt2+rpi1+deb11u5) ... + return 0 + echo OK OK ++ timestamp ++ printf '%(%F_%T_%Z)T\n' -1 + echo -n '2023-08-12_20:44:54_CEST [openHABian] Installing pigpio package... ' 2023-08-12_20:44:54_CEST [openHABian] Installing pigpio package... + cond_redirect apt-get install --yes -o DPkg::Lock::Timeout=60 pigpio + [[ -n '' ]] + echo -e '\n\033[90;01m$ apt-get install --yes -o DPkg::Lock::Timeout=60 pigpio \033[39;49;00m' $ apt-get install --yes -o DPkg::Lock::Timeout=60 pigpio  + apt-get install --yes -o DPkg::Lock::Timeout=60 pigpio Reading package lists... Building dependency tree... Reading state information... The following packages were automatically installed and are no longer required: alsa-topology-conf alsa-ucm-conf alsa-utils bluez bluez-firmware dos2unix libasound2 libasound2-data libatopology2 libfftw3-single3 libsamplerate0 python3-toml rfkill triggerhappy Use 'apt autoremove' to remove them. 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 14 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 bullseye/main armhf libpigpio1 armhf 1.79-1+rpt1 [91.4 kB] Get:2 http://archive.raspberrypi.org/debian bullseye/main armhf libpigpio-dev armhf 1.79-1+rpt1 [78.5 kB] Get:3 http://archive.raspberrypi.org/debian bullseye/main armhf libpigpiod-if1 armhf 1.79-1+rpt1 [20.5 kB] Get:4 http://archive.raspberrypi.org/debian bullseye/main armhf libpigpiod-if2-1 armhf 1.79-1+rpt1 [24.4 kB] Get:5 http://archive.raspberrypi.org/debian bullseye/main armhf libpigpiod-if-dev armhf 1.79-1+rpt1 [76.9 kB] Get:6 http://archive.raspberrypi.org/debian bullseye/main armhf pigpio-tools armhf 1.79-1+rpt1 [42.9 kB] Get:7 http://archive.raspberrypi.org/debian bullseye/main armhf pigpiod armhf 1.79-1+rpt1 [9,900 B] Get:8 http://archive.raspberrypi.org/debian bullseye/main armhf pigpio armhf 1.79-1+rpt1 [3,564 B] Fetched 348 kB in 0s (947 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 ... 49948 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.9.4-2) ... Processing triggers for libc-bin (2.31-13+rpt2+rpi1+deb11u5) ... + return 0 + echo OK OK ++ timestamp ++ printf '%(%F_%T_%Z)T\n' -1 + echo -n '2023-08-12_20:45:04_CEST [openHABian] Installing additional bluetooth packages... ' 2023-08-12_20:45:04_CEST [openHABian] Installing additional bluetooth packages... + cond_redirect apt-get install --yes -o DPkg::Lock::Timeout=60 bluez python3-dev libbluetooth-dev raspberrypi-sys-mods pi-bluetooth + [[ -n '' ]] + echo -e '\n\033[90;01m$ apt-get install --yes -o DPkg::Lock::Timeout=60 bluez python3-dev libbluetooth-dev raspberrypi-sys-mods pi-bluetooth \033[39;49;00m' $ apt-get install --yes -o DPkg::Lock::Timeout=60 bluez python3-dev libbluetooth-dev raspberrypi-sys-mods pi-bluetooth  + apt-get install --yes -o DPkg::Lock::Timeout=60 bluez python3-dev libbluetooth-dev raspberrypi-sys-mods pi-bluetooth Reading package lists... Building dependency tree... Reading state information... python3-dev is already the newest version (3.9.2-3). python3-dev set to manually installed. bluez is already the newest version (5.55-3.1+rpt2). bluez set to manually installed. The following NEW packages will be installed: libbluetooth-dev pi-bluetooth raspberrypi-sys-mods raspi-config userconf-pi 0 upgraded, 5 newly installed, 0 to remove and 14 not upgraded. Need to get 266 kB/285 kB of archives. After this operation, 909 kB of additional disk space will be used. Get:1 http://archive.raspberrypi.org/debian bullseye/main armhf libbluetooth-dev armhf 5.55-3.1+rpt2 [221 kB] Get:2 http://archive.raspberrypi.org/debian bullseye/main armhf raspi-config all 20230214 [32.7 kB] Get:3 http://archive.raspberrypi.org/debian bullseye/main armhf pi-bluetooth all 0.1.19 [5,764 B] Get:4 http://archive.raspberrypi.org/debian bullseye/main armhf userconf-pi all 0.5 [6,524 B] Fetched 266 kB in 0s (968 kB/s) Selecting previously unselected package libbluetooth-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 ... 49995 files and directories currently installed.) Preparing to unpack .../libbluetooth-dev_5.55-3.1+rpt2_armhf.deb ... Unpacking libbluetooth-dev:armhf (5.55-3.1+rpt2) ... Selecting previously unselected package raspi-config. Preparing to unpack .../raspi-config_20230214_all.deb ... Unpacking raspi-config (20230214) ... Selecting previously unselected package raspberrypi-sys-mods. Preparing to unpack .../raspberrypi-sys-mods_20230510~bullseye_armhf.deb ... Unpacking raspberrypi-sys-mods (20230510~bullseye) ... Selecting previously unselected package pi-bluetooth. Preparing to unpack .../pi-bluetooth_0.1.19_all.deb ... Unpacking pi-bluetooth (0.1.19) ... Selecting previously unselected package userconf-pi. Preparing to unpack .../userconf-pi_0.5_all.deb ... Unpacking userconf-pi (0.5) ... Setting up libbluetooth-dev:armhf (5.55-3.1+rpt2) ... Setting up raspi-config (20230214) ... Setting up userconf-pi (0.5) ... Setting up raspberrypi-sys-mods (20230510~bullseye) ... Created symlink /etc/systemd/system/reboot.target.wants/rpi-display-backlight.service → /lib/systemd/system/rpi-display-backlight.service. Created symlink /etc/systemd/system/halt.target.wants/rpi-display-backlight.service → /lib/systemd/system/rpi-display-backlight.service. Created symlink /etc/systemd/system/poweroff.target.wants/rpi-display-backlight.service → /lib/systemd/system/rpi-display-backlight.service. Created symlink /etc/systemd/system/multi-user.target.wants/sshswitch.service → /lib/systemd/system/sshswitch.service. Setting up pi-bluetooth (0.1.19) ... Created symlink /etc/systemd/system/dev-serial1.device.wants/hciuart.service → /lib/systemd/system/hciuart.service. + return 0 + echo OK OK + bashrc_copy ++ timestamp ++ printf '%(%F_%T_%Z)T\n' -1 + echo -n '2023-08-12_20:45:17_CEST [openHABian] Adding slightly tuned bash configuration files to system... ' 2023-08-12_20:45:17_CEST [openHABian] Adding slightly tuned bash configuration files to system... + cp /opt/openhabian/includes/generic/bash.bashrc /etc/bash.bashrc + cp /opt/openhabian/includes/generic/bashrc-root /root/.bashrc + cp /opt/openhabian/includes/generic/bash_profile /home/openhabian/.bash_profile + cp /opt/openhabian/includes/generic/bash_aliases /home/openhabian/.bash_aliases + chown openhabian:openhabian /home/openhabian/.bash_aliases /home/openhabian/.bash_logout /home/openhabian/.bash_profile + echo OK OK + vimrc_copy ++ timestamp ++ printf '%(%F_%T_%Z)T\n' -1 + echo -n '2023-08-12_20:45:17_CEST [openHABian] Adding slightly tuned vim configuration file to system... ' 2023-08-12_20:45:17_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 + local sudoersFile=011_openhab-tailscale + local sudoersPath=/etc/sudoers.d + local keyName=tailscale-archive-keyring + [[ -n 1 ]] + [[ ! -v preauthkey ]] ++ timestamp ++ printf '%(%F_%T_%Z)T\n' -1 + echo '2023-08-12_20:45:18_CEST [openHABian] tailscale VPN installation... SKIPPED (no preauthkey defined)' 2023-08-12_20:45:18_CEST [openHABian] tailscale VPN installation... SKIPPED (no preauthkey defined) + return 1 + misc_system_settings ++ timestamp ++ printf '%(%F_%T_%Z)T\n' -1 + echo -n '2023-08-12_20:45:18_CEST [openHABian] Applying miscellaneous system settings... ' 2023-08-12_20:45:18_CEST [openHABian] Applying miscellaneous system settings... + 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 11 (bullseye)" NAME="Raspbian GNU/Linux" VERSION_ID="11" VERSION="11 (bullseye)" VERSION_CODENAME=bullseye 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/f539c584205942aaa0c622ca2fe021f1/system@4b24ae491e6e476dafaf7d2891051bb0-0000000000000001-0005fb90cd426cc4.journal (8.0M). Vacuuming done, freed 8.0M of archived journals from /var/log/journal/f539c584205942aaa0c622ca2fe021f1. Vacuuming done, freed 0B of archived journals from /run/log/journal. Vacuuming done, freed 0B of archived journals from /var/log/journal. + return 0 + grep -qs '^[[:space:]]*dtparam=i2c_arm=' /boot/config.txt + echo dtparam=i2c_arm=on + grep -qs '^[[:space:]]*dtparam=i2c1=' /boot/config.txt + echo dtparam=i2c1=on + cond_redirect install -m 755 /opt/openhabian/includes/INA219.py /usr/local/bin/waveshare_ups + [[ -n '' ]] + echo -e '\n\033[90;01m$ install -m 755 /opt/openhabian/includes/INA219.py /usr/local/bin/waveshare_ups \033[39;49;00m' $ install -m 755 /opt/openhabian/includes/INA219.py /usr/local/bin/waveshare_ups  + install -m 755 /opt/openhabian/includes/INA219.py /usr/local/bin/waveshare_ups + return 0 + 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 + dpkg -s bc sysstat jq moreutils make + firemotd_download /opt ++ timestamp ++ printf '%(%F_%T_%Z)T\n' -1 + echo -n '2023-08-12_20:45:18_CEST [openHABian] Downloading FireMotD... ' 2023-08-12_20:45:18_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 ++ printf '%(%F_%T_%Z)T\n' -1 ++ basename /opt/FireMotD + echo -n '2023-08-12_20:45:18_CEST [openHABian] Updating FireMotD, master branch from git... ' 2023-08-12_20:45:18_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 ++ printf '%(%F_%T_%Z)T\n' -1 + echo -n '2023-08-12_20:45:19_CEST [openHABian] Installing FireMotD... ' 2023-08-12_20:45:19_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 ++ printf '%(%F_%T_%Z)T\n' -1 + echo -n '2023-08-12_20:45:19_CEST [openHABian] Generating FireMotD theme... ' 2023-08-12_20:45:19_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 2023-08-12 20:45:19,692: FireMotD: Info: Debug mode 2023-08-12 20:45:19,702: FireMotD: Info: FireMotD action save started 2023-08-12 20:45:19,712: FireMotD: Info: Action "save" 2023-08-12 20:45:19,723: FireMotD: Info: Exportfile /usr/share/firemotd/data/FireMotD.json not found. 2023-08-12 20:45:19,733: FireMotD: Info: Template type set to all. Overwriting.. 2023-08-12 20:45:19,847: FireMotD: Info: Exploring HostIp 2023-08-12 20:45:20,122: FireMotD: Info: Exploring Release 2023-08-12 20:45:20,363: FireMotD: Info: Exploring Kernel 2023-08-12 20:45:20,585: FireMotD: Info: Exploring Platform 2023-08-12 20:45:20,837: FireMotD: Info: Exploring InstallDate 2023-08-12 20:45:21,055: FireMotD: Info: Exploring Updates W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: https://openhab.jfrog.io/artifactory/openhab-linuxpkg stable InRelease: The following signatures were invalid: EXPKEYSIG 075721F6A224060A openHAB Bintray Repositories W: Failed to fetch https://openhab.jfrog.io/artifactory/openhab-linuxpkg/dists/stable/InRelease The following signatures were invalid: EXPKEYSIG 075721F6A224060A openHAB Bintray Repositories W: Some index files failed to download. They have been ignored, or old ones used instead. 2023-08-12 20:45:28,963: FireMotD: Info: Exploring Httpd 2023-08-12 20:45:29,184: FireMotD: Info: Exploring Nginx 2023-08-12 20:45:29,402: FireMotD: Info: Exploring Mysql 2023-08-12 20:45:29,727: FireMotD: Info: Exploring Postgres 2023-08-12 20:45:29,954: FireMotD: Info: Exploring Php 2023-08-12 20:45:30,275: FireMotD: Info: Exploring Elasticsearch 2023-08-12 20:45:30,493: FireMotD: Info: Exploring Logstash 2023-08-12 20:45:30,719: FireMotD: Info: Exploring Kibana 2023-08-12 20:45:30,941: FireMotD: Info: Export system data to "/usr/share/firemotd/data/FireMotD.json" finished. 2023-08-12 20:45:30,960: FireMotD: Info: ExportFile: -rwxrw-rw- 1 root root 3232 Aug 12 20:45 /usr/share/firemotd/data/FireMotD.json 2023-08-12 20:45:30,972: 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 ++ printf '%(%F_%T_%Z)T\n' -1 + echo -n '2023-08-12_20:45:48_CEST [openHABian] Setting up FireMotD apt updates count service... ' 2023-08-12_20:45:48_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/firemotd.service /opt/openhabian/includes/firemotd/firemotd.timer /etc/systemd/system/ + [[ -n '' ]] + echo -e '\n\033[90;01m$ install -m 644 /opt/openhabian/includes/firemotd/firemotd.service /opt/openhabian/includes/firemotd/firemotd.timer /etc/systemd/system/ \033[39;49;00m' $ install -m 644 /opt/openhabian/includes/firemotd/firemotd.service /opt/openhabian/includes/firemotd/firemotd.timer /etc/systemd/system/  + install -m 644 /opt/openhabian/includes/firemotd/firemotd.service /opt/openhabian/includes/firemotd/firemotd.timer /etc/systemd/system/ + return 0 + cond_redirect systemctl -q daemon-reload + [[ -n '' ]] + echo -e '\n\033[90;01m$ systemctl -q daemon-reload \033[39;49;00m' $ systemctl -q daemon-reload  + systemctl -q daemon-reload + return 0 + 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/firemotd/15firemotd /etc/apt/apt.conf.d/ + [[ -n '' ]] + echo -e '\n\033[90;01m$ install -m 644 /opt/openhabian/includes/firemotd/15firemotd /etc/apt/apt.conf.d/ \033[39;49;00m' $ install -m 644 /opt/openhabian/includes/firemotd/15firemotd /etc/apt/apt.conf.d/  + install -m 644 /opt/openhabian/includes/firemotd/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 W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: https://openhab.jfrog.io/artifactory/openhab-linuxpkg stable InRelease: The following signatures were invalid: EXPKEYSIG 075721F6A224060A openHAB Bintray Repositories W: Failed to fetch https://openhab.jfrog.io/artifactory/openhab-linuxpkg/dists/stable/InRelease The following signatures were invalid: EXPKEYSIG 075721F6A224060A openHAB Bintray Repositories W: Some index files failed to download. They have been ignored, or old ones used instead. + return 0 + echo OK OK + java_install 17 + openhab_is_running + openhab_is_installed + openhab2_is_installed ++ dpkg -s openhab2 ++ grep Status ++ cut '-d ' -f2 + [[ '' =~ ^(install|hold)$ ]] + return 1 + openhab3_is_installed ++ dpkg -s openhab ++ grep -E '^Version' ++ cut -d ' ' -f2 ++ cut -d . -f1 + [[ '' = 3 ]] + return 1 + openhab4_is_installed ++ dpkg -s openhab ++ grep -E '^Version' ++ cut -d . -f1 ++ cut -d ' ' -f2 + [[ '' = 4 ]] + return 1 + return 1 + return 1 + [[ -d /opt/jdk ]] + openjdk_install_apt 17 + dpkg -s openjdk-17-jre-headless + openjdk_fetch_apt 17 + apt-cache show openjdk-17-jre-headless ++ timestamp ++ printf '%(%F_%T_%Z)T\n' -1 + echo -n '2023-08-12_20:46:00_CEST [openHABian] Fetching OpenJDK 17... ' 2023-08-12_20:46:00_CEST [openHABian] Fetching OpenJDK 17... + cond_redirect apt-get install --download-only --yes openjdk-17-jre-headless + [[ -n '' ]] + echo -e '\n\033[90;01m$ apt-get install --download-only --yes openjdk-17-jre-headless \033[39;49;00m' $ apt-get install --download-only --yes openjdk-17-jre-headless  + apt-get install --download-only --yes openjdk-17-jre-headless Reading package lists... Building dependency tree... Reading state information... The following additional packages will be installed: ca-certificates-java java-common libavahi-client3 libcups2 libgraphite2-3 libharfbuzz0b Suggested packages: default-jre cups-common fonts-dejavu-extra fonts-ipafont-gothic fonts-ipafont-mincho fonts-wqy-microhei | fonts-wqy-zenhei fonts-indic The following NEW packages will be installed: ca-certificates-java java-common libavahi-client3 libcups2 libgraphite2-3 libharfbuzz0b openjdk-17-jre-headless 0 upgraded, 7 newly installed, 0 to remove and 14 not upgraded. Need to get 40.6 MB/42.5 MB of archives. After this operation, 178 MB of additional disk space will be used. Get:1 http://archive.raspberrypi.org/debian bullseye/main armhf openjdk-17-jre-headless armhf 1:17.0.7+7-1~deb11u1+rpt1 [40.6 MB] Fetched 40.6 MB in 7s (6,087 kB/s) Download complete and in download only mode + return 0 + echo OK OK ++ timestamp ++ printf '%(%F_%T_%Z)T\n' -1 + echo -n '2023-08-12_20:46:09_CEST [openHABian] Installing OpenJDK 17... ' 2023-08-12_20:46:09_CEST [openHABian] Installing OpenJDK 17... + 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 + local jdkBin ++ find '/opt/jdk/*/bin' ... -print -quit find: ‘/opt/jdk/*/bin’: No such file or directory find: ‘...’: No such file or directory + jdkBin= + cond_redirect find '' -maxdepth 1 -perm -111 -type f -exec bash -c 'update-alternatives --quiet --remove-all $(basename {})' ';' + [[ -n '' ]] + echo -e '\n\033[90;01m$ find -maxdepth 1 -perm -111 -type f -exec bash -c update-alternatives --quiet --remove-all $(basename {}) ; \033[39;49;00m' $ find -maxdepth 1 -perm -111 -type f -exec bash -c update-alternatives --quiet --remove-all $(basename {}) ;  + find '' -maxdepth 1 -perm -111 -type f -exec bash -c 'update-alternatives --quiet --remove-all $(basename {})' ';' find: ‘’: No such file or directory + return 1 + return 1 + cond_redirect apt-get install --yes -o DPkg::Lock::Timeout=60 openjdk-17-jre-headless + [[ -n '' ]] + echo -e '\n\033[90;01m$ apt-get install --yes -o DPkg::Lock::Timeout=60 openjdk-17-jre-headless \033[39;49;00m' $ apt-get install --yes -o DPkg::Lock::Timeout=60 openjdk-17-jre-headless  + apt-get install --yes -o DPkg::Lock::Timeout=60 openjdk-17-jre-headless Reading package lists... Building dependency tree... Reading state information... The following additional packages will be installed: ca-certificates-java java-common libavahi-client3 libcups2 libgraphite2-3 libharfbuzz0b Suggested packages: default-jre cups-common fonts-dejavu-extra fonts-ipafont-gothic fonts-ipafont-mincho fonts-wqy-microhei | fonts-wqy-zenhei fonts-indic The following NEW packages will be installed: ca-certificates-java java-common libavahi-client3 libcups2 libgraphite2-3 libharfbuzz0b openjdk-17-jre-headless 0 upgraded, 7 newly installed, 0 to remove and 14 not upgraded. Need to get 0 B/42.5 MB of archives. After this operation, 178 MB of additional disk space will be used. Selecting previously unselected package java-common. (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 ... 50104 files and directories currently installed.) Preparing to unpack .../0-java-common_0.72_all.deb ... Unpacking java-common (0.72) ... Selecting previously unselected package libavahi-client3:armhf. Preparing to unpack .../1-libavahi-client3_0.8-5+deb11u2_armhf.deb ... Unpacking libavahi-client3:armhf (0.8-5+deb11u2) ... Selecting previously unselected package libcups2:armhf. Preparing to unpack .../2-libcups2_2.3.3op2-3+deb11u2_armhf.deb ... Unpacking libcups2:armhf (2.3.3op2-3+deb11u2) ... Selecting previously unselected package libgraphite2-3:armhf. Preparing to unpack .../3-libgraphite2-3_1.3.14-1_armhf.deb ... Unpacking libgraphite2-3:armhf (1.3.14-1) ... Selecting previously unselected package libharfbuzz0b:armhf. Preparing to unpack .../4-libharfbuzz0b_2.7.4-1_armhf.deb ... Unpacking libharfbuzz0b:armhf (2.7.4-1) ... Selecting previously unselected package openjdk-17-jre-headless:armhf. Preparing to unpack .../5-openjdk-17-jre-headless_1%3a17.0.7+7-1~deb11u1+rpt1_armhf.deb ... Unpacking openjdk-17-jre-headless:armhf (1:17.0.7+7-1~deb11u1+rpt1) ... Selecting previously unselected package ca-certificates-java. Preparing to unpack .../6-ca-certificates-java_20190909_all.deb ... Unpacking ca-certificates-java (20190909) ... Setting up libgraphite2-3:armhf (1.3.14-1) ... Setting up java-common (0.72) ... Setting up libharfbuzz0b:armhf (2.7.4-1) ... Setting up libavahi-client3:armhf (0.8-5+deb11u2) ... Setting up libcups2:armhf (2.3.3op2-3+deb11u2) ... Setting up ca-certificates-java (20190909) ... head: cannot open '/etc/ssl/certs/java/cacerts' for reading: No such file or directory Exception in thread "main" java.lang.InternalError: Error loading java.security file at java.base/java.security.Security.initialize(Security.java:106) at java.base/java.security.Security$1.run(Security.java:84) at java.base/java.security.Security$1.run(Security.java:82) at java.base/java.security.AccessController.doPrivileged(AccessController.java:318) at java.base/java.security.Security.(Security.java:82) at java.base/sun.security.jca.ProviderList.(ProviderList.java:178) at java.base/sun.security.jca.ProviderList$2.run(ProviderList.java:96) at java.base/sun.security.jca.ProviderList$2.run(ProviderList.java:94) at java.base/java.security.AccessController.doPrivileged(AccessController.java:318) at java.base/sun.security.jca.ProviderList.fromSecurityProperties(ProviderList.java:93) at java.base/sun.security.jca.Providers.(Providers.java:55) at java.base/sun.security.jca.GetInstance.getInstance(GetInstance.java:156) at java.base/java.security.cert.CertificateFactory.getInstance(CertificateFactory.java:193) at org.debian.security.KeyStoreHandler.(KeyStoreHandler.java:50) at org.debian.security.UpdateCertificates.(UpdateCertificates.java:65) at org.debian.security.UpdateCertificates.main(UpdateCertificates.java:51) dpkg: error processing package ca-certificates-java (--configure): installed ca-certificates-java package post-installation script subprocess returned error exit status 1 dpkg: dependency problems prevent configuration of openjdk-17-jre-headless:armhf: openjdk-17-jre-headless:armhf depends on ca-certificates-java (>= 20190405~); however: Package ca-certificates-java is not configured yet. dpkg: error processing package openjdk-17-jre-headless:armhf (--configure): dependency problems - leaving unconfigured Processing triggers for libc-bin (2.31-13+rpt2+rpi1+deb11u5) ... Processing triggers for man-db (2.9.4-2) ... Processing triggers for ca-certificates (20210119) ... Updating certificates in /etc/ssl/certs... 0 added, 0 removed; done. Running hooks in /etc/ca-certificates/update.d... /etc/ca-certificates/update.d/jks-keystore: 82: java: not found E: /etc/ca-certificates/update.d/jks-keystore exited with code 1. done. Errors were encountered while processing: ca-certificates-java openjdk-17-jre-headless:armhf Updating FireMotD available updates count ... E: Sub-process /usr/bin/dpkg returned an error code (1) + return 100 + echo FAILED FAILED + return 1 + openhab_is_installed + openhab2_is_installed ++ dpkg -s openhab2 ++ grep Status ++ cut '-d ' -f2 + [[ '' =~ ^(install|hold)$ ]] + return 1 + openhab3_is_installed ++ dpkg -s openhab ++ grep -E '^Version' ++ cut -d ' ' -f2 ++ cut -d . -f1 + [[ '' = 3 ]] + return 1 + openhab4_is_installed ++ dpkg -s openhab ++ grep -E '^Version' ++ cut -d ' ' -f2 ++ cut -d . -f1 + [[ '' = 4 ]] + return 1 + return 1 + openhab_setup openHAB release + local introText + local keyName=openhab + local openhabVersion + local installVersion + local repo + local successText + [[ openHAB == \o\p\e\n\H\A\B\2 ]] + [[ openHAB == \l\e\g\a\c\y ]] + ohPkgName=openhab + [[ release == \s\n\a\p\s\h\o\t ]] + [[ release == \u\n\s\t\a\b\l\e ]] + [[ release == \r\e\l\e\a\s\e ]] + introText='You are about to install or change to the latest stable openhab release.\n\nPlease be aware that downgrading from a newer unstable snapshot build is not 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 openhab 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 [signed-by=/usr/share/keyrings/openhab.gpg] https://openhab.jfrog.io/artifactory/openhab-linuxpkg stable main' ++ timestamp ++ printf '%(%F_%T_%Z)T\n' -1 + echo -n '2023-08-12_20:46:35_CEST [openHABian] Beginning install of latest openhab release (stable repo)... ' 2023-08-12_20:46:35_CEST [openHABian] Beginning install of latest openhab release (stable repo)... + [[ -n '' ]] + echo OK OK + running_in_docker + [[ -n '' ]] + grep -qs 'docker\|lxc' /proc/1/cgroup + [[ -f /.dockerenv ]] + return 1 + [[ -z '' ]] + add_keys https://openhab.jfrog.io/artifactory/api/gpg/key/public openhab + local repoKey=/usr/share/keyrings/openhab.gpg ++ timestamp ++ printf '%(%F_%T_%Z)T\n' -1 + echo -n '2023-08-12_20:46:35_CEST [openHABian] Adding required keys to apt... ' 2023-08-12_20:46:35_CEST [openHABian] Adding required keys to apt... + curl -fsSL https://openhab.jfrog.io/artifactory/api/gpg/key/public + gpg --dearmor + echo OK OK + rm -f /etc/apt/sources.list.d/openhab.list + echo 'deb [signed-by=/usr/share/keyrings/openhab.gpg] https://openhab.jfrog.io/artifactory/openhab-linuxpkg stable main' ++ timestamp ++ printf '%(%F_%T_%Z)T\n' -1 + echo -n '2023-08-12_20:46:36_CEST [openHABian] Installing selected openHAB version... ' 2023-08-12_20:46:36_CEST [openHABian] Installing selected openHAB version... + apt-get clean --yes -o DPkg::Lock::Timeout=60 + 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://davesteele.github.io/comitup/repo comitup InRelease Hit:2 http://archive.raspberrypi.org/debian bullseye InRelease Hit:3 http://raspbian.raspberrypi.org/raspbian bullseye InRelease Hit:4 https://deb.nodesource.com/node_18.x bullseye InRelease Get:5 https://openhab.jfrog.io/artifactory/openhab-linuxpkg stable InRelease [12.8 kB] Get:6 https://openhab.jfrog.io/artifactory/openhab-linuxpkg stable/main armhf Packages [4,494 B] Fetched 17.3 kB in 1s (13.4 kB/s) Reading package lists... + return 0 ++ apt-cache madison openhab ++ head -n 1 ++ cut '-d|' -f2 ++ xargs + openhabVersion=4.0.1-1 + [[ -n 4.0.1-1 ]] + installVersion='openhab=4.0.1-1 openhab-addons=4.0.1-1' + cond_redirect apt-get install --allow-downgrades --yes -o DPkg::Lock::Timeout=60 --option Dpkg::Options::=--force-confnew 'openhab=4.0.1-1 openhab-addons=4.0.1-1' + [[ -n '' ]] + echo -e '\n\033[90;01m$ apt-get install --allow-downgrades --yes -o DPkg::Lock::Timeout=60 --option Dpkg::Options::=--force-confnew openhab=4.0.1-1 openhab-addons=4.0.1-1 \033[39;49;00m' $ apt-get install --allow-downgrades --yes -o DPkg::Lock::Timeout=60 --option Dpkg::Options::=--force-confnew openhab=4.0.1-1 openhab-addons=4.0.1-1  + apt-get install --allow-downgrades --yes -o DPkg::Lock::Timeout=60 --option Dpkg::Options::=--force-confnew 'openhab=4.0.1-1 openhab-addons=4.0.1-1' Reading package lists... Building dependency tree... Reading state information... E: Unable to locate package openhab=4.0.1-1 openhab-addons E: Couldn't find any package by glob 'openhab=4.0.1-1 openhab-addons' E: Couldn't find any package by regex 'openhab=4.0.1-1 openhab-addons' + return 100 + echo FAILED FAILED + return 1 + import_openhab_config + local initialConfig=/boot/initial.zip + local restoreFile=/boot/initial.zip + [[ -n '' ]] ++ timestamp ++ printf '%(%F_%T_%Z)T\n' -1 + echo -n '2023-08-12_20:46:42_CEST [openHABian] Getting initial openHAB configuration... ' 2023-08-12_20:46:42_CEST [openHABian] Getting initial openHAB configuration... + [[ /boot/initial.zip =~ http:* ]] + [[ -n 1 ]] + [[ -f /boot/initial.zip ]] + echo 'SKIPPED (backup not found at /boot/initial.zip)' SKIPPED (backup not found at /boot/initial.zip) + return 0 + openhab_shell_interfaces + local introText + local sshPass + local sshPass1=habopen + local sshPass2 + local successText + introText='\nThe openHAB remote console is a powerful tool for every openHAB user. For details see https://www.openhab.org/docs/administration/console.html\n\nThis menu option will make the console available on all interfaces of your system. Please provide a secure password for this connection. Blank input will get you the default password "habopen".' + successText='The openHAB remote console was successfully activated on all interfaces and openHAB has been restarted. You can reach the console using\n\nssh openhab@openhabian -p 8101\n\nBe aware that the first connection attempt may take a few minutes or may result in a timeout due to key generation.\nThe default password is "habopen".' ++ timestamp ++ printf '%(%F_%T_%Z)T\n' -1 + echo -n '2023-08-12_20:46:42_CEST [openHABian] Activating the openHAB console on all interfaces... ' 2023-08-12_20:46:42_CEST [openHABian] Activating the openHAB console on all interfaces... + [[ -n '' ]] + sshPass=habopen + cond_redirect sed -i -e 's|^#.*sshHost = 0.0.0.0.*$|org.apache.karaf.shell:sshHost = 0.0.0.0|g' /etc/openhab/services/runtime.cfg + [[ -n '' ]] + echo -e '\n\033[90;01m$ sed -i -e s|^#.*sshHost = 0.0.0.0.*$|org.apache.karaf.shell:sshHost = 0.0.0.0|g /etc/openhab/services/runtime.cfg \033[39;49;00m' $ sed -i -e s|^#.*sshHost = 0.0.0.0.*$|org.apache.karaf.shell:sshHost = 0.0.0.0|g /etc/openhab/services/runtime.cfg  + sed -i -e 's|^#.*sshHost = 0.0.0.0.*$|org.apache.karaf.shell:sshHost = 0.0.0.0|g' /etc/openhab/services/runtime.cfg sed: can't read /etc/openhab/services/runtime.cfg: No such file or directory + return 2 + echo 'FAILED (sshHost)' FAILED (sshHost) + return 1 + vim_openhab_syntax ++ timestamp ++ printf '%(%F_%T_%Z)T\n' -1 + echo -n '2023-08-12_20:46:42_CEST [openHABian] Adding openHAB syntax to vim editor... ' 2023-08-12_20:46:42_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 --2023-08-12 20:46:42-- 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] --2023-08-12 20:46:43-- https://raw.githubusercontent.com/cyberkov/openhab-vim/master/syntax/openhab.vim Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 2606:50c0:8002::154, 2606:50c0:8000::154, 2606:50c0:8003::154, ... Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|2606:50c0:8002::154|: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% 8.15M=0.001s 2023-08-12 20:46:43 (8.15 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 --2023-08-12 20:46:43-- 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] --2023-08-12 20:46:43-- https://raw.githubusercontent.com/cyberkov/openhab-vim/master/ftdetect/openhab.vim Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 2606:50c0:8001::154, 2606:50c0:8002::154, 2606:50c0:8000::154, ... Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|2606:50c0:8001::154|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 661 [text/plain] Saving to: ‘/home/openhabian/.vim/ftdetect/openhab.vim’ 0K 100% 9.93M=0s 2023-08-12 20:46:43 (9.93 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 ++ printf '%(%F_%T_%Z)T\n' -1 + echo -n '2023-08-12_20:46:43_CEST [openHABian] Adding openHAB syntax to nano editor... ' 2023-08-12_20:46:43_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 --2023-08-12 20:46:43-- 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] --2023-08-12 20:46:44-- https://raw.githubusercontent.com/airix1/openhabnano/master/openhab.nanorc Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 2606:50c0:8003::154, 2606:50c0:8001::154, 2606:50c0:8002::154, ... Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|2606:50c0:8003::154|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 2927 (2.9K) [text/plain] Saving to: ‘/usr/share/nano/openhab.nanorc’ 0K .. 100% 8.53M=0s 2023-08-12 20:46:44 (8.53 MB/s) - ‘/usr/share/nano/openhab.nanorc’ saved [2927/2927] + return 0 + echo -e '\n## openHAB syntax\ninclude "/usr/share/nano/openhab.nanorc"' + echo OK OK + multitail_openhab_scheme ++ timestamp ++ printf '%(%F_%T_%Z)T\n' -1 + echo -n '2023-08-12_20:46:44_CEST [openHABian] Adding openHAB scheme to multitail... ' 2023-08-12_20:46:44_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 ++ printf '%(%F_%T_%Z)T\n' -1 + echo -n '2023-08-12_20:46:44_CEST [openHABian] Preparing openHAB folder mounts under '\''/srv/openhab-*'\''... ' 2023-08-12_20:46:44_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 ++ printf '%(%F_%T_%Z)T\n' -1 + echo -n '2023-08-12_20:46:44_CEST [openHABian] Creating mount /usr/share/openhab in '\''/srv/openhab-sys'\''... ' 2023-08-12_20:46:44_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 + [[ -n '' ]] + echo -e '\n\033[90;01m$ systemctl -q daemon-reload \033[39;49;00m' $ systemctl -q daemon-reload  + systemctl -q daemon-reload + return 0 + 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 ++ printf '%(%F_%T_%Z)T\n' -1 + echo -n '2023-08-12_20:46:45_CEST [openHABian] Creating mount /etc/openhab in '\''/srv/openhab-conf'\''... ' 2023-08-12_20:46:45_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 + [[ -n '' ]] + echo -e '\n\033[90;01m$ systemctl -q daemon-reload \033[39;49;00m' $ systemctl -q daemon-reload  + systemctl -q daemon-reload + return 0 + 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 ++ printf '%(%F_%T_%Z)T\n' -1 + echo -n '2023-08-12_20:46:46_CEST [openHABian] Creating mount /var/lib/openhab in '\''/srv/openhab-userdata'\''... ' 2023-08-12_20:46:46_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 + [[ -n '' ]] + echo -e '\n\033[90;01m$ systemctl -q daemon-reload \033[39;49;00m' $ systemctl -q daemon-reload  + systemctl -q daemon-reload + return 0 + 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 ++ printf '%(%F_%T_%Z)T\n' -1 + echo -n '2023-08-12_20:46:48_CEST [openHABian] Creating mount /usr/share/openhab/addons in '\''/srv/openhab-addons'\''... ' 2023-08-12_20:46:48_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 + [[ -n '' ]] + echo -e '\n\033[90;01m$ systemctl -q daemon-reload \033[39;49;00m' $ systemctl -q daemon-reload  + systemctl -q daemon-reload + return 0 + 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 + samba_is_installed + dpkg -s samba + return 1 ++ timestamp ++ printf '%(%F_%T_%Z)T\n' -1 + echo -n '2023-08-12_20:46:49_CEST [openHABian] Installing Samba... ' 2023-08-12_20:46:49_CEST [openHABian] Installing Samba... + cond_redirect apt-get install --yes -o DPkg::Lock::Timeout=60 samba + [[ -n '' ]] + echo -e '\n\033[90;01m$ apt-get install --yes -o DPkg::Lock::Timeout=60 samba \033[39;49;00m' $ apt-get install --yes -o DPkg::Lock::Timeout=60 samba  + apt-get install --yes -o DPkg::Lock::Timeout=60 samba Reading package lists... Building dependency tree... Reading state information... The following additional packages will be installed: attr ibverbs-providers libboost-iostreams1.74.0 libboost-thread1.74.0 libcephfs2 libgfapi0 libgfrpc0 libgfxdr0 libglusterfs0 libibverbs1 libldb2 librados2 librdmacm1 libtdb1 liburing1 python3-cffi-backend python3-cryptography python3-dnspython python3-gpg python3-ldb python3-markdown python3-pygments python3-requests-toolbelt python3-samba python3-talloc python3-tdb python3-yaml samba-common samba-common-bin samba-dsdb-modules samba-libs samba-vfs-modules tdb-tools Suggested packages: python-cryptography-doc python3-cryptography-vectors python3-sniffio python3-trio python-markdown-doc python-pygments-doc ttf-bitstream-vera bind9 bind9utils ctdb ldb-tools ntp | chrony smbldap-tools ufw winbind heimdal-clients The following NEW packages will be installed: attr ibverbs-providers libboost-iostreams1.74.0 libboost-thread1.74.0 libcephfs2 libgfapi0 libgfrpc0 libgfxdr0 libglusterfs0 libibverbs1 libldb2 librados2 librdmacm1 libtdb1 liburing1 python3-cffi-backend python3-cryptography python3-dnspython python3-gpg python3-ldb python3-markdown python3-pygments python3-requests-toolbelt python3-samba python3-talloc python3-tdb python3-yaml samba samba-common samba-common-bin samba-dsdb-modules samba-libs samba-vfs-modules tdb-tools 0 upgraded, 34 newly installed, 0 to remove and 14 not upgraded. 2 not fully installed or removed. Need to get 28.2 MB of archives. After this operation, 103 MB of additional disk space will be used. Get:2 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf libtdb1 armhf 1.4.3-1+b1 [44.9 kB] Get:1 http://mirror1.hs-esslingen.de/pub/Mirrors/archive.raspbian.org/raspbian bullseye/main armhf python3-dnspython all 2.0.0-1 [103 kB] Get:3 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf libldb2 armhf 2:2.2.3-2~deb11u2 [121 kB] Get:4 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf python3-ldb armhf 2:2.2.3-2~deb11u2 [41.5 kB] Get:5 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf python3-tdb armhf 1.4.3-1+b1 [19.7 kB] Get:6 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf python3-talloc armhf 2.3.1-2+b1 [16.5 kB] Get:7 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf samba-libs armhf 2:4.13.13+dfsg-1~deb11u5 [4,965 kB] Get:8 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf python3-samba armhf 2:4.13.13+dfsg-1~deb11u5 [2,319 kB] Get:12 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf samba armhf 2:4.13.13+dfsg-1~deb11u5 [1,097 kB] Get:9 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf samba-common all 2:4.13.13+dfsg-1~deb11u5 [171 kB] Get:10 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf samba-common-bin armhf 2:4.13.13+dfsg-1~deb11u5 [620 kB] Get:11 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf tdb-tools armhf 1.4.3-1+b1 [30.5 kB] Get:13 http://mirror1.hs-esslingen.de/pub/Mirrors/archive.raspbian.org/raspbian bullseye/main armhf attr armhf 1:2.4.48-6 [40.0 kB] Get:14 http://ftp.halifax.rwth-aachen.de/raspbian/raspbian bullseye/main armhf libibverbs1 armhf 33.2-1 [52.4 kB] Get:15 http://ftp.halifax.rwth-aachen.de/raspbian/raspbian bullseye/main armhf ibverbs-providers armhf 33.2-1 [25.0 kB] Get:16 http://mirror1.hs-esslingen.de/pub/Mirrors/archive.raspbian.org/raspbian bullseye/main armhf libboost-iostreams1.74.0 armhf 1.74.0-9 [260 kB] Get:18 http://ftp.agdsn.de/pub/mirrors/raspbian/raspbian bullseye/main armhf librdmacm1 armhf 33.2-1 [60.0 kB] Get:19 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf librados2 armhf 14.2.21-1+rpi1 [2,708 kB] Get:17 http://mirror.de.leaseweb.net/raspbian/raspbian bullseye/main armhf libboost-thread1.74.0 armhf 1.74.0-9 [271 kB] Get:20 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf libcephfs2 armhf 14.2.21-1+rpi1 [420 kB] Get:21 http://ftp.halifax.rwth-aachen.de/raspbian/raspbian bullseye/main armhf libgfxdr0 armhf 9.2-1 [3,039 kB] Get:22 http://ftp.halifax.rwth-aachen.de/raspbian/raspbian bullseye/main armhf libglusterfs0 armhf 9.2-1 [3,277 kB] Get:23 http://ftp.halifax.rwth-aachen.de/raspbian/raspbian bullseye/main armhf libgfrpc0 armhf 9.2-1 [3,065 kB] Get:24 http://mirror.netzwerge.de/raspbian/raspbian bullseye/main armhf libgfapi0 armhf 9.2-1 [3,085 kB] Get:25 http://ftp.halifax.rwth-aachen.de/raspbian/raspbian bullseye/main armhf liburing1 armhf 0.7-3 [7,708 B] Get:26 http://ftp.halifax.rwth-aachen.de/raspbian/raspbian bullseye/main armhf python3-cffi-backend armhf 1.14.5-1 [76.1 kB] Get:27 http://ftp.halifax.rwth-aachen.de/raspbian/raspbian bullseye/main armhf python3-cryptography armhf 3.3.2-1 [199 kB] Get:28 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf python3-gpg armhf 1.14.0-1+b1 [385 kB] Get:29 http://ftp.halifax.rwth-aachen.de/raspbian/raspbian bullseye/main armhf python3-markdown all 3.3.4-1 [71.4 kB] Get:30 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf python3-pygments all 2.7.1+dfsg-2.1 [657 kB] Get:31 http://mirror.de.leaseweb.net/raspbian/raspbian bullseye/main armhf python3-requests-toolbelt all 0.9.1-1 [41.7 kB] Get:32 http://ftp.halifax.rwth-aachen.de/raspbian/raspbian bullseye/main armhf python3-yaml armhf 5.3.1-5 [127 kB] Get:33 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf samba-dsdb-modules armhf 2:4.13.13+dfsg-1~deb11u5 [365 kB] Get:34 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf samba-vfs-modules armhf 2:4.13.13+dfsg-1~deb11u5 [461 kB] Preconfiguring packages ... Fetched 28.2 MB in 7s (3,915 kB/s) Selecting previously unselected package python3-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 ... 50453 files and directories currently installed.) Preparing to unpack .../00-python3-dnspython_2.0.0-1_all.deb ... Unpacking python3-dnspython (2.0.0-1) ... Selecting previously unselected package libtdb1:armhf. Preparing to unpack .../01-libtdb1_1.4.3-1+b1_armhf.deb ... Unpacking libtdb1:armhf (1.4.3-1+b1) ... Selecting previously unselected package libldb2:armhf. Preparing to unpack .../02-libldb2_2%3a2.2.3-2~deb11u2_armhf.deb ... Unpacking libldb2:armhf (2:2.2.3-2~deb11u2) ... Selecting previously unselected package python3-ldb. Preparing to unpack .../03-python3-ldb_2%3a2.2.3-2~deb11u2_armhf.deb ... Unpacking python3-ldb (2:2.2.3-2~deb11u2) ... Selecting previously unselected package python3-tdb. Preparing to unpack .../04-python3-tdb_1.4.3-1+b1_armhf.deb ... Unpacking python3-tdb (1.4.3-1+b1) ... Selecting previously unselected package python3-talloc:armhf. Preparing to unpack .../05-python3-talloc_2.3.1-2+b1_armhf.deb ... Unpacking python3-talloc:armhf (2.3.1-2+b1) ... Selecting previously unselected package samba-libs:armhf. Preparing to unpack .../06-samba-libs_2%3a4.13.13+dfsg-1~deb11u5_armhf.deb ... Unpacking samba-libs:armhf (2:4.13.13+dfsg-1~deb11u5) ... Selecting previously unselected package python3-samba. Preparing to unpack .../07-python3-samba_2%3a4.13.13+dfsg-1~deb11u5_armhf.deb ... Unpacking python3-samba (2:4.13.13+dfsg-1~deb11u5) ... Selecting previously unselected package samba-common. Preparing to unpack .../08-samba-common_2%3a4.13.13+dfsg-1~deb11u5_all.deb ... Unpacking samba-common (2:4.13.13+dfsg-1~deb11u5) ... Selecting previously unselected package samba-common-bin. Preparing to unpack .../09-samba-common-bin_2%3a4.13.13+dfsg-1~deb11u5_armhf.deb ... Unpacking samba-common-bin (2:4.13.13+dfsg-1~deb11u5) ... Selecting previously unselected package tdb-tools. Preparing to unpack .../10-tdb-tools_1.4.3-1+b1_armhf.deb ... Unpacking tdb-tools (1.4.3-1+b1) ... Selecting previously unselected package samba. Preparing to unpack .../11-samba_2%3a4.13.13+dfsg-1~deb11u5_armhf.deb ... Unpacking samba (2:4.13.13+dfsg-1~deb11u5) ... Selecting previously unselected package attr. Preparing to unpack .../12-attr_1%3a2.4.48-6_armhf.deb ... Unpacking attr (1:2.4.48-6) ... Selecting previously unselected package libibverbs1:armhf. Preparing to unpack .../13-libibverbs1_33.2-1_armhf.deb ... Unpacking libibverbs1:armhf (33.2-1) ... Selecting previously unselected package ibverbs-providers:armhf. Preparing to unpack .../14-ibverbs-providers_33.2-1_armhf.deb ... Unpacking ibverbs-providers:armhf (33.2-1) ... Selecting previously unselected package libboost-iostreams1.74.0:armhf. Preparing to unpack .../15-libboost-iostreams1.74.0_1.74.0-9_armhf.deb ... Unpacking libboost-iostreams1.74.0:armhf (1.74.0-9) ... Selecting previously unselected package libboost-thread1.74.0:armhf. Preparing to unpack .../16-libboost-thread1.74.0_1.74.0-9_armhf.deb ... Unpacking libboost-thread1.74.0:armhf (1.74.0-9) ... Selecting previously unselected package librdmacm1:armhf. Preparing to unpack .../17-librdmacm1_33.2-1_armhf.deb ... Unpacking librdmacm1:armhf (33.2-1) ... Selecting previously unselected package librados2. Preparing to unpack .../18-librados2_14.2.21-1+rpi1_armhf.deb ... Unpacking librados2 (14.2.21-1+rpi1) ... Selecting previously unselected package libcephfs2. Preparing to unpack .../19-libcephfs2_14.2.21-1+rpi1_armhf.deb ... Unpacking libcephfs2 (14.2.21-1+rpi1) ... Selecting previously unselected package libgfxdr0:armhf. Preparing to unpack .../20-libgfxdr0_9.2-1_armhf.deb ... Unpacking libgfxdr0:armhf (9.2-1) ... Selecting previously unselected package libglusterfs0:armhf. Preparing to unpack .../21-libglusterfs0_9.2-1_armhf.deb ... Unpacking libglusterfs0:armhf (9.2-1) ... Selecting previously unselected package libgfrpc0:armhf. Preparing to unpack .../22-libgfrpc0_9.2-1_armhf.deb ... Unpacking libgfrpc0:armhf (9.2-1) ... Selecting previously unselected package libgfapi0:armhf. Preparing to unpack .../23-libgfapi0_9.2-1_armhf.deb ... Unpacking libgfapi0:armhf (9.2-1) ... Selecting previously unselected package liburing1:armhf. Preparing to unpack .../24-liburing1_0.7-3_armhf.deb ... Unpacking liburing1:armhf (0.7-3) ... Selecting previously unselected package python3-cffi-backend:armhf. Preparing to unpack .../25-python3-cffi-backend_1.14.5-1_armhf.deb ... Unpacking python3-cffi-backend:armhf (1.14.5-1) ... Selecting previously unselected package python3-cryptography. Preparing to unpack .../26-python3-cryptography_3.3.2-1_armhf.deb ... Unpacking python3-cryptography (3.3.2-1) ... Selecting previously unselected package python3-gpg. Preparing to unpack .../27-python3-gpg_1.14.0-1+b1_armhf.deb ... Unpacking python3-gpg (1.14.0-1+b1) ... Selecting previously unselected package python3-markdown. Preparing to unpack .../28-python3-markdown_3.3.4-1_all.deb ... Unpacking python3-markdown (3.3.4-1) ... Selecting previously unselected package python3-pygments. Preparing to unpack .../29-python3-pygments_2.7.1+dfsg-2.1_all.deb ... Unpacking python3-pygments (2.7.1+dfsg-2.1) ... Selecting previously unselected package python3-requests-toolbelt. Preparing to unpack .../30-python3-requests-toolbelt_0.9.1-1_all.deb ... Unpacking python3-requests-toolbelt (0.9.1-1) ... Selecting previously unselected package python3-yaml. Preparing to unpack .../31-python3-yaml_5.3.1-5_armhf.deb ... Unpacking python3-yaml (5.3.1-5) ... Selecting previously unselected package samba-dsdb-modules:armhf. Preparing to unpack .../32-samba-dsdb-modules_2%3a4.13.13+dfsg-1~deb11u5_armhf.deb ... Unpacking samba-dsdb-modules:armhf (2:4.13.13+dfsg-1~deb11u5) ... Selecting previously unselected package samba-vfs-modules:armhf. Preparing to unpack .../33-samba-vfs-modules_2%3a4.13.13+dfsg-1~deb11u5_armhf.deb ... Unpacking samba-vfs-modules:armhf (2:4.13.13+dfsg-1~deb11u5) ... Setting up libibverbs1:armhf (33.2-1) ... Setting up python3-requests-toolbelt (0.9.1-1) ... Setting up ibverbs-providers:armhf (33.2-1) ... Setting up python3-talloc:armhf (2.3.1-2+b1) ... Setting up attr (1:2.4.48-6) ... Setting up libboost-iostreams1.74.0:armhf (1.74.0-9) ... Setting up libtdb1:armhf (1.4.3-1+b1) ... Setting up python3-yaml (5.3.1-5) ... Setting up samba-common (2:4.13.13+dfsg-1~deb11u5) ... Creating config file /etc/samba/smb.conf with new version Setting up libglusterfs0:armhf (9.2-1) ... Setting up python3-tdb (1.4.3-1+b1) ... Setting up python3-pygments (2.7.1+dfsg-2.1) ... Setting up python3-gpg (1.14.0-1+b1) ... Setting up tdb-tools (1.4.3-1+b1) ... update-alternatives: using /usr/bin/tdbbackup.tdbtools to provide /usr/bin/tdbbackup (tdbbackup) in auto mode Setting up python3-markdown (3.3.4-1) ... Setting up liburing1:armhf (0.7-3) ... Setting up python3-dnspython (2.0.0-1) ... Setting up libldb2:armhf (2:2.2.3-2~deb11u2) ... Setting up python3-cffi-backend:armhf (1.14.5-1) ... Setting up libgfxdr0:armhf (9.2-1) ... Setting up libboost-thread1.74.0:armhf (1.74.0-9) ... Setting up librdmacm1:armhf (33.2-1) ... Setting up librados2 (14.2.21-1+rpi1) ... Setting up libcephfs2 (14.2.21-1+rpi1) ... Setting up python3-cryptography (3.3.2-1) ... Setting up python3-ldb (2:2.2.3-2~deb11u2) ... Setting up libgfrpc0:armhf (9.2-1) ... Setting up samba-libs:armhf (2:4.13.13+dfsg-1~deb11u5) ... Setting up libgfapi0:armhf (9.2-1) ... Setting up samba-dsdb-modules:armhf (2:4.13.13+dfsg-1~deb11u5) ... Setting up python3-samba (2:4.13.13+dfsg-1~deb11u5) ... Setting up samba-vfs-modules:armhf (2:4.13.13+dfsg-1~deb11u5) ... Setting up samba-common-bin (2:4.13.13+dfsg-1~deb11u5) ... Checking smb.conf with testparm Load smb config files from /etc/samba/smb.conf Loaded services file OK. Weak crypto is allowed Server role: ROLE_STANDALONE Done Setting up samba (2:4.13.13+dfsg-1~deb11u5) ... Adding group `sambashare' (GID 115) ... 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. samba-ad-dc.service is a disabled or a static unit, not starting it. Setting up openjdk-17-jre-headless:armhf (1:17.0.7+7-1~deb11u1+rpt1) ... update-alternatives: using /usr/lib/jvm/java-17-openjdk-armhf/bin/java to provide /usr/bin/java (java) in auto mode update-alternatives: using /usr/lib/jvm/java-17-openjdk-armhf/bin/jpackage to provide /usr/bin/jpackage (jpackage) in auto mode update-alternatives: using /usr/lib/jvm/java-17-openjdk-armhf/bin/keytool to provide /usr/bin/keytool (keytool) in auto mode update-alternatives: using /usr/lib/jvm/java-17-openjdk-armhf/bin/rmiregistry to provide /usr/bin/rmiregistry (rmiregistry) in auto mode update-alternatives: using /usr/lib/jvm/java-17-openjdk-armhf/lib/jexec to provide /usr/bin/jexec (jexec) in auto mode Setting up ca-certificates-java (20190909) ... head: cannot open '/etc/ssl/certs/java/cacerts' for reading: No such file or directory Adding debian:Entrust_Root_Certification_Authority_-_EC1.pem Adding debian:Hellenic_Academic_and_Research_Institutions_RootCA_2015.pem Adding debian:Cybertrust_Global_Root.pem Adding debian:GlobalSign_ECC_Root_CA_-_R4.pem Adding debian:DigiCert_Global_Root_G3.pem Adding debian:Hellenic_Academic_and_Research_Institutions_ECC_RootCA_2015.pem Adding debian:Microsoft_RSA_Root_Certificate_Authority_2017.pem Adding debian:Trustwave_Global_Certification_Authority.pem Adding debian:Buypass_Class_3_Root_CA.pem Adding debian:e-Szigno_Root_CA_2017.pem Adding debian:USERTrust_ECC_Certification_Authority.pem Adding debian:Amazon_Root_CA_1.pem Adding debian:Hellenic_Academic_and_Research_Institutions_RootCA_2011.pem Adding debian:Microsec_e-Szigno_Root_CA_2009.pem Adding debian:QuoVadis_Root_CA_2.pem Adding debian:SSL.com_Root_Certification_Authority_RSA.pem Adding debian:emSign_ECC_Root_CA_-_G3.pem Adding debian:COMODO_RSA_Certification_Authority.pem Adding debian:DigiCert_Global_Root_CA.pem Adding debian:VeriSign_Universal_Root_Certification_Authority.pem Adding debian:UCA_Extended_Validation_Root.pem Adding debian:ACCVRAIZ1.pem Adding debian:Entrust_Root_Certification_Authority_-_G4.pem Adding debian:Certigna_Root_CA.pem Adding debian:AffirmTrust_Networking.pem Adding debian:SSL.com_EV_Root_Certification_Authority_ECC.pem Adding debian:T-TeleSec_GlobalRoot_Class_3.pem Adding debian:NAVER_Global_Root_Certification_Authority.pem Adding debian:Starfield_Root_Certificate_Authority_-_G2.pem Adding debian:AffirmTrust_Premium.pem Adding debian:TrustCor_RootCert_CA-2.pem Adding debian:Hongkong_Post_Root_CA_3.pem Adding debian:certSIGN_Root_CA_G2.pem Adding debian:NetLock_Arany_=Class_Gold=_Főtanúsítvány.pem Adding debian:SZAFIR_ROOT_CA2.pem Adding debian:AffirmTrust_Premium_ECC.pem Adding debian:COMODO_ECC_Certification_Authority.pem Adding debian:IdenTrust_Public_Sector_Root_CA_1.pem Adding debian:certSIGN_ROOT_CA.pem Adding debian:ePKI_Root_Certification_Authority.pem Adding debian:Security_Communication_Root_CA.pem Adding debian:GTS_Root_R1.pem Adding debian:TrustCor_ECA-1.pem Adding debian:QuoVadis_Root_CA.pem Adding debian:DigiCert_Assured_ID_Root_CA.pem Adding debian:SwissSign_Silver_CA_-_G2.pem Adding debian:SwissSign_Gold_CA_-_G2.pem Adding debian:TeliaSonera_Root_CA_v1.pem Adding debian:Hongkong_Post_Root_CA_1.pem Adding debian:Trustis_FPS_Root_CA.pem Adding debian:SSL.com_Root_Certification_Authority_ECC.pem Adding debian:Entrust_Root_Certification_Authority.pem Adding debian:DigiCert_Assured_ID_Root_G3.pem Adding debian:Network_Solutions_Certificate_Authority.pem Adding debian:DigiCert_Global_Root_G2.pem Adding debian:ISRG_Root_X1.pem Adding debian:Entrust.net_Premium_2048_Secure_Server_CA.pem Adding debian:AC_RAIZ_FNMT-RCM.pem Adding debian:CFCA_EV_ROOT.pem Adding debian:Atos_TrustedRoot_2011.pem Adding debian:Actalis_Authentication_Root_CA.pem Adding debian:XRamp_Global_CA_Root.pem Adding debian:DigiCert_Assured_ID_Root_G2.pem Adding debian:Go_Daddy_Root_Certificate_Authority_-_G2.pem Adding debian:TWCA_Global_Root_CA.pem Adding debian:Buypass_Class_2_Root_CA.pem Adding debian:Starfield_Class_2_CA.pem Adding debian:T-TeleSec_GlobalRoot_Class_2.pem Adding debian:GTS_Root_R3.pem Adding debian:TrustCor_RootCert_CA-1.pem Adding debian:Staat_der_Nederlanden_EV_Root_CA.pem Adding debian:GeoTrust_Primary_Certification_Authority_-_G2.pem Adding debian:AffirmTrust_Commercial.pem Adding debian:emSign_Root_CA_-_G1.pem Adding debian:Security_Communication_RootCA2.pem Adding debian:Global_Chambersign_Root_-_2008.pem Adding debian:Entrust_Root_Certification_Authority_-_G2.pem Adding debian:Comodo_AAA_Services_root.pem Adding debian:Microsoft_ECC_Root_Certificate_Authority_2017.pem Adding debian:TWCA_Root_Certification_Authority.pem Adding debian:GlobalSign_Root_CA_-_R3.pem Adding debian:OISTE_WISeKey_Global_Root_GB_CA.pem Adding debian:Staat_der_Nederlanden_Root_CA_-_G3.pem Adding debian:USERTrust_RSA_Certification_Authority.pem Adding debian:SecureTrust_CA.pem Adding debian:D-TRUST_Root_Class_3_CA_2_EV_2009.pem Adding debian:SecureSign_RootCA11.pem Adding debian:SSL.com_EV_Root_Certification_Authority_RSA_R2.pem Adding debian:Trustwave_Global_ECC_P256_Certification_Authority.pem Adding debian:DST_Root_CA_X3.pem Adding debian:GlobalSign_ECC_Root_CA_-_R5.pem Adding debian:GlobalSign_Root_CA_-_R2.pem Adding debian:Amazon_Root_CA_3.pem Adding debian:Certum_Trusted_Network_CA.pem Adding debian:Sonera_Class_2_Root_CA.pem Adding debian:TUBITAK_Kamu_SM_SSL_Kok_Sertifikasi_-_Surum_1.pem Adding debian:QuoVadis_Root_CA_3_G3.pem Adding debian:Secure_Global_CA.pem Adding debian:CA_Disig_Root_R2.pem Adding debian:Go_Daddy_Class_2_CA.pem Adding debian:D-TRUST_Root_Class_3_CA_2_2009.pem Adding debian:Starfield_Services_Root_Certificate_Authority_-_G2.pem Adding debian:OISTE_WISeKey_Global_Root_GC_CA.pem Adding debian:Baltimore_CyberTrust_Root.pem Adding debian:emSign_ECC_Root_CA_-_C3.pem Adding debian:GlobalSign_Root_CA_-_R6.pem Adding debian:COMODO_Certification_Authority.pem Adding debian:Amazon_Root_CA_2.pem Adding debian:Certum_Trusted_Network_CA_2.pem Adding debian:GDCA_TrustAUTH_R5_ROOT.pem Adding debian:Autoridad_de_Certificacion_Firmaprofesional_CIF_A62634068.pem Adding debian:QuoVadis_Root_CA_1_G3.pem Adding debian:Izenpe.com.pem Adding debian:DigiCert_Trusted_Root_G4.pem Adding debian:UCA_Global_G2_Root.pem Adding debian:Amazon_Root_CA_4.pem Adding debian:Trustwave_Global_ECC_P384_Certification_Authority.pem Adding debian:GTS_Root_R2.pem Adding debian:GTS_Root_R4.pem Adding debian:Certigna.pem Adding debian:Chambers_of_Commerce_Root_-_2008.pem Adding debian:QuoVadis_Root_CA_3.pem Adding debian:GlobalSign_Root_CA.pem Adding debian:DigiCert_High_Assurance_EV_Root_CA.pem Adding debian:emSign_Root_CA_-_C1.pem Adding debian:E-Tugra_Certification_Authority.pem Adding debian:IdenTrust_Commercial_Root_CA_1.pem Adding debian:EC-ACC.pem Adding debian:QuoVadis_Root_CA_2_G3.pem done. Processing triggers for libc-bin (2.31-13+rpt2+rpi1+deb11u5) ... Processing triggers for man-db (2.9.4-2) ... Processing triggers for ca-certificates (20210119) ... Updating certificates in /etc/ssl/certs... 0 added, 0 removed; done. Running hooks in /etc/ca-certificates/update.d... done. done. Updating FireMotD available updates count ... + return 0 + echo OK OK ++ timestamp ++ printf '%(%F_%T_%Z)T\n' -1 + echo -n '2023-08-12_20:48:01_CEST [openHABian] Setting up Samba network shares... ' 2023-08-12_20:48:01_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 ++ printf '%(%F_%T_%Z)T\n' -1 + echo -n '2023-08-12_20:48:01_CEST [openHABian] Setting up Samba service... ' 2023-08-12_20:48:01_CEST [openHABian] Setting up Samba service... + cond_redirect mkdir -p /var/log/samba /run/samba + [[ -n '' ]] + echo -e '\n\033[90;01m$ mkdir -p /var/log/samba /run/samba \033[39;49;00m' $ mkdir -p /var/log/samba /run/samba  + mkdir -p /var/log/samba /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 + cond_redirect zram_dependency install nmbd smbd + [[ -n '' ]] + echo -e '\n\033[90;01m$ zram_dependency install nmbd smbd \033[39;49;00m' $ zram_dependency install nmbd smbd  + zram_dependency install nmbd smbd + local zramServiceConfig=/etc/systemd/system/zram.service.d/override.conf + local install=yes + [[ -f /etc/ztab ]] + return 0 + return 0 + cond_redirect systemctl enable --now smbd.service + echo OK OK + 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 + local frontailBase + local frontailUser=frontail + node_is_installed ++ command -v npm + [[ -x '' ]] + return 1 ++ timestamp ++ printf '%(%F_%T_%Z)T\n' -1 + echo -n '2023-08-12_20:48:03_CEST [openHABian] Installing Frontail prerequsites (NodeJS)... ' 2023-08-12_20:48:03_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 + node_is_installed ++ command -v npm + [[ -x '' ]] + return 1 + local keyName=nodejs + local link=https://nodejs.org/dist/v18.16.1/node-v18.16.1-linux-armv7l.tar.xz + local myDistro + local temp ++ lsb_release -sc + myDistro=bullseye + [[ bullseye == \n\/\a ]] ++ mktemp /tmp/openhabian.XXXXX + temp=/tmp/openhabian.my0JM + [[ -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 nodejs + local repoKey=/usr/share/keyrings/nodejs.gpg ++ timestamp ++ printf '%(%F_%T_%Z)T\n' -1 + echo -n '2023-08-12_20:48:03_CEST [openHABian] Adding required keys to apt... ' 2023-08-12_20:48:03_CEST [openHABian] Adding required keys to apt... + curl -fsSL https://deb.nodesource.com/gpgkey/nodesource.gpg.key + gpg --dearmor + echo OK OK ++ timestamp ++ printf '%(%F_%T_%Z)T\n' -1 + echo -n '2023-08-12_20:48:04_CEST [openHABian] Adding NodeSource repository to apt... ' 2023-08-12_20:48:04_CEST [openHABian] Adding NodeSource repository to apt... + echo 'deb [signed-by=/usr/share/keyrings/nodejs.gpg] https://deb.nodesource.com/node_18.x bullseye main' + echo 'deb-src [signed-by=/usr/share/keyrings/nodejs.gpg] https://deb.nodesource.com/node_18.x bullseye 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://davesteele.github.io/comitup/repo comitup InRelease Hit:2 http://raspbian.raspberrypi.org/raspbian bullseye InRelease Hit:3 http://archive.raspberrypi.org/debian bullseye InRelease Hit:4 https://deb.nodesource.com/node_18.x bullseye InRelease Hit:5 https://openhab.jfrog.io/artifactory/openhab-linuxpkg stable InRelease Reading package lists... + return 0 + echo OK OK ++ timestamp ++ printf '%(%F_%T_%Z)T\n' -1 + echo -n '2023-08-12_20:48:08_CEST [openHABian] Installing NodeJS... ' 2023-08-12_20:48:08_CEST [openHABian] Installing NodeJS... + [[ -n '' ]] + cond_redirect apt-get install --yes -o DPkg::Lock::Timeout=60 nodejs + [[ -n '' ]] + echo -e '\n\033[90;01m$ apt-get install --yes -o DPkg::Lock::Timeout=60 nodejs \033[39;49;00m' $ apt-get install --yes -o DPkg::Lock::Timeout=60 nodejs  + apt-get install --yes -o DPkg::Lock::Timeout=60 nodejs Reading package lists... Building dependency tree... Reading state information... The following NEW packages will be installed: nodejs 0 upgraded, 1 newly installed, 0 to remove and 14 not upgraded. Need to get 25.9 MB of archives. After this operation, 177 MB of additional disk space will be used. Get:1 https://deb.nodesource.com/node_18.x bullseye/main armhf nodejs armhf 18.17.1-deb-1nodesource1 [25.9 MB] Fetched 25.9 MB in 4s (6,293 kB/s) Selecting previously unselected package nodejs. (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 ... 52279 files and directories currently installed.) Preparing to unpack .../nodejs_18.17.1-deb-1nodesource1_armhf.deb ... Unpacking nodejs (18.17.1-deb-1nodesource1) ... Setting up nodejs (18.17.1-deb-1nodesource1) ... Processing triggers for man-db (2.9.4-2) ... Updating FireMotD available updates count ... + return 0 + echo OK OK + return 0 + echo OK OK ++ npm list -g ++ head -n 1 + frontailBase=/usr/lib/node_modules/frontail + id -u frontail + cond_redirect useradd --groups openhabian,openhab -s /bin/bash -d /var/tmp frontail + [[ -n '' ]] + echo -e '\n\033[90;01m$ useradd --groups openhabian,openhab -s /bin/bash -d /var/tmp frontail \033[39;49;00m' $ useradd --groups openhabian,openhab -s /bin/bash -d /var/tmp frontail  + useradd --groups openhabian,openhab -s /bin/bash -d /var/tmp frontail useradd: group 'openhab' does not exist + return 6 + echo 'FAILED (adduser)' FAILED (adduser) + 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 + jsscripting_npm_install openhab_rules_tools + '[' openhab_rules_tools == '' ']' + local 'openhabJsText=A version of the openHAB JavaScript is included in the JS Scripting add-on, therefore there is no general need for manual installation it.\n\nPlease only continue if you know what you want.' + node_is_installed ++ command -v npm + [[ -x /usr/bin/npm ]] ++ node --version + [[ v18.17.1 =~ v1[6-9]* ]] + return 0 + is_armv6l + [[ '' == \a\r\m\v\6\l ]] + case "$(uname -m)" in ++ uname -m + return 1 + '[' '' == uninstall ']' ++ timestamp ++ printf '%(%F_%T_%Z)T\n' -1 + echo -n '2023-08-12_20:48:36_CEST [openHABian] Installing openhab_rules_tools for JS Scripting... ' 2023-08-12_20:48:36_CEST [openHABian] Installing openhab_rules_tools for JS Scripting... + [[ openhab_rules_tools == \o\p\e\n\h\a\b ]] + cond_redirect sudo -u openhab mkdir -p /etc/openhab/automation/js + [[ -n '' ]] + echo -e '\n\033[90;01m$ sudo -u openhab mkdir -p /etc/openhab/automation/js \033[39;49;00m' $ sudo -u openhab mkdir -p /etc/openhab/automation/js  + sudo -u openhab mkdir -p /etc/openhab/automation/js sudo: unknown user: openhab sudo: error initializing audit plugin sudoers_audit + return 1 + echo 'FAILED (mkdir /etc/openhab/automation/js)' FAILED (mkdir /etc/openhab/automation/js) + cond_redirect sudo -u openhab npm install --prefix /etc/openhab/automation/js openhab_rules_tools@latest + [[ -n '' ]] + echo -e '\n\033[90;01m$ sudo -u openhab npm install --prefix /etc/openhab/automation/js openhab_rules_tools@latest \033[39;49;00m' $ sudo -u openhab npm install --prefix /etc/openhab/automation/js openhab_rules_tools@latest  + sudo -u openhab npm install --prefix /etc/openhab/automation/js openhab_rules_tools@latest sudo: unknown user: openhab sudo: error initializing audit plugin sudoers_audit + return 1 + echo 'FAILED (npm install)' FAILED (npm install) + return 1 + 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 1 + is_aarch64 + [[ '' == \a\a\r\c\h\6\4 ]] + [[ '' == \a\r\m\6\4 ]] + case "$(uname -m)" in ++ uname -m + return 0 + return 0 + has_lowmem + local totalMemory ++ awk '/MemTotal/ {print $2}' /proc/meminfo + totalMemory=3884372 + [[ -z 3884372 ]] + [[ 3884372 -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 + is_pizerow2 + [[ '' == \p\i\0\w\2 ]] + grep -q '^Revision\s*:\s*[ 123][0-9a-fA-F][0-9a-fA-F][0-9a-fA-F]12[0-9a-fA-F]$' /proc/cpuinfo + return 1 ++ timestamp ++ printf '%(%F_%T_%Z)T\n' -1 + echo -n '2023-08-12_20:48:37_CEST [openHABian] Installing zram... ' 2023-08-12_20:48:37_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 1 + is_aarch64 + [[ '' == \a\a\r\c\h\6\4 ]] + [[ '' == \a\r\m\6\4 ]] + 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 + install_zram_code /opt/zram + local zramGit=https://github.com/ecdye/zram-config ++ timestamp ++ printf '%(%F_%T_%Z)T\n' -1 + echo -n '2023-08-12_20:48:37_CEST [openHABian] Installing zram code... ' 2023-08-12_20:48:37_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 ++ printf '%(%F_%T_%Z)T\n' -1 ++ basename /opt/zram/zram-config + echo -n '2023-08-12_20:48:37_CEST [openHABian] Updating zram-config, openHAB branch from git... ' 2023-08-12_20:48:37_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 + 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 ae9363f 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' Your branch is up to date with 'origin/openHAB'. + return 0 + echo OK OK + return 0 + echo OK OK ++ timestamp ++ printf '%(%F_%T_%Z)T\n' -1 + echo -n '2023-08-12_20:48:38_CEST [openHABian] Setting up OverlayFS... ' 2023-08-12_20:48:38_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 main.o logic.o sh.o -o overlay -lm 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 ++ printf '%(%F_%T_%Z)T\n' -1 + echo -n '2023-08-12_20:48:40_CEST [openHABian] Setting up zram... ' 2023-08-12_20:48:40_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 + has_highmem + local totalMemory ++ awk '/MemTotal/ {print $2}' /proc/meminfo + totalMemory=3884372 + [[ -z 3884372 ]] + [[ 3884372 -gt 1500000 ]] + return 0 + cond_redirect install -m 644 /opt/openhabian/includes/ztab-lm /etc/ztab + [[ -n '' ]] + echo -e '\n\033[90;01m$ install -m 644 /opt/openhabian/includes/ztab-lm /etc/ztab \033[39;49;00m' $ install -m 644 /opt/openhabian/includes/ztab-lm /etc/ztab  + install -m 644 /opt/openhabian/includes/ztab-lm /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 ln -s /usr/local/share/zram-config/log /var/log/zram-config + [[ -n '' ]] + echo -e '\n\033[90;01m$ ln -s /usr/local/share/zram-config/log /var/log/zram-config \033[39;49;00m' $ ln -s /usr/local/share/zram-config/log /var/log/zram-config  + ln -s /usr/local/share/zram-config/log /var/log/zram-config + return 0 + cond_redirect install -m 644 /opt/zram/zram-config/service/zram-config.logrotate /etc/logrotate.d/zram-config + [[ -n '' ]] + echo -e '\n\033[90;01m$ install -m 644 /opt/zram/zram-config/service/zram-config.logrotate /etc/logrotate.d/zram-config \033[39;49;00m' $ install -m 644 /opt/zram/zram-config/service/zram-config.logrotate /etc/logrotate.d/zram-config  + install -m 644 /opt/zram/zram-config/service/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 ]] + [[ -f /lib/systemd/system/influxdb.service ]] + mkdir -p /var/log/nginx + openhab_is_installed + openhab2_is_installed ++ dpkg -s openhab2 ++ grep Status ++ cut '-d ' -f2 + [[ '' =~ ^(install|hold)$ ]] + return 1 + openhab3_is_installed ++ dpkg -s openhab ++ grep -E '^Version' ++ cut -d ' ' -f2 ++ cut -d . -f1 + [[ '' = 3 ]] + return 1 + openhab4_is_installed ++ dpkg -s openhab ++ grep -E '^Version' ++ cut -d ' ' -f2 ++ cut -d . -f1 + [[ '' = 4 ]] + return 1 + return 1 ++ timestamp ++ printf '%(%F_%T_%Z)T\n' -1 + echo -n '2023-08-12_20:48:40_CEST [openHABian] Removing openHAB persistence from zram... ' 2023-08-12_20:48:40_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 ++ printf '%(%F_%T_%Z)T\n' -1 + echo -n '2023-08-12_20:48:40_CEST [openHABian] Setting up zram service... ' 2023-08-12_20:48:40_CEST [openHABian] Setting up zram service... + cond_redirect install -m 644 /opt/zram/zram-config/service/SystemD/zram-config.service /etc/systemd/system/zram-config.service + [[ -n '' ]] + echo -e '\n\033[90;01m$ install -m 644 /opt/zram/zram-config/service/SystemD/zram-config.service /etc/systemd/system/zram-config.service \033[39;49;00m' $ install -m 644 /opt/zram/zram-config/service/SystemD/zram-config.service /etc/systemd/system/zram-config.service  + install -m 644 /opt/zram/zram-config/service/SystemD/zram-config.service /etc/systemd/system/zram-config.service + return 0 + cond_redirect systemctl -q daemon-reload + [[ -n '' ]] + echo -e '\n\033[90;01m$ systemctl -q daemon-reload \033[39;49;00m' $ systemctl -q daemon-reload  + systemctl -q daemon-reload + return 0 + 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/multi-user.target.wants/zram-config.service → /etc/systemd/system/zram-config.service. + return 0 + echo OK OK + return 0 + echo OK OK + exim_setup + [[ -n 1 ]] + [[ -z '' ]] ++ timestamp ++ printf '%(%F_%T_%Z)T\n' -1 + echo '2023-08-12_20:48:42_CEST [openHABian] Beginning Mail Transfer Agent setup... SKIPPED (no configuration provided)' 2023-08-12_20:48:42_CEST [openHABian] Beginning Mail Transfer Agent setup... SKIPPED (no configuration provided) + return 0 + nut_setup + [[ -n 1 ]] + [[ -z '' ]] ++ timestamp ++ printf '%(%F_%T_%Z)T\n' -1 + echo '2023-08-12_20:48:42_CEST [openHABian] Beginning Network UPS Tools setup... SKIPPED (no configuration provided)' 2023-08-12_20:48:42_CEST [openHABian] Beginning Network UPS Tools setup... SKIPPED (no configuration provided) + return 0 + 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 backupsFolder=/var/lib/openhab/backups + local privkey=/var/lib/openhab/etc/openhab_rsa + local retval=0 ++ timestamp ++ printf '%(%F_%T_%Z)T\n' -1 + echo -n '2023-08-12_20:48:42_CEST [openHABian] Applying file permissions recommendations... ' 2023-08-12_20:48:42_CEST [openHABian] Applying file permissions recommendations... + openhab_is_installed + openhab2_is_installed ++ dpkg -s openhab2 ++ grep Status ++ cut '-d ' -f2 + [[ '' =~ ^(install|hold)$ ]] + return 1 + openhab3_is_installed ++ dpkg -s openhab ++ grep -E '^Version' ++ cut -d . -f1 ++ cut -d ' ' -f2 + [[ '' = 3 ]] + return 1 + openhab4_is_installed ++ dpkg -s openhab ++ grep -E '^Version' ++ cut -d ' ' -f2 ++ cut -d . -f1 + [[ '' = 4 ]] + return 1 + return 1 + echo 'FAILED (please execute after openHAB is installed)' FAILED (please execute after openHAB is installed) + return 1 + setup_mirror_SD install + local src=/dev/mmcblk0 + local srcSize + local dest + local destSize + local 'infoText1=DANGEROUS OPERATION, USE WITH PRECAUTION!\n\nThis will *copy* your system root from your SD card to a USB attached card writer device. Are you sure' + local 'infoText2=is an SD card writer device equipped with a dispensible SD card? Are you sure, this will destroy all data on that card and you want to proceed writing to this device?' + local minStorageSize=4000000000 + local sdIncludesDir=/opt/openhabian/includes/SD + local serviceTargetDir=/etc/systemd/system + local 'sizeError=your destination SD card device does not have enough space' + local storageDir=/storage + local sDir=storage + local 'storageRemovalQuery=Do you also want to remove the storage mount for /storage?\nIf you do not but remove the physical device it is located on, you will have trouble every time you restart your system.\nRemember though it might also contain data you might want to keep such as your Amanda backup data. If /storage is not where your mount is, stop now and enter your mountpoint in /etc/openhabian.conf as the storagedir= parameter.' + local svcname + cond_redirect install -m 755 /opt/openhabian/includes/SD/set-partuuid /usr/local/sbin + [[ -n '' ]] + echo -e '\n\033[90;01m$ install -m 755 /opt/openhabian/includes/SD/set-partuuid /usr/local/sbin \033[39;49;00m' $ install -m 755 /opt/openhabian/includes/SD/set-partuuid /usr/local/sbin  + install -m 755 /opt/openhabian/includes/SD/set-partuuid /usr/local/sbin + return 0 ++ timestamp ++ printf '%(%F_%T_%Z)T\n' -1 + echo -n '2023-08-12_20:48:42_CEST [openHABian] Setting up automated SD mirroring and backup... ' 2023-08-12_20:48:42_CEST [openHABian] Setting up automated SD mirroring and backup... + [[ -n 1 ]] + [[ -z '' ]] + echo 'SKIPPED (no configuration provided)' SKIPPED (no configuration provided) + return 0 + install_cleanup ++ timestamp ++ printf '%(%F_%T_%Z)T\n' -1 + echo -n '2023-08-12_20:48:42_CEST [openHABian] Cleaning up... ' 2023-08-12_20:48:42_CEST [openHABian] Cleaning up... + cond_redirect systemctl -q daemon-reload + [[ -n '' ]] + echo -e '\n\033[90;01m$ systemctl -q daemon-reload \033[39;49;00m' $ systemctl -q daemon-reload  + systemctl -q daemon-reload + return 0 + cond_redirect apt-get clean -o DPkg::Lock::Timeout=60 + [[ -n '' ]] + echo -e '\n\033[90;01m$ apt-get clean -o DPkg::Lock::Timeout=60 \033[39;49;00m' $ apt-get clean -o DPkg::Lock::Timeout=60  + apt-get clean -o DPkg::Lock::Timeout=60 + return 0 + cond_redirect apt-get autoremove --yes -o DPkg::Lock::Timeout=60 + [[ -n '' ]] + echo -e '\n\033[90;01m$ apt-get autoremove --yes -o DPkg::Lock::Timeout=60 \033[39;49;00m' $ apt-get autoremove --yes -o DPkg::Lock::Timeout=60  + apt-get autoremove --yes -o DPkg::Lock::Timeout=60 Reading package lists... Building dependency tree... Reading state information... 0 upgraded, 0 newly installed, 0 to remove and 14 not upgraded. + return 0 + echo OK OK + cd / + rm -f /opt/openHABian-install-inprogress + touch /opt/openHABian-install-successful ++ timestamp ++ printf '%(%F_%T_%Z)T\n' -1 + echo '2023-08-12_20:48:47_CEST [openHABian] Execution of '\''openhabian-config unattended'\'' completed.' 2023-08-12_20:48:47_CEST [openHABian] Execution of 'openhabian-config unattended' completed. ++ timestamp ++ printf '%(%F_%T_%Z)T\n' -1 + echo '2023-08-12_20:48:47_CEST [openHABian] First time setup successfully finished. Rebooting your system!' 2023-08-12_20:48:47_CEST [openHABian] First time setup successfully finished. Rebooting your system! ++ timestamp ++ printf '%(%F_%T_%Z)T\n' -1 + echo '2023-08-12_20:48:47_CEST [openHABian] After rebooting the openHAB dashboard will be available at: http://openhabian:8080' 2023-08-12_20:48:47_CEST [openHABian] After rebooting the openHAB dashboard will be available at: http://openhabian:8080 ++ timestamp ++ printf '%(%F_%T_%Z)T\n' -1 + echo '2023-08-12_20:48:47_CEST [openHABian] After rebooting to gain access to a console, simply reconnect using ssh.' 2023-08-12_20:48:47_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