Page 1 of 2

Domoticz 16083 freezing (including 16086 version)

Posted: Wednesday 19 June 2024 12:57
by PA3FAT
Just did update to latest beta using the Domoticz interface.
Notice afterwards the system seems to freeze.

Did ./updatebeta to get it back via command line.

Same issue. Get homepage but after this it freezes.

What to check/where what is causing this?

On Pi/Latest Bullseye (did update/upgrade last week).

Re: Domoticz 16083 freezing

Posted: Wednesday 19 June 2024 14:41
by PA3FAT
Seems (as far as i can detect now) that connecting via the browser (edge/firefox incl mobile version) the system stops.

tail - f /var/log/domoticz.log then stops showing any more messages.

Re: Domoticz 16083 freezing (including 16086 version)

Posted: Wednesday 19 June 2024 14:49
by PA3FAT
Still in 16087 same happens

Re: Domoticz 16083 freezing (including 16086 version)

Posted: Wednesday 19 June 2024 15:48
by waltervl
There are some changes on the browser server communications.
What of you try a browser in private/incognito mode? If that does not stop the server you have to erase all your browser cache.

Re: Domoticz 16083 freezing (including 16086 version)

Posted: Wednesday 19 June 2024 16:15
by PA3FAT
Cleared the Edge cache as i am not using this frequently.
Domoticz still freezes.

All other browsers e.g. FF where not active at that time. Also did not use the FF on the mobile.

Re: Domoticz 16083 freezing (including 16086 version)

Posted: Wednesday 19 June 2024 16:31
by PA3FAT
Cleared all options again in Edge.
As soon as i start Edge it freezes.

Re: Domoticz 16083 freezing (including 16086 version)

Posted: Wednesday 19 June 2024 16:33
by Dave21w
Updated my test system to 16087 just after 2pm, no issues so far.

Re: Domoticz 16083 freezing (including 16086 version)

Posted: Wednesday 19 June 2024 16:38
by PA3FAT
On 16088 and only using Edge on laptop (no specific mode, no idea how to either) to test. Still Freezes.

Re: Domoticz 16083 freezing (including 16086 version)

Posted: Thursday 20 June 2024 9:18
by PA3FAT
Still my issues continue.

Just cleared Edge again with the options i can find in settings.

Still Domoticz comes to halt and GUI freezes

Please your help.

Re: Domoticz 16083 freezing (including 16086 version)

Posted: Thursday 20 June 2024 9:24
by waltervl
No crash log?
Did you check the troubleshooting wiki page?

Re: Domoticz 16083 freezing (including 16086 version)

Posted: Thursday 20 June 2024 10:51
by PA3FAT
some part of the log "var/log/domoticz.log" when i login to the GUI via user/password and directly domoticz stops working


2024-06-20 09:49:32.109 [72b18200] Debug: [web:22099] Did not find suitable Authorization!
2024-06-20 09:49:32.110 [72b18200] Debug: Web ACLF: 77.171.240.228 - - [20/Jun/2024:09:49:32.107 +0200] "GET /json HTTP/1.1" 401 91 - "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36 Edg/126.0.0.0"
2024-06-20 09:49:32.926 [72b18200] Debug: [web:22099] Host:77.171.240.228 Uri:/json.htm?type=command&param=logincheck
2024-06-20 09:49:32.927 [72b18200] Debug: [web:22099] Request Headers:
Host: www.pa3fat.nl
Connection: keep-alive
Content-Length: 375
Accept: application/json, text/plain, */*
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36 Edg/126.0.0.0
Content-Type: multipart/form-data; boundary=----WebKitFormBoundaryAJho1ohj2pNBGGEc
Origin: http://www.pa3fat.nl
Referer: http://www.pa3fat.nl/
Accept-Encoding: gzip, deflate
Accept-Language: nl,en;q=0.9,en-GB;q=0.8,en-US;q=0.7,es;q=0.6


2024-06-20 09:49:34.415 [72b18200] Debug: Web ACLF: 77.171.240.228 - - [20/Jun/2024:09:49:34.413 +0200] "GET /json HTTP/1.1" 101 0 - "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36 Edg/126.0.0.0"
2024-06-20 09:49:34.420 [72b18200] Debug: CWebServer::GetJSonPage :getdevices :/json.htm?type=command&param=getdevices&filter=all&used=true&favorite=1&order=[Order]&plan=0&lastupdate=0
2024-06-20 09:49:34.468 [72b18200] Debug: CWebServer::GetJSonPage :getdevices :/json.htm?type=command&param=getdevices&filter=all&used=true&favorite=1&order=[Order]&plan=0&lastupdate=1718869774
2024-06-20 09:49:38.160 [6f5fe200] Debug: SQLH UpdateValueInt Power Kwh HwID:5 DevID:1 Type:250 sType:1 nValue:0 sValue:20105326;9887179;8176050;19918860;0;990
2024-06-20 09:49:38.169 [6f5fe200] subtype = P1 Smart Meter Power
powerusage1 = 20105.326 kWh
powerusage2 = 9887.179 kWh
powerdeliv1 = 8176.050 kWh
powerdeliv2 = 19918.859 kWh
current usage = 000 Watt
current deliv = 990 Watt
2024-06-20 09:49:38.178 [6f5fe200] P1 Smart Meter USB: P1 Smart Meter (Power Kwh)

Re: Domoticz 16083 freezing (including 16086 version)

Posted: Thursday 20 June 2024 10:52
by PA3FAT
all has been working for years until latest changes in Domoticz starting from 16083.

So how to find out what is causing what?????

Re: Domoticz 16083 freezing (including 16086 version)

Posted: Thursday 20 June 2024 11:33
by PA3FAT
how to revert to much older database ?

Re: Domoticz 16083 freezing (including 16086 version)

Posted: Thursday 20 June 2024 11:40
by PA3FAT
just tried with fresh installed Chrome browser on the laptop. Same issue

Re: Domoticz 16083 freezing (including 16086 version)

Posted: Thursday 20 June 2024 12:26
by PA3FAT
when i start domiticz like this:

sudo ./domoticz -nowwwpwd

it keeps running and can access the domoticz GUI

however when i do it like this:
sudo service domoticz.sh start

the issue restarts and domoticz is crashing

What to do???

Re: Domoticz 16083 freezing (including 16086 version)

Posted: Thursday 20 June 2024 13:20
by waltervl
PA3FAT wrote: Thursday 20 June 2024 11:33 how to revert to much older database ?
See https://www.domoticz.com/wiki/Raspberry ... ect_update

But what do you mean with much older? How much older?

Re: Domoticz 16083 freezing (including 16086 version)

Posted: Thursday 20 June 2024 13:51
by PA3FAT
Hi Walter,

Can you please check on the different methods of running domoticz. In my previous posting. As when i run without password enforcement to login it keeps running when i connect via the GUI.

Re: Domoticz 16083 freezing (including 16086 version)

Posted: Thursday 20 June 2024 16:09
by waltervl
I cant help you on this. I personally do not have this issue. So something is wrong on your system. I have no clue what could be the reason.
But it looks like you are running your wnw domain. So better check that configuration, but that is completely out of my knowledge zone.

So what if you connect to the Domoticz server from internal network IP address and not through your domain?

Re: Domoticz 16083 freezing (including 16086 version)

Posted: Thursday 20 June 2024 16:41
by PA3FAT
Hi,

Will check using the internal ip and if i can run the GUI.

But i followed the troubleshooting pages and did all the manual startup actions and it keeps running.

As soon as is do sudo service domoticz start it fails.

Will keep you updated.

Re: Domoticz 16083 freezing (including 16086 version)

Posted: Thursday 20 June 2024 17:16
by PA3FAT
did the database check as described here
https://www.domoticz.com/wiki/Troublesh ... r_database
no errors reported.

tried via my internal ip (.40) to start the GUI.
as soon as i trigger the gui domoticz stops

what more can i do?