I’m sure this is a popular topic but i coundn’t find any answer that worked for me.
I’m running OH on RPI4.
I accidentally upgraded to openhab 4 during an apt upgrade. I wasn’t aware of this new v4 distribution so i cound’t imagine this would happen. My mistake.
After the system upgraded to OH4, i obviously miss java 17, which i can’t install being the system on buster dist.
Since i can’t phisically access my rpi, i would like to revert back to OH3.4, there was nothing wrong with that, and i will proceed with an update following the manuals next time i have phisycal access to the device.
I do have a backup, and the system was mirrored to an external SD card for failover.
I do not know if it’s possible but you may be able to take backups without openhab not running. Do the backuo cli commands use Java? Surely they will work before you have to resort back to an older backups and then you can update your OS to a newer one with Java 17 and load the backup. Best to spend the time moving forwards but I do not understand your situation like you do.
Unfortunately even if my mirror was still running on the old version, it had some problems booting. Otherwise it would have been a quick and easy solution.
Used the backup with a fresh install and everything is back up and running.
I’m gonna use your advice to keep me up to date with OH releases.