Config file updates only in effect after a restart

I agree with the others. Something is seriously fumbled up with your setup. You should either clear cache and tmp once to move potential problems there out of the way, otherwise there is maybe a serious error in your config files. That could stop the dynamic reload but survive a restart. At this point it’s really up to you. You could of course backup your config files, then start with a fresh openHABian setup. I don’t think that’s needed.

1 Like

Thanks Thom

it is solved
I did clear the cache and tmp. that was not it I think
Then I removed the conf directory that was recursing all my files like a russian doll
Then I did clear cache and temp again
then I waited
and then after trying a few times it worked again.
I think the conf directory was the problem

I got that by following this recommendation

Dim, hard to say, but I think it was that conf file that caused the havoc. removing that did not solve it immediately… but after a while (and again a cache/tmp clear) it started working again

Well spotted

1 Like

Yeah… don’t do that :slight_smile:

This (creating a conf folder within /etc/openhab2/) will cause this FileSystemLoopException within the config directories :stuck_out_tongue:

yes, i had a conf directory in a conf directory in a conf directory etc etc etc.
No surprise Openhab had no idea what file to update although in the end all files where the same.
But as usual with openhab… any solution also needs a bit of time for it to work. Once the Russian doll conf dir gone and again a clear cache and tmp dir it didnt immediately work, but some 5-10 min later, worked like a charm again.

Suddenly Openhab feels like a friend again rather than a stubborn bully

2 Likes

I like the Matryoshka doll analogy!
If you add some vodka to the mix, your system will fly ! :smile:

1 Like

@Dim @ThomDietrich @sihui
Thank you all very much for your help
It did not only solve my problem, but I learned as well: studied my openhab log with a bit more attention than usual and came across a few other pointers that I should have a look at. No big things, just some WARNINGS and INFO that can easily be fixed, but I now learned where to find the log info I was missing in the eventlog.

I am a happy man!!

3 Likes

I went ahead and closed this horrible thread :smile:

Do you use the “openHAB Log Viewer”?

Actually no. I didnt know of its existence. I just load it in an editor :slight_smile:

Oh :confounded:

The biggest issue with this is, that you will not see changes as they come.
Check out this list of options:

Thanks Thom, will give that a try

I think it will burn before it will fly :wink:

Anyway, one day later still working great. It is just so great to have Openhab respond again and dynamically update my files. It is just a pleasure working with it again

2 Likes

Just in case somebody having the same problem, here a solution which was releasing the problem at my installation:
setfacl -bnR /etc/openhab2

plus deleting some stuff from
rm -rf /etc/openhab2/icons/classic/readme.txt.dpkg-dist
rm -rf /etc/openhab2/html/habpanel/

I don’t know why but there was something wrong with the extended attributes preventing the watcher to load correctly.

1 Like