Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to Update pihole #189

Closed
mulcade opened this issue Aug 7, 2021 · 4 comments
Closed

Unable to Update pihole #189

mulcade opened this issue Aug 7, 2021 · 4 comments

Comments

@mulcade
Copy link

mulcade commented Aug 7, 2021

The pihole documentation says the way to update it is to simply type pihole -up. When I do that, I get the response of "-bash: pihole: command not found". I'm not sure if pihole is missing from a path somewhere and the pi just doesn't know where to find it. If I knew where it was, I could probably just go to the file location and run it from there. My other consideration is to reinstall pihole from the source, but I don't know what that will do to what's been configured with this repository.

If anyone has any suggestions, I'm all ears.

@jimcuk
Copy link

jimcuk commented Aug 7, 2021

Yeah I found that out as well, as it is a customised install follow the update guide being created here
#7

copied below for ease

Pi-hole update example

cd ~/pi-hole
docker-compose pull # pulls the latest images inside the compose file
docker-compose up -d --no-deps # restarts necessary containers with newer images
docker system prune --all # deletes unused container images

@mulcade
Copy link
Author

mulcade commented Aug 8, 2021

Ah, I guess I didn't realize the pi-hole was running in a container. I knew the speed test/internet monitor was, though knowing now, I'm not surprised. It does certainly explain why trying to run pihole from the terminal didn't work! haha

Thanks for the mention of the update guide #7. Using that, I was able to update all of the associate containers. Now I get to learn how to create a script to make the process less tedious. I'm new to the *nix world and having to troubleshoot and work through issues setting this up has been a rather enjoyable learning experience. Getting Python 3.9 and the latest Ansible on my Pi3+ was an interesting exercise. Ok, the Ansible was easy after getting Python updated and set to primary!

@jimcuk
Copy link

jimcuk commented Aug 8, 2021

yeah a lot of this is also new to me as well glad it worked for you.

@geerlingguy
Copy link
Owner

I added some basic instructions to the README for now. Also see #188 for an automated solution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants