Hi all,
I need your help: I just migrated from 3.4 to 4.1 and basically everything works, except for rules aren’t reloaded after I change them. Any hints? Thanks!
Please check in the Addxon Store if the add-on for your script language is installed.
Could you be more precise what you mean with „reloaded“? Be aware that a script takes about 20 seconds for the FIRST ru after the rule has been changed…
The first error message is nothing to worry about. This happens during restarting openhab when a client is currently active.
For the second error message try to reinstall the marketplace add-on again.
Thanks for your answer and sorry for not being clear enough about “reloaded”. In OH3 when ever I edited a rule file and saved it, it was reloaded by openhab within seconds and a message about this was printed in the log console.
Now the rules are loaded at start of OH4 and executed - therefor I don’t think there are script addons missing. But this described reload is missing. If I edit a rule, I have to restart the openhab service to test my edition.
Concerning the marketplace add-on error: I can’t find any marketplace add-on. Is this something specific?
BTW: to edit files on this headless server with openhab, I use a link in /etc/openhab to a shared folder. Not sure this is connected - it has been working since OH1 this way.
Please test the following:
create a rule which just adds a message to the log file, run that rule and wait 20 seconds. Does that message appear in your logs?
I have the same problem since migration to OH 4.1 But sorry, I cannot follow the described way to solve the problem. Could anybody explain the solution in a more detailed kind? Thank you in
advance.