Page 1 of 1

Disable EventSystem via SSH

Posted: Monday 27 March 2023 21:56
by TinusExcentricus
Is there a way to disable the EventSystem (Lua/Blockly/Scripts) via commandline/SSH?

After saving a lua automation script in the web interface (Setup > Events), I cannot access the web interface anymore. I'm guessing something in the last script is causing this. As I understand, these scripts are stored in the database. So I can't delete it.

Re: Disable EventSystem via SSH

Posted: Monday 27 March 2023 23:03
by waltervl
Renaming the Domoticz/scripts fold should do the trick as domoticz will copy the scripts from database to a script subfolder on startup. No scripts folder will prevent the copy.

Re: Disable EventSystem via SSH

Posted: Tuesday 28 March 2023 11:52
by TinusExcentricus
waltervl wrote: Monday 27 March 2023 23:03 Renaming the Domoticz/scripts fold should do the trick as domoticz will copy the scripts from database to a script subfolder on startup. No scripts folder will prevent the copy.
Thank you! Already tried that. Didn't work in this scenario.
In the meantime I have reinstalled on another system, using a backup.