• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
MagicMirror Forum
  • Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.

MMM-pihole-stats refuses to update

Scheduled Pinned Locked Moved Solved Troubleshooting
7 Posts 3 Posters 1.4k Views 3 Watching
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    arus
    last edited by Aug 30, 2021, 6:47 PM

    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.

    S A 3 Replies Last reply Aug 30, 2021, 7:00 PM Reply Quote 0
    • S Offline
      sdetweil @arus
      last edited by Aug 30, 2021, 7:00 PM

      @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

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      A 1 Reply Last reply Aug 31, 2021, 7:46 AM Reply Quote 0
      • S Offline
        sdetweil @arus
        last edited by Aug 30, 2021, 7:01 PM

        @arus 60 * 100 is six seconds

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        1 Reply Last reply Reply Quote 0
        • A Offline
          arus @arus
          last edited by Aug 31, 2021, 7:41 AM

          @arus
          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.

          1 Reply Last reply Reply Quote 0
          • A Offline
            arus @sdetweil
            last edited by Aug 31, 2021, 7:46 AM

            @sdetweil
            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 :-)

            Z 1 Reply Last reply Sep 5, 2021, 4:19 AM Reply Quote 0
            • Z Offline
              zanix @arus
              last edited by Sep 5, 2021, 4:19 AM

              @arus
              There is a fix on the Github for this module.
              https://github.com/sheyabernstein/MMM-pihole-stats/issues/10
              I also created a PR with the fix here https://github.com/sheyabernstein/MMM-pihole-stats/pull/14

              A 1 Reply Last reply Sep 9, 2021, 10:02 AM Reply Quote 1
              • A Offline
                arus @zanix
                last edited by Sep 9, 2021, 10:02 AM

                @zanix
                The update worked perfectly…
                Would not have found it myself, so anyone else looking to correct the issue follow the link above.

                1 Reply Last reply Reply Quote 0
                • 1 / 1
                1 / 1
                • First post
                  2/7
                  Last post
                Enjoying MagicMirror? Please consider a donation!
                MagicMirror created by Michael Teeuw.
                Forum managed by Sam, technical setup by Karsten.
                This forum is using NodeBB as its core | Contributors
                Contact | Privacy Policy