Issue of the topic: not booting after Upgrade to 4.0
on Openhabian is also running MQTT Broker, Grafana, InfluxDB and Zigbee2MQTT
I upgrade OH to 4.0 and also upgrade to Java 17
After the Upgrade Openhab running normal few minutes than I reboot due putty, after this Openhabian will not boot anymore, also no connection in Network or via SSH possibel.
I boot via a other USB Stick and mounted the non-booting drive, so I have full access to all files.
The question for me is now can I got the drive back to booting or if I need new install openhabian how can I restore my data, I would also like to restore the InfluxDB and Grafana settings.
If possible even the Zigbee2MQTT configurations.
For the normal openhabian restore, overwriting all config files with my “backup” files will work?
I’ve been using openhab since version 1.5 and have quite some issues with SD-Cards, After I switched to USB sticks and later SSDs, I had no issue until now (and this has been a few years).
If this instant disqualifies me from asking a more general question about manual backup/restore and perhaps providing some information for other people that run into the same problems (that have not been related to the USB Drive), that’s okay than not.
If you tried to do an in place upgrade of the OS from buster to bullseye (as Java 17 isn’t available on bullseys), the general experience I’ve had and others is that it won’t work. It likely isn’t refusing to boot though. It seems that this upgrade path breaks dhcp or all of the networking.
For restoration, InfluxDB, Grafana, and Zigbee2MQTT you’ll have to see what those projects say to do. openHABian installs them but they are third party. We are not the experts on those.
Assuming they are the same versions (i.e. the backup OH version matches the version you are restoring to) it should work just fine. If not the same versions . It could work but it’s not guaranteed. There is now an upgrade tool but it doesn’t handle every breaking change nor does it do everything that apt does during an upgrade to adjust your configs for breaking changes.
sure ? Why / how is your installation broken then ?
I would assume that you will get other problems then earlier or later as openhabian for OH4 is expecting Bullseye which relies on other shared libraries.