You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
sudo mount /home/pi/tmp
run pihole -g
error message (repeats after every list as soon space runs out, thus multiple messages):
sed: couldn't write 16 items to stdout: No space left on device
tee: /home/pi/tmp/tmp.PmGM1s9bMg.ph-non-domains: No space left on device
final message:
[✗] Unable to fill gravity table in database /etc/pihole/gravity.db_temp
/home/pi/tmp/tmp.gIRXzLCIDD.gravity:1386090: expected 2 columns but found 1 - filling the rest with NULL
/home/pi/tmp/tmp.gIRXzLCIDD.gravity:1386090: INSERT failed: NOT NULL constraint failed: gravity.adlist_id
gravity completes (no exit 1), dashboard says "adlists updated 00:05 (hh:mm) ago, but actually using old database (updated field in info table is modified, regardless of success)
Versions
Pi-hole version is v5.16.2 (Latest: v5.16.2)
AdminLTE version is v5.19 (Latest: v5.19)
FTL version is update/dnsmasq vDev-879708d (Latest: v5.22)
Platform
Raspberry pi 3B
Linux raspberrypi 6.1.19-v7+ #1637 SMP Tue Mar 14 11:04:52 GMT 2023 armv7l GNU/Linux
Expected behavior
exit 1 on error, generate warning message
Actual behavior / bug
gravity continues, regardless problem
Steps to reproduce
using GRAVITY_TMPDIR=/home/pi/tmp (setupVars.conf)
fstab entry for the mount point, configured to small (on purpose)
sudo mount /home/pi/tmp
run pihole -g
error message (repeats after every list as soon space runs out, thus multiple messages):
final message:
gravity completes (no exit 1), dashboard says "adlists updated 00:05 (hh:mm) ago, but actually using old database (updated field in info table is modified, regardless of success)
Debug Token
debug has been created after changing the TMPFS size, and build gravity with success.
https://tricorder.pi-hole.net/FblkfEu9/
Screenshots
Additional context
trying to run gravity.sh on TMPFS, the to save the SD card, works fine, unless available TMPFS storage is to small, current adlists require 96Mb
I think this line:
needs error checking.
The text was updated successfully, but these errors were encountered: