Let me get this out here up front - I am by no means Linux fluent. Any solutions will need to be spelled out rather explicitly.
I did what I though was just an OS update (apt update, apt upgrade) on my RPi 4 copy of OH3.3.0.
In the process I noticed that it seemed to be upgrading OH to version 4, along with a multitude of errors some indicating a problem with the OH database (I unfortunately didn’t capture those…). NOT what I intended. Now OH is not running. Did another apt update and got these errors:
“W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: JFrog stable InRelease: The following signatures were invalid: EXPKEYSIG 075721F6A224060A openHAB Bintray Repositories firstname.lastname@example.org
W: Failed to fetch JFrog The following signatures were invalid: EXPKEYSIG 075721F6A224060A openHAB Bintray Repositories email@example.com”
Am I screwed? Is there a way to recover from this?
If you’re looking to get back to openHAB 3.3.0, then you can try and revert using the command:
sudo apt install openhab=3.3.0-1
There’s no guarantee this will work, because 3.3.0 is quite old and there’s no certainty about downgrading particular across major versions. However, hopefully you made a backup with openhab-cli in which case you can restore it again which is the best way to getting back to normal quickly.
“sudo apt install openhab=3.3.0-1” WORKED! Thank you very much for that idea! Now to do another backup (truthfully has been awhile…mea culpa, mea culpa) and investigate an intentional v4.0.1 to see how much work it will be.
Since I’m here and people will be reading this anyway, is it recommended to go to 3.4.0 first? Is there a thread or help topic that outlines an upgrade to 4.0.1 from 3.3.0? I will be looking for such on my own, but a link here might be faster than my own search.