domoticz chrashes when i install latest beta.
Moderator: leecollings
-
- Posts: 562
- Joined: Sunday 11 December 2016 13:51
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
domoticz chrashes when i install latest beta.
Hi!
i have for about a year installed and used the betas of domoticz without any problem, but about 1 month ago domoticz froze after i installed the beta, dont remeber which version it was, luckily i had an backup that i installed and everything has been working since then, and i havent tried any more betas after that, but today i gave it a try again, i thought that if there was a problem with that beta that time, they have fixed it, but domoticz froze again after the latest beta, it freezes when domoticz is about to start, the webpage starts to appear, but then it freezes.
what can be wrong, am i the only one?
any suggestions?
i have for about a year installed and used the betas of domoticz without any problem, but about 1 month ago domoticz froze after i installed the beta, dont remeber which version it was, luckily i had an backup that i installed and everything has been working since then, and i havent tried any more betas after that, but today i gave it a try again, i thought that if there was a problem with that beta that time, they have fixed it, but domoticz froze again after the latest beta, it freezes when domoticz is about to start, the webpage starts to appear, but then it freezes.
what can be wrong, am i the only one?
any suggestions?
-
- Posts: 12
- Joined: Wednesday 25 September 2019 14:27
- Target OS: Raspberry Pi / ODroid
- Domoticz version: V12461
- Location: The Netherlands -Hilversum
- Contact:
Re: domoticz chrashes when i install latest beta.
Can you try renaming the plugin directory?
Ive got same problem with domoticz since a couple of days.
see:
https://www.domoticz.com/forum/viewtopi ... =6&t=30317
Thijs
Ive got same problem with domoticz since a couple of days.
see:
https://www.domoticz.com/forum/viewtopi ... =6&t=30317
Thijs
-
- Posts: 562
- Joined: Sunday 11 December 2016 13:51
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: domoticz chrashes when i install latest beta.
thanks, i read that post, it seems like the same problem i have, but should i try to solve it, or do you think that it will be fixed in future releases of domoticz?
-
- Posts: 12
- Joined: Wednesday 25 September 2019 14:27
- Target OS: Raspberry Pi / ODroid
- Domoticz version: V12461
- Location: The Netherlands -Hilversum
- Contact:
Re: domoticz chrashes when i install latest beta.
I hope they help us,
Just bought a Raspberry PI 4 to solve the problem.
No luck......
Just bought a Raspberry PI 4 to solve the problem.
No luck......
-
- Posts: 12
- Joined: Wednesday 25 September 2019 14:27
- Target OS: Raspberry Pi / ODroid
- Domoticz version: V12461
- Location: The Netherlands -Hilversum
- Contact:
Re: domoticz chrashes when i install latest beta.
You can try replace the specific plugin folders 1-by-1 to determine which plugin crashing your installation.
Thijs
Thijs
- gizmocuz
- Posts: 2485
- Joined: Thursday 11 July 2013 18:59
- Target OS: Raspberry Pi / ODroid
- Domoticz version: beta
- Location: Top of the world
- Contact:
Re: domoticz chrashes when i install latest beta.
@tjabas, I don't think it is the same issue as it seems your Domoticz installation is freezing right at the start.
Could you try the following:
make sure you have a backup
login to you pi
now you are on the latest backup
stop domoticz with
Now start Domoticz by hand with:
What do you see, does it start correctly, does it show any errors ?
Could you try the following:
make sure you have a backup
login to you pi
Code: Select all
cd domoticz
./updatebeta
stop domoticz with
Code: Select all
sudo service domoticz stop
Code: Select all
./domoticz
Quality outlives Quantity!
-
- Posts: 562
- Joined: Sunday 11 December 2016 13:51
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: domoticz chrashes when i install latest beta.
Thanks for your help, i did what you told me, and i get alot of strange error codes, it seems like the webinterface crashes, also zigate and z-wave chrashes. i will try to post a part of the log:
the log was alot bigget ,but i tried to short it down a bit.
any suggestion of what to do?
Code: Select all
pi@raspberrypi:~/domoticz $ ./domoticz
2019-12-09 21:46:31.071 Status: Domoticz V4.11563 (c)2012-2019 GizMoCuz
2019-12-09 21:46:31.071 Status: Build Hash: d5e8a14bf, Date: 2019-12-09 20:21:2 4
2019-12-09 21:46:31.071 Status: Startup Path: /home/pi/domoticz/
2019-12-09 21:46:31.100 Sunrise: 08:50:00 SunSet: 15:22:00
2019-12-09 21:46:31.100 Day length: 06:32:00 Sun at south: 12:06:00
2019-12-09 21:46:31.101 Civil twilight start: 07:58:00 Civil twilight end: 16:1 4:00
2019-12-09 21:46:31.101 Nautical twilight start: 07:05:00 Nautical twilight end : 17:07:00
2019-12-09 21:46:31.101 Astronomical twilight start: 06:16:00 Astronomical twil ight end: 17:56:00
2019-12-09 21:46:31.182 Status: PluginSystem: Started, Python version '3.4.2'.
2019-12-09 21:46:31.192 Active notification Subsystems: email, kodi, pushbullet , pushover (4/13)
2019-12-09 21:46:31.194 Status: WebServer(HTTP) started on address: :: with por t 8080
2019-12-09 21:46:31.204 Error: WebServer(SSL) startup failed on address 0.0.0.0 with port: 443: bind: Permission denied
2019-12-09 21:46:31.204 Error: WebServer(SSL) check privileges for opening port s below 1024
2019-12-09 21:46:31.206 Status: Camera: settings (re)loaded
2019-12-09 21:46:31.207 Starting shared server on: :::6144
2019-12-09 21:46:31.208 Status: TCPServer: shared server started...
2019-12-09 21:46:31.208 Status: RxQueue: queue worker started...
2019-12-09 21:46:33.212 Status: RFXCOM: Worker started...
2019-12-09 21:46:33.212 Status: Kodi: Started
2019-12-09 21:46:33.212 Status: Hardware Monitor: Started
2019-12-09 21:46:33.229 Status: (Roborock s50) Started.
2019-12-09 21:46:33.229 Status: (zigate) Started.
2019-12-09 21:46:33.230 Status: EventSystem: reset all events...
2019-12-09 21:46:33.239 Status: EventSystem: reset all device statuses...
2019-12-09 21:46:33.313 Kodi: (kodi) Starting thread.
2019-12-09 21:46:33.379 Status: Python EventSystem: Initalizing event module.
2019-12-09 21:46:33.379 Status: EventSystem: Started
2019-12-09 21:46:33.380 Status: EventSystem: Queue thread started...
2019-12-09 21:46:33.414 Kodi: Starting I/O service thread.
2019-12-09 21:46:33.603 Status: PluginSystem: Entering work loop.
2019-12-09 21:46:33.729 Status: OpenZWave: using config in: /home/pi/domoticz/Config/
Could Not Open OZW Log File.
2019-12-09 21:46:33.733 Always, OpenZwave Version 1.6-943-gacce060e-dirty Starting Up
2019-12-09 21:46:33.762 Always, Using Language Localization
2019-12-09 21:46:33.773 Status: OpenZWave: Starting...
2019-12-09 21:46:33.774 Status: OpenZWave: Version: 1.6-943-gacce060e-dirty
2019-12-09 21:46:33.929 Status: (Roborock s50) Entering work loop.
2019-12-09 21:46:33.930 Status: (Roborock s50) Initialized version 0.1.3, author 'mrin'
2019-12-09 21:46:34.215 Status: RFXCOM: Using serial port: /dev/ttyUSB_RFX
2019-12-09 21:46:35.098 Status: (zigate) Entering work loop.
2019-12-09 21:46:35.099 Status: (zigate) Initialized version 4.5, author 'zaraki673 pipiche38'
2019-12-09 21:46:35.120 Status: (zigate) Zigate plugin stable-4.5.7 started
2019-12-09 21:46:35.120 (zigate) Debug: 0
2019-12-09 21:46:35.120 Status: (zigate) Python Version - 3.4.2 (default, Sep 16 2019, 20:33:47)
[GCC 4.9.2]
2019-12-09 21:46:35.121 Status: (zigate) Switching Heartbeat to 5 s interval
2019-12-09 21:46:35.121 Status: (zigate) DomoticzVersion: 4.11563
2019-12-09 21:46:35.121 Status: (zigate) DomoticzHash: d5e8a14bf
2019-12-09 21:46:35.121 Status: (zigate) DomoticzBuildTime: 2019-12-09 20:21:24
2019-12-09 21:46:35.121 Status: (zigate) load PluginConf
2019-12-09 21:46:35.122 Error: (zigate) 'onStart' failed 'PermissionError'.
2019-12-09 21:46:35.122 Error: (zigate) ----> Line 781 in '/home/pi/domoticz/plugins/Domoticz-Zigate/plugin.py', function onStart
2019-12-09 21:46:35.123 Error: (zigate) ----> Line 224 in '/home/pi/domoticz/plugins/Domoticz-Zigate/plugin.py', function onStart
2019-12-09 21:46:35.123 Error: (zigate) ----> Line 183 in '/home/pi/domoticz/plugins/Domoticz-Zigate/Classes/PluginConf.py', function __init__
2019-12-09 21:46:35.123 Error: (zigate) ----> Line 289 in '/home/pi/domoticz/plugins/Domoticz-Zigate/Classes/PluginConf.py', function _load_Settings
sudo2019-12-09 21:47:29.702 Error, Node162, ERROR: Dropping command, expected response not received after 1 attempt(s). Command: "SecurityCmd_SupportedGet (Node=162): 0x01, 0x09, 0x00, 0x13, 0xa2, 0x02, 0x98, 0x02, 0x25, 0x51, 0xab"
2019-12-09 21:47:29.702 Always,
any suggestion of what to do?
- gizmocuz
- Posts: 2485
- Joined: Thursday 11 July 2013 18:59
- Target OS: Raspberry Pi / ODroid
- Domoticz version: beta
- Location: Top of the world
- Contact:
Re: domoticz chrashes when i install latest beta.
Looks like there is a problem with the python scripts...
Could you move the files from the scripts/python folder somewhere else
then try to start domoticz again ?
I do not see a crash... was it crashed ?
Could you move the files from the scripts/python folder somewhere else
then try to start domoticz again ?
I do not see a crash... was it crashed ?
Quality outlives Quantity!
-
- Posts: 562
- Joined: Sunday 11 December 2016 13:51
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: domoticz chrashes when i install latest beta.
yes i think it was chrashed, nothing worked anyway, i couldnt reach the webinterface and none of my swithes at home worked,
i will try to remove the python script and restart it, can i try to heal domoticz somehow?
or what if i install domoticz again,do i keep my settings in domoticz then?
or can i update pyton if its that one that fails?
if so, how do i update python?
i will try to remove the python script and restart it, can i try to heal domoticz somehow?
or what if i install domoticz again,do i keep my settings in domoticz then?
or can i update pyton if its that one that fails?
if so, how do i update python?
-
- Posts: 562
- Joined: Sunday 11 December 2016 13:51
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: domoticz chrashes when i install latest beta.
so i have moved the python scripts to another folder, but i still get error codes, and domoticz wont start:
Code: Select all
2019-12-10 14:20:10.398 Status: Domoticz V4.11563 (c)2012-2019 GizMoCuz
2019-12-10 14:20:10.398 Status: Build Hash: d5e8a14bf, Date: 2019-12-09 20:21:2 4
2019-12-10 14:20:10.398 Status: Startup Path: /home/pi/domoticz/
2019-12-10 14:20:10.429 Sunrise: 08:51:00 SunSet: 15:22:00
2019-12-10 14:20:10.429 Day length: 06:31:00 Sun at south: 12:06:00
2019-12-10 14:20:10.429 Civil twilight start: 07:59:00 Civil twilight end: 16:1 4:00
2019-12-10 14:20:10.429 Nautical twilight start: 07:06:00 Nautical twilight end : 17:07:00
2019-12-10 14:20:10.429 Astronomical twilight start: 06:17:00 Astronomical twil ight end: 17:55:00
2019-12-10 14:20:10.530 Status: PluginSystem: Started, Python version '3.4.2'.
2019-12-10 14:20:10.540 Active notification Subsystems: email, kodi, pushbullet , pushover (4/13)
2019-12-10 14:20:10.542 Error: WebServer(HTTP) startup failed on address 0.0.0. 0 with port: 8080: bind: Address already in use
2019-12-10 14:20:10.542 Error: WebServer(HTTP) check if no other application is using port: 8080
2019-12-10 14:20:10.550 Error: WebServer(SSL) startup failed on address 0.0.0.0 with port: 443: bind: Permission denied
2019-12-10 14:20:10.550 Error: WebServer(SSL) check privileges for opening port s below 1024
2019-12-10 14:20:10.550 Error: No servers are configured. Hence mydomoticz will not be started either (if configured)
terminate called without an active exception
2019-12-10 14:20:10.551 Error: Domoticz(pid:28974, tid:28974('domoticz')) recei ved fatal signal 6 (Aborted)
2019-12-10 14:20:10.551 Error: siginfo address=0x712e, address=0x76c56f44
2019-12-10 14:20:15.756 Error: Failed to start gdb, will use backtrace() for printing stack frame
2019-12-10 14:20:15.758 Error: #0 ./domoticz() [0x30a744]
2019-12-10 14:20:15.758 Error: #1 ./domoticz : signal_handler(int, siginfo_t*, void*) + 0x27c [0x30b1dc]
2019-12-10 14:20:15.758 Error: #2 /lib/arm-linux-gnueabihf/libc.so.6 : __default_rt_sa_restorer_v2 + 0 [0x76c581a0]
2019-12-10 14:20:15.758 Error: #3 /lib/arm-linux-gnueabihf/libc.so.6 : gsignal + 0x38 [0x76c56f70]
Avbruten (SIGABRT)
pi@raspberrypi:~/domoticz $ 2019-12-10 14:20:10.530 Status: PluginSystem: Started, Python version '3.4.2'.
-bash: 2019-12-10: kommandot finns inte
pi@raspberrypi:~/domoticz $ 2019-12-10 14:20:10.540 Active notification Subsystems: email, kodi, pushbullet , pushover (4/13)
-bash: syntaxfel nära den oväntade symbolen "("
pi@raspberrypi:~/domoticz $ 2019-12-10 14:20:10.542 Error: WebServer(HTTP) startup failed on address 0.0.0. 0 with port: 8080: bind: Address already in use
-bash: syntaxfel nära den oväntade symbolen "("
pi@raspberrypi:~/domoticz $ 2019-12-10 14:20:10.542 Error: WebServer(HTTP) check if no other application is using port: 8080
-bash: syntaxfel nära den oväntade symbolen "("
pi@raspberrypi:~/domoticz $ 2019-12-10 14:20:10.550 Error: WebServer(SSL) startup failed on address 0.0.0.0 with port: 443: bind: Permission denied
-bash: syntaxfel nära den oväntade symbolen "("
pi@raspberrypi:~/domoticz $ 2019-12-10 14:20:10.550 Error: WebServer(SSL) check privileges for opening port s below 1024
-bash: syntaxfel nära den oväntade symbolen "("
pi@raspberrypi:~/domoticz $ 2019-12-10 14:20:10.550 Error: No servers are configured. Hence mydomoticz will not be started either (if configured)
-bash: syntaxfel nära den oväntade symbolen "("
pi@raspberrypi:~/domoticz $ terminate called without an active exception
-bash: terminate: kommandot finns inte
pi@raspberrypi:~/domoticz $ 2019-12-10 14:20:10.551 Error: Domoticz(pid:28974, tid:28974('domoticz')) recei ved fatal signal 6 (Aborted)
-bash: syntaxfel nära den oväntade symbolen "("
pi@raspberrypi:~/domoticz $ 2019-12-10 14:20:10.551 Error: siginfo address=0x712e, address=0x76c56f44
-bash: 2019-12-10: kommandot finns inte
pi@raspberrypi:~/domoticz $ 2019-12-10 14:20:15.756 Error: Failed to start gdb, will use backtrace() for printing stack frame
-bash: syntaxfel nära den oväntade symbolen "("
pi@raspberrypi:~/domoticz $
pi@raspberrypi:~/domoticz $ 2019-12-10 14:20:15.758 Error: #0 ./domoticz() [0x30a744]
-bash: 2019-12-10: kommandot finns inte
pi@raspberrypi:~/domoticz $ 2019-12-10 14:20:15.758 Error: #1 ./domoticz : signal_handler(int, siginfo_t*, void*) + 0x27c [0x30b1dc]
-bash: 2019-12-10: kommandot finns inte
pi@raspberrypi:~/domoticz $ 2019-12-10 14:20:15.758 Error: #2 /lib/arm-linux-gnueabihf/libc.so.6 : __default_rt_sa_restorer_v2 + 0 [0x76c581a0]
-bash: 2019-12-10: kommandot finns inte
pi@raspberrypi:~/domoticz $ 2019-12-10 14:20:15.758 Error: #3 /lib/arm-linux-gnueabihf/libc.so.6 : gsignal + 0x38 [0x76c56f70]
-bash: 2019-12-10: kommandot finns inte
- waaren
- Posts: 6028
- Joined: Tuesday 03 January 2017 14:18
- Target OS: Linux
- Domoticz version: Beta
- Location: Netherlands
- Contact:
Re: domoticz chrashes when i install latest beta.
It looks like your domoticz ports are already in use
You can try to identify which process(es) prevent domoticz from using these ports. You can do that with the netstat tool.
sudo netstat -tulpn | grep <portnumber to check>
if you get the message
command not found
then do a sudo apt install net-tools first.
Debian buster, bullseye on RPI-4, Intel NUC.
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
-
- Posts: 562
- Joined: Sunday 11 December 2016 13:51
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: domoticz chrashes when i install latest beta.
Hi!
i think i have isolated the problem, i managed to install the beta, and during the boot of domoticz i disabled the zigate plugin before domoticz froze, after that everything works with the update, but not zigate, i had these problems 6 months ago when i started using zigate, the solution was to adress a specific port on the raspberry pi to zigate, after that it has work without any problems, i cant inderstand why this isnt working anymore.
i think i have isolated the problem, i managed to install the beta, and during the boot of domoticz i disabled the zigate plugin before domoticz froze, after that everything works with the update, but not zigate, i had these problems 6 months ago when i started using zigate, the solution was to adress a specific port on the raspberry pi to zigate, after that it has work without any problems, i cant inderstand why this isnt working anymore.
-
- Posts: 562
- Joined: Sunday 11 December 2016 13:51
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: domoticz chrashes when i install latest beta.
well, didnt get it to work, am giving up at the moment, happily installed the backup sd card, but suddenly now i have lost 10 of the nodes in zigate, nothing works now, i thought that the zigate devices where stored in the sd card, but there must have been something wrong in the zigate usb itself. 

Who is online
Users browsing this forum: No registered users and 1 guest