Hi all,my openhabian instance is unable to install openhab on first boot, and installing openhab manually from openhabian UI. I installed openhab and openhab-addons from apt by looking at openhabian logs.
┌────────────────────────────────────┤ About openHABian and openhabian-config ├────────────────────────────────────┐
│ │
│ openHABian Configuration Tool — [openHAB]{2024-12-19T20:38:58-07:00}(5cd34e8) │
│ openHAB 4.3.0 - Release Build
Many of openhabian-config operations are failed with similar error. I provide the log from installling zigbee2mqtt below:
++ timestamp
++ printf '%(%F_%T_%Z)T\n' -1
+ echo -n '2024-12-25_11:06:42_CET [openHABian] Updating Linux package information... '
2024-12-25_11:06:42_CET [openHABian] Updating Linux package information... + kill -0 16342
+ echo OK
OK
+ case "$choice2" in
+ zigbee2mqtt_setup install
+ local zigbee2mqttBase
+ local 'z2mInstalledText=A configuration for Zigbee2MQTT is already existing.\n\nWould you like to update Zigbee2MQTT to the latest version with this configuration?'
+ local 'introText=A MQTT-server is required for Zigbee2mqtt. If you haven'\''t installed one yet, please select <cancel> and come back after installing one (e.g. Mosquitto).\n\nZigbee2MQTT will be installed from the official repository.\n\nDuration is about 4 minutes... '
+ local 'installText=Zigbee2MQTT is installed from the official repository.\n\nPlease wait about 4 minutes... '
+ local 'uninstallText=Zigbee2MQTT will be completely removed from the system.'
+ local 'adapterText=Please select your zigbee adapter:'
+ local 'adapterNetw=\nPlease specify the ip:port of the zigbee coordinator.'
+ local 'mqttUserText=\nPlease enter your MQTT-User (default = openhabian):'
+ local 'mqttPWText=\nIf your MQTT-server requires a password, please enter it here:'
+ local my_adapters
+ local by_path_or_id
+ local mqttDefaultUser=openhabian
+ local mqttUser
+ local serverIP
+ local installSuccessText
+ local updateSuccessText
+ local loopSel=1
++ hostname -I
+ serverIP='192.168.1.78 '
+ serverIP=192.168.1.78
+ installSuccessText='Setup was successful. Zigbee2MQTT is now up and running.\n\nFor further Zigbee-settings open frontend (in 2 minutes): \nhttp://192.168.1.78:8081.\n\nDocumentation of ZigBee2MQTT:\nhttps://www.zigbee2mqtt.io/guide/configuration'
+ updateSuccessText='Update successful. \n\nFor further Zigbee-settings open frontend (in 2 minutes): \nhttp://192.168.1.78:8081.\n\nDocumentation of Zigbee2MQTT:\nhttps://www.zigbee2mqtt.io/guide/configuration'
+ [[ install == \r\e\m\o\v\e ]]
+ [[ install != \i\n\s\t\a\l\l ]]
+ [[ -e /opt/zigbee2mqtt/data/configuration.yaml ]]
+ IFS=
+ read -r line
++ ls /dev/serial/by-id
+ my_adapters=' usb-ITead_Sonoff_Zigbee_3.0_USB_Dongle_Plus_86750e156529ec1195566c7840c9ce8d-if00-port0 1 '
+ by_path_or_id=/dev/serial/by-id
+ loopSel=0
+ IFS=
+ read -r line
+ [[ usb-ITead_Sonoff_Zigbee_3.0_USB_Dongle_Plus_86750e156529ec1195566c7840c9ce8d-if00-port0 1 == '' ]]
+ unset IFS
+ [[ -n 1 ]]
+ whiptail --title 'Zigbee2MQTT installation' --yes-button Continue --no-button Cancel --yesno 'A MQTT-server is required for Zigbee2mqtt. If you haven'\''t installed one yet, please select <cancel> and come back after installing one (e.g. Mosquitto).\n\nZigbee2MQTT will be installed from the official repository.\n\nDuration is about 4 minutes... ' 14 80
++ whiptail --title 'Zigbee2MQTT installation' --menu 'Choose mode:' 14 100 2 --cancel-button Cancel --ok-button Continue usb 'The zigbee coordinator is directly connected to this computer.' network 'The zigbee coordinator is connected to the LAN and has an IP address.'
+ zigmode=usb
+ [[ usb == \n\e\t\w\o\r\k ]]
++ whiptail --noitem --title 'Zigbee2MQTT installation' --radiolist 'Please select your zigbee adapter:' 14 100 4 usb-ITead_Sonoff_Zigbee_3.0_USB_Dongle_Plus_86750e156529ec1195566c7840c9ce8d-if00-port0 1
+ selectedAdapter=usb-ITead_Sonoff_Zigbee_3.0_USB_Dongle_Plus_86750e156529ec1195566c7840c9ce8d-if00-port0
++ whiptail --title 'MQTT User' --inputbox '\nPlease enter your MQTT-User (default = openhabian):' 10 80 openhabian
+ mqttUser=openhabian
++ whiptail --title 'MQTT password' --passwordbox '\nIf your MQTT-server requires a password, please enter it here:' 10 80
+ mqttPW=MyPassword
+ whiptail --title 'Zigbee2MQTT installation' --infobox 'Zigbee2MQTT is installed from the official repository.\n\nPlease wait about 4 minutes... ' 14 80
+ 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 /usr/bin/npm ]]
++ node --version
+ [[ v18.19.0 =~ v1[6-9]* ]]
+ return 0
+ is_armv6l
+ [[ '' == \a\r\m\v\6\l ]]
+ case "$(uname -m)" in
++ uname -m
+ return 1
+ return 0
+ return 0
++ timestamp
++ printf '%(%F_%T_%Z)T\n' -1
+ echo -n '2024-12-25_11:06:51_CET [openHABian] Downloading Zigbee2MQTT... '
2024-12-25_11:06:51_CET [openHABian] Downloading Zigbee2MQTT... ++ npm list
++ head -n 1
+ zigbee2mqttBase=/opt/node_modules/zigbee2mqtt
+ [[ -d /opt/node_modules/zigbee2mqtt ]]
+ cond_redirect zigbee2mqtt_download /opt
+ [[ -n '' ]]
+ echo -e '\n\033[90;01m$ zigbee2mqtt_download /opt \033[39;49;00m'
$ zigbee2mqtt_download /opt
+ zigbee2mqtt_download /opt
++ timestamp
++ printf '%(%F_%T_%Z)T\n' -1
+ echo -n '2024-12-25_11:06:53_CET [openHABian] Downloading Zigbee2MQTT... '
2024-12-25_11:06:53_CET [openHABian] Downloading Zigbee2MQTT... + cond_redirect mkdir -p /opt/zigbee2mqtt
+ [[ -n '' ]]
+ echo -e '\n\033[90;01m$ mkdir -p /opt/zigbee2mqtt \033[39;49;00m'
$ mkdir -p /opt/zigbee2mqtt
+ mkdir -p /opt/zigbee2mqtt
+ return 0
+ cond_redirect chown openhabian:openhab /opt/zigbee2mqtt
+ [[ -n '' ]]
+ echo -e '\n\033[90;01m$ chown openhabian:openhab /opt/zigbee2mqtt \033[39;49;00m'
$ chown openhabian:openhab /opt/zigbee2mqtt
+ chown openhabian:openhab /opt/zigbee2mqtt
+ return 0
+ cond_redirect sudo -u openhabian git clone https://github.com/Koenkk/zigbee2mqtt.git /opt/zigbee2mqtt
+ [[ -n '' ]]
+ echo -e '\n\033[90;01m$ sudo -u openhabian git clone https://github.com/Koenkk/zigbee2mqtt.git /opt/zigbee2mqtt \033[39;49;00m'
$ sudo -u openhabian git clone https://github.com/Koenkk/zigbee2mqtt.git /opt/zigbee2mqtt
+ sudo -u openhabian git clone https://github.com/Koenkk/zigbee2mqtt.git /opt/zigbee2mqtt
Cloning into '/opt/zigbee2mqtt'...
remote: Enumerating objects: 31619, done.
remote: Counting objects: 100% (6037/6037), done.
remote: Compressing objects: 100% (393/393), done.
error: RPC failed; curl 92 HTTP/2 stream 5 was not closed cleanly: CANCEL (err 8)
error: 3124 bytes of body are still expected
fetch-pack: unexpected disconnect while reading sideband packet
fatal: early EOF
fatal: fetch-pack: invalid index-pack output
+ return 128
+ echo 'FAILED (git clone)'
FAILED (git clone)
+ return 1
+ return 1
+ echo 'FAILED (download)'
FAILED (download)
+ return 1
+ RET=1
+ '[' 1 -ne 0 ']'
+ whiptail --msgbox 'There was an error or interruption during the execution of:\n "20 | Optional Components"\n\nPlease try again. If the error persists, please read /opt/openhabian/docs/openhabian-DEBUG.md or https://github.com/openhab/openhabian/blob/main/docs/openhabian-DEBUG.md how to proceed.' 14 80
+ return 0
+ true
+ show_main_menu
+ local choice
+ local version
+ local javaVersion
+++ get_git_revision
+++ local branch
+++ local commitDate
+++ local shorthash
++++ git -C /opt/openhabian rev-parse --abbrev-ref HEAD
+++ branch=openHAB
++++ git -C /opt/openhabian log --pretty=format:%aI -n 1
+++ commitDate=2024-12-19T20:38:58-07:00
++++ git -C /opt/openhabian log --pretty=format:%h -n 1
+++ shorthash=5cd34e8
Can someone point which part is wrong with my openhabian?