Hi all,
I have a problem with the “Model” page in OH3.
After the migration it worked without problems for 2 days. After I started to maintain the metadata here (80% done) the page doesn’t load anymore. It then looks like this:
I have the same problem here.
Raspberry pi , openhab 3.0 stable with 196 items.
I edit some items to make some corrections and suddenly no more semantic model page.
Only an eternal “loading” message.
Rebooted several times without any success , rest is working fine.
It was the same here. The error occured after I edited some items in the model.
The only comforting thing: since others seem to have the problem as well, it’s probably not because I did something wrong…
Right after migration it worked for 2 days. The issue came up after I started editing some objects in the model page.
So I’m not sure if it is directly related to the migration.
The same just happened to my installation. After having done a lot of editing in the model, all of a sudden the “loading” started and so far has not come to an end …
No hint in the logs.
I tried multiple restarts, cleaning the cache, changing the web browser, moving to the latest OH snapshot release - all without any success.
Is there any file specific to the model that may be corrupt?
I really think that we are dealing with a serious bug, since it already affects several people, and the story of how it happens is always the same. Also with me it was broken after many changes. But that’s what the overview is for.
Can someone submit an official bug report?
Especially since I can’t find a solution.
Do you have a fresh installation or a migrated one?
After a lot of “trial & error” I found a fix for my problem:
In my case it was the file
org.openhab.core.items.Item.json
in directory jsondb that caused the issue. I replaced it with one of the most recent backups and after cleaning the cache and restarting OH I could again access the model page. Not clear what the root cause was but I’m happy to have an operating model again.
Too bad I don’t have a backup from before the condition. I would have done that when I was done.
I would consider this a workaround because you lose the last item configuration. And if it happens again…
Strange that there are no errors in the log when the file is broken.
I had a similar problem with the .json file for the rules.
Developer Tool in Chrome says the following opening the Model page:
Uncaught (in promise) RangeError: Maximum call stack size exceeded
at Ee.walk (app.js:7)
at new Ee (app.js:7)
at Te (app.js:7)
at Ee.observeArray (app.js:7)
at new Ee (app.js:7)
at Te (app.js:7)
at Object.set [as equipment] (app.js:7)
at o.getChildren (app.js:27)
at Array.forEach (<anonymous>)
at o.getChildren (app.js:27)