Bindings restart every 30 minutes - after upgrade to 2.5.0 version

Hi all,

I’m using openHab since 2.2 version:

  • Platform information:
    • Hardware: Intel Pc 64 bit
    • OS: Ubunto 18.04
    • Java Runtime Environment: OpenJDK 1.8.0.202
    • openHAB version: 2.5

After upgrading to version 2.5 I see a restart about every 30 minutes, I have a rule on “System Start”.

I find in the forum this topic:


but is not my case, all my bindings are updated and configured.
This in my addons.config:
:org.apache.felix.configadmin.revision:=L"17"
action=“xmpp,telegram”
binding=“network,systeminfo,airquality,exec,zwave,astro,openweathermap,mail”
felix.fileinstall.filename=“file:/var/lib/openhab2/etc/org.openhab.addons.cfg”
legacy=B"true"
misc=“openhabcloud”
package=“standard”
persistence=“jdbc-sqlite”
remote=B"true"
service.pid=“org.openhab.addons”
transformation=“javascript,map,regex”
ui=“basic,paper,habpanel,habmin”

Have you got any idea ?

Thanks
Regards Mirko

Have you reviewed this thread?

I believe a similar issue to yours is sited.

1 Like

Is that Texan for cited? :smiley:

1 Like

@Bruce_Osborne yes it is!!! Gosh it didn’t even click I used the wrong word!!

1 Like

I was feeling sorry for a possibly non-English speaker trying to make sense of it. :crazy_face:

2 Likes

I have followed your guide.
I have set up this log:

  • org.apache.karaf No logs
  • org.openhab.binding.* Nothing strange
  • org.openhab.core
    Got this error:
2020-01-29 20:59:24.728 [DEBUG] [org.openhab.core.karaf.internal.FeatureInstaller  ] - Running scheduled sync job
2020-01-29 20:59:24.735 [DEBUG] [org.openhab.core.karaf.internal.FeatureInstaller  ] - Failed uninstalling 'openhab-ui-dashboard': Feature named 'openhab-ui-dashboard/0' is not installed

Is this the cause of restart ?
How can I avoid this ?

Bye

That log looks like you installed 2.5.0-1 instead of the newer 2.5.1-2.
There was a bug in 2.5.0 that if it was installed with the addons for off-Internet use, the initial dashboard would be uninstalled. This was fixed in 2.5.1.
There is a workaround I could look up but you likely want 2.5.1 anyway so you can update addons separate from OH core. 2.5 is planned to be the last OH2 core release.

I know about this problem and I have waited the release 2.5.1 before upgrade.
Upgrade done on 14/01/2020.

I have not had much time to test since 2.5,1 was released. I think this is what you did so I can try and replicate.
You installed 2.5.0 and addons which removed the dashboard-ui so you could not configure it.
You then upgraded to 2.5.1 (OH and addons, I assume) and still have no dashboard-up.

Assuming you have no configuration anyway, uninstall the addons and OH. Now I think installing OH and addons would work

1 Like

I have found the cause of the error related to openhab-ui-dashboard.
I have posted the solution in this thread:

Unfortunately this is not solving the problem o Bindings Restart.

Any idea ?

That is only really used for the initial package choice. After that, I notice it is stopped at the end of startup anyway.