SQLHelper error on deleted script

Moderator: leecollings

Post Reply
ArnieO
Posts: 15
Joined: Sunday 19 March 2017 16:08
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.9700
Location: Norway
Contact:

SQLHelper error on deleted script

Post by ArnieO »

Domoticz version 4.9700 running on Raspberry Pi 3 B

I had a LUA script stored in ...../domoticz/scripts/lua that I have moved to the internal event editor.

The "new" internal script works correctly.
But after having deleted the script in the above folder, I still get this error message each time the event is triggered:

Code: Select all

Error: SQLHelper: Error script not found '/home/domoticz/domoticz/scripts/lua/script_device_KontorVeggbryter2.lua'
I have not been able to find anything in the forum explaining this, and its potential fix.

Anyone?
Electronics engineer partly out of practice, having turned the skills into hobby recently. Playing with RPi, Arduinos, ESP8266s etc. Installed Nexa units in the house, which I want to control with Domoticz / RPi3 / RFXtrx433.
User avatar
waaren
Posts: 6028
Joined: Tuesday 03 January 2017 14:18
Target OS: Linux
Domoticz version: Beta
Location: Netherlands
Contact:

Re: SQLHelper error on deleted script

Post by waaren »

ArnieO wrote: Wednesday 21 November 2018 15:50 Domoticz version 4.9700 running on Raspberry Pi 3 B

I had a LUA script stored in ...../domoticz/scripts/lua that I have moved to the internal event editor.

The "new" internal script works correctly.
But after having deleted the script in the above folder, I still get this error message each time the event is triggered:

Code: Select all

Error: SQLHelper: Error script not found '/home/domoticz/domoticz/scripts/lua/script_device_KontorVeggbryter2.lua'
Did you try to cycle the event system in [systems] [settings] [other] Eventsystem (disable + apply settings / enable + apply settings) ?
If that does not work, stop/start domoticz might help
Debian buster, bullseye on RPI-4, Intel NUC.
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
ArnieO
Posts: 15
Joined: Sunday 19 March 2017 16:08
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.9700
Location: Norway
Contact:

Re: SQLHelper error on deleted script

Post by ArnieO »

waaren wrote: Wednesday 21 November 2018 18:05 Did you try to cycle the event system in [systems] [settings] [other] Eventsystem (disable + apply settings / enable + apply settings) ?
If that does not work, stop/start domoticz might help
Thank you for your interest!
I tried both now, unfortunately it did not help. No change.
Electronics engineer partly out of practice, having turned the skills into hobby recently. Playing with RPi, Arduinos, ESP8266s etc. Installed Nexa units in the house, which I want to control with Domoticz / RPi3 / RFXtrx433.
User avatar
waaren
Posts: 6028
Joined: Tuesday 03 January 2017 14:18
Target OS: Linux
Domoticz version: Beta
Location: Netherlands
Contact:

Re: SQLHelper error on deleted script

Post by waaren »

ArnieO wrote: Wednesday 21 November 2018 23:10
waaren wrote: Wednesday 21 November 2018 18:05 Did you try to cycle the event system in [systems] [settings] [other] Eventsystem (disable + apply settings / enable + apply settings) ?
If that does not work, stop/start domoticz might help
Thank you for your interest!
I tried both now, unfortunately it did not help. No change.
Do you have an idea why the error points to two levels domoticz ? What is your actual domoticz dir ?

Code: Select all

/home/domoticz/domoticz/ 
Debian buster, bullseye on RPI-4, Intel NUC.
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
ArnieO
Posts: 15
Joined: Sunday 19 March 2017 16:08
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.9700
Location: Norway
Contact:

Re: SQLHelper error on deleted script

Post by ArnieO »

waaren wrote: Wednesday 21 November 2018 23:37
ArnieO wrote: Wednesday 21 November 2018 23:10
waaren wrote: Wednesday 21 November 2018 18:05 Did you try to cycle the event system in [systems] [settings] [other] Eventsystem (disable + apply settings / enable + apply settings) ?
If that does not work, stop/start domoticz might help
Thank you for your interest!
I tried both now, unfortunately it did not help. No change.
Do you have an idea why the error points to two levels domoticz ? What is your actual domoticz dir ?

Code: Select all

/home/domoticz/domoticz/ 
Something did not go as planned during a recent restore after an SD card crash. :roll: This is the correct directory of my domoticz. I am quite sure the error is not related to this.
Electronics engineer partly out of practice, having turned the skills into hobby recently. Playing with RPi, Arduinos, ESP8266s etc. Installed Nexa units in the house, which I want to control with Domoticz / RPi3 / RFXtrx433.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest