Armo
September 30, 2017, 11:39am
1
I was running pi-hole v 2.x (w/o FTL) on a Rasberry Pi 3 do I decided to update to the latest version with pihole -up and everything went fine, so I thought..
Actual Behaviour:
Dashboard page and query logs are empty (but ads are being blocked!)
WebUI -> FTL offline.
WebUI -> Pi-hole Version v3.1.4 Web Interface Version v3.1 FTL Version (Update available!)
http://pi.hole/admin/api.php -> {"FTLnotrunning":true}
http://pi.hole/admin/taillog.php -> Failed to open log file. Check permissions!
pihole -up : https://pastebin.com/FP6jTX56
pihole -r : https://pastebin.com/nAy5EJG6
apt-get update : https://pastebin.com/9p0RtsZ4
service pihole-FTL : https://pastebin.com/gtjNR8y6
service pihole-FTL start : https://pastebin.com/ef7saEqP
Seems like FTL service is not installed and pihole -r wont fix it?
Can this be fixed w/o having to reinstall pi-hole?
Btw, I've already rebooted the pi multiple times.
Armo
September 30, 2017, 1:33pm
2
Update:
Tried to reinstall it anyway with curl -sSL https://install.pi-hole.net | bash (reconfigure) but I got the same output as pihole -r
pihole uninstall and rebooted the pi
curl -sSL https://install.pi-hole.net | bash (reconfigure) but still the same output as pihole -r
Restored my rasberry pi backup
Now I'm back to zero with Pi-hole Version v2.13.2, Web Interface Version v2.5.2
DL6ER
September 30, 2017, 1:36pm
3
I notice this in your pihole -r
result:
E: Er zijn vereisten waaraan niet voldaan is. Probeer -f te gebruiken.
so I assume it is apt
that is having problems here, killing also our updater...
Please try
sudo apt-get update && sudo apt-get upgrade
Armo
September 30, 2017, 1:59pm
4
apt-get update: https://pastebin.com/z7eXScxv
apt-get upgrade: https://pastebin.com/ApjxfcF9
apt-get dist-upgrade : https://pastebin.com/cERP3G5y
apt-get -f install : https://pastebin.com/QPy72b5U
apt-get update is now error free but other commands still give the same error??
E: Er zijn vereisten waaraan niet voldaan is. Probeer -f te gebruiken.
Dont run "apt-get dist-upgrade" or risk breaking lots of stuff!
dpkg-deb (subproces): kan het archiefelement van '/var/cache/apt/archives/raspberrypi-bootloader_1.20170703-1_armhf.deb' niet kopiƫren naar de pijp van het decompressieprogramma: schrijven is mislukt (Gebroken pijp)
Could be as simple as disk full:
df -h
Or filesystem errors.
To try fix (keep eye on screen):
sudo touch /forcefsck
sudo reboot
Try below ones first before you do "sudo apt update && sudo apt upgrade":
sudo apt-get autoclean
sudo apt-get autoremove
sudo apt-get clean
sudo apt-get -f install
What does below one show (versions) ?
apt-cache policy raspberrypi-bootloader
To try install specific version of the "raspberrypi-bootloader" package:
sudo apt-get install raspberrypi-bootloader=<VERSION>
Armo
September 30, 2017, 5:18pm
6
I've tried all the things you suggested butt still no luck.
I think there is something wrong with the SD card of the Raspberry Pi because the solution was to replace the card.
I used a new SD card and restored my backup image on it (the same image I was using on the old card!)
First executed sudo apt-get autoclean, autoremove, clean and -f install
sudo apt update && sudo apt upgrade -> finished w/o the error like with the old SD card
Executed pihole -up with succes and I could see FTL service being installed
Pi-Hole WebUI says everything is up-to-date but query log is empty
pihole -f -> still empty query log
Cleared my browser cache and tte query log is back and it's super fast!
Thank you guys!