problem in the logfile

Topics (not sure which fora)
when not sure where to post, post here and mods will move it to right forum.

Moderators: leecollings, remb0

Post Reply
gerardsoraya
Posts: 16
Joined: Saturday 02 September 2017 8:06
Target OS: Raspberry Pi / ODroid
Domoticz version: 2024.7
Location: Vollenhove, nederland
Contact:

problem in the logfile

Post by gerardsoraya »

hello,

i have an error in the logfile and i cant explain where its from, i googled it a lot but no answers found yet.
every 5 minutes the next problem is in the logfile:

Code: Select all

2018-06-16 12:40:00.454 Error: SQL Query("INSERT INTO Percentage (DeviceRowID, Percentage) VALUES ('313', '0')") : database disk image is malformed
2018-06-16 12:40:00.454 Error: SQL Query("INSERT INTO Percentage (DeviceRowID, Percentage) VALUES ('314', '0')") : database disk image is malformed
2018-06-16 12:40:00.454 Error: SQL Query("INSERT INTO Percentage (DeviceRowID, Percentage) VALUES ('3268', '50')") : database disk image is malformed
2018-06-16 12:40:00.454 Error: SQL Query("INSERT INTO Percentage (DeviceRowID, Percentage) VALUES ('3269', '0')") : database disk image is malformed
2018-06-16 12:40:00.454 Error: SQL Query("INSERT INTO Percentage (DeviceRowID, Percentage) VALUES ('3273', '0')") : database disk image is malformed
2018-06-16 12:40:00.500 Error: SQL Query("DELETE FROM Percentage WHERE strftime('%s',datetime('now','localtime')) - strftime('%s',Date) > (SELECT p.nValue * 86400 From Preferences AS p WHERE p.Key='5MinuteHistoryDays')") : database disk image is malformed
Rpi 4
rflink 433 mhz
Philips hue
p1 smart meter cable
P1 smart meter solar
Lyric t6
User avatar
waaren
Posts: 6028
Joined: Tuesday 03 January 2017 14:18
Target OS: Linux
Domoticz version: Beta
Location: Netherlands
Contact:

Re: problem in the logfile

Post by waaren »

gerardsoraya wrote: Saturday 16 June 2018 12:44 i have an error in the logfile and i cant explain where its from, i googled it a lot but no answers found yet.
every 5 minutes the next problem is in the logfile:

2018-06-16 12:40:00.454 Error: SQL Query("INSERT INTO Percentage (DeviceRowID, Percentage) VALUES ('313', '0')") : database disk image is malformed

The solution described here viewtopic.php?f=28&t=10984 might work for you
Debian buster, bullseye on RPI-4, Intel NUC.
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
User avatar
waaren
Posts: 6028
Joined: Tuesday 03 January 2017 14:18
Target OS: Linux
Domoticz version: Beta
Location: Netherlands
Contact:

Re: problem in the logfile

Post by waaren »

davidgomes wrote: Tuesday 31 July 2018 8:32 i had a issue with logfile that
I can see the log in Domoticz when i click on the log button.
Only is there a logfile, where i can see what happend, when my pc is off?
There is something wrong, so i hope i can see on this file,
And then i do not have to watch @ night to my p
According the wiki for installing on Windows
"A page for setting up the Domoticz Log File Location Path is shown. The default path (C:\Program Files (x86)\Domoticz\log) is shown and can be edited. If you do not wish to retain the log file permanently, select a temp folder (c:\windowstemp for instance)."
So if you did not edit this path during installation the domoticz log should be there.


On linux you can choose in the startup script in /etc/init.d/ if you want the logging to an OS file or only the last couple of lines in memory. You can also choose how much is logged using logsettings. Don't know if this is the same on Windows.
Debian buster, bullseye on RPI-4, Intel NUC.
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest