Domoticz 16083 freezing (including 16086 version)

Please use template to report bugs and problems. Post here your questions when not sure where else to post
Only for bugs in the Domoticz application! other problems go in different subforums!

Moderators: leecollings, remb0

Forum rules
Before posting here, make sure you are on the latest Beta or Stable version.
If you have problems related to the web gui, clear your browser cache + appcache first.

Use the following template when posting here:

Version: xxxx
Platform: xxxx
Plugin/Hardware: xxxx
Description:
.....

If you are having problems with scripts/blockly, always post the script (in a spoiler or code tag) or screenshots of your blockly

If you are replying, please do not quote images/code from the first post

Please mark your topic as Solved when the problem is solved.
PA3FAT
Posts: 38
Joined: Thursday 07 January 2016 18:59
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Valkenswaard - The Netherlands
Contact:

Domoticz 16083 freezing (including 16086 version)

Post 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).
Last edited by PA3FAT on Wednesday 19 June 2024 14:43, edited 1 time in total.
PA3FAT
Posts: 38
Joined: Thursday 07 January 2016 18:59
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Valkenswaard - The Netherlands
Contact:

Re: Domoticz 16083 freezing

Post 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.
PA3FAT
Posts: 38
Joined: Thursday 07 January 2016 18:59
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Valkenswaard - The Netherlands
Contact:

Re: Domoticz 16083 freezing (including 16086 version)

Post by PA3FAT »

Still in 16087 same happens
User avatar
waltervl
Posts: 5148
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2024.7
Location: NL
Contact:

Re: Domoticz 16083 freezing (including 16086 version)

Post 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.
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
PA3FAT
Posts: 38
Joined: Thursday 07 January 2016 18:59
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Valkenswaard - The Netherlands
Contact:

Re: Domoticz 16083 freezing (including 16086 version)

Post 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.
PA3FAT
Posts: 38
Joined: Thursday 07 January 2016 18:59
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Valkenswaard - The Netherlands
Contact:

Re: Domoticz 16083 freezing (including 16086 version)

Post by PA3FAT »

Cleared all options again in Edge.
As soon as i start Edge it freezes.
Dave21w
Posts: 361
Joined: Sunday 29 November 2015 21:55
Target OS: Raspberry Pi / ODroid
Domoticz version: Stable
Location: UK
Contact:

Re: Domoticz 16083 freezing (including 16086 version)

Post by Dave21w »

Updated my test system to 16087 just after 2pm, no issues so far.
PA3FAT
Posts: 38
Joined: Thursday 07 January 2016 18:59
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Valkenswaard - The Netherlands
Contact:

Re: Domoticz 16083 freezing (including 16086 version)

Post by PA3FAT »

On 16088 and only using Edge on laptop (no specific mode, no idea how to either) to test. Still Freezes.
PA3FAT
Posts: 38
Joined: Thursday 07 January 2016 18:59
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Valkenswaard - The Netherlands
Contact:

Re: Domoticz 16083 freezing (including 16086 version)

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

Re: Domoticz 16083 freezing (including 16086 version)

Post by waltervl »

No crash log?
Did you check the troubleshooting wiki page?
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
PA3FAT
Posts: 38
Joined: Thursday 07 January 2016 18:59
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Valkenswaard - The Netherlands
Contact:

Re: Domoticz 16083 freezing (including 16086 version)

Post 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)
PA3FAT
Posts: 38
Joined: Thursday 07 January 2016 18:59
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Valkenswaard - The Netherlands
Contact:

Re: Domoticz 16083 freezing (including 16086 version)

Post 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?????
PA3FAT
Posts: 38
Joined: Thursday 07 January 2016 18:59
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Valkenswaard - The Netherlands
Contact:

Re: Domoticz 16083 freezing (including 16086 version)

Post by PA3FAT »

how to revert to much older database ?
PA3FAT
Posts: 38
Joined: Thursday 07 January 2016 18:59
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Valkenswaard - The Netherlands
Contact:

Re: Domoticz 16083 freezing (including 16086 version)

Post by PA3FAT »

just tried with fresh installed Chrome browser on the laptop. Same issue
PA3FAT
Posts: 38
Joined: Thursday 07 January 2016 18:59
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Valkenswaard - The Netherlands
Contact:

Re: Domoticz 16083 freezing (including 16086 version)

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

Re: Domoticz 16083 freezing (including 16086 version)

Post 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?
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
PA3FAT
Posts: 38
Joined: Thursday 07 January 2016 18:59
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Valkenswaard - The Netherlands
Contact:

Re: Domoticz 16083 freezing (including 16086 version)

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

Re: Domoticz 16083 freezing (including 16086 version)

Post 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?
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
PA3FAT
Posts: 38
Joined: Thursday 07 January 2016 18:59
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Valkenswaard - The Netherlands
Contact:

Re: Domoticz 16083 freezing (including 16086 version)

Post 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.
PA3FAT
Posts: 38
Joined: Thursday 07 January 2016 18:59
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Valkenswaard - The Netherlands
Contact:

Re: Domoticz 16083 freezing (including 16086 version)

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

Who is online

Users browsing this forum: No registered users and 1 guest