I have a Raspberry Pi 2 that, using DietPi, I run both Pi-Hole and a Plex Server on. Through the Pi-Hole web administration interface, I see there is a pending update to Pi-Hole. The command to perform this update is "pihole -up" from the command line. I had a problem with this once and had to reinstall everything. So, before I try updating Pi-Hole through the command line again, I'd like to ask if it will work given I installed the Pi-Hole using dietpi-software?
Thanks
Pi-Hole update process
Re: Pi-Hole update process
All I can say is it works for me. Not too hard to reinstall if it doesn't work?
John
John
Re: Pi-Hole update process
same here in v159
Pihole command pihole -up returns error
something about path var/www/pihole ... ../admin
I had to reinstall
Pihole command pihole -up returns error
something about path var/www/pihole ... ../admin
I had to reinstall
Re: Pi-Hole update process
Yup, happened to me too a few days ago. It was a pretty fresh install with only pihole and Kodi so wasn't a big deal to reinstall, and I have no idea what happened, but pihole's web interface wasn't working anymore and I also couldn't use the -up command as above
According to Pi-hole Details
According to Pi-hole Details
so maybe that was the problem?Updating PiHole:
PiHole overwrites the lighttpd.conf during updates, so please backup your lighttpd.conf before updating:
Backup lighttpd.confPiHole can then be updated by runningCode: Select all
mv /etc/lighttpd/lighttpd.conf /etc/lighttpd/lighttpd.conf.bak
Restore lighttpd.confCode: Select all
pihole -up
Code: Select all
mv /etc/lighttpd/lighttpd.conf.bak /etc/lighttpd/lighttpd.conf
Re: Pi-Hole update process
I actually performed the steps in gpioneer's reply to backup lighttpd.conf prior to updating. I ran pihole -up and I get the following errors about five minutes into the update:
Error: Could not update local repository. Contact support.
Unable to complete update, please contact Pi-hole Support
Pihole, including the web interface, is left in working order, but the update is not complete. It's a little frustrating and definitely confusing given that Pihole is such well-designed software that the update process doesn't quite work smoothly. I haven't yet tried to uninstall and reinstall through dietpi-software, but I think that is the next step.
Error: Could not update local repository. Contact support.
Unable to complete update, please contact Pi-hole Support
Pihole, including the web interface, is left in working order, but the update is not complete. It's a little frustrating and definitely confusing given that Pihole is such well-designed software that the update process doesn't quite work smoothly. I haven't yet tried to uninstall and reinstall through dietpi-software, but I think that is the next step.
Re: Pi-Hole update process
Same error here.
Re: Pi-Hole update process
I sorted out how to do the pi-hole update with dietpi without error. I posted the info on a different forum (Pi-hole forum). Here is the link:
https://discourse.pi-hole.net/t/on-upda ... ory/6283/3
The process is straightforward and works.
https://discourse.pi-hole.net/t/on-upda ... ory/6283/3
The process is straightforward and works.