Hello,
I am completely new to Openhab and I just started experimenting with openhabian on a
Raspberry Pi Model B 4GB RAM
a few days ago. Yesterday I saw that Openhab 3.0 is on the verge of being realease and thus I tried giving it a shot and tried to upgrade my Openhab 2 Installation practically empty according to the documentation.
I installed putty connected to my pi with it and then started the upggrade.
Java 11 installs fine. But then Nothing happened when installing the OpenHAB 3 update for over 2h.
Thus I thought maybe I did something wrong and reflashed the sd card and installed openHabian again. This worked fine. Directly after install, as a first action I connected via putty to the Pi and started the upgrade again. Thus far with the same result.
Since about 1h stuck at
2020-12-06_18:30:58_CET [openHABian] Installing selected openHAB versionā¦
Any Idea what I can do?
Regards,
Matt
2020-12-06_18:01:00_CET [openHABian] Checking for root privileges⦠OK
2020-12-06_18:01:00_CET [openHABian] Loading configuration file ā/etc/openhabian.confā⦠OK
2020-12-06_18:01:00_CET [openHABian] openHABian configuration tool version: [stable]v1.6.1-963(1fa8959)
2020-12-06_18:01:00_CET [openHABian] Checking for changes in origin branch stable⦠OK
2020-12-06_18:01:08_CET [openHABian] Switching to branch stable⦠OK
2020-12-06_18:01:17_CET [openHABian] Updating Linux package information⦠OK
2020-12-06_18:01:17_CET [openHABian] Preparing openHAB installation⦠OK
2020-12-06_18:01:22_CET [openHABian] Beginning openHAB backup⦠SKIPPED
Reading package lists⦠Done
Building dependency tree
Reading state information⦠Done
The following packages will be REMOVED:
openhab2 openhab2-addons
0 upgraded, 0 newly installed, 2 to remove and 0 not upgraded.
After this operation, 294 MB disk space will be freed.
(Reading database ⦠53348 files and directories currently installed.)
Removing openhab2-addons (2.5.10-1) ā¦
Removing openhab2 (2.5.10-1) ā¦
Processing triggers for systemd (241-7~deb10u4+rpi1) ā¦
Updating FireMotD available updates count ā¦
2020-12-06_18:02:08_CET [openHABian] WARNING: We were unable to detect Java 11 on your system so we will install the openHABian default (Zulu 11).2020-12-06_18:02:10_CET [openHABian] Installing Java Zulu prerequisites (libc, libstdc++, zlib1g)⦠OK
2020-12-06_18:02:20_CET [openHABian] Downloading Java Zulu 11 32-Bit OpenJDK⦠OK
2020-12-06_18:03:21_CET [openHABian] Installing Java Zulu 11 32-Bit OpenJDK⦠OK
2020-12-06_18:03:28_CET [openHABian] Installing Java Zulu CEK to enable unlimited cipher strength⦠OK
2020-12-06_18:03:29_CET [openHABian] Installing openHAB⦠2020-12-06_18:03:29_CET [openHABian] Beginning install of latest openHAB3 milestone release (testing)⦠OK
2020-12-06_18:30:56_CET [openHABian] Adding required keys to apt⦠OK
2020-12-06_18:30:58_CET [openHABian] Installing selected openHAB versionā¦
Had the same issue and followed the instructions:
Debug mode was set to on in /etc/openhabian.conf
During failed update to OH3 it instructed to run sudo dpkg --configure -a manually.
Did so and confirmed to change config files back to maintainers version (āIā or āYā)
Afterwards the update to OH3 went through, still some errors but it looks like it installed.
Hi,
thank you for your assistance and sorry for the late reply but I just got back to tryout today.
I reflashed the openhab 2 image, updated the openhab 2 Version. It worked fine.
Afterwards as a nearly total linux novice it took me some time until i managed to start bash and edit the config file to debug mode on. But finally that worked as well.
Then I started the upgrade to openhab 3 again. And now I could see much more information and I had to choose file overrides serveral times I confirmed all with āYā and finally it said that openhab 3 was succesfully installed.
I got a prompt from the openhabian-config:
āError of execution: 40 | openhab relatedā
The server hasnāt been accessible via Browser yet, but I will give it a few more minutes.
Ok, unfortunately openhab 3 server seems to not come available.
I found the logs on the console - and its says that it doesnt find the right java Version (see below). But the Java install during the upgrade didnt show any errors. Any Ideas?