Can't switch to mileston from stable

  • Platform information: Raspberry Pi4 Openhabian
    • Hardware: CPUArchitecture/RAM/storage
    • OS: what OS is used and which version
    • Java Runtime Environment: openjdk version “11.0.11” 2021-04-20 LTS
    • openHAB version: 3.1
  • Issue of the topic: Can’t switch from stable to milestone with openhabian-config
  • Please post configurations (if applicable):
    • Items configuration related to the issue
    • Sitemap configuration related to the issue
    • Rules code related to the issue
    • Services configuration related to the issue
  • If logs where generated please post these here using code fences:

I’ve just upgrade from 2.5.12 to 3.1

Modbus isn’t working in 3.1 and I want to switch on milestone to get a chance to get a patch that I’ve read someone made.

So I run openhabian-config, option 40 then select Milestone and openhabian-config seems to start working to switch channel:

2021-07-16_01:45:14_CEST [openHABian] Updating Linux package information... OK
2021-07-16_01:45:15_CEST [openHABian] Beginning install of latest openHAB3 milestone release (testing)... OK
2021-07-16_01:45:16_CEST [openHABian] Adding required keys to apt... OK
2021-07-16_01:45:17_CEST [openHABian] Installing selected openHAB3 version... OK
2021-07-16_01:45:25_CEST [openHABian] Setting up openHAB service... OK
2021-07-16_01:45:27_CEST [openHABian] Optimizing openHAB to run on low memory single board computers... OK
2021-07-16_01:45:30_CEST [openHABian] Setting openHAB HTTP/HTTPS ports... OK
2021-07-16_01:45:31_CEST [openHABian] Creating dependencies to jointly start services that depend on each other... OK
2021-07-16_01:45:31_CEST [openHABian] Adding an openHAB dashboard tile for 'openhabiandocs'... Replacing... OK
2021-07-16_01:45:32_CEST [openHABian] Restarting openHAB service to play it safe... OK
2021-07-16_01:46:15_CEST [openHABian] Checking for default openHABian username:password combination... FAILED
2021-07-16_01:46:16_CEST [openHABian] We hope you got what you came for! See you again soon ;)

But after restarting I’m always on 3.1.0 stable
Checked also in karaf console showing modules, I get the 3.1.0 vanilla, no M version.

296 x Active x  80 x 3.1.0                 x org.openhab.binding.modbus
297 x Active x  80 x 3.1.0                 x org.openhab.binding.modbus.e3dc
298 x Active x  80 x 3.1.0                 x org.openhab.binding.modbus.helioseasycontrols
299 x Active x  80 x 3.1.0                 x org.openhab.binding.modbus.sbc
300 x Active x  80 x 3.1.0                 x org.openhab.binding.modbus.stiebeleltron
301 x Active x  80 x 3.1.0                 x org.openhab.binding.modbus.studer
302 x Active x  80 x 3.1.0                 x org.openhab.binding.modbus.sunspec
303 x Active x  80 x 3.1.0                 x org.openhab.core.io.transport.modbus

the apt sources list for openhab reports:

deb https://openhab.jfrog.io/artifactory/openhab-linuxpkg testing main

But in Webgui and Karaf i keep seeing 3.1.0 Stable

Any hint?

That is because the current stable also was the latest testing version. So they are the same.
You need to have a look to which other versions are offered:

apt-cache policy openhab

This shows e.g.:
openhab:

  Installed: <your installed version here>
  Candidate: 3.1.0-1   <= latest/highest version in tree here
  Version table:
     3.1.0-1 500
        500 https://openhab.jfrog.io/artifactory/openhab-linuxpkg testing/main amd64 Packages
        500 https://openhab.jfrog.io/artifactory/openhab-linuxpkg testing/main i386 Packages
     3.1.0~RC1-1 500
        500 https://openhab.jfrog.io/artifactory/openhab-linuxpkg testing/main amd64 Packages
        500 https://openhab.jfrog.io/artifactory/openhab-linuxpkg testing/main i386 Packages
     3.1.0~M5-1 500
        500 https://openhab.jfrog.io/artifactory/openhab-linuxpkg testing/main amd64 Packages
        500 https://openhab.jfrog.io/artifactory/openhab-linuxpkg testing/main i386 Packages
     3.1.0~M4-1 500
        500 https://openhab.jfrog.io/artifactory/openhab-linuxpkg testing/main amd64 Packages
        500 https://openhab.jfrog.io/artifactory/openhab-linuxpkg testing/main i386 Packages
     3.1.0~M3-1 500
        500 https://openhab.jfrog.io/artifactory/openhab-linuxpkg testing/main amd64 Packages
        500 https://openhab.jfrog.io/artifactory/openhab-linuxpkg testing/main i386 Packages
     3.1.0~M2-1 500
        500 https://openhab.jfrog.io/artifactory/openhab-linuxpkg testing/main amd64 Packages
        500 https://openhab.jfrog.io/artifactory/openhab-linuxpkg testing/main i386 Packages

Then with

sudo apt-get install <package name>=<version>

in general resp.

sudo apt-get install openhab=3.1.0~M5-1

in your case you should be able to install the Milestone release.

1 Like