[SOLVED] Problems after upgrade to 2.5.0

Hi,

After openhab upgrade I have many errors. Didn’t expect a bigger update, just did regular periodic apt-get “update/upgrade/dist-upgrade”.

So now I have many issues.

My charts are not working, I see errors like this ( I use rrd4j persistence):

2019-12-25 20:07:33.565 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'chart_p2' for widget org.eclipse.smarthome.model.sitemap.sitemap.Switch

2019-12-25 20:07:33.566 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'chart_p2' for widget org.eclipse.smarthome.model.sitemap.sitemap.Switch

2019-12-25 20:07:33.567 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item for widget org.eclipse.smarthome.model.sitemap.sitemap.Switch

2019-12-25 20:07:33.567 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve visibility item chart_p2 for widget org.eclipse.smarthome.model.sitemap.sitemap.Chart

2019-12-25 20:07:33.568 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve visibility item chart_p2 for widget org.eclipse.smarthome.model.sitemap.sitemap.Chart

2019-12-25 20:07:33.570 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve visibility item chart_p2 for widget org.eclipse.smarthome.model.sitemap.sitemap.Chart

2019-12-25 20:07:33.571 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve visibility item chart_p2 for widget org.eclipse.smarthome.model.sitemap.sitemap.Chart

Also some of my custom Items are suddenly not working/visible I’m guessing all of them?. Like:

//Switches
Switch GWLight "GW Light" {expire="30s,OFF"}
Switch HomeDimm "Home Dimm Light" {expire="40s,OFF"}
Number chart_p1 "Sensor Chart Period"
Number chart_p2 "Battery Chart Period"

Group gAC "AC" {alexa="Endpoint.Thermostat"}
Number ACTemp "AC Temp Setting" (gAC) {alexa="ThermostatController.targetSetpoint"}
Switch ACPower "AC Power" {alexa="Switchable"}
Number ACMode "AC Mode" 
Switch DummyAC "DummyAC" {alexa="Switchable"}

Switch Edimax_battery "Edimax Battery" {channel="exec:command:battery:run"}
Switch EdimaxMotion   "Edimax Motion Status" <motion> {expire="7s,OFF"}
Number EdimaxBatVoltage "Edimax Battery Voltage [%.1f V]" <battery>     (gRestoreGroup)
DateTime EdimaxLastMotion "[%1$tY-%1$tm-%1$td  %1$tH:%1$tM]" <clock>    (gRestoreGroup)
Number EdimaxEvents "[%d]" <camera>                                     (gRestoreGroup)
Switch EdimaxLowBattery "Edimax Low Battery" <energy>

String LivingRoomQuality "Living Room Air Quality" <airquality>
String BedroomQuality "Bedroom Air Quality" <airquality>
String KitchenQuality "Kitchen Air Quality" <airquality>

I tryied one advice noted here with the “clean-cache” approach but it’s stil the same. On the first look it seems all errors in openhab.log are related to my custom items mentioned above.

what’s the solution?

Thanks,
Mario

Have you tried restarting openHAB? I had similar issues until restarting. Some people say they have needed to do it up to three times after upgrading.

2 Likes

A few restarts and 3 reboots for me.:crazy_face:

1 Like

jesus :slight_smile: did some app restarts but no system reboot…

now it seems working again :slight_smile:
thanks