Items not loaded after reboot

Hi,

I’m running OH on docker.
Sometimes, after reboot my items not loaded properly or not at all.
2020-10-09 21:23:33.587 [WARN ] [rthome.model.script.actions.BusEvent] - Item ‘PMP_Z11_Status_SW’ does not exist.
2020-10-09 21:23:33.590 [WARN ] [rthome.model.script.actions.BusEvent] - Item ‘PMP_Z05_Status_SW’ does not exist.
2020-10-09 21:23:33.592 [WARN ] [rthome.model.script.actions.BusEvent] - Item ‘PMP_Z07_Status_SW’ does not exist.
2020-10-09 21:23:33.603 [WARN ] [rthome.model.script.actions.BusEvent] - Item ‘PMP_Z06_Status_SW’ does not exist.
2020-10-09 21:23:33.603 [WARN ] [rthome.model.script.actions.BusEvent] - Item ‘PMP_Z09_Status_SW’ does not exist.
2020-10-09 21:23:33.609 [WARN ] [rthome.model.script.actions.BusEvent] - Item ‘PMP_Z08_Status_SW’ does not exist.
2020-10-09 21:38:57.304 [INFO ] [rest.core.internal.item.ItemResource] - Received HTTP POST request at ‘items/BI_DWC_Motion’ for the unknown item ‘BI_DWC_Motion’.
2020-10-09 21:38:58.353 [INFO ] [rest.core.internal.item.ItemResource] - Received HTTP POST request at ‘items/BI_DWC_Motion’ for the unknown item ‘BI_DWC_Motion’.
2020-10-09 21:38:59.370 [INFO ] [rest.core.internal.item.ItemResource] - Received HTTP POST request at ‘items/BI_DWC_Motion’ for the unknown item ‘BI_DWC_Motion’.

to fix this I’m just saving the items file again with visual studio code or something
I’ve tried looking at events and openhab log file, nothing there to point “items” loaded.
How come ? Any tips how to debug this ?

This sounds like a well known problem that hopefully will be solved in OH 3. After a clearing of the cache, some Items are just not recognized as being there. The typical solution is to give OH enough time to come up fully and then restart it, as it is unclear whether it’s just Items that have failed to load.

1 Like

So, correct me if I’m wrong, you suggest that each time I reboot or upgrade or something, do another safe reboot after few min ?

Only when the cache is cleared which happens during an upgrade to a new version (or a downgrade for that matter) or when you manually clear the cache. It is not required every time you restart openHAB.

1 Like

Thank you.