00 | About openHABian Information about the openHABian project and this tool  00 | About openHABian Information about the openHABian project and this tool  00 | About openHABian Information about the openHABian project and this tool   01 | Select Branch Select the openHABian config tool version ("branch") to run [?12l[?25h(B  [?1049l+ choice='01 | Select Branch' + RET=0 + '[' 0 -eq 1 ']' + '[' 0 -eq 255 ']' + [[ 01 | Select Branch == '' ]] + [[ 01 | Select Branch == \0\0* ]] + [[ 01 | Select Branch == \0\1* ]] + openhabian_update + local branch + local branchLabel + local current + local dialogHeight=16 + local radioOptions + local introText + local key + local selection + local shorthashAfter + local shorthashBefore ++ git -C /opt/openhabian rev-parse --abbrev-ref HEAD + current=openHAB ++ timestamp ++ printf '%(%F_%T_%Z)T\n' -1 + echo -n '2023-06-08_10:45:41_CEST [openHABian] Updating myself... ' 2023-06-08_10:45:41_CEST [openHABian] Updating myself... + [[ 0 == 1 ]] + [[ -n 1 ]] + radioOptions=("release" "most recommended version that supports openHAB 4 (openHAB branch)" "OFF") + radioOptions+=("latest" "the latest of openHABian, not well tested (main branch)" "OFF") + radioOptions+=("legacy" "use for openHAB 3.x support (openHAB3 branch)" "OFF") + case "$current" in + branchLabel='the release version of openHABian' + radioOptions[2]=ON + introText='You are currently using the release version of openHABian.\n\nYou can switch openHABian version at any time by selecting this menu option again or by setting the '\''clonebranch='\'' parameter in '\''/etc/openhabian.conf'\''.\nNote: this menu only changes the version of openHABian and not openHAB. To select the openHAB version, see the '\''openHAB Related'\'' menu item.' ++ whiptail --title 'openHABian version' --radiolist 'You are currently using the release version of openHABian.\n\nYou can switch openHABian version at any time by selecting this menu option again or by setting the '\''clonebranch='\'' parameter in '\''/etc/openhabian.conf'\''.\nNote: this menu only changes the version of openHABian and not openHAB. To select the openHAB version, see the '\''openHAB Related'\'' menu item.' 16 90 3 release 'most recommended version that supports openHAB 4 (openHAB branch)' ON latest 'the latest of openHABian, not well tested (main branch)' OFF legacy 'use for openHAB 3.x support (openHAB3 branch)' OFF [?1049h[?25l(B                                                           ┌─────────────────────────────────┤ openHABian version ├─────────────────────────────────┐│ You are currently using the release version of openHABian. │ │ │ │ You can switch openHABian version at any time by selecting this menu option again or │ │ by setting the 'clonebranch=' parameter in '/etc/openhabian.conf'. │ │ Note: this menu only changes the version of openHABian and not openHAB. To select the │ │ openHAB version, see the 'openHAB Related' menu item. │ │ │ │ (*) release most recommended version that supports openHAB 4 (openHAB branch) │ │ ( ) latest the latest of openHABian, not well tested (main branch)  │ │ ( ) legacy use for openHAB 3.x support (openHAB3 branch)  │ │ │ │ │ │ │ │ │ └────────────────────────────────────────────────────────────────────────────────────────┘  *[?12l[?25h(B  [?1049l+ selection= + return 0 + '[' 0 -ne 0 ']' + true + show_main_menu + local choice + local version +++ 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=2023-06-04T23:26:19+02:00 ++++ git -C /opt/openhabian log --pretty=format:%h -n 1 +++ shorthash=d466bfa +++ echo '[openHAB]{2023-06-04T23:26:19+02:00}(d466bfa)' ++ whiptail --title 'openHABian Configuration Tool — [openHAB]{2023-06-04T23:26:19+02:00}(d466bfa)' --menu 'Setup Options' 24 118 16 --cancel-button Exit --ok-button Execute '00 | About openHABian' 'Information about the openHABian project and this tool' '' '' '01 | Select Branch' 'Select the openHABian config tool version ("branch") to run' '02 | Upgrade System' 'Update all installed software packages (incl. openHAB) to their latest version' '03 | Install openHAB' 'Install or upgrade to openHAB 3' '04 | Import config' 'Import an openHAB 3 configuration from file or URL' '' '' '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 ►' [?1049h[?25l(B                                                           ┌─────────────────┤ openHABian Configuration Tool — [openHAB]{2023-06-04T23:26:19+02:00}(d466bfa) ├──────────────────┐│ Setup Options │ │ │ │ 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 Update all installed software packages (incl. openHAB) to their latest version │ │ 03 | Install openHAB Install or upgrade to openHAB 3 │ │ 04 | Import config Import an openHAB 3 configuration from file or URL │ │ │ │ 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 ► │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ └────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘  00 | About openHABian Information about the openHABian project and this tool   01 | Select Branch Select the openHABian config tool version ("branch") to run 01 | Select Branch Select the openHABian config tool version ("branch") to run 02 | Upgrade System Update all installed software packages (incl. openHAB) to their latest version02 | Upgrade System Update all installed software packages (incl. openHAB) to their latest version03 | Install openHAB Install or upgrade to openHAB 3 03 | Install openHAB Install or upgrade to openHAB 3 04 | Import config Import an openHAB 3 configuration from file or URL 04 | Import config Import an openHAB 3 configuration from file or URL   10 | Apply Improvements Apply the latest improvements to the basic openHABian setup ► 10 | Apply Improvements Apply the latest improvements to the basic openHABian setup ► 20 | Optional Components Choose from a set of optional software components ► 20 | Optional Components Choose from a set of optional software components ► 30 | System Settings A range of system and hardware related configuration steps ► 30 | System Settings A range of system and hardware related configuration steps ► 40 | openHAB Related Switch the installed openHAB version or apply tweaks ► [?12l[?25h(B  [?1049l+ choice='40 | openHAB Related' + RET=0 + '[' 0 -eq 1 ']' + '[' 0 -eq 255 ']' + [[ 40 | openHAB Related == '' ]] + [[ 40 | openHAB Related == \0\0* ]] + [[ 40 | openHAB Related == \0\1* ]] + [[ 40 | openHAB Related == \0\2* ]] + [[ 40 | openHAB Related == \0\3* ]] + [[ 40 | openHAB Related == \0\4* ]] + [[ 40 | openHAB Related == \1\0* ]] + [[ 40 | openHAB Related == \2\0* ]] + [[ 40 | openHAB Related == \3\0* ]] + [[ 40 | openHAB Related == \4\0* ]] +++ 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=2023-06-04T23:26:19+02:00 ++++ git -C /opt/openhabian log --pretty=format:%h -n 1 +++ shorthash=d466bfa +++ echo '[openHAB]{2023-06-04T23:26:19+02:00}(d466bfa)' ++ whiptail --title 'openHABian Configuration Tool — [openHAB]{2023-06-04T23:26:19+02:00}(d466bfa)' --menu 'openHAB Related' 24 118 16 --cancel-button Back --ok-button Execute '41 | openHAB Release' 'Install or switch to the latest openHAB Release' ' | openHAB Milestone' 'Install or switch to the latest openHAB Milestone Build' ' | openHAB Snapshot' 'Install or switch to the latest openHAB Snapshot Build' '42 | Upgrade to latest openHAB' 'Upgrade OS environment to openHAB current release' ' | Downgrade to openHAB 2' 'Downgrade OS environment back to openHAB 2 (DANGEROUS)' '43 | Remote Console' 'Bind the openHAB SSH console to all external interfaces' '44 | Nginx Proxy' 'Setup reverse and forward web proxy' '45 | OpenJDK 17' 'Install and activate OpenJDK 17 as Java provider (now default)' ' | OpenJDK 11' 'Install and activate OpenJDK 11 as Java provider' ' | Zulu 11 OpenJDK 32-bit' 'Install Zulu 11 32-bit OpenJDK as Java provider' ' | Zulu 11 OpenJDK 64-bit' 'Install Zulu 11 64-bit OpenJDK as Java provider' '46 | Install openhab-js' 'JS Scripting: Upgrade to latest version of openHAB JavaScript library (advanced)' ' | Uninstall openhab-js' 'JS Scripting: Switch back to included version of openHAB JavaScript library' '47 | Install openhab_rules_tools' 'JS Scripting: Manually install openhab_rules_tools (auto-installed)' ' | Uninstall openhab_rules_tools' 'JS Scripting: Uninstall openhab_rules_tools' [?1049h[?25l(B                                                           ┌─────────────────┤ openHABian Configuration Tool — [openHAB]{2023-06-04T23:26:19+02:00}(d466bfa) ├──────────────────┐│ openHAB Related │ │ │ │41 | openHAB Release Install or switch to the latest openHAB Release  │ │ | openHAB Milestone Install or switch to the latest openHAB Milestone Build │ │ | openHAB Snapshot Install or switch to the latest openHAB Snapshot Build │ │42 | Upgrade to latest openHAB Upgrade OS environment to openHAB current release │ │ | Downgrade to openHAB 2 Downgrade OS environment back to openHAB 2 (DANGEROUS) │ │43 | Remote Console Bind the openHAB SSH console to all external interfaces │ │44 | Nginx Proxy Setup reverse and forward web proxy │ │45 | OpenJDK 17 Install and activate OpenJDK 17 as Java provider (now default) │ │ | OpenJDK 11 Install and activate OpenJDK 11 as Java provider │ │ | Zulu 11 OpenJDK 32-bit Install Zulu 11 32-bit OpenJDK as Java provider │ │ | Zulu 11 OpenJDK 64-bit Install Zulu 11 64-bit OpenJDK as Java provider │ │46 | Install openhab-js JS Scripting: Upgrade to latest version of openHAB JavaScript library (advanced) │ │ | Uninstall openhab-js JS Scripting: Switch back to included version of openHAB JavaScript library │ │47 | Install openhab_rules_tools JS Scripting: Manually install openhab_rules_tools (auto-installed) │ │ | Uninstall openhab_rules_tools JS Scripting: Uninstall openhab_rules_tools │ │ │ │ │ │ │ │ │ │ │ └────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘  41 | openHAB Release Install or switch to the latest openHAB Release  | openHAB Milestone Install or switch to the latest openHAB Milestone Build [?12l[?25h(B  [?1049l+ choice2=' | openHAB Milestone' + '[' 0 -eq 1 ']' + '[' 1 -eq 255 ']' + wait_for_apt_to_finish_update + local 'spin=-\|/' + local i + [[ -z 69321 ]] ++ timestamp ++ printf '%(%F_%T_%Z)T\n' -1 + echo -n '2023-06-08_10:45:53_CEST [openHABian] Updating Linux package information... ' 2023-06-08_10:45:53_CEST [openHABian] Updating Linux package information... + kill -0 69321 + echo OK OK ++ openhab4_is_installed +++ dpkg -s openhab +++ grep Config-Version +++ cut '-d ' -f2 +++ cut -d. -f1 ++ [[ '' =~ 4 ]] ++ return 1 ++ openhab3_is_installed +++ dpkg -s openhab +++ grep Config-Version +++ cut '-d ' -f2 +++ cut -d. -f1 ++ [[ '' =~ 3 ]] ++ return 1 ++ echo openHAB2 + version=openHAB2 + case "$choice2" in + openhab_setup openHAB2 testing + local introText + local keyName=openhab + local openhabVersion + local repo + local successText + [[ openHAB2 == \o\p\e\n\H\A\B\2 ]] + ohPkgName=openhab2 + [[ testing == \u\n\s\t\a\b\l\e ]] + [[ testing == \s\t\a\b\l\e ]] + [[ testing == \t\e\s\t\i\n\g ]] + introText='You are about to install or change to the latest milestone (testing) openhab2 build. It contains the latest features and is supposed to run stable, but if you experience bugs or incompatibilities, please help with enhancing openHAB by posting them on the community forum or by raising a GitHub issue.\n\nPlease be aware that downgrading from a newer build is not officially supported.\n\nPlease consult with the documentation or community forum and be sure to take a full openHAB configuration backup first!' + successText='The testing release of openhab2 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/openhab2'\'' 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 testing main' + [[ testing == \u\n\s\t\a\b\l\e ]] + [[ testing == \s\t\a\b\l\e ]] + [[ testing == \t\e\s\t\i\n\g ]] ++ timestamp ++ printf '%(%F_%T_%Z)T\n' -1 + echo -n '2023-06-08_10:45:53_CEST [openHABian] Beginning install of latest openhab2 milestone build (testing)... ' 2023-06-08_10:45:53_CEST [openHABian] Beginning install of latest openhab2 milestone build (testing)... + [[ -n 1 ]] + whiptail --title 'openHAB software change' --yes-button Continue --no-button Cancel --yesno 'You are about to install or change to the latest milestone (testing) openhab2 build. It contains the latest features and is supposed to run stable, but if you experience bugs or incompatibilities, please help with enhancing openHAB by posting them on the community forum or by raising a GitHub issue.\n\nPlease be aware that downgrading from a newer build is not officially supported.\n\nPlease consult with the documentation or community forum and be sure to take a full openHAB configuration backup first!' 15 80 [?1049h[?25l(B                                                           ┌─────────────────────────┤ openHAB software change ├──────────────────────────┐│ │ │ You are about to install or change to the latest milestone (testing) │ │ openhab2 build. It contains the latest features and is supposed to run │ │ stable, but if you experience bugs or incompatibilities, please help with │ │ enhancing openHAB by posting them on the community forum or by raising a │ │ GitHub issue. │ │ │ │ Please be aware that downgrading from a newer build is not officially │ │ supported. │ │ │ │ │ │  │ │ │ └──────────────────────────────────────────────────────────────────────────────┘  [?12l[?25h(B  [?1049l+ echo OK OK + export DEBIAN_FRONTEND=noninteractive + DEBIAN_FRONTEND=noninteractive + 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-06-08_10:45:57_CEST [openHABian] Adding required keys to apt... ' 2023-06-08_10:45:57_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 testing main' ++ timestamp ++ printf '%(%F_%T_%Z)T\n' -1 + echo -n '2023-06-08_10:45:58_CEST [openHABian] Installing selected openHAB2 version... ' 2023-06-08_10:45:58_CEST [openHABian] Installing selected openHAB2 version... + 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 0% [Working] Hit:1 http://deb.debian.org/debian bullseye InRelease 0% [Waiting for headers] [Waiting for headers] [Connected to deb.nodesource.com (185.22.141.9)] [Connecting to openhab.jfrog.io (34.74.126.177)] [Connecting to archive.raspberrypi.org (46.235.227.39)] Hit:2 http://deb.debian.org/debian bullseye-updates InRelease Get:3 http://davesteele.github.io/comitup/repo comitup InRelease [4,659 B] Hit:4 http://archive.raspberrypi.org/debian bullseye InRelease 0% [Waiting for headers] [Connected to deb.nodesource.com (185.22.141.9)] [Connecting to openhab.jfrog.io (34.74.126.177)] Hit:5 http://security.debian.org/debian-security bullseye-security InRelease Hit:6 https://deb.nodesource.com/node_16.x bullseye InRelease Get:7 https://openhab.jfrog.io/artifactory/openhab-linuxpkg testing InRelease [12.5 kB] 0% [Working] 0% [Working] 0% [Working] 0% [Working] 0% [Working] 0% [Working] 61% [Working] Get:8 https://openhab.jfrog.io/artifactory/openhab-linuxpkg testing/main armhf Packages [8,078 B] 75% [8 Packages 5,995 B/8,078 B 74%] 80% [Working] 80% [8 Packages store 0 B] [Waiting for headers] 80% [Waiting for headers] Get:9 https://openhab.jfrog.io/artifactory/openhab-linuxpkg testing/main arm64 Packages [8,078 B] 100% [Working] 100% [9 Packages store 0 B] 100% [Working] Fetched 33.3 kB in 4s (9,244 B/s) Reading package lists... 0% Reading package lists... 0% Reading package lists... 0% Reading package lists... 22% Reading package lists... 34% Reading package lists... 34% Reading package lists... 42% Reading package lists... 68% Reading package lists... 69% Reading package lists... 69% Reading package lists... 92% Reading package lists... 92% Reading package lists... 92% Reading package lists... 92% Reading package lists... 92% Reading package lists... 92% Reading package lists... 93% Reading package lists... 93% Reading package lists... 93% Reading package lists... 93% Reading package lists... 93% Reading package lists... 93% Reading package lists... 93% Reading package lists... 93% Reading package lists... 95% Reading package lists... 95% Reading package lists... 96% Reading package lists... 96% Reading package lists... 97% Reading package lists... 97% Reading package lists... 97% Reading package lists... 97% Reading package lists... 97% Reading package lists... 97% Reading package lists... 97% Reading package lists... 97% Reading package lists... 97% Reading package lists... 97% Reading package lists... 97% Reading package lists... 97% Reading package lists... 97% Reading package lists... 97% Reading package lists... 97% Reading package lists... 97% Reading package lists... 97% Reading package lists... 97% Reading package lists... 97% Reading package lists... 97% Reading package lists... 97% Reading package lists... 97% Reading package lists... 98% Reading package lists... 98% Reading package lists... 99% Reading package lists... 99% Reading package lists... Done + return 0 ++ apt-cache madison openhab2 ++ head -n 1 ++ cut '-d|' -f2 ++ xargs + openhabVersion=2.5.12-1 + cond_redirect apt-get install --allow-downgrades --yes -o DPkg::Lock::Timeout= --option Dpkg::Options::=--force-confnew openhab2=2.5.12-1 openhab2-addons=2.5.12-1 + [[ -n '' ]] + echo -e '\n\033[90;01m$ apt-get install --allow-downgrades --yes -o DPkg::Lock::Timeout= --option Dpkg::Options::=--force-confnew openhab2=2.5.12-1 openhab2-addons=2.5.12-1 \033[39;49;00m' $ apt-get install --allow-downgrades --yes -o DPkg::Lock::Timeout= --option Dpkg::Options::=--force-confnew openhab2=2.5.12-1 openhab2-addons=2.5.12-1  + apt-get install --allow-downgrades --yes -o DPkg::Lock::Timeout= --option Dpkg::Options::=--force-confnew openhab2=2.5.12-1 openhab2-addons=2.5.12-1 Reading package lists... 0% Reading package lists... 100% Reading package lists... Done Building dependency tree... 0% Building dependency tree... 0% Building dependency tree... 50% Building dependency tree... 50% Building dependency tree... Done Reading state information... 0% Reading state information... 0% Reading state information... Done Suggested packages: zulu-8 | zulu-embedded-8 | oracle-java8-installer | openjdk-8-jdk-headless The following packages will be REMOVED: openhab openhab-addons The following NEW packages will be installed: openhab2 openhab2-addons 0 upgraded, 2 newly installed, 2 to remove and 1 not upgraded. Need to get 282 MB of archives. After this operation, 199 MB disk space will be freed. 0% [Working] Get:1 https://openhab.jfrog.io/artifactory/openhab-linuxpkg testing/main arm64 openhab2 all 2.5.12-1 [83.0 MB] 0% [1 openhab2 504 B/83.0 MB 0%] 0% [1 openhab2 419 kB/83.0 MB 1%] 1% [1 openhab2 2,402 kB/83.0 MB 3%] 1% [1 openhab2 4,836 kB/83.0 MB 6%] 2% [1 openhab2 6,948 kB/83.0 MB 8%] 3% [1 openhab2 9,121 kB/83.0 MB 11%] 3% [1 openhab2 11.4 MB/83.0 MB 14%] 4% [1 openhab2 13.9 MB/83.0 MB 17%] 5% [1 openhab2 16.3 MB/83.0 MB 20%] 5% [1 openhab2 18.7 MB/83.0 MB 23%] 6% [1 openhab2 21.1 MB/83.0 MB 25%] 7% [1 openhab2 23.5 MB/83.0 MB 28%] 7% [1 openhab2 26.1 MB/83.0 MB 31%] 4,012 kB/s 1min 3s 8% [1 openhab2 28.6 MB/83.0 MB 35%] 4,012 kB/s 1min 3s 9% [1 openhab2 31.0 MB/83.0 MB 37%] 4,012 kB/s 1min 2s 9% [1 openhab2 33.5 MB/83.0 MB 40%] 4,012 kB/s 1min 1s 10% [1 openhab2 35.9 MB/83.0 MB 43%] 4,012 kB/s 1min 1s 11% [1 openhab2 38.4 MB/83.0 MB 46%] 4,012 kB/s 60s 12% [1 openhab2 41.0 MB/83.0 MB 49%] 4,012 kB/s 60s 12% [1 openhab2 43.5 MB/83.0 MB 52%] 4,012 kB/s 59s 13% [1 openhab2 46.0 MB/83.0 MB 55%] 4,012 kB/s 58s 14% [1 openhab2 48.5 MB/83.0 MB 59%] 4,012 kB/s 58s 15% [1 openhab2 51.2 MB/83.0 MB 62%] 4,012 kB/s 57s 15% [1 openhab2 54.0 MB/83.0 MB 65%] 4,012 kB/s 56s 16% [1 openhab2 56.8 MB/83.0 MB 69%] 5,123 kB/s 43s 17% [1 openhab2 59.7 MB/83.0 MB 72%] 5,123 kB/s 43s 18% [1 openhab2 62.7 MB/83.0 MB 76%] 5,123 kB/s 42s^C E: Method https has died unexpectedly! E: Sub-process https returned an error code (100) + return 100 + echo FAILED FAILED + return 1 + '[' 1 -ne 0 ']' + whiptail --msgbox 'There was an error or interruption during the execution of:\n "40 | openHAB Related"\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 [?1049h[?25l(B                                                           ┌──────────────────────────────────────────────────────────────────────────────┐│ │ │ There was an error or interruption during the execution of: │ │ "40 | openHAB Related" │ │ │ │ Please 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. │ │ │ │ │ │  │ │ │ └──────────────────────────────────────────────────────────────────────────────┘  [?12l[?25h(B  [?1049l+ return 0 + true + show_main_menu + local choice + local version +++ 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=2023-06-04T23:26:19+02:00 ++++ git -C /opt/openhabian log --pretty=format:%h -n 1 +++ shorthash=d466bfa +++ echo '[openHAB]{2023-06-04T23:26:19+02:00}(d466bfa)' ++ whiptail --title 'openHABian Configuration Tool — [openHAB]{2023-06-04T23:26:19+02:00}(d466bfa)' --menu 'Setup Options' 24 118 16 --cancel-button Exit --ok-button Execute '00 | About openHABian' 'Information about the openHABian project and this tool' '' '' '01 | Select Branch' 'Select the openHABian config tool version ("branch") to run' '02 | Upgrade System' 'Update all installed software packages (incl. openHAB) to their latest version' '03 | Install openHAB' 'Install or upgrade to openHAB 3' '04 | Import config' 'Import an openHAB 3 configuration from file or URL' '' '' '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 ►' [?1049h[?25l(B                                                           ┌─────────────────┤ openHABian Configuration Tool — [openHAB]{2023-06-04T23:26:19+02:00}(d466bfa) ├──────────────────┐│ Setup Options │ │ │ │ 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 Update all installed software packages (incl. openHAB) to their latest version │ │ 03 | Install openHAB Install or upgrade to openHAB 3 │ │ 04 | Import config Import an openHAB 3 configuration from file or URL │ │ │ │ 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 ► │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ └────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘  00 | About openHABian Information about the openHABian project and this tool   01 | Select Branch Select the openHABian config tool version ("branch") to run 01 | Select Branch Select the openHABian config tool version ("branch") to run 02 | Upgrade System Update all installed software packages (incl. openHAB) to their latest version02 | Upgrade System Update all installed software packages (incl. openHAB) to their latest version03 | Install openHAB Install or upgrade to openHAB 3 03 | Install openHAB Install or upgrade to openHAB 3 04 | Import config Import an openHAB 3 configuration from file or URL 04 | Import config Import an openHAB 3 configuration from file or URL   10 | Apply Improvements Apply the latest improvements to the basic openHABian setup ► 10 | Apply Improvements Apply the latest improvements to the basic openHABian setup ► 20 | Optional Components Choose from a set of optional software components ► 20 | Optional Components Choose from a set of optional software components ► [?12l[?25h(B  [?1049l+ choice= + RET=1 + '[' 1 -eq 1 ']' + return 255 + system_check_default_password + is_pi + is_pifour + [[ '' == \p\i\4 ]] + grep -q '^Revision\s*:\s*[ 123][0-9a-fA-F][0-9a-fA-F][0-9a-fA-F]11[0-9a-fA-F]$' /proc/cpuinfo + return 0 + return 0 + local algo + local defaultPassword + local defaultUser + local generatedPassword + local introText + local originalPassword + local salt + is_pi + is_pifour + [[ '' == \p\i\4 ]] + grep -q '^Revision\s*:\s*[ 123][0-9a-fA-F][0-9a-fA-F][0-9a-fA-F]11[0-9a-fA-F]$' /proc/cpuinfo + return 0 + return 0 + id -u pi + is_pi + is_pifour + [[ '' == \p\i\4 ]] + grep -q '^Revision\s*:\s*[ 123][0-9a-fA-F][0-9a-fA-F][0-9a-fA-F]11[0-9a-fA-F]$' /proc/cpuinfo + return 0 + return 0 + defaultUser=openhabian + defaultPassword=openhabian ++ grep -w openhabian /etc/shadow ++ cut -d: -f2 + originalPassword='$6$kN31GKK7IeoV3FGR$YogqesS5/YOwY0f/luZUtstOsxdMpbcckx9O3UOIhzd2ExUsIPmT0t6gBDuURr16tEJvNMaj00WT7QwnO1sCx.' ++ echo '$6$kN31GKK7IeoV3FGR$YogqesS5/YOwY0f/luZUtstOsxdMpbcckx9O3UOIhzd2ExUsIPmT0t6gBDuURr16tEJvNMaj00WT7QwnO1sCx.' ++ cut '-d$' -f2 + algo=6 + introText='The default password was detected on your system! That is a serious security concern. Bad guys or malicious programs in your subnet are able to gain root access!\n\nPlease set a strong password by typing the command '\''passwd openhabian'\''!' ++ echo '$6$kN31GKK7IeoV3FGR$YogqesS5/YOwY0f/luZUtstOsxdMpbcckx9O3UOIhzd2ExUsIPmT0t6gBDuURr16tEJvNMaj00WT7QwnO1sCx.' ++ cut '-d$' -f3 + salt=kN31GKK7IeoV3FGR + export algo defaultPassword salt ++ perl -le 'print crypt("$ENV{defaultPassword}","\$$ENV{algo}\$$ENV{salt}\$")' + generatedPassword='$6$kN31GKK7IeoV3FGR$YogqesS5/YOwY0f/luZUtstOsxdMpbcckx9O3UOIhzd2ExUsIPmT0t6gBDuURr16tEJvNMaj00WT7QwnO1sCx.' ++ timestamp ++ printf '%(%F_%T_%Z)T\n' -1 + echo -n '2023-06-08_10:46:28_CEST [openHABian] Checking for default openHABian username:password combination... ' 2023-06-08_10:46:28_CEST [openHABian] Checking for default openHABian username:password combination... ++ id -u openhabian + [[ -n 1000 ]] + [[ $6$kN31GKK7IeoV3FGR$YogqesS5/YOwY0f/luZUtstOsxdMpbcckx9O3UOIhzd2ExUsIPmT0t6gBDuURr16tEJvNMaj00WT7QwnO1sCx. == \$\6\$\k\N\3\1\G\K\K\7\I\e\o\V\3\F\G\R\$\Y\o\g\q\e\s\S\5\/\Y\O\w\Y\0\f\/\l\u\Z\U\t\s\t\O\s\x\d\M\p\b\c\c\k\x\9\O\3\U\O\I\h\z\d\2\E\x\U\s\I\P\m\T\0\t\6\g\B\D\u\U\R\r\1\6\t\E\J\v\N\M\a\j\0\0\W\T\7\Q\w\n\O\1\s\C\x\. ]] + [[ -n 1 ]] + whiptail --title 'Default password detected' --msgbox 'The default password was detected on your system! That is a serious security concern. Bad guys or malicious programs in your subnet are able to gain root access!\n\nPlease set a strong password by typing the command '\''passwd openhabian'\''!' 11 80 [?1049h[?25l(B                                                           ┌────────────────────────┤ Default password detected ├─────────────────────────┐│ │ │ The default password was detected on your system! That is a serious security │ │ concern. Bad guys or malicious programs in your subnet are able to gain root │ │ access! │ │ │ │ Please set a strong password by typing the command 'passwd openhabian'! │ │ │ │  │ │ │ └──────────────────────────────────────────────────────────────────────────────┘  [?12l[?25h(B  [?1049l+ echo FAILED FAILED ++ timestamp ++ printf '%(%F_%T_%Z)T\n' -1 + echo -e '2023-06-08_10:46:29_CEST [openHABian] We hope you got what you came for! See you again soon ;)' 2023-06-08_10:46:29_CEST [openHABian] We hope you got what you came for! See you again soon ;) + cd /home/openhabian [?2004h]0;openhabian@openhabian: ~openhabian@openhabian:~ $