Thought I’d share this in case anyone else hits this…
I completely reinstalled Openhab by overwriting my SD card with a new openhabian installation. (Because I was getting lots of errors after upgrading to Openhab 4 and I thought a clean break was the way to go.)
Upon reboot I was led through the installation process. I then had to recreate all my add-ons, bindings and Things. All fine so far.
However I noticed that my “Model” hierarchy was somehow inherited from my previous installation when seen through openhabian:8443/settings/model/. But it was empty when seen through home.myopenhab.org/settings/model/. If I created new Model items using myopenhab.org, they didn’t appear when seen from openhabian:8443.
I tried deleting the Model items from openhabian:8443, but got an error saying “Item not removed: Not found”. And my log-file got an entry saying:
2023-08-24 21:12:50.593 [WARN ] [e.internal.SseItemStatesEventBuilder] - Attempting to send a state update of an item which doesn’t exist: DiningRoom
I tried shutting down Openhab and cleaning the database, and also rebooting my RPi, but the errant Model items were still there afterwards.
And grepping through all the files under “/var/lib/openhab/” didn’t find any items referencing my bad Model items.
This was all very puzzling as my openhab installation was completely new.
In the end I discovered I had to clean my Firefox cache to fix the problem. Now solved
- Platform information:
- Hardware: RPi 3B
- OS: Openhabian v1.8b
- Java Runtime Environment: Java 17
- openHAB version: 4.0.2