FAILED (deCONZ database on zram)

I have openhabian 3.3 running on a RPI 4 4Gb for a while now together with 1wire and deconz.
All added with the openhabian-config.
At a certain time a tried to install Mosquitto.
But then I get an error in the config

There was an error or interruption during the execution of:\n “20 | Optional Components”\n\nPlease try again. If the error persists, please read /opt/openhabian/docs/openhabian-DEBUG.md or openhabian/openhabian-DEBUG.md at main · openhab/openhabian · GitHub how to proceed.’

Also the deconz needed a new install.

I wanted to wait for my ordered RPI, but in the meantime a ring doorbel is present.
So now with the update to 3.4, I wanted to give it a new try.
Again the same error, but I can’t get my deconz running again also with that same message.
With the verbose put on maximum
I see

  • echo ‘FAILED (deCONZ database on zram)’
    FAILED (deCONZ database on zram)

Tried to install zram again, looks ok (no messages)
Tried to remove mosquitto
But all the same result
Has someone an idea to get deconz back running? The steps to install manual?

I have my RPI connected with a cable no wifi.

It was possible to do
sudo apt install deconz
then I tried again the regular setup but the same message
So I changed manual the port to 8081
My biggest concern was the deconz, so this is back running and ok
I had to change for all the items the bridge
Can this done for all the itemls together or a script?

The problem of the installation of the optional components is still present.

With debug=maximum you should be seeing a lot more, and that would be a minimum anyone to help would need to see.

Show your config. Do you use .things files or the UI to configure it ?
In my .things file I have only one entry where the bridge is defined so just one entry for the port needs to be changed. I assume it is the same for the UI ( for the jsondb ).

Be more verbose. With what the error is. Above it is just stated tried to remove mosquitto … all the same result. The debug output as described in the debug description and stated by mstormi will help.

This is when i only try the option for deconz

++ timestamp
++ printf '%(%F_%T_%Z)T\n' -1
+ echo -n '2022-12-30_07:55:13_CET [openHABian] Updating Linux package information... '
2022-12-30_07:55:13_CET [openHABian] Updating Linux package information... + kill -0 8651
+ echo OK
OK
+ case "$choice2" in
+ deconz_setup
+ local port=8081
+ local keyName=deconz
+ local appData=/var/lib/openhab/persistence/deCONZ
+ local 'introText=This will install deCONZ as a web service, the companion app to support Dresden Elektronik Conbee and Raspbee Zigbee controllers.\nUse the web interface on port 8081 to pair your sensors.\nNote the port is changed to 8081 as the default 80 wouldn'\''t be right with openHAB itself running on 8080.'
+ local 'successText=The deCONZ API plugin and the Phoscon companion web app were successfully installed on your system.\nUse the web interface on port 8081 to pair your sensors with Conbee or Raspbee Zigbee controllers.\nNote the port has been changed from its default 80 to 8081.'
+ local repo=/etc/apt/sources.list.d/deconz.list
+ whiptail --title 'deCONZ installation' --yes-button Continue --no-button Cancel --yesno 'This will install deCONZ as a web service, the companion app to support Dresden Elektronik Conbee and Raspbee Zigbee controllers.\nUse the web interface on port 8081 to pair your sensors.\nNote the port is changed to 8081 as the default 80 wouldn'\''t be right with openHAB itself running on 8080.' 11 80
+ add_keys http://phoscon.de/apt/deconz.pub.key deconz
+ local repoKey=/usr/share/keyrings/deconz.gpg
++ timestamp
++ printf '%(%F_%T_%Z)T\n' -1
+ echo -n '2022-12-30_07:55:14_CET [openHABian] Adding required keys to apt... '
2022-12-30_07:55:14_CET [openHABian] Adding required keys to apt... + curl -fsSL http://phoscon.de/apt/deconz.pub.key
+ gpg --dearmor
+ echo OK
OK
++ lsb_release -si
+ myOS=Raspbian
++ lsb_release -sc
+ myRelease=bullseye
+ [[ bullseye == \n\/\a ]]
+ is_x86_64
+ [[ '' == \x\8\6\_\6\4 ]]
+ [[ '' == \a\m\d\6\4 ]]
+ case "$(uname -m)" in
++ uname -m
+ return 1
+ echo 'deb [signed-by=/usr/share/keyrings/deconz.gpg] http://phoscon.de/apt/deconz bullseye main'
+ cond_redirect mkdir /var/lib/openhab/persistence/deCONZ
+ [[ -n '' ]]
+ echo -e '\n\033[90;01m$ mkdir /var/lib/openhab/persistence/deCONZ \033[39;49;00m'

$ mkdir /var/lib/openhab/persistence/deCONZ
+ mkdir /var/lib/openhab/persistence/deCONZ
mkdir: cannot create directory ‘/var/lib/openhab/persistence/deCONZ’: File exists
+ return 1
+ fix_permissions /var/lib/openhab/persistence/deCONZ openhabian:openhabian 664 775
+ [[ -e /var/lib/openhab/persistence/deCONZ ]]
+ chown openhabian:openhabian /var/lib/openhab/persistence/deCONZ
+ [[ -n 664 ]]
+ [[ -f /var/lib/openhab/persistence/deCONZ ]]
+ [[ -n 775 ]]
+ [[ -d /var/lib/openhab/persistence/deCONZ ]]
+ find /var/lib/openhab/persistence/deCONZ -type d -print0
+ xargs -0 chmod 775
+ return 0
+ ln -sf /var/lib/openhab/persistence/deCONZ /home/openhabian/.local
+ echo 'FAILED (deCONZ database on zram)'
FAILED (deCONZ database on zram)
+ return 1
+ '[' 1 -ne 0 ']'
+ whiptail --msgbox 'There was an error or interruption during the execution of:\n  "20 | Optional Components"\n\nPlease try again. If the error persists, please read /opt/openhabian/docs/openhabian-DEBUG.md or https://github.com/openhab/openhabian/blob/main/docs/openhabian-DEBUG.md how to proceed.' 14 80
+ return 0
+ true
+ show_main_menu
+ local choice
+ local version
+++ get_git_revision
+++ local branch
+++ local commitDate
+++ local shorthash
++++ git -C /opt/openhabian rev-parse --abbrev-ref HEAD
+++ branch=openHAB3
++++ git -C /opt/openhabian log --pretty=format:%aI -n 1
+++ commitDate=2022-12-18T22:39:53+01:00
++++ git -C /opt/openhabian log --pretty=format:%h -n 1
+++ shorthash=2633096
+++ echo '[openHAB3]{2022-12-18T22:39:53+01:00}(2633096)'
++ whiptail --title 'openHABian Configuration Tool — [openHAB3]{2022-12-18T22:39:53+01:00}(2633096)' --menu 'Setup Options' 19 116 12 --cancel-button Exit --ok-button Execute '00 | About openHABian' 'Information about the openHABian project and this tool' '' '' '01 | Select Branch' 'Select the openHABian config tool version ("branch") to run' '02 | Upgrade System' 'Update all installed software packages (incl. openHAB) to their latest version' '03 | Install openHAB' 'Install or upgrade to openHAB 3' '04 | Import config' 'Import an openHAB 3 configuration from file or URL' '' '' '10 | Apply Improvements' 'Apply the latest improvements to the basic openHABian setup ►' '20 | Optional Components' 'Choose from a set of optional software components ►' '30 | System Settings' 'A range of system and hardware related configuration steps ►' '40 | openHAB Related' 'Switch the installed openHAB version or apply tweaks ►' '50 | Backup/Restore' 'Manage backups and restore your system ►'
+ choice=
+ RET=1
+ '[' 1 -eq 1 ']'
+ return 255
+ system_check_default_password
+ is_pi
+ is_pifour
+ [[ '' == \p\i\4 ]]
+ grep -q '^Revision\s*:\s*[ 123][0-9a-fA-F][0-9a-fA-F][0-9a-fA-F]11[0-9a-fA-F]$' /proc/cpuinfo
+ return 0
+ return 0
+ local algo
+ local defaultPassword
+ local defaultUser
+ local generatedPassword
+ local introText
+ local originalPassword
+ local salt
+ is_pi
+ is_pifour
+ [[ '' == \p\i\4 ]]
+ grep -q '^Revision\s*:\s*[ 123][0-9a-fA-F][0-9a-fA-F][0-9a-fA-F]11[0-9a-fA-F]$' /proc/cpuinfo
+ return 0
+ return 0
+ id -u pi
+ is_pi
+ is_pifour
+ [[ '' == \p\i\4 ]]
+ grep -q '^Revision\s*:\s*[ 123][0-9a-fA-F][0-9a-fA-F][0-9a-fA-F]11[0-9a-fA-F]$' /proc/cpuinfo
+ return 0
+ return 0
+ defaultUser=openhabian
+ defaultPassword=openhabian
++ grep -w openhabian /etc/shadow
++ cut -d: -f2
+ originalPassword='$y$j9T$4t.7RqmFZvniH720SCnv//$f30CqaB0tsoCSvHGvjO3LqnudZQRzXh1Pkxh1lWwf7D'
++ echo '$y$j9T$4t.7RqmFZvniH720SCnv//$f30CqaB0tsoCSvHGvjO3LqnudZQRzXh1Pkxh1lWwf7D'
++ cut '-d$' -f2
+ algo=y
+ introText='The default password was detected on your system! That is a serious security concern. Bad guys or malicious programs in your subnet are able to gain root access!\n\nPlease set a strong password by typing the command '\''passwd openhabian'\''!'
++ echo '$y$j9T$4t.7RqmFZvniH720SCnv//$f30CqaB0tsoCSvHGvjO3LqnudZQRzXh1Pkxh1lWwf7D'
++ cut '-d$' -f3
+ salt=j9T
+ export algo defaultPassword salt
++ perl -le 'print crypt("$ENV{defaultPassword}","\$$ENV{algo}\$$ENV{salt}\$")'
+ generatedPassword='$y$j9T$$1DJdHt2WNxWqFR3sUxwYKh.KdyI9MF4X/A9710MJGjA'
++ timestamp
++ printf '%(%F_%T_%Z)T\n' -1
+ echo -n '2022-12-30_07:55:26_CET [openHABian] Checking for default openHABian username:password combination... '
2022-12-30_07:55:26_CET [openHABian] Checking for default openHABian username:password combination... ++ id -u openhabian
+ [[ -n 1000 ]]
+ [[ $y$j9T$$1DJdHt2WNxWqFR3sUxwYKh.KdyI9MF4X/A9710MJGjA == \$\y\$\j\9\T\$\4\t\.\7\R\q\m\F\Z\v\n\i\H\7\2\0\S\C\n\v\/\/\$\f\3\0\C\q\a\B\0\t\s\o\C\S\v\H\G\v\j\O\3\L\q\n\u\d\Z\Q\R\z\X\h\1\P\k\x\h\1\l\W\w\f\7\D ]]
+ echo OK
OK
++ timestamp
++ printf '%(%F_%T_%Z)T\n' -1
+ echo -e '2022-12-30_07:55:26_CET [openHABian] We hope you got what you came for! See you again soon ;)'
2022-12-30_07:55:26_CET [openHABian] We hope you got what you came for! See you again soon ;)
+ cd /home/openhabian

With ui (no file input)
Indeed one bridge
But in the proces I didnt succee in correcting the old bridge and I had to recreate the bridge.
Erase the old and then create a new with the same name. But doing so the things where put on a blank bridge.

The command

ln -sf /var/lib/openhab/persistence/deCONZ /home/openhabian/.local

fails during execution.

What is the output of the command:

ls -l /home/openhabian/.local

openhabian@openhabian:~ $ ls -l /home/openhabian/.local
total 4
lrwxrwxrwx 1 root root 35 Dec 30 08:54 deCONZ → /var/lib/openhab/persistence/deCONZ
drwxr-xr-x 4 openhabian openhab 4096 Jan 4 2022 share

Deconz is running (manual instal)