Openhabian upgrade to OH3 fails with server errors

Tags: #<Tag:0x00007f4331022238> #<Tag:0x00007f4331022170>

Hi

I tried today to upgrade from OH 2.5.11 to OH 3. The Openhabian config fails, same with apt-get upgrade. Even upgrade to OH 2.5.12 failed. I get a server error “forbidden”. Browsing community pages didn’t reveal a solution. Was this a server problem ? Or is there a fix for it ?

Thanks in advance !

What version of openhabian-config do you use.
Acocrding to your message the old bintray repo is used in your setup.
Today there was an update for openhabian-config that switches to the correct bintray repo.

Hi

Ok, that server switch might explain it. I tried first with after a self-update of the config tool, after the first error, I played back the backup and tried without a self update first, both with the same result. Maybe my confit tool update hit the switch time ? About 18:00…

Hi, I can test again today, will try in the next days again (time permits)

Tried again, no success. What is the recommended way to change the bin repro ? An update of the config tool alone seems not to work ? How could I debug it ?

openhabian updates itself during startup.

In case you would like to do the update manually you need to edit a file in /etc/apt/sources.list.d.
You need to remove the old bintray entry and create one according to the documentation: openHAB on Linux | openHAB

yes, seems to work, it is updating now. I did:

>sudo rm /etc/apt/sources.list.d/openhab2.list
>sudo wget -qO - 'https://openhab.jfrog.io/artifactory/api/gpg/key/public' | sudo apt-key add -
>sudo echo 'deb https://openhab.jfrog.io/artifactory/openhab-linuxpkg stable main' | sudo tee /etc/apt/sources.list.d/openhab2.list

then tried the upgrade with openhabian-config. Not sure I need openhab2.list, as the frist command produces openhab.list anyway.