On my Rapsi 3 (bullseye) running openhain-config does not upgrade to 4.0.1:
openhabian@openHABianPi:~ $ sudo openhabian-config
2023-07-30_14:50:03_CEST [openHABian] Checking for root privileges... OK
2023-07-30_14:50:04_CEST [openHABian] Loading configuration file '/etc/openhabian.conf'... OK
2023-07-30_14:50:04_CEST [openHABian] openHABian configuration tool version: [openHAB]{2023-07-29T21:33:20+02:00}(b7ac016)
2023-07-30_14:50:04_CEST [openHABian] Checking for changes in origin branch openHAB... OK
2023-07-30_14:50:07_CEST [openHABian] Switching to branch openHAB... OK
2023-07-30_14:50:07_CEST [openHABian] Checking openHAB Signing Key expiry.
2023-07-30_14:50:07_CEST [openHABian] Checking expiry date of apt keys... OK
2023-07-30_14:50:08_CEST [openHABian] Checking for updates of openhab_rules_tools for JS Scripting... No update available.
2023-07-30_14:50:12_CEST [openHABian] Adding slightly tuned bash configuration files to system... OK
2023-07-30_14:53:12_CEST [openHABian] Updating Linux package information... OK
2023-07-30_14:53:12_CEST [openHABian] Updating repositories and upgrading installed packages...
Paketlisten werden gelesen… Fertig
Abhängigkeitsbaum wird aufgebaut… Fertig
Statusinformationen werden eingelesen… Fertig
Paketaktualisierung (Upgrade) wird berechnet… Fertig
0 aktualisiert, 0 neu installiert, 0 zu entfernen und 0 nicht aktualisiert.
2023-07-30_14:53:32_CEST [openHABian] We hope you got what you came for! See you again soon ;)
openhabian@openHABianPi:~ $ openhab-cli info
Version: 4.0.0 (Build)
User: openhab (Active Process 28483)
User Groups: openhab tty dialout audio bluetooth gpio
Directories: Folder Name | Path | User:Group
----------- | ---- | ----------
OPENHAB_HOME | /usr/share/openhab | openhab:openhab
OPENHAB_RUNTIME | /usr/share/openhab/runtime | openhab:openhab
OPENHAB_USERDATA | /var/lib/openhab | openhab:openhab
OPENHAB_CONF | /etc/openhab | openhab:openhab
OPENHAB_LOGDIR | /var/log/openhab | openhab:openhabian
OPENHAB_BACKUPS | /var/lib/openhab/backups | openhab:openhab
I hope the screenshots are appropriate at this place.
setting debug=on for the fist step gives:
openhabian@openHABianPi:~ $ sudo openhabian-config
2023-07-30_17:03:35_CEST [openHABian] Checking for root privileges... OK
2023-07-30_17:03:36_CEST [openHABian] Loading configuration file '/etc/openhabian.conf'... OK
2023-07-30_17:03:36_CEST [openHABian] openHABian configuration tool version: [openHAB]{2023-07-29T21:33:20+02:00}(b7ac016)
2023-07-30_17:03:36_CEST [openHABian] Checking for changes in origin branch openHAB... OK
2023-07-30_17:03:38_CEST [openHABian] Switching to branch openHAB... OK
2023-07-30_17:03:38_CEST [openHABian] Checking openHAB Signing Key expiry.
2023-07-30_17:03:38_CEST [openHABian] Checking expiry date of apt keys... OK
2023-07-30_17:03:38_CEST [openHABian] Checking for updates of openhab_rules_tools for JS Scripting... No update available.
2023-07-30_17:03:42_CEST [openHABian] Adding slightly tuned bash configuration files to system... OK
2023-07-30_17:03:46_CEST [openHABian] Updating Linux package information... OK
2023-07-30_17:03:48_CEST [openHABian] Updating repositories and upgrading installed packages...
Paketlisten werden gelesen… Fertig
Abhängigkeitsbaum wird aufgebaut… Fertig
Statusinformationen werden eingelesen… Fertig
Paketaktualisierung (Upgrade) wird berechnet… Fertig
0 aktualisiert, 0 neu installiert, 0 zu entfernen und 0 nicht aktualisiert.
2023-07-30_17:04:02_CEST [openHABian] Updating Linux package information... OK
OK
2023-07-30_17:04:07_CEST [openHABian] Adding required keys to apt... OK
2023-07-30_17:04:07_CEST [openHABian] Installing selected openHAB version...
$ apt-get update
OK:2 http://raspbian.raspberrypi.org/raspbian bullseye InRelease
OK:3 http://archive.raspberrypi.org/debian bullseye InRelease
OK:4 https://deb.nodesource.com/node_16.x bullseye InRelease
Ign:1 https://repos.azulsystems.com/debian stable InRelease
OK:5 https://repos.azulsystems.com/debian stable Release
Paketlisten werden gelesen… Fertig
W: Das Laden der konfigurierten Datei »ui/binary-armhf/Packages« wird übersprungen, da das Depot »http://archive.raspberrypi.org/debian bullseye InRelease« die Komponente »ui« nicht enthält. (Schreibfehler bei der Angabe der Komponente in sources.list?)
W: Das Laden der konfigurierten Datei »ui/i18n/Translation-de_DE« wird übersprungen, da das Depot »http://archive.raspberrypi.org/debian bullseye InRelease« die Komponente »ui« nicht enthält. (Schreibfehler bei der Angabe der Komponente in sources.list?)
W: Das Laden der konfigurierten Datei »ui/i18n/Translation-en« wird übersprungen, da das Depot »http://archive.raspberrypi.org/debian bullseye InRelease« die Komponente »ui« nicht enthält. (Schreibfehler bei der Angabe der Komponente in sources.list?)
W: Das Laden der konfigurierten Datei »ui/i18n/Translation-de_DE.UTF-8« wird übersprungen, da das Depot »http://archive.raspberrypi.org/debian bullseye InRelease« die Komponente »ui« nicht enthält. (Schreibfehler bei der Angabe der Komponente in sources.list?)
W: Das Laden der konfigurierten Datei »ui/i18n/Translation-de« wird übersprungen, da das Depot »http://archive.raspberrypi.org/debian bullseye InRelease« die Komponente »ui« nicht enthält. (Schreibfehler bei der Angabe der Komponente in sources.list?)
$ apt-get install --allow-downgrades --yes -o DPkg::Lock::Timeout= --option Dpkg::Options::=--force-confnew openhab= openhab-addons=
Paketlisten werden gelesen… Fertig
Abhängigkeitsbaum wird aufgebaut… Fertig
Statusinformationen werden eingelesen… Fertig
E: Version »« für »openhab« konnte nicht gefunden werden> E: Version »« für »openhab-addons« konnte nicht gefunden werden.
FAILED
The command apt-cache madison openhab | head -n 1 | cut -d'|' -f2 | xargs in line 954 fails.
On a healthy system it should output the openhab package version.
Lines 948ff show there’s something wrong with your repo definitions in /etc/apt/sources.list.d.
That would also explain menu 02 failing.
Looking at Wolfgang_S’s hint, i removed the " ui" at the end of line in raspi.list.
Now the errormessages in the log are gone, but using 03 the “blank window” and the error message windows stays.
Above I forgot to mention, that I updated from 3.5 unintentionally one day before 4.0.1 was out . I look for updates every week. I choosed 02 expecting openhab version would stay, but i got 4.0.0. Lucky me i had already updated to java17 before. So i had to define some units only and openhab continued to do its job.
Not looking at the unexpected, that update using 02 ran as usual / as everytime before.