Disable EventSystem via SSH

All kinds of 'OS' scripts

Moderator: leecollings

Post Reply
TinusExcentricus
Posts: 16
Joined: Friday 16 October 2015 16:06
Target OS: Linux
Domoticz version: 2023.1
Location: The Netherlands
Contact:

Disable EventSystem via SSH

Post 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.
User avatar
waltervl
Posts: 5361
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2024.7
Location: NL
Contact:

Re: Disable EventSystem via SSH

Post 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.
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
TinusExcentricus
Posts: 16
Joined: Friday 16 October 2015 16:06
Target OS: Linux
Domoticz version: 2023.1
Location: The Netherlands
Contact:

Re: Disable EventSystem via SSH

Post 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.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest