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.

    Modules not always loading

    Scheduled Pinned Locked Moved Troubleshooting
    12 Posts 4 Posters 9.6k Views 5 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.
    • NathanWilcoxN Offline
      NathanWilcox
      last edited by

      I don’t use npm start… Is this an issue? I use pm2 start which shows:

      0_1516012515948_Screen Shot 2018-01-15 at 10.31.18.png

      I just ran npm start and I had:
      0_1516013008488_Screen Shot 2018-01-15 at 10.43.18.png

      Running npm start dev oddly has everything running.
      0_1516013493160_Screen Shot 2018-01-15 at 10.51.13.png

      The only error in the console relates to the weather 0_1516013617020_Screen Shot 2018-01-15 at 10.53.04.png

      Yes I have tried to remove the new module and everything goes back to the way it was.

      1 Reply Last reply Reply Quote 0
      • NathanWilcoxN Offline
        NathanWilcox
        last edited by

        Another reboot of my pi has resulted in the new module now loading but 2 others not loading.

        0_1516014708860_Screen Shot 2018-01-15 at 11.11.41.png

        1 Reply Last reply Reply Quote 0
        • D Offline
          doubleT Module Developer
          last edited by

          I don’t use npm start… Is this an issue? I use pm2 start which shows:

          No problem, doesn’t matter, you got the browser console.

          I had hoped that the logs would show something that would help. There where no other errors in the browser console further up? Time to contact the creator of MMM-MyWastePickup.

          1 Reply Last reply Reply Quote 0
          • NathanWilcoxN Offline
            NathanWilcox
            last edited by

            Hi @J.E.F.F ,

            I believe this is one of your modules. I love the idea and the concept and believe I can have it working for me over in the UK.

            Any ideas why the above is happening?

            Thanks

            1 Reply Last reply Reply Quote 0
            • randomnoiseR Offline
              randomnoise
              last edited by

              Your screenshot of the pm2 output shows 2 instances of magic mirror. One called mm & the other MagicMirror.

              I think if you follow the install guide it tells you to run install script (which I believe now sets up the MagicMirror instance) & then tells you to manually set up another called mm. I think the install guide might need updated.

              Could it be 2 instances running & causing issues? If so get rid of one & restart & see if that solves it.

              randomnoiseR 1 Reply Last reply Reply Quote 0
              • randomnoiseR Offline
                randomnoise @randomnoise
                last edited by

                Just looked at the install notes… The manual installation step is right after the auto install script so is probably why you did it (that’s my excuse anyway!)

                1 Reply Last reply Reply Quote 0
                • NathanWilcoxN Offline
                  NathanWilcox
                  last edited by NathanWilcox

                  @randomnoise, yes your absolutely right about why I did it. Weirdly the first time I was running the config the MagicMirror instance wasn’t created so I just went ahead with the mm instance.

                  Then things went wrong I managed to corrupt everything so did a fresh install and MagicMirror was created but I failed to realise this and went ahead and created mm again.

                  Would you know how I can get rid of the mm? That way I can then test your theory.

                  Thanks

                  N 1 Reply Last reply Reply Quote -1
                  • N Offline
                    ninjabreadman @NathanWilcox
                    last edited by ninjabreadman

                    Hi @NathanWilcox,

                    If you followed the manual install, you should see the shell script (mm.sh) when you run ls -la ~. Run pm2 list to see what processes are registered in pm2. You can then pm2 stop mm && pm2 delete mm && pm2 save, and finally rm ~/mm.sh.

                    mm should then be gone for good, and only MagicMirror will remain. You can confirm what remains by running pm2 list again.

                    Problem with config or JavaScript? Copy/paste it into JSHint.
                    Check out the detailed walkthroughs on install, config, modules, etc.

                    1 Reply Last reply Reply Quote 1
                    • NathanWilcoxN Offline
                      NathanWilcox
                      last edited by

                      Hi @ninjabreadman,

                      Thanks I’ve now removed mm and can test to see if it makes a difference.

                      1 Reply Last reply Reply Quote 0
                      • NathanWilcoxN Offline
                        NathanWilcox
                        last edited by

                        Great shout @randomnoise!

                        Removed the pm2 mm as per @ninjabreadman’s instructions and restarted MagicMirror and everything loads perfectly!

                        Can’t thank you all enough!

                        1 Reply Last reply Reply Quote 0
                        • 1
                        • 2
                        • 1 / 2
                        • First post
                          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