openHABian hassle-free openHAB Setup

Hello openHABIans,

Just want to say thank you!

I reanstalled my complete openHAB installation 3.2 based on openHABian 1.7 bullseye this weekend.
First time that I used the backup and restore functionality. Everything worked really smooth.

Also homegear 0.8 based on nightly builds (with homematicBidCoS) is running stable (installed by hand, because in the release notes is mentioned that it does not work)

Cool, thanks for your work on the project!

4 posts were split to a new topic: Homegear install

7 posts were split to a new topic: Java mem increase in openHABian

There’s a problem when trying to install InfluxDB and Grafana since the InfluxDB repo keys have been updated.

See Update: Linux Package Signing Key Rotation | InfluxData for a fix.

During troubleshooting I tried to install openhabian several times today. While it worked this morning, it is failing now. Openhab itself is not installed at all. @mstormi I get an error message from a line you changed today:

/opt/openhabian/functions/openhab.bash: line 97: openhab-addons=4.0.1-1: command not found

update and try again

Thanks for the fast reply! Unfortunately it is still not working, but now it fails differently. I think this is the relevant part of the log:

2023-08-12_20:23:54_CEST [openHABian] Installing selected openHAB3 version... 
e[90;01m$ apt-get update e[39;49;00m
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
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 2s (11.1 kB/s)
Reading package lists...

e[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 e[39;49;00m
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'
FAILED

Although I selected the openHAB3 branch it tries to download 4.0.1.

Unfortunately I forgot to activate maximum logging. Here is the full log anyway:

2023-05-13_10:37:22_UTC [openHABian] Starting the openHABian initial setup.
2023-05-13_10:37:22_UTC [openHABian] Storing configuration... OK
2023-05-13_10:37:22_UTC [openHABian] Starting webserver with installation log... OK
2023-05-13_10:37:27_UTC [openHABian] Changing default username and password... SKIPPED
2023-05-13_10:37:27_UTC [openHABian] Setting up Ethernet connection... OK
e[33;01m
executing ping -c1 8.8.8.8 &> /dev/null || curl --silent --head https://www.openhab.org/docs/ |& grep -qs 'HTTP/[^ ]*[ ]200' e[39;49;00m
2023-05-13_10:37:27_UTC [openHABian] Ensuring network connectivity... e[33;01m
executing ping -c1 8.8.8.8 &> /dev/null || curl --silent --head http://www.openhab.org/docs |& grep -qs 'HTTP/1.1 200 OK' e[39;49;00m
OK
2023-05-13_10:37:27_UTC [openHABian] Waiting for dpkg/apt to get ready... OK
2023-05-13_10:37:35_UTC [openHABian] Updating repositories and upgrading installed packages... OK
2023-08-12_18:19:12_UTC [openHABian] Installing git package... OK
2023-08-12_18:19:24_UTC [openHABian] Updating myself from https://github.com/openhab/openhabian, openHAB3 branch... OK
2023-08-12_18:19:27_UTC [openHABian] Starting execution of 'openhabian-config unattended'... OK
2023-08-12_18:19:27_UTC [openHABian] Checking for root privileges... OK

e[90;01m$ wget -nv -O /etc/init.d/openhabian-config https://github.com/RPi-Distro/raspi-config/raw/master/debian/raspi-config.init e[39;49;00m
2023-08-12 18:19:28 URL:https://raw.githubusercontent.com/RPi-Distro/raspi-config/master/debian/raspi-config.init [1999/1999] -> "/etc/init.d/openhabian-config" [1]
2023-08-12_18:19:28_UTC [openHABian] Updating Linux package information... \ e[2D| e[2D/ e[2D- e[2D\ e[2D| e[2D/ e[2D- e[2D\ e[2D| e[2D/ e[2D- e[2D\ e[2D| e[2D/ e[2D- e[2D\ e[2D| e[2D/ e[2D- e[2D\ e[2DOK
2023-08-12_18:19:39_UTC [openHABian] Loading configuration file '/etc/openhabian.conf'... OK
2023-08-12_18:19:39_UTC [openHABian] Adjusting swap size to 7775 MB... 
e[90;01m$ dphys-swapfile swapoff e[39;49;00m

e[90;01m$ sed -i s|^#*.*CONF_SWAPSIZE=.*$|CONF_SWAPSIZE=7775|g /etc/dphys-swapfile e[39;49;00m

e[90;01m$ dphys-swapfile swapon e[39;49;00m
OK (reboot required)
2023-08-12_18:19:39_UTC [openHABian] Setting timezone based on openhabian.conf... 
e[90;01m$ timedatectl set-timezone Europe/Berlin e[39;49;00m
OK (Europe/Berlin)
2023-08-12_20:19:39_CEST [openHABian] Setting locale based on openhabian.conf... 
e[90;01m$ locale-gen e[39;49;00m
Generating locales (this might take a while)...
  de_DE.UTF-8... done
  en_GB.UTF-8... done
  en_US.UTF-8... done
Generation complete.

e[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 e[39;49;00m
OK (reboot required)
2023-08-12_20:19:55_CEST [openHABian] Setting hostname of the base system based on openhabian.conf... 
e[90;01m$ hostnamectl set-hostname openhabianpi e[39;49;00m
OK
2023-08-12_20:19:56_CEST [openHABian] Setting the GPU memory split down to 16MB for headless system... 
e[90;01m$ sed -i s|gpu_mem=.*$|gpu_mem=16|g /boot/config.txt e[39;49;00m
OK
2023-08-12_20:19:56_CEST [openHABian] Enabling Audio output... 
e[90;01m$ sed -i s|dtparam=audio.*$|dtparam=audio=on|g /boot/config.txt e[39;49;00m

e[90;01m$ adduser openhabian audio e[39;49;00m
The user `openhabian' is already a member of `audio'.
OK
2023-08-12_20:19:56_CEST [openHABian] Installing basic can't-be-wrong packages (screen, vim, ...)... 
e[90;01m$ apt-get -o DPkg::Lock::Timeout=60 purge --yes raspi-config e[39;49;00m
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) ...

e[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 e[39;49;00m
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.netcologne.de/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,949 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) ...
OK
2023-08-12_20:21:17_CEST [openHABian] Installing additional needed packages... 
e[90;01m$ apt-get -o DPkg::Lock::Timeout=60 install --yes apt-transport-https avahi-daemon bc jq mbpoll moreutils python3 python3-pip python3-wheel python3-setuptools sysstat fontconfig e[39;49;00m
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 libmodbus5 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 libmodbus5 libonig5 libpython3-dev libpython3.9-dev
  libsensors-config libsensors5 libtime-duration-perl libtimedate-perl mbpoll
  moreutils python-pip-whl python3-dev python3-distutils python3-lib2to3
  python3-pip python3-setuptools python3-wheel python3.9-dev sysstat
0 upgraded, 31 newly installed, 0 to remove and 14 not upgraded.
Need to get 55.9 kB/9,196 kB of archives.
After this operation, 27.7 MB of additional disk space will be used.
Get:1 http://ftp.halifax.rwth-aachen.de/raspbian/raspbian bullseye/main armhf libmodbus5 armhf 3.1.6-2 [30.0 kB]
Get:2 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf mbpoll armhf 1.4.11+dfsg-2 [26.0 kB]
Preconfiguring packages ...
Fetched 55.9 kB in 1s (111 kB/s)
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 libmodbus5:armhf.
Preparing to unpack .../13-libmodbus5_3.1.6-2_armhf.deb ...
Unpacking libmodbus5:armhf (3.1.6-2) ...
Selecting previously unselected package libpython3.9-dev:armhf.
Preparing to unpack .../14-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 .../15-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 .../16-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 .../17-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 .../18-libtime-duration-perl_1.21-1_all.deb ...
Unpacking libtime-duration-perl (1.21-1) ...
Selecting previously unselected package libtimedate-perl.
Preparing to unpack .../19-libtimedate-perl_2.3300-2_all.deb ...
Unpacking libtimedate-perl (2.3300-2) ...
Selecting previously unselected package mbpoll.
Preparing to unpack .../20-mbpoll_1.4.11+dfsg-2_armhf.deb ...
Unpacking mbpoll (1.4.11+dfsg-2) ...
Selecting previously unselected package moreutils.
Preparing to unpack .../21-moreutils_0.65-1_armhf.deb ...
Unpacking moreutils (0.65-1) ...
Selecting previously unselected package python-pip-whl.
Preparing to unpack .../22-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 .../23-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 .../24-python3-lib2to3_3.9.2-1_all.deb ...
Unpacking python3-lib2to3 (3.9.2-1) ...
Selecting previously unselected package python3-distutils.
Preparing to unpack .../25-python3-distutils_3.9.2-1_all.deb ...
Unpacking python3-distutils (3.9.2-1) ...
Selecting previously unselected package python3-dev.
Preparing to unpack .../26-python3-dev_3.9.2-3_armhf.deb ...
Unpacking python3-dev (3.9.2-3) ...
Selecting previously unselected package python3-setuptools.
Preparing to unpack .../27-python3-setuptools_52.0.0-4_all.deb ...
Unpacking python3-setuptools (52.0.0-4) ...
Selecting previously unselected package python3-wheel.
Preparing to unpack .../28-python3-wheel_0.34.2-1_all.deb ...
Unpacking python3-wheel (0.34.2-1) ...
Selecting previously unselected package python3-pip.
Preparing to unpack .../29-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 .../30-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 libmodbus5:armhf (3.1.6-2) ...
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 mbpoll (1.4.11+dfsg-2) ...
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) ...
OK
2023-08-12_20:21:59_CEST [openHABian] Installing python3 serial package... 
e[90;01m$ apt-get install --yes -o DPkg::Lock::Timeout=60 python3-smbus python3-serial e[39;49;00m
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:3 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf python3-serial all 3.5~b0-1 [88.8 kB]
Get:4 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf python3-smbus armhf 4.2-1+b1 [12.5 kB]
Get:5 http://mirror1.hs-esslingen.de/pub/Mirrors/archive.raspbian.org/raspbian bullseye/main armhf read-edid armhf 3.0.2-1.1 [14.9 kB]
Fetched 205 kB in 1s (202 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 ... 49856 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) ...
OK
2023-08-12_20:22:09_CEST [openHABian] Installing pigpio package... 
e[90;01m$ apt-get install --yes -o DPkg::Lock::Timeout=60 pigpio e[39;49;00m
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 (720 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 ... 49962 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) ...
OK
2023-08-12_20:22:18_CEST [openHABian] Installing additional bluetooth packages... 
e[90;01m$ apt-get install --yes -o DPkg::Lock::Timeout=60 bluez python3-dev libbluetooth-dev raspberrypi-sys-mods pi-bluetooth e[39;49;00m
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 (855 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 ... 50009 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.
OK
2023-08-12_20:22:32_CEST [openHABian] Adding slightly tuned bash configuration files to system... OK
2023-08-12_20:22:32_CEST [openHABian] Adding slightly tuned vim configuration file to system... OK
2023-08-12_20:22:32_CEST [openHABian] tailscale VPN installation... SKIPPED (no preauthkey defined)
2023-08-12_20:22:32_CEST [openHABian] Applying miscellaneous system settings... e[33;01mCreating a README note for end user's home foldere[39;49;00m
e[33;01mCreating SSH key filese[39;49;00m

e[90;01m$ mkdir -p /home/openhabian/.ssh e[39;49;00m

e[90;01m$ chmod 700 /home/openhabian/.ssh e[39;49;00m

e[90;01m$ touch /home/openhabian/.ssh/authorized_keys e[39;49;00m

e[90;01m$ chmod 600 /home/openhabian/.ssh/authorized_keys e[39;49;00m

e[90;01m$ chown -R openhabian:openhabian /home/openhabian/.ssh e[39;49;00m
e[33;01mCreating persistent systemd journal folder location: /var/log/journale[39;49;00m

e[90;01m$ mkdir -p /var/log/journal e[39;49;00m

e[90;01m$ systemd-tmpfiles --create --prefix /var/log/journal e[39;49;00m
e[33;01mKeeping at most 30 days of systemd journal entriese[39;49;00m

e[90;01m$ journalctl --vacuum-time=30d e[39;49;00m
Vacuuming done, freed 0B of archived journals from /var/log/journal.
Deleted archived journal /var/log/journal/f539c584205942aaa0c622ca2fe021f1/system@8de75946cd404bdd84ba70de146a5a8c-0000000000000001-0005fb90cd43576b.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.

e[90;01m$ install -m 755 /opt/openhabian/includes/INA219.py /usr/local/bin/waveshare_ups e[39;49;00m
e[33;01mSetting a distinguishable apt User-Agente[39;49;00m
OK

e[90;01m$ wget --no-check-certificate -O /home/openhabian/.ssh/authorized_keys.NEW http://chaos-home.lan:8080/id_rsa.pub e[39;49;00m
--2023-08-12 20:22:33--  http://chaos-home.lan:8080/id_rsa.pub
Resolving chaos-home.lan (chaos-home.lan)... 192.168.1.14
Connecting to chaos-home.lan (chaos-home.lan)|192.168.1.14|:8080... connected.
HTTP request sent, awaiting response... 200 OK
Length: 398 [application/vnd.exstream-package]
Saving to: β€˜/home/openhabian/.ssh/authorized_keys.NEW’

     0K                                                       100% 2.97M=0s

2023-08-12 20:22:33 (2.97 MB/s) - β€˜/home/openhabian/.ssh/authorized_keys.NEW’ saved [398/398]

/opt/openhabian/functions/auth.bash: line 136: /var/lib/openhab/etc/keys.properties: No such file or directory
2023-08-12_20:22:33_CEST [openHABian] Downloading FireMotD... e[33;01m
Update... e[39;49;00m

e[90;01m$ update_git_repo /opt/FireMotD master e[39;49;00m
2023-08-12_20:22:33_CEST [openHABian] Updating FireMotD, master branch from git... 
e[90;01m$ git -C /opt/FireMotD fetch origin e[39;49;00m

e[90;01m$ git -C /opt/FireMotD fetch --tags --force --prune e[39;49;00m

e[90;01m$ git -C /opt/FireMotD reset --hard origin/master e[39;49;00m
HEAD is now at 3d2bea6 fix

e[90;01m$ git -C /opt/FireMotD clean --force -x -d e[39;49;00m

e[90;01m$ git -C /opt/FireMotD checkout master e[39;49;00m
Already on 'master'
Your branch is up to date with 'origin/master'.
OK
OK
2023-08-12_20:22:34_CEST [openHABian] Installing FireMotD... 
e[90;01m$ make --always-make --directory=/opt/FireMotD install e[39;49;00m
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'

e[90;01m$ make --always-make --directory=/opt/FireMotD bash_completion e[39;49;00m
make: Entering directory '/opt/FireMotD'
cp bash_completion.d/FireMotD /etc/bash_completion.d/FireMotD
make: Leaving directory '/opt/FireMotD'
OK
2023-08-12_20:22:34_CEST [openHABian] Generating FireMotD theme... 
e[90;01m$ FireMotD -S -d -D all e[39;49;00m
2023-08-12 20:22:34,803: FireMotD: Info: Debug mode 
2023-08-12 20:22:34,813: FireMotD: Info: FireMotD action save started 
2023-08-12 20:22:34,824: FireMotD: Info: Action "save" 
2023-08-12 20:22:34,843: FireMotD: Info: Exportfile /usr/share/firemotd/data/FireMotD.json not found.  
2023-08-12 20:22:34,861: FireMotD: Info: Template type set to all. Overwriting.. 
2023-08-12 20:22:35,008: FireMotD: Info: Exploring HostIp 
2023-08-12 20:22:35,330: FireMotD: Info: Exploring Release 
2023-08-12 20:22:35,579: FireMotD: Info: Exploring Kernel 
2023-08-12 20:22:35,834: FireMotD: Info: Exploring Platform 
2023-08-12 20:22:36,103: FireMotD: Info: Exploring InstallDate 
2023-08-12 20:22:36,328: 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 <owner@openhab.org>
W: Failed to fetch https://openhab.jfrog.io/artifactory/openhab-linuxpkg/dists/stable/InRelease  The following signatures were invalid: EXPKEYSIG 075721F6A224060A openHAB Bintray Repositories <owner@openhab.org>
W: Some index files failed to download. They have been ignored, or old ones used instead.
2023-08-12 20:22:44,349: FireMotD: Info: Exploring Httpd 
2023-08-12 20:22:44,576: FireMotD: Info: Exploring Nginx 
2023-08-12 20:22:44,822: FireMotD: Info: Exploring Mysql 
2023-08-12 20:22:45,140: FireMotD: Info: Exploring Postgres 
2023-08-12 20:22:45,366: FireMotD: Info: Exploring Php 
2023-08-12 20:22:45,724: FireMotD: Info: Exploring Elasticsearch 
2023-08-12 20:22:46,290: FireMotD: Info: Exploring Logstash 
2023-08-12 20:22:46,507: FireMotD: Info: Exploring Kibana 
2023-08-12 20:22:46,735: FireMotD: Info: Export system data to "/usr/share/firemotd/data/FireMotD.json" finished. 
2023-08-12 20:22:46,754: FireMotD: Info: ExportFile: -rwxrw-rw- 1 root root 3233 Aug 12 20:22 /usr/share/firemotd/data/FireMotD.json 
2023-08-12 20:22:46,766: FireMotD: Info: FireMotD action save finished 

e[90;01m$ FireMotD -G Gray e[39;49;00m
OK
2023-08-12_20:23:04_CEST [openHABian] Setting up FireMotD apt updates count service... e[33;01m
Make FireMotD check for new updates every night... e[39;49;00m

e[90;01m$ install -m 644 /opt/openhabian/includes/firemotd/firemotd.service /opt/openhabian/includes/firemotd/firemotd.timer /etc/systemd/system/ e[39;49;00m

e[90;01m$ systemctl -q daemon-reload e[39;49;00m
e[33;01m
Make FireMotD check for new updates after using apt... e[39;49;00m

e[90;01m$ install -m 644 /opt/openhabian/includes/firemotd/15firemotd /etc/apt/apt.conf.d/ e[39;49;00m
e[33;01m
Initial FireMotD updates checke[39;49;00m

e[90;01m$ FireMotD -S e[39;49;00m
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 <owner@openhab.org>
W: Failed to fetch https://openhab.jfrog.io/artifactory/openhab-linuxpkg/dists/stable/InRelease  The following signatures were invalid: EXPKEYSIG 075721F6A224060A openHAB Bintray Repositories <owner@openhab.org>
W: Some index files failed to download. They have been ignored, or old ones used instead.
OK
2023-08-12_20:23:17_CEST [openHABian] Fetching OpenJDK 17... 
e[90;01m$ apt-get install --download-only --yes openjdk-17-jre-headless e[39;49;00m
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 6s (6,330 kB/s)
Download complete and in download only mode
OK
2023-08-12_20:23:25_CEST [openHABian] Installing OpenJDK 17... 
e[90;01m$ java_alternatives_reset e[39;49;00m
find: β€˜/opt/jdk/*/bin’: No such file or directory
find: β€˜...’: No such file or directory

e[90;01m$ find  -maxdepth 1 -perm -111 -type f -exec bash -c update-alternatives --quiet --remove-all $(basename {}) ; e[39;49;00m
find: β€˜β€™: No such file or directory

e[90;01m$ apt-get install --yes -o DPkg::Lock::Timeout=60 openjdk-17-jre-headless e[39;49;00m
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 ... 50118 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.<clinit>(Security.java:82)
	at java.base/sun.security.jca.ProviderList.<init>(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.<clinit>(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.<init>(KeyStoreHandler.java:50)
	at org.debian.security.UpdateCertificates.<init>(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)
FAILED
2023-08-12_20:23:53_CEST [openHABian] Beginning install of latest openhab release (stable repo)... OK
2023-08-12_20:23:53_CEST [openHABian] Adding required keys to apt... OK
2023-08-12_20:23:54_CEST [openHABian] Installing selected openHAB3 version... 
e[90;01m$ apt-get update e[39;49;00m
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
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 2s (11.1 kB/s)
Reading package lists...

e[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 e[39;49;00m
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'
FAILED
2023-08-12_20:24:00_CEST [openHABian] Getting initial openHAB configuration... OK
2023-08-12_20:24:01_CEST [openHABian] openHAB is not installed! Canceling openHAB backup restoration!
2023-08-12_20:24:01_CEST [openHABian] Activating the openHAB console on all interfaces... 
e[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 e[39;49;00m
sed: can't read /etc/openhab/services/runtime.cfg: No such file or directory
FAILED (sshHost)
2023-08-12_20:24:01_CEST [openHABian] Adding openHAB syntax to vim editor... 
e[90;01m$ mkdir -p /home/openhabian/.vim/ftdetect /home/openhabian/.vim/syntax e[39;49;00m

e[90;01m$ wget -O /home/openhabian/.vim/syntax/openhab.vim https://github.com/cyberkov/openhab-vim/raw/master/syntax/openhab.vim e[39;49;00m
--2023-08-12 20:24:01--  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:24:01--  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% 4.40M=0.001s

2023-08-12 20:24:01 (4.40 MB/s) - β€˜/home/openhabian/.vim/syntax/openhab.vim’ saved [6065/6065]


e[90;01m$ wget -O /home/openhabian/.vim/ftdetect/openhab.vim https://github.com/cyberkov/openhab-vim/raw/master/ftdetect/openhab.vim e[39;49;00m
--2023-08-12 20:24:01--  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:24:02--  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% 6.29M=0s

2023-08-12 20:24:02 (6.29 MB/s) - β€˜/home/openhabian/.vim/ftdetect/openhab.vim’ saved [661/661]

OK
2023-08-12_20:24:02_CEST [openHABian] Adding openHAB syntax to nano editor... 
e[90;01m$ wget -O /usr/share/nano/openhab.nanorc https://github.com/airix1/openhabnano/raw/master/openhab.nanorc e[39;49;00m
--2023-08-12 20:24:02--  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:24:02--  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% 7.23M=0s

2023-08-12 20:24:02 (7.23 MB/s) - β€˜/usr/share/nano/openhab.nanorc’ saved [2927/2927]

OK
2023-08-12_20:24:02_CEST [openHABian] Adding openHAB scheme to multitail... 
e[90;01m$ sed -i -e /^.*multitail.*openhab.*$/d /etc/multitail.conf e[39;49;00m

e[90;01m$ sed -i -e s|^# misc.*$|# openHAB logs\ninclude:/etc/multitail.openhab.conf\n#\n# misc|g /etc/multitail.conf e[39;49;00m
OK
2023-08-12_20:24:02_CEST [openHABian] Preparing openHAB folder mounts under '/srv/openhab-*'... 
e[90;01m$ umount -q /srv/openhab-sys /srv/openhab-conf /srv/openhab-userdata /srv/openhab-addons e[39;49;00m
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.

e[90;01m$ rm -f /etc/systemd/system/srv*.mount e[39;49;00m

e[90;01m$ mkdir -p /srv/openhab-sys /srv/openhab-conf /srv/openhab-userdata /srv/openhab-addons e[39;49;00m

e[90;01m$ cp /opt/openhabian/includes/srv_readme.txt /srv/README.txt e[39;49;00m

e[90;01m$ chmod ugo+w /srv /srv/README.txt e[39;49;00m

e[90;01m$ create_mount /usr/share/openhab sys e[39;49;00m
2023-08-12_20:24:02_CEST [openHABian] Creating mount /usr/share/openhab in '/srv/openhab-sys'... 
e[90;01m$ systemctl -q daemon-reload e[39;49;00m

e[90;01m$ systemctl enable --now srv-openhab-sys.mount e[39;49;00m
Created symlink /etc/systemd/system/multi-user.target.wants/srv-openhab\x2dsys.mount β†’ /etc/systemd/system/srv-openhab\x2dsys.mount.
OK

e[90;01m$ create_mount /etc/openhab conf e[39;49;00m
2023-08-12_20:24:04_CEST [openHABian] Creating mount /etc/openhab in '/srv/openhab-conf'... 
e[90;01m$ systemctl -q daemon-reload e[39;49;00m

e[90;01m$ systemctl enable --now srv-openhab-conf.mount e[39;49;00m
Created symlink /etc/systemd/system/multi-user.target.wants/srv-openhab\x2dconf.mount β†’ /etc/systemd/system/srv-openhab\x2dconf.mount.
OK

e[90;01m$ create_mount /var/lib/openhab userdata e[39;49;00m
2023-08-12_20:24:05_CEST [openHABian] Creating mount /var/lib/openhab in '/srv/openhab-userdata'... 
e[90;01m$ systemctl -q daemon-reload e[39;49;00m

e[90;01m$ systemctl enable --now srv-openhab-userdata.mount e[39;49;00m
Created symlink /etc/systemd/system/multi-user.target.wants/srv-openhab\x2duserdata.mount β†’ /etc/systemd/system/srv-openhab\x2duserdata.mount.
OK

e[90;01m$ create_mount /usr/share/openhab/addons addons e[39;49;00m
2023-08-12_20:24:06_CEST [openHABian] Creating mount /usr/share/openhab/addons in '/srv/openhab-addons'... 
e[90;01m$ systemctl -q daemon-reload e[39;49;00m

e[90;01m$ systemctl enable --now srv-openhab-addons.mount e[39;49;00m
Created symlink /etc/systemd/system/multi-user.target.wants/srv-openhab\x2daddons.mount β†’ /etc/systemd/system/srv-openhab\x2daddons.mount.
OK
OK
2023-08-12_20:24:07_CEST [openHABian] Installing Samba... 
e[90;01m$ apt-get install --yes -o DPkg::Lock::Timeout=60 samba e[39;49;00m
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:1 http://ftp.halifax.rwth-aachen.de/raspbian/raspbian bullseye/main armhf python3-dnspython all 2.0.0-1 [103 kB]
Get:2 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf libtdb1 armhf 1.4.3-1+b1 [44.9 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:7 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf samba-libs armhf 2:4.13.13+dfsg-1~deb11u5 [4,965 kB]
Get:6 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf python3-talloc armhf 2.3.1-2+b1 [16.5 kB]
Get:9 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf samba-common all 2:4.13.13+dfsg-1~deb11u5 [171 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:11 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf tdb-tools armhf 1.4.3-1+b1 [30.5 kB]
Get:12 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf samba armhf 2:4.13.13+dfsg-1~deb11u5 [1,097 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:13 http://ftp.halifax.rwth-aachen.de/raspbian/raspbian bullseye/main armhf attr armhf 1:2.4.48-6 [40.0 kB]
Get:14 http://mirror.de.leaseweb.net/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:17 http://mirror1.hs-esslingen.de/pub/Mirrors/archive.raspbian.org/raspbian bullseye/main armhf libboost-thread1.74.0 armhf 1.74.0-9 [271 kB]
Get:16 http://debian.bio.lmu.de/raspbian/raspbian bullseye/main armhf libboost-iostreams1.74.0 armhf 1.74.0-9 [260 kB]
Get:18 http://mirror1.hs-esslingen.de/pub/Mirrors/archive.raspbian.org/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: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://mirror1.hs-esslingen.de/pub/Mirrors/archive.raspbian.org/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.cxserv.de/raspbian bullseye/main armhf libgfapi0 armhf 9.2-1 [3,085 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:25 http://mirror1.hs-esslingen.de/pub/Mirrors/archive.raspbian.org/raspbian bullseye/main armhf liburing1 armhf 0.7-3 [7,708 B]
Get:26 http://mirror1.hs-esslingen.de/pub/Mirrors/archive.raspbian.org/raspbian bullseye/main armhf python3-cffi-backend armhf 1.14.5-1 [76.1 kB]
Get:29 http://ftp.gwdg.de/pub/linux/debian/raspbian/raspbian bullseye/main armhf python3-markdown all 3.3.4-1 [71.4 kB]
Get:31 http://mirror.cxserv.de/raspbian bullseye/main armhf python3-requests-toolbelt all 0.9.1-1 [41.7 kB]
Get:30 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf python3-pygments all 2.7.1+dfsg-2.1 [657 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 8s (3,684 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 ... 50467 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 ... 
OK
2023-08-12_20:25:21_CEST [openHABian] Setting up Samba network shares... e[33;01m
Copying over custom 'smb.conf'... e[39;49;00m

e[90;01m$ cp /opt/openhabian/includes/smb.conf /etc/samba/smb.conf e[39;49;00m
e[33;01m
Writing authentication data to openHABian default... e[39;49;00m
OK
2023-08-12_20:25:21_CEST [openHABian] Setting up Samba service... 
e[90;01m$ mkdir -p /var/log/samba /run/samba e[39;49;00m

e[90;01m$ sed -i -E -e /PIDFile/d; /NotifyAccess/ a PIDFile=smbd.pid
RuntimeDirectory=samba /lib/systemd/system/smbd.service e[39;49;00m

e[90;01m$ zram_dependency install nmbd smbd e[39;49;00m
OK

e[90;01m$ sed -i -e s|^userpw=.*$|\#userpw=xxxxxx|g /etc/openhabian.conf e[39;49;00m
2023-08-12_20:25:23_CEST [openHABian] Installing Frontail prerequsites (NodeJS)... 
e[90;01m$ nodejs_setup e[39;49;00m
2023-08-12_20:25:23_CEST [openHABian] Adding required keys to apt... OK
2023-08-12_20:25:24_CEST [openHABian] Adding NodeSource repository to apt... 
e[90;01m$ apt-get update e[39;49;00m
Hit:1 http://archive.raspberrypi.org/debian bullseye InRelease
Hit:2 http://davesteele.github.io/comitup/repo comitup InRelease
Hit:3 https://deb.nodesource.com/node_18.x bullseye InRelease
Hit:4 http://raspbian.raspberrypi.org/raspbian bullseye InRelease
Hit:5 https://openhab.jfrog.io/artifactory/openhab-linuxpkg stable InRelease
Reading package lists...
OK
2023-08-12_20:25:28_CEST [openHABian] Installing NodeJS... 
e[90;01m$ apt-get install --yes -o DPkg::Lock::Timeout=60 nodejs e[39;49;00m
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,251 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 ... 52293 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 ... 
OK
OK

e[90;01m$ useradd --groups openhabian,openhab -s /bin/bash -d /var/tmp frontail e[39;49;00m
useradd: group 'openhab' does not exist
FAILED (adduser)
Failed to open terminal.e[1;24re[4le)0e[me[37me[40me[1;24re[He[Je[1;1He[35me[K
e[K
e[K
e[K
e[K
e[K
e[K
e[K
e[K
e[K
e[K
e[K
e[K
e[K
e[K
e[K
e[K
e[K
e[K
e[K
e[K
e[K
e[K
e[Ke[1;1He[8;1He[34mβ”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€ e[31mFrontail not installede[34m β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”e[9;1Hβ”‚e[33m                                                                              e[34mβ”‚e[10;1Hβ”‚e[33m e[36me[42mFrontail is not installed!                                                  e[33me[40m e[34mβ”‚e[11;1Hβ”‚e[33m e[36me[42m                                                                            e[33me[40m e[34mβ”‚e[12;1Hβ”‚e[33m e[36me[42mCanceling operation!                                                        e[33me[40m e[34mβ”‚e[13;1Hβ”‚e[33m                                                                              e[34mβ”‚e[14;1Hβ”‚e[33m                                    e[37me[41m<Ok>e[33me[40m                                      e[34mβ”‚e[15;1Hβ”‚e[33m                                                                              e[34mβ”‚e[16;1Hβ””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜e[17;2He[32me[Ke[14;39He[?25he[?0ce[24;1He[37me[me[39;49m
e[K
2023-08-12_20:25:57_CEST [openHABian] Installing openhab_rules_tools for JS Scripting... 
e[90;01m$ sudo -u openhab mkdir -p /etc/openhab/automation/js e[39;49;00m
sudo: unknown user: openhab
sudo: error initializing audit plugin sudoers_audit
FAILED (mkdir /etc/openhab/automation/js)

e[90;01m$ sudo -u openhab npm install --prefix /etc/openhab/automation/js openhab_rules_tools@latest e[39;49;00m
sudo: unknown user: openhab
sudo: error initializing audit plugin sudoers_audit
FAILED (npm install)
2023-08-12_20:25:57_CEST [openHABian] Skipping zram install as requested.2023-08-12_20:25:57_CEST [openHABian] Beginning Mail Transfer Agent setup... SKIPPED (no configuration provided)
2023-08-12_20:25:57_CEST [openHABian] Beginning Network UPS Tools setup... SKIPPED (no configuration provided)
2023-08-12_20:25:57_CEST [openHABian] Applying file permissions recommendations... FAILED (please execute after openHAB is installed)

e[90;01m$ install -m 755 /opt/openhabian/includes/SD/set-partuuid /usr/local/sbin e[39;49;00m
2023-08-12_20:25:57_CEST [openHABian] Setting up automated SD mirroring and backup... SKIPPED (no configuration provided)
2023-08-12_20:25:57_CEST [openHABian] Cleaning up... 
e[90;01m$ systemctl -q daemon-reload e[39;49;00m

e[90;01m$ apt-get clean -o DPkg::Lock::Timeout=60 e[39;49;00m

e[90;01m$ apt-get autoremove --yes -o DPkg::Lock::Timeout=60 e[39;49;00m
Reading package lists...
Building dependency tree...
Reading state information...
0 upgraded, 0 newly installed, 0 to remove and 14 not upgraded.
OK
2023-08-12_20:26:02_CEST [openHABian] Execution of 'openhabian-config unattended' completed.
2023-08-12_20:26:02_CEST [openHABian] First time setup successfully finished. Rebooting your system!
2023-08-12_20:26:02_CEST [openHABian] After rebooting the openHAB dashboard will be available at: http://openhabianpi:8080
2023-08-12_20:26:02_CEST [openHABian] After rebooting to gain access to a console, simply reconnect using ssh.

I’m trying to install OH4 now to check if this works and then try OH3 again with full logging.

Installing OH4 doesn’t work either:

+ 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'

e[90;01m$ apt-get update e[39;49;00m
+ 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'

e[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 e[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'
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

The log is to big to add it directly, so here is the file:
first-boot.log (175.1 KB)

i am having the same issue here

Couldn't find any package by glob 'openhab=4.0.1-1 openhab-addons

update and try again

Hello,
my environment is OH 4.1.0 on Raspi 4 8 GB with 64 GB MicroSD. Target backup is a 128 GB MicroSD.
While trying many times to setup SD mirroring with menu option 53 I always get an error β€œFAILED (e2fsck)” as shown below. What can I do to identify the cause of the error? Thank you.

openhabian@openhabian:~ $ sudo openhabian-config
[sudo] password for openhabian:
2024-01-10_22:42:32_CET [openHABian] Checking for root privileges... OK
2024-01-10_22:42:32_CET [openHABian] Loading configuration file '/etc/openhabian.conf'... OK
2024-01-10_22:42:32_CET [openHABian] openHABian configuration tool version: [main]{2023-12-31T13:09:51+01:00}(9ac4ddd)
2024-01-10_22:42:32_CET [openHABian] Checking for changes in origin branch main... OK
2024-01-10_22:42:37_CET [openHABian] Switching to branch main... OK
2024-01-10_22:42:37_CET [openHABian] Checking openHAB Signing Key expiry.
2024-01-10_22:42:37_CET [openHABian] Checking expiry date of apt keys... OK
2024-01-10_22:42:47_CET [openHABian] Setting up automated SD mirroring and backup... Failed to stop storage.mount: Unit storage.mount not loaded.
Checking that no-one is using this disk right now ... OK

Disk /dev/sda: 119.38 GiB, 128177930240 bytes, 250347520 sectors
Disk model: STORAGE DEVICE
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0xac5ded73

Old situation:

Device     Boot Start       End   Sectors   Size Id Type
/dev/sda1        2048 250347519 250345472 119.4G  7 HPFS/NTFS/exFAT

>>> Script header accepted.
>>> Script header accepted.
>>> Script header accepted.
>>> Script header accepted.
>>> Script header accepted.
>>> Created a new DOS disklabel with disk identifier 0x5ed6f5b4.
/dev/sda1: Created a new partition 1 of type 'W95 FAT32 (LBA)' and of size 256 MiB.
/dev/sda2: Created a new partition 2 of type 'Linux' and of size 59.2 GiB.
/dev/sda3: Created a new partition 3 of type 'Linux' and of size 59.9 GiB.
/dev/sda4: Done.

New situation:
Disklabel type: dos
Disk identifier: 0x5ed6f5b4

Device     Boot     Start       End   Sectors  Size Id Type
/dev/sda1            8192    532479    524288  256M  c W95 FAT32 (LBA)
/dev/sda2          532480 124735487 124203008 59.2G 83 Linux
/dev/sda3       124735488 250347519 125612032 59.9G 83 Linux

The partition table has been altered.
Calling ioctl() to re-read partition table.
Syncing disks.
Taking a raw partition copy, be prepared this may take long such as 20-30 minutes for a 16 GB SD card
FAILED (e2fsck)
OK
2024-01-10_23:08:58_CET [openHABian] Checking for default openHABian username:password combination... OK
2024-01-10_23:08:58_CET [openHABian] We hope you got what you came for! See you again soon ;)

ok, found some similar issues in this forum, will test the solutions proposed.