On any screen (e.g. settings, whitelist, etc.), when I make changes and hit save, the page refreshes and none of the changes have been saved.
My current challenge is to add a page to the whitelist. After failing with the web interface, I was able to SSH in and do it manually after finding the command to do so.
I'm running on a RPi 2 running on DietPi, accessing via Chrome.
Also wanted to add that I have searched and googled this and found a few suggestions. However, trying them did not have any effect. For example, I tried the sudo pihole -r
command and checked to make sure sudo was working as was suggested in a few places.
Can you get us a pihole -d
debug token?
Thanks, it does show that the dashboard directory has had some modification to it. Can you run the following and see the output?
cd /var/www/html/admin
git status
And if there's any changes to any files, we may want to try to git diff
the files to see what lines are different, to check if there are any changes that may cause the problem that you are seeing.
Not sure what to look for. Does this help?
Also, to clarify, I have not intentionally made any changes to the area you mentioned. Could it be because I used DietPi to install?
Or would it be easier to do a 'clean' install? Start from scratch?
DietPi should have used the Pi-hole installer, but it does some changes with lighttpd.conf
. I wouldn't expect for that many files to show as being modified. Could you check with fourdee and see if he's seen anything like this in his installer process? That's a lot of modified files from the standard installation. I normally would say at this point to delete the /var/www/html/admin
directory and clone in a new copy, but I don't know if that would cause a break in DietPi?
I'll check. I'm open to the clean install idea but would need a guide. Can you link to one?
I can walk you through a clean install of Pi-hole on Raspbian, but I don't know of any published guides for DietPi. Do you access the web admin through http://pi.hole/admin/
or http:/pi.hole/pihole/admin/
?
The first one. Though I usually use the local IP of the Pi rather than pi.hole
. Does that matter?
Not a problem, it's rather easy, download Raspbian Jessie Lite, enable SSH, and from the console run the curl -sSL https://install.pi-hole.net | bash
and the rest is automatic.
The hardest part is now enabling SSH, which operating system is the computer that you'll be using to copy the image over to the uSD card?
Hm, there's no way to do a fresh install without redoing the whole card/OS?
DietPi is a different OS than Raspbian, and I don't know how to do an install on DietPi that isn't through that OS specific installer. There's some changes that fourdee makes to keep the paths of the webserver specific to DietPi. I don't know of a way to use our installer completely on his OS and not break things. Dan really is quick and helpful when asked questions so he'd be the best to ask as far as how to get things to fit in his OS.
You could try the following, as it shouldn't break things:
sudo rm -rf /var/www/html/admin
sudo git clone https://github.com/pi-hole/AdminLTE.git /var/www/html/admin
And that would refresh the interface directory.
Did the refresh and still have the same problem.
Does git
still show all those files as modified, or is everything up to date for that portion of the situation?
Okay, that's all good. In a little bit I'll try loading up DietPi and check to see if there are any permissions errors or changes that need to be updated for that distribution.