Issue of the topic: After Upgrading from 4.3 to 5.0.1 my rules (configured in the web-ui) were not executed anymore. After saving each of the rules again the rules work again.
If logs where generated please post these here using code fences: e.g. before saving the rules these messages are in the openhab.log:
“2025-09-21 18:27:10.996 [ERROR] [.handler.AbstractScriptModuleHandler] - Script execution of rule with UID ‘S1_Timestamp’ failed: Cannot read field “itemRegistry” because the return value of “org.openhab.core.model.script.ScriptServiceUtil.getInstance()” is null”
“2025-09-21 18:27:11.176 [ERROR] [e.automation.internal.RuleEngineImpl] - Failed to execute rule ‘Solax_X3_01_ModBus_Meter1_CT_Phases_invert’: Failed to execute action: 2(Cannot invoke “com.google.inject.Injector.getInstance(java.lang.Class)” because the return value of “org.openhab.core.model.script.ScriptStandaloneSetup.getInjector()” is null)”
There was also an issue with units from some sensors, e.g. the unit of one item was MWh which works in 4.3, but after the upgrade to 5.0.1 the values in the plot switched from like 13234 to 13.234 which leads to false presentation and calculations. Changing the unit to kWh and using a ‘state description’ with MWh fixes this issue.
Another very annoying issue is lost item-channel links for homeassistant mqtt things. In my case about 130 orphaned links were created after the upgrade which had to be fixed manually :-/
After creating all the links again and removing the orphaned links, it works again.
The rules issue is heavily discussed in the release thread for 5.0. An issue was opened but I’m not sure a solution has been found yet.
There isn’t enough detail to help much with the unit issue. In particular, what unit, if any, is the channel publishing? What binding?
The MQTT Home Assistant issue is one of the documented breaking changes mentioned in the release notes. But you shouldn’t have ended up with orphaned links unless you didn’t unlink the items before recreating/discovering the Things as discussed in the release notes. Without more details about the specific steps taken I can’t guess as to what happened there.
It was the MQTT-Binding, i guess. I recognized the breaking change, but as you say, i did not expect the orphaned links. The MQTT Thing is an OpemDTU (esp32) with 3 Hoymiles inverters connected.
If you want, i can try to get some more details from the logs. I’ve made i backup before the upgrade, too.
If it’s fixed and this is the only report of orphaned links we can probably just leave it. But I’m the future, be sure that you either unlink the items before removing the Things and then relink the Items, or that when you rediscover/recreate the Things that you edit the Thing ID to exactly match the old Thing’s ID. Then there won’t be any orphaned links.