Currently i cant logon to domoticz and json requests result in a timeout
Cant connect to Domoticz after error in script Topic is solved
Moderators: leecollings, remb0
-
DutchTrickle
- Posts: 3
- Joined: Friday 30 December 2016 22:18
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Cant connect to Domoticz after error in script
I've made a lua script that hangs on my Pi. The log told me it took more than 10 seconds to complete and now i cant connet to domoticz at all. Iver tried rebooting, but this still happens. Is there a way for me to boot domoticz with the scripts disabled? Or can i edit the scripts externally on a windows pc? (the script was made using the webinterface -> events -> lua).
Currently i cant logon to domoticz and json requests result in a timeout
Currently i cant logon to domoticz and json requests result in a timeout
- Egregius
- Posts: 2592
- Joined: Thursday 09 April 2015 12:19
- Target OS: Linux
- Domoticz version: v2024.7
- Location: Beitem, BE
- Contact:
Re: Cant connect to Domoticz after error in script
Disable the script in the database using a SQL3lite tool like Adminer, SQLite explorer,...
-
DutchTrickle
- Posts: 3
- Joined: Friday 30 December 2016 22:18
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Cant connect to Domoticz after error in script
So, how do i do this?
I can loging using ssh. Can i copy the database fromt here an place it back? Or do i take the sdcard from my pi and put it in a different machine? What variable do i look for? I need a bit more explanation i'm afraid.
I can loging using ssh. Can i copy the database fromt here an place it back? Or do i take the sdcard from my pi and put it in a different machine? What variable do i look for? I need a bit more explanation i'm afraid.
- Egregius
- Posts: 2592
- Joined: Thursday 09 April 2015 12:19
- Target OS: Linux
- Domoticz version: v2024.7
- Location: Beitem, BE
- Contact:
Re: Cant connect to Domoticz after error in script
Use a sftp client like cyberduck, winscp, ...
stop domoticz
copy the database file
open it in a sqlite explorer
set Status = 0 in Eventmaster table
copy the database back
start domoticz
stop domoticz
copy the database file
open it in a sqlite explorer
set Status = 0 in Eventmaster table
copy the database back
start domoticz
-
DutchTrickle
- Posts: 3
- Joined: Friday 30 December 2016 22:18
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Cant connect to Domoticz after error in script
thanks a lot. Worked perfectly.
Who is online
Users browsing this forum: Bing [Bot] and 1 guest