4 ms·
Can you recommend a good way to make sure the Pi and Pi-hole are always up to date? I imagine a simple cron with pihole -up is not sufficient?
by willyyr 6y ago
Can you recommend a good way to make sure the Pi and Pi-hole are always up to date? I imagine a simple cron with pihole -up is not sufficient?
- marsokod 6y agoThe default way would be to install the package unattendedupgrade which will install security updates on your system every day. Depending on how pihole is installed, this may not upgrade it. I personally have it installed with docker and uses watchtower for updates, but the risk with this mechanism is that it can break things.
- apexalpha 6y agoI've set a cron job on the raspberry pi at my parents' house. It's a debian based system with only PiHole running so I just pihole -up and apt update && upgrade every month or so.
- leonroy 6y agoI run this on a cron to auto update PiHole: #!/bin/sh LOG_FILE=/var/log/update_pihole.log echo "Starting upate" >> $LOG_FILE date >> $LOG_FILE pihole -up >> $LOG_FILE pihole -g >> $LOG_FILE exit 0
- politelemon 6y agoI've been using: https://www.reddit.com/r/pihole/comments/bgzvem/how_to_health_checks_for_your_pihole/ https://www.reddit.com/r/pihole/comments/bgzvem/how_to_healt... for upgrading + healthchecks However note that the developers of PiHole do not recommend automated upgrades, or at least be aware of the implications