Is it possible to change your install from a Release version to the latest snapshot via an upgrade?
I did the following, but seems stayed at the current release.
- Stopped OH2
- Removed the sources.list
- Readded the snapshot list
- Apt-update and Apt-upgrade
But OH2 didn’t update and stayed at the current version.
With the new sources in place and OH2 stopped.
I ran “sudo apt-get install openhab2” and it upgraded me to the snapshot build while maintainting all my configs. Backup just in case !
i was able to verify this by ssh’ing into karaf and seeing the build #
That seems to have worked, but I seem unable to connect into the Karaf Console to confirm.
ptmuldoon@OpenHab2:~$ ssh openhab@localhost -p 8101
Unable to negotiate with 127.0.0.1 port 8101: no matching host key type found. Their offer: ssh-dss
Try to remove from your stored config the existing key. Maybe this will help:
ssh-keygen -f "/root/.ssh/known_hosts" -R [localhost]:8101
Yes I tried that but it did’t work.
This could have been caused by an update and upgrade to Ubuntu itself. A google search said to add the “-oHostKeyAlgorithms=+ssh-dss” to the argument
So this did work,
ssh -oHostKeyAlgorithms=+ssh-dss openhab@localhost -p 8101