Openhab 2.5.0 #1627 upgrade failure

Raspberry Pi 3b+, Raspbian Buster, Openhabian-config

@rlkoshak

Trying to update using openhab 2.5.0 build #1627 using openHABian Configuration Tool [master]v1.4.1-472(430e01b)

Got the following error messages:

  The following signatures were invalid: EXPKEYSIG 075721F6A224060A openHAB Bintray Repositories <owner@openhab.org>
Reading package lists... Done
W: GPG error: https://openhab.jfrog.io/openhab/openhab-linuxpkg unstable InRelease: The following signatures were invalid: EXPKEYSIG 075721F6A224060A openHAB Bintray Repositories <owner@openhab.org>
E: The repository 'http://openhab.jfrog.io/openhab/openhab-linuxpkg unstable InRelease' is no longer signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.

Then a large amount of successful Get’s

And finally this:

E: Failed to fetch https://openhab.jfrog.io/openhab/openhab-linuxpkg/pool/main/2.5.0~S1645/openhab2_2.5.0~S1645-1_all.deb  404  Not Found
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
FAILED

openHABian is now at 1.7 for the latest release. You definitely need to upgrade openHABian which should fix this GPG error. NOTE: the tool should ask if you want to upgrade it when you run openhabian-config, you don’t need to reburn the SD card.

However, note that any version of OH prior to 2.5.12 is pretty much gone. When Bintray shut down and we were forced to move to JFrog we lost all the older artifacts.

It didn’t ask but I did it myself: 01 | Update – Pull the latest revision of the openHABian Configuration Tool.

2021-12-10_00:48:07_+07 [openHABian] Updating myself... OK - No remote changes detected. You are up to date!

I don’t think I am, nope… and the next option “Upgrade System” is what errors out.

Understood about the hosting pulling the rug out from under us. That does suck.
So, how do I proceed?

If it’s still reporting c1.4.1 and pointing at master I’m not sure how to proceed. I don’t see anything in the docs. There have been significant changes to openHABian since 1.4 so there might not be an automated upgrade path for it.

You might be able to get it following the manual installation instructions: openHABian | openHAB

However you might be as likely to break your system. Don’t do anything without a backup. But that’s the first thing I’d try. If that works and gets you upgraded and working I would probably take a config backup, rebuild the machine from scratch using the openHABian SD image and then restore the config. That will get you moved to Bullseye too.