Amanda Error Openhabian

Hi everyone having trouble setting up Amanda with openhabian it gives me an error and says enable debug

Hoping for some tips thanks everyone

Running on

Openhabian running on Ubuntu Virtual machine on hyper-v

Welcome to Ubuntu 18.04.5 LTS (GNU/Linux 4.15.0-136-generic x86_64) 

* Documentation:  https://help.ubuntu.com
* Management:     https://landscape.canonical.com
* Support:        https://ubuntu.com/advantage 

  System information as of Mon Mar 15 22:41:25 GMT 2021 

  System load:  0.19               Processes:           138
  Usage of /:   42.6% of 19.56GB   Users logged in:     0
  Memory usage: 59%                IP address for eth0: 192.168.0.34
  Swap usage:   0% 

* Introducing self-healing high availability clusters in MicroK8s.
  GNU nano 2.9.3                      /etc/openhabian.conf                                
# Modify your openHABian settings
# Handle with care, only touch if you need to!!
# This file will only be used on unattended initial install.
# If you want to change anything after unattended install completed, use menu in openhabi$
# Hostname to set this one to
hostname=openhab3
# if it exists, the default user (with its working environment) will be renamed to this u$username=sharpy
# and given this password. The password will be removed from this file after completion f$userpw=*******                                                                         # set this to download a SSH key and authorize the owner to login as the admin user
#adminkeyurl=https://github.com/openhab/openhabian/adminkey.pub 

# Language and timezone. See Debian documentation for valid values.
timezone=Europe/Berlin
locales="en_US.UTF-8 de_DE.UTF-8"
system_default_locale=en_US.UTF-8 

# WiFi settings. An ethernet connection is recommended.
# If you have a RPi4, RPi3, RPi0W or a supported external WiFi dongle, the WiFi
# interface can be setup and used for the initial installation.
# Fill in your SSID and password below, leave empty or put comment in front to            # have your WiFi remain unchanged/uninitialized. Make sure your Ethernet works.
# ATTENTION: you need to escape these special characters: $, `, ", \, (newline)
# 'Escaping' means to put an additional \ in front of that character
wifi_ssid=
wifi_psk= 

# Wi-Fi setting. Select a two-letter country code suitable for your location
# E.g. US (default), DE, AU, NZ...
# You may infringe on local legislature otherwise
# See https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2 or /usr/share/zoneinfo/zone.tab
wifi_country= 

# Eventually disable all IPv6 e.g. on installation problems
# values: "enable", "disable"
ipv6=disable 

# repo and branch to clone from
repositoryurl=https://github.com/openhab/openhabian.git
clonebranch=openHAB3 

# debug verbosity mode
# off, on (verbose output in log) or maximum (show every command)
debugmode=maximum


sharpy@openhab3:~$ sudo openhabian-config
2021-03-15_22:42:26_GMT [openHABian] Checking for root privileges... OK
+ export UNATTENDED SILENT DEBUGMAX INTERACTIVE
+ for shfile in "${BASEDIR:-/opt/openhabian}"/functions/*.bash
+ source /opt/openhabian/functions/auth.bash
+ for shfile in "${BASEDIR:-/opt/openhabian}"/functions/*.bash
+ source /opt/openhabian/functions/backup.bash
+ for shfile in "${BASEDIR:-/opt/openhabian}"/functions/*.bash
+ source /opt/openhabian/functions/config.bash
+ for shfile in "${BASEDIR:-/opt/openhabian}"/functions/*.bash
+ source /opt/openhabian/functions/ext-storage.bash
+ for shfile in "${BASEDIR:-/opt/openhabian}"/functions/*.bash
+ source /opt/openhabian/functions/find.bash
+ for shfile in "${BASEDIR:-/opt/openhabian}"/functions/*.bash
+ source /opt/openhabian/functions/habapp.bash
+ for shfile in "${BASEDIR:-/opt/openhabian}"/functions/*.bash
+ source /opt/openhabian/functions/helpers.bash
++ ESC='\033['
++ COL_DEF='\033[39;49;00m'
++ COL_RED='\033[31;01m'
++ COL_GREEN='\033[32;01m'
++ COL_YELLOW='\033[33;01m'
++ COL_BLUE='\033[34;01m'
++ COL_MAGENTA='\033[35;01m'
++ COL_CYAN='\033[36;01m'
++ COL_LGRAY='\033[37;01m'
++ COL_DGRAY='\033[90;01m'
++ export COL_DEF COL_RED COL_GREEN COL_YELLOW COL_BLUE COL_MAGENTA COL_CYAN COL_LGRAY COL_DGRAY
+ for shfile in "${BASEDIR:-/opt/openhabian}"/functions/*.bash
+ source /opt/openhabian/functions/influxdb+grafana.bash
+ for shfile in "${BASEDIR:-/opt/openhabian}"/functions/*.bash
+ source /opt/openhabian/functions/java-jre.bash
+ for shfile in "${BASEDIR:-/opt/openhabian}"/functions/*.bash
+ source /opt/openhabian/functions/menu.bash
+ for shfile in "${BASEDIR:-/opt/openhabian}"/functions/*.bash
+ source /opt/openhabian/functions/nodejs-apps.bash
+ for shfile in "${BASEDIR:-/opt/openhabian}"/functions/*.bash
+ source /opt/openhabian/functions/openhab.bash
+ for shfile in "${BASEDIR:-/opt/openhabian}"/functions/*.bash
+ source /opt/openhabian/functions/openhabian.bash
+ for shfile in "${BASEDIR:-/opt/openhabian}"/functions/*.bash
+ source /opt/openhabian/functions/packages.bash
+ for shfile in "${BASEDIR:-/opt/openhabian}"/functions/*.bash
+ source /opt/openhabian/functions/system.bash
+ for shfile in "${BASEDIR:-/opt/openhabian}"/functions/*.bash
+ source /opt/openhabian/functions/vpn.bash
+ for shfile in "${BASEDIR:-/opt/openhabian}"/functions/*.bash
+ source /opt/openhabian/functions/wifi.bash
+ for shfile in "${BASEDIR:-/opt/openhabian}"/functions/*.bash
+ source /opt/openhabian/functions/zram.bash
++ pwd
+ OLDWD=/home/sharpy
+ cd /opt
+ update_openhabian_conf
+ local configFile=/etc/openhabian.conf
+ local referenceConfig=/opt/openhabian/openhabian.conf.dist
+ cp /etc/openhabian.conf /etc/openhabian.conf.BAK
+ read -r line
+ [[ # Modify your openHABian settings =~ ^(#)?[a-zA-Z] ]]
+ echo '# Modify your openHABian settings'
+ read -r line
+ [[ # Handle with care, only touch if you need to!! =~ ^(#)?[a-zA-Z] ]]
+ echo '# Handle with care, only touch if you need to!!'
+ read -r line
+ [[ # This file will only be used on unattended initial install. =~ ^(#)?[a-zA-Z] ]]
+ echo '# This file will only be used on unattended initial install.'
+ read -r line
+ [[ # If you want to change anything after unattended install completed, use menu in openhabian-config. =~ ^(#)?[a-zA-Z] ]]
+ echo '# If you want to change anything after unattended install completed, use menu in openhabian-config.'
+ read -r line
+ [[ '' =~ ^(#)?[a-zA-Z] ]]
+ echo ''
+ read -r line
+ [[ # Hostname to set this one to =~ ^(#)?[a-zA-Z] ]]
+ echo '# Hostname to set this one to'
+ read -r line
+ [[ hostname=openhabian =~ ^(#)?[a-zA-Z] ]]
+ parsed=hostname=openhabian
+ [[ hostname=openhabian =~ ^#[a-zA-Z] ]]
++ echo hostname=openhabian
++ cut -d= -f1
+ param=hostname
+ [[ -v hostname ]]
+ [[ openhab3 == *\ * ]]
+ echo hostname=openhab3
+ 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 ]]
+ [[ sharpy == *\ * ]]
+ echo username=sharpy
+ 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=https://github.com/openhab/openhabian/adminkey.pub =~ ^(#)?[a-zA-Z] ]]
+ parsed='#adminkeyurl=https://github.com/openhab/openhabian/adminkey.pub'
+ [[ #adminkeyurl=https://github.com/openhab/openhabian/adminkey.pub =~ ^#[a-zA-Z] ]]
+ parsed=adminkeyurl=https://github.com/openhab/openhabian/adminkey.pub
++ cut -d= -f1
++ echo adminkeyurl=https://github.com/openhab/openhabian/adminkey.pub
+ param=adminkeyurl
+ [[ -v adminkeyurl ]]
+ echo '#adminkeyurl=https://github.com/openhab/openhabian/adminkey.pub'
+ eval adminkeyurl=https://github.com/openhab/openhabian/adminkey.pub
++ adminkeyurl=https://github.com/openhab/openhabian/adminkey.pub
+ read -r line
+ [[ '' =~ ^(#)?[a-zA-Z] ]]
+ echo ''
+ read -r line
+ [[ # Language and timezone. See Debian documentation for valid values. =~ ^(#)?[a-zA-Z] ]]
+ echo '# Language and timezone. See Debian documentation for valid values.'
+ read -r line
+ [[ timezone=Europe/Berlin =~ ^(#)?[a-zA-Z] ]]
+ parsed=timezone=Europe/Berlin
+ [[ timezone=Europe/Berlin =~ ^#[a-zA-Z] ]]
++ 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_psk="" =~ ^(#)?[a-zA-Z] ]]
+ parsed='wifi_psk=""'
+ [[ wifi_psk="" =~ ^#[a-zA-Z] ]]
++ cut -d= -f1
++ echo 'wifi_psk=""'
+ param=wifi_psk
+ [[ -v wifi_psk ]]
+ [[ '' == *\ * ]]
+ echo wifi_psk=
+ read -r line
+ [[ '' =~ ^(#)?[a-zA-Z] ]]
+ echo ''
+ read -r line
+ [[ # Wi-Fi setting. Select a two-letter country code suitable for your location =~ ^(#)?[a-zA-Z] ]]
+ echo '# Wi-Fi setting. Select a two-letter country code suitable for your location'
+ read -r line
+ [[ # E.g. US (default), DE, AU, NZ... =~ ^(#)?[a-zA-Z] ]]
+ echo '# E.g. US (default), DE, AU, NZ...'
+ read -r line
+ [[ # You may infringe on local legislature otherwise =~ ^(#)?[a-zA-Z] ]]
+ echo '# You may infringe on local legislature otherwise'
+ read -r line
+ [[ # See https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2 or /usr/share/zoneinfo/zone.tab =~ ^(#)?[a-zA-Z] ]]
+ echo '# See https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2 or /usr/share/zoneinfo/zone.tab'
+ read -r line
+ [[ wifi_country="" =~ ^(#)?[a-zA-Z] ]]
+ parsed='wifi_country=""'
+ [[ wifi_country="" =~ ^#[a-zA-Z] ]]
++ 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 ]]
+ [[ disable == *\ * ]]
+ echo ipv6=disable
+ 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.git == *\ * ]]
+ echo repositoryurl=https://github.com/openhab/openhabian.git
+ read -r line
+ [[ clonebranch=openHAB3 =~ ^(#)?[a-zA-Z] ]]
+ parsed=clonebranch=openHAB3
+ [[ clonebranch=openHAB3 =~ ^#[a-zA-Z] ]]
++ echo clonebranch=openHAB3
++ cut -d= -f1
+ param=clonebranch
+ [[ -v clonebranch ]]
+ [[ openHAB3 == *\ * ]]
+ echo clonebranch=openHAB3
+ read -r line
+ [[ '' =~ ^(#)?[a-zA-Z] ]]
+ echo ''
+ read -r line
+ [[ # debug verbosity mode =~ ^(#)?[a-zA-Z] ]]
+ echo '# debug verbosity mode'
+ read -r line
+ [[ # off, on (verbose output in log) or maximum (show every command) =~ ^(#)?[a-zA-Z] ]]+ echo '# off, on (verbose output in log) or maximum (show every command)'
+ read -r line
+ [[ debugmode=off =~ ^(#)?[a-zA-Z] ]]
+ parsed=debugmode=off
+ [[ debugmode=off =~ ^#[a-zA-Z] ]]
++ cut -d= -f1
++ echo debugmode=off
+ param=debugmode
+ [[ -v debugmode ]]
+ [[ maximum == *\ * ]]
+ echo debugmode=maximum
+ read -r line
+ [[ '' =~ ^(#)?[a-zA-Z] ]]
+ echo ''
+ read -r line
+ [[ # fake hardware =~ ^(#)?[a-zA-Z] ]]
+ echo '# fake hardware'
+ read -r line
+ [[ # force treating your box as if it was a ... =~ ^(#)?[a-zA-Z] ]]
+ echo '# force treating your box as if it was a ...'
+ read -r line
+ [[ # pi4, pi4_8gb, cm4, pi400, pi3, cm3, pi3+, cm3+, pi2, pi1, cm1, pi0, pi0w =~ ^(#)?[a-zA-Z] ]]
+ echo '# pi4, pi4_8gb, cm4, pi400, pi3, cm3, pi3+, cm3+, pi2, pi1, cm1, pi0, pi0w'
+ read -r line
+ [[ #hw=pi4 =~ ^(#)?[a-zA-Z] ]]
+ parsed='#hw=pi4'
+ [[ #hw=pi4 =~ ^#[a-zA-Z] ]]
+ parsed=hw=pi4
++ echo hw=pi4
++ cut -d= -f1
+ param=hw
+ [[ -v hw ]]
+ echo '#hw=pi4'
+ eval hw=pi4
++ hw=pi4
+ read -r line
+ [[ '' =~ ^(#)?[a-zA-Z] ]]
+ echo ''
+ read -r line
+ [[ # Hardware architecture =~ ^(#)?[a-zA-Z] ]]
+ echo '# Hardware architecture'
+ read -r line
+ [[ # x86_64, amd64, armv6l, armv7l, aarch64, arm64 =~ ^(#)?[a-zA-Z] ]]
+ echo '# x86_64, amd64, armv6l, armv7l, aarch64, arm64'
+ read -r line
+ [[ #hwarch=armv7l =~ ^(#)?[a-zA-Z] ]]
+ parsed='#hwarch=armv7l'
+ [[ #hwarch=armv7l =~ ^#[a-zA-Z] ]]
+ parsed=hwarch=armv7l
++ echo hwarch=armv7l
++ cut -d= -f1
+ param=hwarch
+ [[ -v hwarch ]]
+ [[ x86_64 == *\ * ]]
+ echo hwarch=x86_64
+ read -r line
+ [[ '' =~ ^(#)?[a-zA-Z] ]]
+ echo ''
+ read -r line
+ [[ # OS distribution/release =~ ^(#)?[a-zA-Z] ]]
+ echo '# OS distribution/release'
+ read -r line
+ [[ # Valid arguments: raspios, raspbian, debian, ubuntu, stretch, buster, bionic, focal =~ ^(#)?[a-zA-Z] ]]
+ echo '# Valid arguments: raspios, raspbian, debian, ubuntu, stretch, buster, bionic, focal'
+ read -r line
+ [[ #osrelease=buster =~ ^(#)?[a-zA-Z] ]]
+ parsed='#osrelease=buster'
+ [[ #osrelease=buster =~ ^#[a-zA-Z] ]]
+ parsed=osrelease=buster
++ echo osrelease=buster
++ cut -d= -f1
+ param=osrelease
+ [[ -v osrelease ]]
+ [[ ubuntu == *\ * ]]
+ echo osrelease=ubuntu
+ read -r line
+ [[ '' =~ ^(#)?[a-zA-Z] ]]
+ echo ''
+ read -r line
+ [[ # Java architecture mode =~ ^(#)?[a-zA-Z] ]]
+ echo '# Java architecture mode'
+ read -r line
+ [[ # Valid arguments: "Adopt11", "Zulu8-32", "Zulu8-64", "Zulu11-32", or "Zulu11-64" =~ ^(#)?[a-zA-Z] ]]
+ echo '# Valid arguments: "Adopt11", "Zulu8-32", "Zulu8-64", "Zulu11-32", or "Zulu11-64"'+ read -r line
+ [[ java_opt=Zulu11-32 =~ ^(#)?[a-zA-Z] ]]
+ parsed=java_opt=Zulu11-32
+ [[ java_opt=Zulu11-32 =~ ^#[a-zA-Z] ]]
++ echo java_opt=Zulu11-32
++ cut -d= -f1
+ param=java_opt
+ [[ -v java_opt ]]
+ [[ Zulu11-64 == *\ * ]]
+ echo java_opt=Zulu11-64
+ read -r line
+ [[ '' =~ ^(#)?[a-zA-Z] ]]
+ echo ''
+ read -r line
+ [[ # openHAB Log Viewer (frontail) theme =~ ^(#)?[a-zA-Z] ]]
+ echo '# openHAB Log Viewer (frontail) theme'
+ read -r line
+ [[ # Valid arguments: "light", "dark" =~ ^(#)?[a-zA-Z] ]]
+ echo '# Valid arguments: "light", "dark"'
+ read -r line
+ [[ frontailtheme=light =~ ^(#)?[a-zA-Z] ]]
+ parsed=frontailtheme=light
+ [[ frontailtheme=light =~ ^#[a-zA-Z] ]]
++ echo frontailtheme=light
++ cut -d= -f1
+ param=frontailtheme
+ [[ -v frontailtheme ]]
+ [[ light == *\ * ]]
+ echo frontailtheme=light
+ read -r line
+ [[ '' =~ ^(#)?[a-zA-Z] ]]
+ echo ''
+ read -r line
+ [[ # install ZRAM per default, set to "disable" to skip installation =~ ^(#)?[a-zA-Z] ]]+ echo '# install ZRAM per default, set to "disable" to skip installation'
+ read -r line
+ [[ zraminstall=enable =~ ^(#)?[a-zA-Z] ]]
+ parsed=zraminstall=enable
+ [[ zraminstall=enable =~ ^#[a-zA-Z] ]]
++ echo zraminstall=enable
++ cut -d= -f1
+ param=zraminstall
+ [[ -v zraminstall ]]
+ [[ disable == *\ * ]]
+ echo zraminstall=disable
+ read -r line
+ [[ '' =~ ^(#)?[a-zA-Z] ]]
+ echo ''
+ read -r line
+ [[ # start comitup hotspot if internet is not reachable =~ ^(#)?[a-zA-Z] ]]
+ echo '# start comitup hotspot if internet is not reachable'
+ read -r line
+ [[ hotspot=enable =~ ^(#)?[a-zA-Z] ]]
+ parsed=hotspot=enable
+ [[ hotspot=enable =~ ^#[a-zA-Z] ]]
++ cut -d= -f1
++ echo hotspot=enable
+ param=hotspot
+ [[ -v hotspot ]]
+ [[ disable == *\ * ]]
+ echo hotspot=disable
+ read -r line
+ [[ '' =~ ^(#)?[a-zA-Z] ]]
+ echo ''
+ read -r line
+ [[ # external SD card device to backup and mirror the internal SD card to =~ ^(#)?[a-zA-Z] ]]
+ echo '# external SD card device to backup and mirror the internal SD card to'
+ read -r line
+ [[ #backupdrive=/dev/sda =~ ^(#)?[a-zA-Z] ]]
+ parsed='#backupdrive=/dev/sda'
+ [[ #backupdrive=/dev/sda =~ ^#[a-zA-Z] ]]
+ parsed=backupdrive=/dev/sda
++ echo backupdrive=/dev/sda
++ cut -d= -f1
+ param=backupdrive
+ [[ -v backupdrive ]]
+ echo '#backupdrive=/dev/sda'
+ eval backupdrive=/dev/sda
++ backupdrive=/dev/sda
+ read -r line
+ [[ storageconfig=openhab-dir =~ ^(#)?[a-zA-Z] ]]
+ parsed=storageconfig=openhab-dir
+ [[ storageconfig=openhab-dir =~ ^#[a-zA-Z] ]]
++ 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] ]]
++ cut -d= -f1
++ echo storagetapes=15
+ param=storagetapes
+ [[ -v storagetapes ]]
+ [[ 15 == *\ * ]]
+ echo storagetapes=15
+ read -r line
+ [[ storagecapacity=10240 =~ ^(#)?[a-zA-Z] ]]
+ parsed=storagecapacity=10240
+ [[ storagecapacity=10240 =~ ^#[a-zA-Z] ]]
++ echo storagecapacity=10240
++ cut -d= -f1
+ param=storagecapacity
+ [[ -v storagecapacity ]]
+ [[ 10240 == *\ * ]]
+ echo storagecapacity=10240
+ read -r line
+ [[ '' =~ ^(#)?[a-zA-Z] ]]
+ echo ''
+ read -r line
+ [[ # mail relay settings =~ ^(#)?[a-zA-Z] ]]
+ echo '# mail relay settings'
+ read -r line
+ [[ #adminmail=john.doe@foo.bar =~ ^(#)?[a-zA-Z] ]]
+ parsed='#adminmail=john.doe@foo.bar'
+ [[ #adminmail=john.doe@foo.bar =~ ^#[a-zA-Z] ]]
+ parsed=adminmail=john.doe@foo.bar
++ echo adminmail=john.doe@foo.bar
++ cut -d= -f1
+ param=adminmail
+ [[ -v adminmail ]]
+ echo '#adminmail=john.doe@foo.bar'
+ eval adminmail=john.doe@foo.bar
++ adminmail=john.doe@foo.bar
+ read -r line
+ [[ #relayuser=john.doe@foo.bar =~ ^(#)?[a-zA-Z] ]]
+ parsed='#relayuser=john.doe@foo.bar'
+ [[ #relayuser=john.doe@foo.bar =~ ^#[a-zA-Z] ]]
+ parsed=relayuser=john.doe@foo.bar
++ echo relayuser=john.doe@foo.bar
++ cut -d= -f1
+ param=relayuser
+ [[ -v relayuser ]]
+ echo '#relayuser=john.doe@foo.bar'
+ eval relayuser=john.doe@foo.bar
++ relayuser=john.doe@foo.bar
+ read -r line
+ [[ #relaypass=secret =~ ^(#)?[a-zA-Z] ]]
+ parsed='#relaypass=secret'
+ [[ #relaypass=secret =~ ^#[a-zA-Z] ]]
+ parsed=relaypass=secret
++ echo relaypass=secret
++ cut -d= -f1
+ param=relaypass
+ [[ -v relaypass ]]
+ echo '#relaypass=secret'
+ eval relaypass=secret
++ relaypass=secret
+ read -r line
+ [[ #smarthost=smtp.gmail.com =~ ^(#)?[a-zA-Z] ]]
+ parsed='#smarthost=smtp.gmail.com'
+ [[ #smarthost=smtp.gmail.com =~ ^#[a-zA-Z] ]]
+ parsed=smarthost=smtp.gmail.com
++ echo smarthost=smtp.gmail.com
++ cut -d= -f1
+ param=smarthost
+ [[ -v smarthost ]]
+ echo '#smarthost=smtp.gmail.com'
+ eval smarthost=smtp.gmail.com
++ smarthost=smtp.gmail.com
+ read -r line
+ [[ #smartport=587 =~ ^(#)?[a-zA-Z] ]]
+ parsed='#smartport=587'
+ [[ #smartport=587 =~ ^#[a-zA-Z] ]]
+ parsed=smartport=587
++ echo smartport=587
++ cut -d= -f1
+ param=smartport
+ [[ -v smartport ]]
+ echo '#smartport=587'
+ eval smartport=587
++ smartport=587
+ read -r line
+ [[ '' =~ ^(#)?[a-zA-Z] ]]
+ echo ''
+ read -r line
+ [[ # Tailscale VPN =~ ^(#)?[a-zA-Z] ]]
+ echo '# Tailscale VPN'
+ read -r line
+ [[ #preauthkey=tskey-xxxxxxxxxxxxxxxxx =~ ^(#)?[a-zA-Z] ]]
+ parsed='#preauthkey=tskey-xxxxxxxxxxxxxxxxx'
+ [[ #preauthkey=tskey-xxxxxxxxxxxxxxxxx =~ ^#[a-zA-Z] ]]
+ parsed=preauthkey=tskey-xxxxxxxxxxxxxxxxx
++ echo preauthkey=tskey-xxxxxxxxxxxxxxxxx
++ cut -d= -f1
+ param=preauthkey
+ [[ -v preauthkey ]]
+ echo '#preauthkey=tskey-xxxxxxxxxxxxxxxxx'
+ eval preauthkey=tskey-xxxxxxxxxxxxxxxxx
++ preauthkey=tskey-xxxxxxxxxxxxxxxxx
+ read -r line
+ [[ '' =~ ^(#)?[a-zA-Z] ]]
+ echo ''
+ read -r line
+ [[ # vim: filetype=sh =~ ^(#)?[a-zA-Z] ]]
+ echo '# vim: filetype=sh'
+ read -r line
+ config_ipv6
+ local aptConf=/etc/apt/apt.conf.d/S90force-ipv4
+ local sysctlConf=/etc/sysctl.d/99-sysctl.conf
+ [[ disable == \d\i\s\a\b\l\e ]]
++ timestamp
++ date +%F_%T_%Z
+ echo -n '2021-03-15_22:42:26_GMT [openHABian] Disabling IPv6... '
2021-03-15_22:42:26_GMT [openHABian] Disabling IPv6... + grep -qs '^[[:space:]]*# Disable all IPv6 functionality' /etc/sysctl.d/99-sysctl.conf
+ cp /opt/openhabian/includes/S90force-ipv4 /etc/apt/apt.conf.d/S90force-ipv4
+ cond_redirect sysctl --load
+ [[ -n '' ]]
+ echo -e '\n\033[90;01m$ sysctl --load \033[39;49;00m' 

$ sysctl --load
+ sysctl --load
net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.default.disable_ipv6 = 1
net.ipv6.conf.lo.disable_ipv6 = 1
+ return 0
+ echo OK
OK
+ [[ -n '' ]]
+ apt_update
+ PID_APT=28867
+ apt-get update
+ whiptail_check
++ command -v whiptail
+ [[ -x /bin/whiptail ]]
+ load_create_config
+ local 'questionText=\nWelcome to openHABian!\n\nPlease provide the name of your Linux user i.e. the account you normally log in with.\n\nTypical user names are '\''pi'\'' or '\''     ┌──────────────────────────┤ Compatibility warning ├───────────────────────────┐          │                                                                              │          │ We detected that you use a console which is less than 120 columns wide. This │          │ tool is designed for a minimum of 120 columns and therefore some menus may   │          │ not be presented correctly. Please increase the width of your console and    │          │ rerun this tool.                                                             │          │                                                                              │          │ Either resize the window or consult the preferences of your console          │          │ application.                                                                 │          │                                                                              │          │                                    <Ok>                                      │          │                                                                              │          └──────────────────────────────────────────────────────────────────────────────┘     + openhabian_update_check
+ [[ -z 1 ]]
+ local branch
+ local introText
+ local unsupportedHWText
+ local unsupportedOSText
+ branch=openHAB3
+ introText='Additions, improvements or fixes were added to the openHABian configuration tool. Would you like to update now and benefit from them? The update will not automatically apply changes to your system.\n\nUpdating is recommended.'
+ unsupportedHWText='You are running on old hardware that is no longer officially supported.\nopenHABian may still work with this or not.\nWe recommend that you replace your hardware with a current SBC such as a RPi4/2GB.\nDo you really want to continue using openHABian on this system?'
+ unsupportedOSText='You are running an old Linux release that is no longer officially supported.\nWe recommend upgrading to the most current stable release of your distribution (or current Long Term Support version for distributions that offer LTS).\nDo you really want to continue using openHABian on this system?'
++ timestamp
++ date +%F_%T_%Z
++ get_git_revision
++ local branch
++ local latestTag
++ local revCount
++ local shorthash
+++ git -C /opt/openhabian rev-parse --abbrev-ref HEAD
++ branch=openHAB3
+++ git -C /opt/openhabian describe --tags --abbrev=0
++ latestTag=patchday-20210119
+++ git -C /opt/openhabian log --oneline
+++ wc -l
++ revCount=1149
+++ git -C /opt/openhabian log --pretty=format:%h -n 1
++ shorthash=04378b8
++ echo '[openHAB3]patchday-20210119-1149(04378b8)'
+ echo '2021-03-15_22:42:28_GMT [openHABian] openHABian configuration tool version: [openHAB3]patchday-20210119-1149(04378b8)'
2021-03-15_22:42:28_GMT [openHABian] openHABian configuration tool version: [openHAB3]patchday-20210119-1149(04378b8)
++ timestamp
++ date +%F_%T_%Z
+ echo -n '2021-03-15_22:42:28_GMT [openHABian] Checking for changes in origin branch openHAB3... '
2021-03-15_22:42:28_GMT [openHABian] Checking for changes in origin branch openHAB3... + is_pine64
++ uname -r
+ [[ 4.15.0-136-generic =~ pine64-longsleep ]]
+ return 1
+ is_jessie
     ┌───────────────────────┤ openHABian update available ├────────────────────────┐          │                                                                              │          │ Additions, improvements or fixes were added to the openHABian configuration  │          │ tool. Would you like to update now and benefit from them? The update will    │          │ not automatically apply changes to your system.                              │          │                                                                              │          │ Updating is recommended.                                                     │          │                                                                              │          │                     <Continue>                   <Skip>                      │          │                                                                              │          └──────────────────────────────────────────────────────────────────────────────┘          ┌────────────────────────────┤ openHABian version ├────────────────────────────┐          │ You are currently using the "openHAB3" openHABian environment version.       │          │                                                                              │          │ The very latest openHAB 3 version is called "main".                          │          │ This is providing you with the latest (openHAB3!) features but less people   │          │ have tested it so it is a little more likely that you run into errors.       │          │ You can step back a little and switch to use the stable version now called   │          │ "openHAB3".                                                                  │          │ You can switch at any time by selecting this menu option again or by setting │          │ the 'clonebranch=' parameter in '/etc/openhabian.conf'.                      │          │                                                                              │          │    (*) openHAB3  recommended standard version of openHABian (openHAB 3)      │          │    ( ) main      very latest version of openHABian (openHAB 3)               │          │    ( ) stable    old version of openHABian (openHAB 2)                       │          │    ( ) master    old development version of openHABian (openHAB 2)           │          │                                                                              │          │                                                                              │          │                                                                              │          │                                                                              │          │                     <Ok>                         <Cancel>                    │          │                                                                              │          └──────────────────────────────────────────────────────────────────────────────┘     ─────────────────────────────┤ openHABian announcements ├───────────────────────────────── tab to unselect buttons and scroll through the text using UP/DOWN or PGUP/PGDN.           announcements are stored in `/opt/openhabian/docs/NEWSLOG.md` for you to lookup.         Future of master branch ## January 20, 2021                                               will no longer make regular updates to the master branch as we migrate away from supportinnHAB2.                                                                                    such in the coming months we will make bug fixes directly to the 'stable' branch for openHh that said, please migrate off of the 'master' branch as it will be deleted soon.         can change branches at any time use menu option 01.                                      openHAB 3 released ## December 21, 2020                                                   the darkest of times (midwinter for most of us), openHAB 3 gets released.                  [documentation](docs/openhabian.md#on-openhab3) and                                      w.openhab.org](http://www.openhab.org) for details.                                       ry Christmas and a healthy New Year !                                                     WiFi Hotspot ## November 14, 2020                                                         never your system has a WiFi interface that fails to initialize on installation or startupome to the openHABian Configuration Tool [openHAB3]patchday-20210119-1149(04378b8) ├──────   00 | About openHABian    Information about the openHABian project and this tool           01 | Select Branch       Select the openHABian config tool version ("branch") to run      02 | Upgrade System      Upgrade all installed software packages (incl. openHAB) to       03 | Install openHAB     Install or upgrade to openHAB release 3                          10 | Apply Improvements  Apply the latest improvements to the basic openHABian setup      20 | Optional Components Choose from a set of optional software components ►              30 | System Settings     A range of system and hardware related configuration steps       40 | openHAB Related     Switch the installed openHAB version or apply tweaks ►           50 | Backup/Restore      Manage backups and restore your system ►                                           <Execute>                                <Exit>                      ──────────────────────────────────────────────────────────────────────────────────────────ome to the openHABian Configuration Tool [openHAB3]patchday-20210119-1149(04378b8) ├──────   50 | Backup openHAB config     Backup the current active openHAB configuration            51 | Restore an openHAB config Restore a previous openHAB configuration from backup       52 | Amanda System Backup      Set up Amanda to comprehensively backup your complete      53 | Setup SD mirroring        Setup mirroring of internal to external SD card               | Remove SD mirroring       Disable mirroring of SD cards                              54 | Raw copy SD               Raw copy internal SD to external disk / SD card            55 | Sync SD                   Rsync internal SD to external disk / SD card                                 <Execute>                                <Back>                      ──────────────────────────────────────────────────────────────────────────────────────────+ choice2='52 | Amanda System Backup'
+ '[' 0 -eq 1 ']'
+ '[' 1 -eq 255 ']'
+ case "$choice2" in
+ wait_for_apt_to_finish_update
     ┌───────────────────────────┤ Authentication setup ├───────────────────────────┐          │                                                                              │          │ Please confirm the password:                                                 │          │                                                                              │          │ **************______________________________________________________________ │          │                                                                              │          │                     <Ok>                         <Cancel>                    │          │                                                                              │          └──────────────────────────────────────────────────────────────────────────────┘          ┌─────────────────────────────┤ Storage capacity ├─────────────────────────────┐          │                                                                              │          │ How much storage do you want to dedicate to your backup in megabytes?        │          │                                                                              │          │ Recommendation: 2-3 times the amount of data to be backed up.                │          │                                                                              │          │ 10240_______________________________________________________________________ │          │                                                                              │          │                     <Ok>                         <Cancel>                    │          │                                                                              │          └──────────────────────────────────────────────────────────────────────────────┘     + tapeSize=10240
+ (( tapeSize/=tapes ))
+ create_amanda_config openhab-dir backup john.doe@foo.bar 15 682 /media/OHBackup
+ local config
+ local backupUser
+ local adminMail
+ local tapes
+ local tapeSize
+ local storageLoc
+ local awsSite
+ local awsBucket
+ local awsAccessKey
+ local awsSecretKey
+ local amandaHosts
+ local configDir
+ local databaseDir
+ local dumpType
+ local indexDir
+ local logDir
+ local storageText
+ local tapeChanger
+ local tapeType
+ local serviceTargetDir=/etc/systemd/system/
+ config=openhab-dir
+ backupUser=backup
+ adminMail=john.doe@foo.bar
+ tapes=15
+ tapeSize=682
+ storageLoc=/media/OHBackup
+ awsSite=
+ awsBucket=
+ awsAccessKey=
+ awsSecretKey=
+ amandaSecurityConf=/etc/amanda-security.conf
+ amandaHosts=/var/backups/.amandahosts
+ configDir=/etc/amanda/openhab-dir
+ databaseDir=/var/lib/amanda/openhab-dir/curinfo
+ dumpType=comp-user-tar
+ indexDir=/var/lib/amanda/openhab-dir/index
+ logDir=/var/log/amanda/openhab-dir
+ storageText='We need to prepare ("label") your storage media.\n\nFor permanent storage such as USB or NAS mounted storage, as well as for cloud based storage, we will create 15 virtual containers.'
++ timestamp
++ date +%F_%T_%Z
+ echo -n '2021-03-15_22:43:41_GMT [openHABian] Creating Amanda filesystem... '
2021-03-15_22:43:41_GMT [openHABian] Creating Amanda filesystem... + cond_redirect mkdir -p /etc/amanda/openhab-dir /var/lib/amanda/openhab-dir/curinfo /var/log/amanda/openhab-dir /var/lib/amanda/openhab-dir/index
+ [[ -n '' ]]
+ echo -e '\n\033[90;01m$ mkdir -p /etc/amanda/openhab-dir /var/lib/amanda/openhab-dir/cur     ┌──────────────────────────────────────────────────────────────────────────────┐          │                                                                              │          │ There was an error or interruption during the execution of:                  │          │   "50 | Backup/Restore"                                                      │          │                                                                              │          │ Please try again. If the error persists, please read                         │          │ /opt/openhabian/docs/openhabian-DEBUG.md or                                  │          │ https://github.com/openhab/openha

openHAB does not support Ubuntu.

I checked the requirements before i installed im sure it was supported? EDIT just found it says not supported

So debian is supported the only other supported os?

yes, anything else may work or not.

I will move my system over too Debian thanks for the tip appreciate it