<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.domoticz.com/index.php?action=history&amp;feed=atom&amp;title=Troubleshooting</id>
	<title>Troubleshooting - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.domoticz.com/index.php?action=history&amp;feed=atom&amp;title=Troubleshooting"/>
	<link rel="alternate" type="text/html" href="https://wiki.domoticz.com/index.php?title=Troubleshooting&amp;action=history"/>
	<updated>2026-09-18T20:44:15Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.46.0</generator>
	<entry>
		<id>https://wiki.domoticz.com/index.php?title=Troubleshooting&amp;diff=19149&amp;oldid=prev</id>
		<title>Walter vl: /* Check the Domoticz log files */</title>
		<link rel="alternate" type="text/html" href="https://wiki.domoticz.com/index.php?title=Troubleshooting&amp;diff=19149&amp;oldid=prev"/>
		<updated>2026-03-26T23:12:54Z</updated>

		<summary type="html">&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;Check the Domoticz log files&lt;/span&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw-interface=&quot;&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 23:12, 26 March 2026&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l38&quot;&gt;Line 38:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 38:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;For more info on command line parameters see wiki page  [[Command line parameters]]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;For more info on command line parameters see wiki page  [[Command line parameters]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;For &lt;/del&gt;extra debug logging start domoticz manually with debug flags eg:&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;=== Enable extra debugging options ===&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Since version 2026.1 you can set easily extra debugging options in menu &#039;&#039;[[Setup Settings|Setup - Settings, Tab Log]]&#039;&#039;. When the issue is identified you can switch off the &lt;/ins&gt;extra debug logging &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;again.&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt; &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;For older versions &lt;/ins&gt;start domoticz manually with debug flags eg:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;code&amp;gt;./domoticz -www 8080 -sslwww 443 -log &amp;quot;/var/log/domoticz.log&amp;quot; -loglevel all -debuglevel normal,auth,hardware,received,webserver,eventsystem,python,thread_id&amp;lt;/code&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;code&amp;gt;./domoticz -www 8080 -sslwww 443 -log &amp;quot;/var/log/domoticz.log&amp;quot; -loglevel all -debuglevel normal,auth,hardware,received,webserver,eventsystem,python,thread_id&amp;lt;/code&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Walter vl</name></author>
	</entry>
	<entry>
		<id>https://wiki.domoticz.com/index.php?title=Troubleshooting&amp;diff=19117&amp;oldid=prev</id>
		<title>Walter vl: /* Activate logging to OS-file (with or without debugging) */</title>
		<link rel="alternate" type="text/html" href="https://wiki.domoticz.com/index.php?title=Troubleshooting&amp;diff=19117&amp;oldid=prev"/>
		<updated>2026-02-26T15:29:44Z</updated>

		<summary type="html">&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;Activate logging to OS-file (with or without debugging)&lt;/span&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw-interface=&quot;&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 15:29, 26 February 2026&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l60&quot;&gt;Line 60:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 60:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  DAEMON_ARGS=&amp;quot;$DAEMON_ARGS -loglevel  normal,status,error&amp;quot; # these loglevels will make it to the logfile&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  DAEMON_ARGS=&amp;quot;$DAEMON_ARGS -loglevel  normal,status,error&amp;quot; # these loglevels will make it to the logfile&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  #DAEMON_ARGS=&amp;quot;$DAEMON_ARGS -debuglevel normal,hardware,received,webserver,eventsystem,python,thread_id&amp;quot;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  #DAEMON_ARGS=&amp;quot;$DAEMON_ARGS -debuglevel normal,hardware,received,webserver,eventsystem,python,thread_id&amp;quot;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;For servers configured with systemd services use the settings in file &amp;lt;code&amp;gt;/etc/systemd/system/domoticz.service&amp;lt;/code&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Find the ExecStart line and append the -log and -loglevel parameters. For example:&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; &amp;lt;code&amp;gt;[Service]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; ExecStart=/home/pi/domoticz/domoticz -www 8080 -log /var/log/domoticz.log -loglevel normal,status,error&amp;lt;/code&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;The in both cases reload and restart the Domoticz service:&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  sudo systemctl daemon-reload&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  sudo systemctl daemon-reload&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  sudo service domoticz stop&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  sudo service domoticz stop&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Walter vl</name></author>
	</entry>
	<entry>
		<id>https://wiki.domoticz.com/index.php?title=Troubleshooting&amp;diff=18865&amp;oldid=prev</id>
		<title>Walter vl: /* Check the Domoticz log files */</title>
		<link rel="alternate" type="text/html" href="https://wiki.domoticz.com/index.php?title=Troubleshooting&amp;diff=18865&amp;oldid=prev"/>
		<updated>2025-03-31T12:21:37Z</updated>

		<summary type="html">&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;Check the Domoticz log files&lt;/span&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw-interface=&quot;&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 12:21, 31 March 2025&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l74&quot;&gt;Line 74:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 74:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;To open the crash log you normally need root (also called administrator) rights. Use for example &amp;lt;code&amp;gt;sudo cat domoticz_crash.log&amp;lt;/code&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;To open the crash log you normally need root (also called administrator) rights. Use for example &amp;lt;code&amp;gt;sudo cat domoticz_crash.log&amp;lt;/code&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;=== Check log in Docker container ===&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;To enable file logging in a Docker Domoticz container and to check those logs see wiki [[Docker#Debugging]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==Scripts==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==Scripts==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Walter vl</name></author>
	</entry>
	<entry>
		<id>https://wiki.domoticz.com/index.php?title=Troubleshooting&amp;diff=18533&amp;oldid=prev</id>
		<title>Walter vl: /* Windows */</title>
		<link rel="alternate" type="text/html" href="https://wiki.domoticz.com/index.php?title=Troubleshooting&amp;diff=18533&amp;oldid=prev"/>
		<updated>2024-04-03T07:15:43Z</updated>

		<summary type="html">&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;Windows&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;After installing new hardware or a new update domoticz sometime seems to fail.&amp;lt;br&amp;gt;&lt;br /&gt;
Now this could happen if you are running a beta version, but 99,9% of the time this has no relationship with the beta version at all,&amp;lt;br&amp;gt;&lt;br /&gt;
and even more so, nothing changed on the part where they have problems with.&amp;lt;br&amp;gt;&amp;#039;&amp;#039;&amp;#039;So what could be wrong ?&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==User account==&lt;br /&gt;
By default Domoticz is protected by a username (&amp;#039;&amp;#039;admin&amp;#039;&amp;#039;) and password (&amp;#039;&amp;#039;domoticz&amp;#039;&amp;#039;).&lt;br /&gt;
&lt;br /&gt;
Please either change the password as soon as possible (trough menu [[MyProfile|Setup - My Profile]]) or create a different admin user and remove the default (admin) user.&lt;br /&gt;
&lt;br /&gt;
Forgotten password: see the [[Lost Username Password|Lost Username Password page]]&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Browser Cache==&lt;br /&gt;
&lt;br /&gt;
The web frontend uses javascripts to connect with the server.&lt;br /&gt;
&lt;br /&gt;
If for some reason, the page does not load correctly in Firefox / Chrome / Edge, refresh these scripts. Mostly this can be done with CTRL-F5 to refresh all Domoticz javascripts.&lt;br /&gt;
&lt;br /&gt;
Also trying to start Domoticz in a incognito/private browser session can indicate javascript issues if it runs there.&lt;br /&gt;
&lt;br /&gt;
==Check the Domoticz log files==&lt;br /&gt;
Check the Domoticz Log file for hints. Go to menu &amp;lt;code&amp;gt;Setup - Log&amp;lt;/code&amp;gt; to see the Domoticz log. In the web this is a limited log file of only the last 300 lines.&lt;br /&gt;
&lt;br /&gt;
So try to check this log file when the issue starts. If the issue cannot be found in the log or when the web UI is not working you can activate logging to OS-file.&lt;br /&gt;
&lt;br /&gt;
Alternative you can stop the Domoticz Service and start Domoticz manually. Possible issue will appear in the terminal screen logging.&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
 cd domoticz&lt;br /&gt;
 sudo service domoticz stop&lt;br /&gt;
&lt;br /&gt;
Test if domoticz can be started by hand:&lt;br /&gt;
&lt;br /&gt;
 ./domoticz&lt;br /&gt;
&lt;br /&gt;
Additional you can start domoticz with extra parameters eg &amp;lt;code&amp;gt;./domoticz -www 8080 -sslwww 443 -log &amp;quot;/var/log/domoticz.log&amp;quot;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For more info on command line parameters see wiki page  [[Command line parameters]]&lt;br /&gt;
&lt;br /&gt;
For extra debug logging start domoticz manually with debug flags eg:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;./domoticz -www 8080 -sslwww 443 -log &amp;quot;/var/log/domoticz.log&amp;quot; -loglevel all -debuglevel normal,auth,hardware,received,webserver,eventsystem,python,thread_id&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If issue is solved you can start domoticz service again&lt;br /&gt;
&lt;br /&gt;
 sudo service domoticz start&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Activate logging to OS-file (with or without debugging)=== &lt;br /&gt;
&lt;br /&gt;
The log section in the Domoticz browser shows a max of 300 most recent log lines. This could be to small to check older issues so you can direct the logging to a log file.&lt;br /&gt;
&lt;br /&gt;
Be aware, this can become a large file!&lt;br /&gt;
&lt;br /&gt;
The domoticz logfile location and other settings are defined in &amp;lt;code&amp;gt;/etc/init.d/domoticz.sh&amp;lt;/code&amp;gt;&lt;br /&gt;
the relevant settings are in set to the &amp;lt;code&amp;gt;DAEMON_ARGS&amp;lt;/code&amp;gt; with a text editor of choice:&lt;br /&gt;
 DAEMON_ARGS=&amp;quot;$DAEMON_ARGS -log /var/log/domoticz.log&amp;quot; # or any other OS file&lt;br /&gt;
 #DAEMON_ARGS=&amp;quot;$DAEMON_ARGS -loglevel  normal,status,error, debug&amp;quot; # debug disabled for now&lt;br /&gt;
 DAEMON_ARGS=&amp;quot;$DAEMON_ARGS -loglevel  normal,status,error&amp;quot; # these loglevels will make it to the logfile&lt;br /&gt;
 #DAEMON_ARGS=&amp;quot;$DAEMON_ARGS -debuglevel normal,hardware,received,webserver,eventsystem,python,thread_id&amp;quot;&lt;br /&gt;
&lt;br /&gt;
 sudo systemctl daemon-reload&lt;br /&gt;
 sudo service domoticz stop&lt;br /&gt;
 sudo service domoticz start&lt;br /&gt;
 sudo tail -f  /var/log/domoticz.log&lt;br /&gt;
&lt;br /&gt;
The system and other logfiles can be found with sudo ls -lrt /var/log/*log&lt;br /&gt;
&lt;br /&gt;
===Crash log===&lt;br /&gt;
When Domoticz really crashes a domoticz_crash.log file is created in the domoticz install folder eg /home/&amp;lt;user&amp;gt;/domoticz.&lt;br /&gt;
&lt;br /&gt;
In this crash log you can search for the phrase &amp;lt;code&amp;gt;signal_handler&amp;lt;/code&amp;gt; that will show which thread caused the crash of Domoticz. The thread name (plugin/hardware/module) is is listed in the beginning of the crash log.&lt;br /&gt;
&lt;br /&gt;
To open the crash log you normally need root (also called administrator) rights. Use for example &amp;lt;code&amp;gt;sudo cat domoticz_crash.log&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Scripts==&lt;br /&gt;
Domoticz can make use of scripts (Lua, Python, Blockly, dzVents etc). It could be there is a problem with one of the scripts.&lt;br /&gt;
&lt;br /&gt;
*Maybe updating a virtual sensor via JSON with invalid parameters.&lt;br /&gt;
*Try disabling the eventsystem in Domoticz (from the [[Application Settings#EventSystem .28Lua.2FBlockly.2FScripts.29|Setup - Settings]])&lt;br /&gt;
*Rename the  &amp;#039;scripts&amp;#039; and &amp;#039;plugin&amp;#039; folder in &amp;lt;code&amp;gt;/home/&amp;lt;user&amp;gt;/domoticz/&amp;lt;/code&amp;gt; to prevent the scripts and plugins from running loading and running. Enable them one by one to debug.&lt;br /&gt;
&lt;br /&gt;
==Hardware==&lt;br /&gt;
There could be a problem with one of the added hardware in Domoticz.&lt;br /&gt;
&lt;br /&gt;
*Disable all [[Hardware Setup|hardware]] in Domoticz (Not &amp;#039;delete&amp;#039;, just &amp;#039;disable&amp;#039;) If you are unable to do this because Domoticz does not start, download a SQLite editor (for example SQLite Expert Personal Edition), open the database, go to the &amp;#039;hardware&amp;#039; table and disable all hardware here (put a 0 (zero) under the enabled column)&lt;br /&gt;
**Alternative to disable hardware or plugin from commandline&lt;br /&gt;
&lt;br /&gt;
&amp;lt;blockquote&amp;gt;&amp;lt;code&amp;gt;cd &amp;lt;domoticz dir&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;sudo service domoticz stop&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;sudo sqlite3  -header -list domoticz.db &amp;quot;SELECT Name, ID, Enabled FROM Hardware&amp;quot; -- get ID of misbehaving plugin&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;sudo sqlite3  -header -list domoticz.db &amp;quot;UPDATE Hardware set Enabled = 0 where ID = &amp;lt;ID of misbehaving plugin&amp;gt;&amp;quot; -- disable&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;sudo service domoticz start&amp;lt;/code&amp;gt;&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*Now Domoticz should start, if that is the case:&lt;br /&gt;
**Enable ONLY 1 hardware ... test with this for at least a few hours (maybe a day!) until you are 100% sure this hardware is functioning properly, and only then, enable another hardware, and perform the same test, and when this is functioning, enable another -&lt;br /&gt;
**If during the test period Domoticz will crash, you know what hardware is causing the issue&lt;br /&gt;
&lt;br /&gt;
==Database==&lt;br /&gt;
&lt;br /&gt;
Sometimes an sqlite database database becomes corrupted. There can be many reasons but luckily it does not happen very frequent. &lt;br /&gt;
More details can be found at [https://www.sqlite.org/howtocorrupt.html How to corrupt a sqlite database] Typically you see something like &amp;lt;code&amp;gt;&amp;quot;database disk image is malformed&amp;quot;&amp;lt;/code&amp;gt; or something similar. Worst case domoticz crashes or does not start.&lt;br /&gt;
&lt;br /&gt;
Alternatively to browse through the SQLITE database install &amp;quot;DB Browser for SQLite&amp;quot;: https://sqlitebrowser.org &lt;br /&gt;
&lt;br /&gt;
Possible solutions for Linux and Windows based systems below.&lt;br /&gt;
&lt;br /&gt;
===Linux===&lt;br /&gt;
&lt;br /&gt;
Below check and repair actions for Linux based systems are written with the assumption that the sqlite3 program is installed. If that is not the case, it can be installed with &lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
sudo apt install sqlite3&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
====Check database====&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
sudo service domoticz stop&lt;br /&gt;
cd &amp;lt;your domoticz directory&amp;gt;&lt;br /&gt;
sudo cp domoticz.db domoticz.keep # just to be sure&lt;br /&gt;
&lt;br /&gt;
sudo sqlite3 domoticz.db  &amp;#039;SELECT name as Tablename ,SUM(&amp;quot;pgsize&amp;quot;)/4096 Size FROM &amp;quot;dbstat&amp;quot; WHERE name IN (SELECT name FROM &amp;quot;sqlite_master&amp;quot; WHERE type == &amp;quot;table&amp;quot; ) GROUP BY name HAVING Size &amp;gt; 10 ORDER BY size DESC;&amp;#039; # show size of tables. If preferences is in the list your problem is there&lt;br /&gt;
sudo sqlite3 domoticz.db &amp;quot;SELECT Key, LENGTH(SValue) size FROM Preferences WHERE LENGTH(sValue) &amp;gt; 1000;&amp;quot; # To identify the row&lt;br /&gt;
sudo sqlite3 domoticz.db &amp;quot;UPDATE Preferences SET sValue =&amp;#039;&amp;#039; WHERE LENGTH(sValue) &amp;gt; 1000&amp;quot;&lt;br /&gt;
sudo sqlite3 domoticz.db &amp;quot;vacuum&amp;quot;&lt;br /&gt;
sudo sqlite3 domoticz.db &amp;quot;PRAGMA integrity_check(10000)&amp;quot;&lt;br /&gt;
sudo sqlite3 domoticz.db &amp;quot;PRAGMA foreign_key_check&amp;quot;&lt;br /&gt;
sudo service domoticz start # When no other errors found&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Repair database====&lt;br /&gt;
This instruction requires sqlite3 v 3.29 or newer.&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
sudo service domoticz stop&lt;br /&gt;
cd /home/pi/domoticz # or other directory if domoticz is in another place&lt;br /&gt;
sudo cp domoticz.db domoticz.2repair&lt;br /&gt;
sudo service domoticz start&lt;br /&gt;
&lt;br /&gt;
sudo sqlite3 domoticz.2repair&lt;br /&gt;
sqlite&amp;gt;.out dump.sql&lt;br /&gt;
sqlite&amp;gt;.recover&lt;br /&gt;
sqlite&amp;gt;.dump&lt;br /&gt;
sqlite&amp;gt;.quit&lt;br /&gt;
sudo sed -i &amp;#039;$ s/ROLLBACK;/COMMIT;/g&amp;#039; dump.sql # change last line in dump to prevent rollback and recover as much as possible&lt;br /&gt;
sudo sqlite3 domoticz.repaired &amp;lt; dump.sql&lt;br /&gt;
sudo sqlite3 domoticz.repaired&lt;br /&gt;
sqlite&amp;gt; pragma integrity_check;&lt;br /&gt;
sqlite&amp;gt; # other checks you want to do &lt;br /&gt;
sqlite&amp;gt; .quit&lt;br /&gt;
sudo service domoticz stop&lt;br /&gt;
sudo cp domoticz.repaired domoticz.db&lt;br /&gt;
sudo service domoticz start&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Windows (or Linux with Desktop GUI)===&lt;br /&gt;
&lt;br /&gt;
Below check and repair actions for Windows based systems (or Linux systems with a Desktop GUI) are written based on the assumption that the &amp;quot;DB Browser for SQLite&amp;quot; (verzion &amp;gt;= 3.12.1 is installed. If that is not the case, it can be downloaded from [https://sqlitebrowser.org/ sqlitebrowser.org]&lt;br /&gt;
&lt;br /&gt;
When opening the domoticz database with DB Browser for SQLite you will see something like&lt;br /&gt;
&lt;br /&gt;
[[File:Db_browser_start_small.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====Check database====&lt;br /&gt;
&lt;br /&gt;
 Tools =&amp;gt; Integrity Check &lt;br /&gt;
&lt;br /&gt;
Problems will be reported in a separate window segment.&lt;br /&gt;
 &lt;br /&gt;
When errors are encountered proceed with repair actions (see next alinea) &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Db_browser_integrity_check.png]]&lt;br /&gt;
&lt;br /&gt;
====Repair database====&lt;br /&gt;
&lt;br /&gt;
 File =&amp;gt; Export =&amp;gt; Database to SQL file&lt;br /&gt;
&lt;br /&gt;
 Save using a describing name (e.g. malformed) type SQL with options &amp;quot;Export everything&amp;quot; and &amp;quot;Keep old schema&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:export.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 Close database&lt;br /&gt;
&lt;br /&gt;
Check the last line of the created text file and if the line is ROLLBACK; change this into COMMIT;&lt;br /&gt;
&lt;br /&gt;
 File =&amp;gt; Import =&amp;gt; Database from SQL file =&amp;gt; (e.g. malformed) &lt;br /&gt;
&lt;br /&gt;
 database name using a describing name (e.g. repaired)&lt;br /&gt;
&lt;br /&gt;
[[File:import1.png]]&lt;br /&gt;
&lt;br /&gt;
 save the changes and copy the repaired database to replace your malformed database.&lt;br /&gt;
&lt;br /&gt;
==Other problems==&lt;br /&gt;
If Domoticz does not start working with the above steps, try the below options&lt;br /&gt;
&lt;br /&gt;
===Domoticz stops randomly===&lt;br /&gt;
When Domoticz stops randomly without proper indication check:&lt;br /&gt;
&lt;br /&gt;
*Power supply. Some powersupplies are failing after a while. Also adding an USB stck (Zigbee, Zwave etc) could increase power usage that your power supply cannot handle.&lt;br /&gt;
*SD card is starting to fail. Be sure you have a backup ready. Even better to invest in an SSD solution.&lt;br /&gt;
&lt;br /&gt;
===Domoticz stops or installation fails after an OS update===&lt;br /&gt;
On some RPi OS&amp;#039;es there are some issues after an OS update causing installation of Domoticz to fail:&lt;br /&gt;
&lt;br /&gt;
1. /dev/serial/by-id is gone resulting in problamatic USB drive assignments&lt;br /&gt;
&lt;br /&gt;
2. Domoticz is seen as a 64 bit application on a 32 bit machine&lt;br /&gt;
&lt;br /&gt;
For a solution go to forum topic https://www.domoticz.com/forum/viewtopic.php?t=40536&lt;br /&gt;
&lt;br /&gt;
===Domoticz stops after a new Beta update===&lt;br /&gt;
Sometimes the changes in a Beta release will cause issues. The Beta update script automatically creates a backup of your complete environment for easy restore.&lt;br /&gt;
&lt;br /&gt;
See the following page for instructions: [[Raspberry Pi#Revert to backup after incorrect beta update.]]&lt;br /&gt;
&lt;br /&gt;
===Linux filesystem rights (Raspberry)===&lt;br /&gt;
login with the user that you used to install Domoticz (on a raspberry pi this is the &amp;#039;pi&amp;#039; user)&lt;br /&gt;
then issue:&lt;br /&gt;
&lt;br /&gt;
 cd domoticz&lt;br /&gt;
 sudo service domoticz stop&lt;br /&gt;
 sudo chown -R pi.pi *&lt;br /&gt;
&lt;br /&gt;
Test if domoticz can be start by hand:&lt;br /&gt;
&lt;br /&gt;
 ./domoticz&lt;br /&gt;
&lt;br /&gt;
Now Domoticz should run, or tell you what the problem is, if it runs correctly press &amp;#039;control-C&amp;#039; to stop it, and start the service&lt;br /&gt;
&lt;br /&gt;
 sudo service domoticz start&lt;br /&gt;
&lt;br /&gt;
===Domoticz stops after cold boot===&lt;br /&gt;
When booting after a cold boot (no power attached or power failure) some users on Raspberry Pi report that Domoticz will run shortly and then stop.&lt;br /&gt;
&lt;br /&gt;
This could be related with time settings that only can be restored after internet connection. Domoticz standard waits 30 seconds until time sync has occured.&lt;br /&gt;
&lt;br /&gt;
Possible solutions for older versions or when your internet connection takes longer then 30 seconds to startup are:&lt;br /&gt;
&lt;br /&gt;
*Add a battery powered Real Time Clock (RTC) so your systems knows the time directly after booting.&lt;br /&gt;
*Put a x seconds delay in the startup of Domoticz to give the system time to update time settings using [[Command line parameters|Command line parameter -startupdelay]]&lt;br /&gt;
*use crontab and add &amp;lt;code&amp;gt;@reboot  sleep 180 &amp;amp;&amp;amp; /etc/init.d/domoticz.sh restart&amp;lt;/code&amp;gt; This will restart Domoticz after 180 seconds.&lt;br /&gt;
*force  &amp;#039;wait for network&amp;#039; to boot your RPi: &amp;lt;code&amp;gt;sudo raspi-config nonint do_boot_wait 0&amp;lt;/code&amp;gt;&lt;br /&gt;
*Start Domoticz manually after a cold boot: &amp;lt;code&amp;gt;sudo service domoticz restart&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*update &amp;lt;code&amp;gt;/etc/init.d/domoticz.sh&amp;lt;/code&amp;gt; to current version from &amp;lt;code&amp;gt;domoticz/domoticz.sh&amp;lt;/code&amp;gt; and change line 70 &amp;lt;code&amp;gt;count=30&amp;lt;/code&amp;gt; to &amp;lt;code&amp;gt;count=nnn&amp;lt;/code&amp;gt; seconds to change the standard 30 seconds wait for internet connection is enabled.&lt;br /&gt;
*install ntpdate.&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;code&amp;gt;sudo apt-get install ntpdate&amp;lt;/code&amp;gt;&lt;br /&gt;
and put this as the first line in the do_start section in the file /etc/init.d/domoticz.sh&lt;br /&gt;
 &amp;lt;code&amp;gt;ntpdate nl.pool.ntp.org&amp;lt;/code&amp;gt;&lt;br /&gt;
This code will wait until time is set and then continue to start Domoticz&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
===Revert to backup after incorrect beta update===&lt;br /&gt;
For Beta updates an automatic backup of the complete domoticz environment including scripts and plugins is created in &amp;lt;code&amp;gt;domoticz/backups/domoticz_backup_yyyymmdd_hhmmss.tar.gz&amp;lt;/code&amp;gt; by the update script.&lt;br /&gt;
&lt;br /&gt;
To extract that backup:&lt;br /&gt;
&lt;br /&gt;
*enter domoticz backup directory (where domoticz store a backup before upgrading)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;cd ~pi/domoticz/backups&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*run tar command to extract the backup (specify the right filename and correct domoticz folder)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;tar xvzf domoticz_backup_yyyymmdd_hhmms.tar.gz -C /home/pi/domoticz&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*restart domoticz&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;service domoticz restart&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Always refresh the [[Browser Cache|browser cache]] after an update!&lt;br /&gt;
&lt;br /&gt;
==Monitoring Domoticz==&lt;br /&gt;
Software crashes, it&amp;#039;s a fact of life. Luckily there are a number of ways to keep an eye on Domoticz, and automaticallty restart it if it crashes. &lt;br /&gt;
&lt;br /&gt;
See the wiki page [[Monitoring domoticz|Monitoring Domoticz]] for more information.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;#039;&amp;#039;Please feel free to make changes to this page if needed&amp;#039;&amp;#039;&lt;/div&gt;</summary>
		<author><name>Walter vl</name></author>
	</entry>
</feed>