santoru / pihole-dashboard

Minimal and clean dashboard to visualize some stats of Pi-Hole with an E-Ink display attached to your Raspberry Pi
GNU General Public License v3.0
125 stars 10 forks source link

No auto refresh #1

Closed fourdotone12 closed 3 years ago

fourdotone12 commented 3 years ago

Hi,

I like the concept so have tried installing it as you describe, however I have an issue.

The display only works when I do ‘sudo pihole-dashboard-draw’ manually. The cron is not refreshing the display automatically. Any thoughts?

santoru commented 3 years ago

Hi, thank you for the message. Can you please verify if you have the cron file pihole-dashboard-cron present inside /etc/cron.d/? You should have a bunch of files from Pi-Hole already there. Can you also confirm you're using the official Raspberry Pi OS distribution?

fourdotone12 commented 3 years ago

Hello,

Thanks for getting back to me.

This is a new install of Raspbian lite using the official installer.

I only have php and Pi-hole in the cron.d. No dashboard file.

Martin.

On 13 Apr 2021, at 09:44, Alessio Santoru @.***> wrote:

 Hi, thank you for the message. Can you please verify if you have the cron file pihole-dashboard-cron present inside /etc/cron.d/? You should have a bunch of files from Pi-Hole already there. Can you also confirm you're using the official Raspberry Pi OS distribution?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.

santoru commented 3 years ago

Thank you for the answer. As a workaround, you can manually copy the cron file inside /etc/cron.d. From the root of the project:

cp ./cron/pihole-dashboard-cron /etc/cron.d

I'll check this again on a fresh install to see if it's properly installed by PIP.

fourdotone12 commented 3 years ago

Thank you, works perfectly now. I think it was just that setup.py didn’t have privilege to write to cron.d.

Thanks again

Martin

On 14 Apr 2021, at 10:03, Alessio Santoru @.***> wrote:

 Thank you for the answer. As a workaround, you can manually copy the cron file inside /etc/cron.d. From the root of the project:

cp ./cron/pihole-dashboard-cron /etc/cron.d I'll check this again on a fresh install to see if it's properly installed by PIP.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.