did the automatic update via openhabian-config as described in the github page.
However now my basic ui, classic ui and android app dont see my main application anymore. I see the sitemap file, i see the itemsfile but the UI’s donot. They do see another, not important sitemap though. My log file is just filled with the message it cannot load the unknown sitemap
2017-06-28 21:21:03.668 [INFO ] [est.sitemap.internal.SitemapResource] - Received HTTP GET request at 'http://192.168.1.103:8080/rest/' for the unknown sitemap 'Huis'.
2017-06-28 21:21:03.668 [INFO ] [est.sitemap.internal.SitemapResource] - Received HTTP GET request at 'http://192.168.1.103:8080/rest/' for the unknown sitemap 'Huis'.
2017-06-28 21:21:03.689 [INFO ] [est.sitemap.internal.SitemapResource] - Received HTTP GET request at 'http://192.168.1.103:8080/rest/' for the unknown sitemap 'Huis'.
2017-06-28 21:21:03.691 [INFO ] [est.sitemap.internal.SitemapResource] - Received HTTP GET request at 'http://192.168.1.103:8080/rest/' for the unknown sitemap 'Huis'.
In the Github page it is said the config files are now validated during runtime and that errors in the log file should be corrected. My eventslog however does not show any errors, so presuming this is indeed a runtime validation rejection, where do I even start ’ correcting’ a config file (item? sitemap?) that previously worked fine?
I rebooted several times with no effect
Thank you Martin, the config files are in the specific folders that are created by openhabian, where they also where in the previous working situation and where the still loading sitemap is also present.
i keep monitoring the logs,. apparently it does check the itemsfile as it shows the ongoing changes. None of my logs shows errors, so i really have no idea
Edit: The only thing i could think of is that maybe I had forgotten a closing ‘}’ so i added one at the end. That was not it, but now the log file started to errors.
Turned out i had two errors:
I had used a single quote, where a double quote was necessary
I had used an opening ‘{’ where according to the log a closing ‘}’ was expected.
In all honesty i still dont understand why it should not be an opening character,but now it loads.
I can do that, though I am not sure if it is reallu useful to put my sitemap here, but I will add it later today.
I was aware that if there were errors in the sitemap it would not load and I would have to check the openhab log to repair those errors.
In my case however, the log only mentioned it could not load the sitemap, no errors at all. Only when I started to make some changes, errors suddenly started to appear, which enabled me to pinpoint the problem. As said, the main issue was a quote and an opening ‘{’ character. Log told me that it expected a closing ‘}’ character.
Though I presumed i had to leave the opening character in place and just add the closing character before it, I decided to literally follow the advice and that worked.
when however I added the opening character too, as i was convinced i needed it to open a frame…sitemap refused to open and again no clarifying error in the log.
Anyway, will add sitemap later today
I think I tried that one in a distant past but as a complete newbie then I think I just had no idea where to start and i had the feeling that with directly editing the files I had more control. But I will definitely give it a try again, especially now with rhe critical OH2.1
I must admit I find the nesting in the sitemap still a bit daunting so I try to stay away from it as much as possible and put most stuff in my itemsfile.
Thanks for pointing out the designer again. I had kinda forgotten about its existence
Tnx, good to know. Now I spend most of my time counting accolades.
i installed Smarthome Designer on windows 10 this morning… would not open (no doubt a windows 10 problem). I will put it on Linux later today.
Still a bit surprised this particular error initially didnt report itself in openhab log, that happened only later when I started to mess with the file
You will need java 32Bit and the smarthome designer 32Bit (even on a 64Bit Win).
Don’t install the 0.9 designer version, it has some issues, grab the 0.8 version.