SOLVED MMM-pihole-stats refuses to update
I’ve come to the conclusion… I know nothing!
Since installing MMM-pihole-stats, which seems to have installed correctly, there has been no ability by the module to update itself.
In the config.js file the settings are set as per the GitHub repository…
updateInterval: 60 * 100,
yet it fails to actually do anything, even if its checked a day later.
Does anyone have a clue or idea as to resolving this.
All other modules refresh and update correctly and the only way to update the Pi-Hole status thus far is to copy across the config.js file which automatically restarts MagicMirror and is long winded way of doing it.
@arus sounds like u have pm2 running mm, so hit ctrl-q, and mm will quit, and pm2 will restart
or hit ctrl-r to reload the page
@arus 60 * 100 is six seconds
Thanks for that…
I’ve tried that and the result is the same, module not refreshing…
Like you mention the pm2 could be an issue which I may just rebuild and see what results I get from doing that.
Yep… I have set it to various refresh rates and you’re right that’s too shorter time frame.
Like what I shared with @sdetweil, I might play around with a new rebuild and see what happens.
All other modules are working fine with their refresh rates so maybe its a collision between modules that’s causing this error.
I was going to post an image to show, however I’d have to edit out too much detail
zanix last edited by
There is a fix on the Github for this module.
I also created a PR with the fix here https://github.com/sheyabernstein/MMM-pihole-stats/pull/14
The update worked perfectly…
Would not have found it myself, so anyone else looking to correct the issue follow the link above.