Hi,
I had some problems with Domoticz crashing on my Pi but the last months they seemed solved. Recently I had a modem update from Ziggo and since then Domoticz failed every couple of days. On the forum I found a post (can't find anymore) which advised me to start Domoticz by hand through ssh:
start ssh
cd domoticz
sudo service domoticz.sh stop
sudo ./domoticz -nowwwpwd
When I do so, Domoticz works fine... until I close ssh.
After restarting Domoticz through ssh again and starting Domoticz I changed the Local networks (no username/password) on the System tab to "127.0.0.*;192.168.1.*;::1". This seemed to do the trick and I could run Domoticz again without ssh. But today Domoticz stopped again and I can 't get it running unless I start it from ssh with nowwwpwd. Since I am a complete dummy on Linux I have no clue how to fix this. Any suggestions?
Peter
Domoticz suddenly stops
Moderator: leecollings
- waltervl
- Posts: 5907
- Joined: Monday 28 January 2019 18:48
- Target OS: Linux
- Domoticz version: 2024.7
- Location: NL
- Contact:
Re: Domoticz suddenly stops
What error message do you see when you do
start ssh
cd domoticz
sudo service domoticz.sh stop
sudo ./domoticz
Or starts domoticz without issues?
If Domoticz just runs fine you should be able to reboot your RPi and domoticz will start normally.
If it does not start something is wrong with your service
.
start ssh
cd domoticz
sudo service domoticz.sh stop
sudo ./domoticz
Or starts domoticz without issues?
If Domoticz just runs fine you should be able to reboot your RPi and domoticz will start normally.
If it does not start something is wrong with your service
.
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
-
- Posts: 93
- Joined: Saturday 07 November 2020 21:41
- Target OS: Raspberry Pi / ODroid
- Domoticz version: beta
- Contact:
Re: Domoticz suddenly stops
Hi,
It starts without any error message as far as I can see. How can I dump the messages to a file so I can check them? When SSH is running, I can reach Domoticz. When I stop SSH, I get the message ERR_CONNECTION_REFUSED.
Peter
It starts without any error message as far as I can see. How can I dump the messages to a file so I can check them? When SSH is running, I can reach Domoticz. When I stop SSH, I get the message ERR_CONNECTION_REFUSED.
Peter
- waltervl
- Posts: 5907
- Joined: Monday 28 January 2019 18:48
- Target OS: Linux
- Domoticz version: 2024.7
- Location: NL
- Contact:
Re: Domoticz suddenly stops
To store the log file
Stop domoticz:
sudo /etc/init.d/domoticz.sh stop
or
sudo systemctl stop domoticz.service
Edit the /etc/init.d/domoticz.sh script file:
sudo nano /etc/init.d/domoticz.sh
and edit the domoticz deamon logging parameters DAEMON_ARGS="$DAEMON_ARGS -log /tmp/domoticz.txt"
uncomment that line by removing the leading # character
Save the file and reboot your Pi.
Stop domoticz:
sudo /etc/init.d/domoticz.sh stop
or
sudo systemctl stop domoticz.service
Edit the /etc/init.d/domoticz.sh script file:
sudo nano /etc/init.d/domoticz.sh
and edit the domoticz deamon logging parameters DAEMON_ARGS="$DAEMON_ARGS -log /tmp/domoticz.txt"
uncomment that line by removing the leading # character
Save the file and reboot your Pi.
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Who is online
Users browsing this forum: No registered users and 1 guest