User Rating: 5 / 5

Star ActiveStar ActiveStar ActiveStar ActiveStar Active

Domoticz does not start after upgrading to version 11666 or later

Most probably this problem is related to an old version of Raspbian O/S on Raspberry.

If you're using Rasbian Stretch, be warned that now you have to upgrade to Raspbian Buster that includes GNU GLIBC 2.8 library: from root shell (type sudo su - to become root) type the following commands:

sed -i 's/stretch/buster/g' /etc/apt/sources.list
sed -i 's/stretch/buster/g' /etc/apt/sources.list.d/raspi.list
apt update
apt install libc6
service domoticz stop
service domoticz start

but if you run into trouble, I suggest to type

su - pi
#enter directory where domoticz is installed
cd ~pi/domoticz  

so you can check what happen.
Good luck.

How to change Domoticz graph sampling time

Domoticz, by default, show 3 graphs: a daily graph with 1 sample every 5 minutes, a monthly  graph and a yearly graph.

In some cases, 5 minutes is a very huge time if sensors data varies quickly: in these cases it's possible to reduce sampling interval for example to 1 minute (databases with sensors data will be much greater). In other cases, sensors data is very slow, so it's possible to set a longer sampling interval to save size and extend flash memory life.

To set a different sampling interval, it's possible to do as shown in the post

Edit the file DOMOTICZ_DIR/www/views/setup.html
Search for "shortlogtable" and add the following before the </table>-tag:

 <td align="right" style="width:60px"><label><span data-i18n="Interval"></span>: </label></td>
 <td><select id="comboshortloginterval" name="ShortLogInterval" style="width:60px" class="combobox ui-corner-all">
 <option value="1">1</option>
 <option value="5">5</option>
 <option value="10">10</option>
 <option value="15">15</option>
 </select>&amp;nbsp; Minutes

Save it, delete your browser-cache and refresh your browser. I had problems with chrome keeping the old setup page even after deleting the cache, but using incognito mode worked to display the new page.

Finally, enter domoticz -> Setup -> Settings -> Log History and set the History value to 1 minute or longer sampling time.


Our products for Domoticz: Creasol DomESP1 and DomBus1


Need help? join the DomBus channel on Telegram!


Pin It