Page 1 of 1

SQLHelper error on deleted script

Posted: Wednesday 21 November 2018 15:50
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?

Re: SQLHelper error on deleted script

Posted: Wednesday 21 November 2018 18:05
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

Re: SQLHelper error on deleted script

Posted: Wednesday 21 November 2018 23:10
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.

Re: SQLHelper error on deleted script

Posted: Wednesday 21 November 2018 23:37
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/ 

Re: SQLHelper error on deleted script

Posted: Wednesday 21 November 2018 23:43
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.