Error message "Error: SQL Query("VACUUM") : database or disk is full" Topic is solved

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
User avatar
elythomaslumber
Posts: 56
Joined: Friday 12 July 2013 13:29
Target OS: Raspberry Pi / ODroid
Domoticz version: 2023.1
Location: Solingen; Germany
Contact:

Error message "Error: SQL Query("VACUUM") : database or disk is full"

Post by elythomaslumber »

Changed to the 3.8153 on a RPi 1 from 1.18. The log tells me every hour an error message:

2018-01-29 09:00:10.250 Error: SQL Query("VACUUM") : database or disk is full

I cannot believe, that the SD card (8GB Image on 16GB SD) is full. I have attached a screenshot.
Is it correct, that the active data-base and the backup data-base have different owners? Could that be the problem?
I have used the old data base from my 1.18 release when changed to 3.8153.

What is the correct owner for both data-base files?
Image

I think I found some solutions here: http://www.domoticz.com/forum/viewtopic ... ll#p152234
Hope I fixed it... on observation... 8-)
Attachments
data-base_1.jpg
data-base_1.jpg (17.03 KiB) Viewed 3212 times
User avatar
jvdz
Posts: 2328
Joined: Tuesday 30 December 2014 19:25
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.107
Location: Netherlands
Contact:

Re: Error message "Error: SQL Query("VACUUM") : database or disk is full"

Post by jvdz »

I am sure this has been asked before and think it could very well have to do with the fact that your TMP/TEMP is located on a smaller (ramdisk) which is too small. Could that be the issue also for you?

Jos
New Garbage collection scripts: https://github.com/jvanderzande/GarbageCalendar
User avatar
elythomaslumber
Posts: 56
Joined: Friday 12 July 2013 13:29
Target OS: Raspberry Pi / ODroid
Domoticz version: 2023.1
Location: Solingen; Germany
Contact:

Re: Error message "Error: SQL Query("VACUUM") : database or disk is full"

Post by elythomaslumber »

Hi Jos,

yes, found a post and edited my original post:

I think I found some solutions here: http://www.domoticz.com/forum/viewtopic ... ll#p152234
Hope I fixed it... on observation...


After now about 2h observation time I think the solution was successful. I removed tons of old log-files but I think the reserved space for the TMP file was too small. I expanded from1 to 5MB.
No new fault messages but:

2018-01-29 14:00:02.615 Starting automatic database backup procedure...
2018-01-29 14:00:09.576 Ending automatic database backup procedure...

:D :D :D

Cheers

Hartmut
EddyG
Posts: 1042
Joined: Monday 02 November 2015 5:54
Target OS: -
Domoticz version:

Re: Error message "Error: SQL Query("VACUUM") : database or disk is full"

Post by EddyG »

You could beter expand the tmpfs to 64 Mb or something like that.
Mine is 128 Mb and a few others like /var/log also.
The tmpfs is a kind of dynamic, it does not use the 64 Mb until it is really needed.
This way you easy avoid problems in the future.
Harald777
Posts: 50
Joined: Thursday 01 June 2017 8:44
Target OS: Raspberry Pi / ODroid
Domoticz version: Latest
Location: Netherlands
Contact:

Re: Error message "Error: SQL Query("VACUUM") : database or disk is full"

Post by Harald777 »

elythomaslumber wrote: Monday 29 January 2018 14:33 Hi Jos,

yes, found a post and edited my original post:

I think I found some solutions here: viewtopic ... ll#p152234
Hope I fixed it... on observation...


After now about 2h observation time I think the solution was successful. I removed tons of old log-files but I think the reserved space for the TMP file was too small. I expanded from1 to 5MB.
No new fault messages but:

2018-01-29 14:00:02.615 Starting automatic database backup procedure...
2018-01-29 14:00:09.576 Ending automatic database backup procedure...

:D :D :D

Cheers

Hartmut
Having the same issue, what was your solution.
The link does not work anymore.

Greetings Harald
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest