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

Phad not showing pihole as updated #16

Open
ghost opened this issue Jul 16, 2020 · 6 comments
Open

Phad not showing pihole as updated #16

ghost opened this issue Jul 16, 2020 · 6 comments

Comments

@ghost
Copy link

ghost commented Jul 16, 2020

Today’s pihole 5.1 update isn’t showing as installed on screen still showing 5.0 as installed versions for web/FTL/pihole

@bpennypacker
Copy link
Owner

What does the output of pihole -v -f show?

@ghost
Copy link
Author

ghost commented Jul 16, 2020

FTL version is v5.1 (Latest: v5.1)

@bpennypacker
Copy link
Owner

That should be reflected by phad, eventually. The version information is only checked once every 24 hours as it's something that doesn't change very often, and it also queries https://github.com/bpennypacker/phad/releases/latest for checking the latest version of phad itself. I suppose I could change that so that the pihole version is checked more often, like every hour, and github is only checked every 24 hours.

If it's still showing the old version for you and you want to force it to refresh, you can delete the file where phad keeps the version information (what data_file in phad.conf points to, /tmp/pihole.dat by default). If you do that then it should update the version the next time it cycles through fetching all the data from pihole.

@ghost
Copy link
Author

ghost commented Jul 16, 2020

Ok in my config it says that file is in ./phad.dat so it’s in install dir not tmp I have removed the .dat file and it’s now correct on screen

@bpennypacker
Copy link
Owner

Great. I'll definitely look into refactoring the version checks to avoid this sort of confusion in the future.

@ghost
Copy link
Author

ghost commented Jul 16, 2020

Great thank you! Appreciate the help

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

1 participant