• 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.

MagicMirror Newsfeed continually "loading"...

Scheduled Pinned Locked Moved Unsolved Troubleshooting
24 Posts 4 Posters 6.1k Views 4 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.
  • S Offline
    sdetweil @sdetweil
    last edited by Nov 13, 2019, 5:38 PM

    if you do a

    pm2 stop 0
    

    then from a command prompt, even over ssh

    npm start 
    

    you will see messages , here is the default set of stuff,
    see that last entry

    Starting MagicMirror: v2.9.0
    Loading config ...
    Loading module helpers ...
    No helper found for module: alert.
    Initializing new module helper ...
    Module helper loaded: updatenotification
    No helper found for module: clock.
    Initializing new module helper ...
    Module helper loaded: calendar
    No helper found for module: compliments.
    No helper found for module: currentweather.
    No helper found for module: weatherforecast.
    Initializing new module helper ...
    Module helper loaded: newsfeed
    All module helpers loaded.
    Starting server on port 8080 ...
    You're using a full whitelist configuration to allow for all IPs
    Server started ...
    Connecting socket for: updatenotification
    Connecting socket for: calendar
    Starting node helper for: calendar
    Connecting socket for: newsfeed
    Starting module: newsfeed
    Sockets connected & modules started ...
    Launching application.
    Create new calendar fetcher for url: http://www.calendarlabs.com/ical-calendar/ics/76/US_Holidays.ics - Interval: 300000
    Create new news fetcher for url: http://www.nytimes.com/services/xml/rss/nyt/HomePage.xml - Interval: 300000
    

    Sam

    How to add modules

    learning how to use browser developers window for css changes

    F 1 Reply Last reply Nov 13, 2019, 6:08 PM Reply Quote 0
    • F Offline
      ForeverBrewing @sdetweil
      last edited by Nov 13, 2019, 6:08 PM

      @sdetweil
      Nope, I’m missing the last two lines:

      pi@raspberrypi:~/MagicMirror $ pm2 stop 0
      npm start [PM2] Spawning PM2 daemon with pm2_home=/home/pi/.pm2
      
      [PM2] PM2 Successfully daemonized
      [PM2] Applying action stopProcessId on app [0](ids: 0)
      [PM2][ERROR] Process 0 not found
      pi@raspberrypi:~/MagicMirror $ npm start 
      
      > magicmirror@2.9.0 start /home/pi/MagicMirror
      > sh run-start.sh
      
      Starting MagicMirror: v2.9.0
      Loading config ...
      Loading module helpers ...
      Initializing new module helper ...
      Module helper loaded: updatenotification
      No helper found for module: helloworld.
      All module helpers loaded.
      Starting server on port 8080 ... 
      Server started ...
      Connecting socket for: updatenotification
      Sockets connected & modules started ...
      Launching application.
      
      

      Also looks like the helper module doesn’t get loaded…?

      S 1 Reply Last reply Nov 13, 2019, 6:13 PM Reply Quote 0
      • S Offline
        sdetweil @ForeverBrewing
        last edited by Nov 13, 2019, 6:13 PM

        @ForeverBrewing ok, can u do

        ls ~/MagicMirror/config -laF
        ls ~/MagicMirror/modules/default -laF
        

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        F 1 Reply Last reply Nov 13, 2019, 6:18 PM Reply Quote 0
        • F Offline
          ForeverBrewing @sdetweil
          last edited by Nov 13, 2019, 6:18 PM

          @sdetweil said in MagicMirror Newsfeed continually "loading"...:

          ls ~/MagicMirror/config -laF
          ls ~/MagicMirror/modules/default -laF

          pi@raspberrypi:~/MagicMirror $ ls ~/MagicMirror/config -laF
          total 20
          drwxr-xr-x  2 pi pi 4096 Nov 13 18:17 ./
          drwxr-xr-x 17 pi pi 4096 Nov 12 20:25 ../
          -rw-r--r--  1 pi pi 3437 Nov 13 17:35 config.js
          -rw-r--r--  1 pi pi 2769 Nov 10 14:36 config.js.sample
          -rw-r--r--  1 pi pi   20 Nov 10 14:36 .gitignore
          pi@raspberrypi:~/MagicMirror $ ls ~/MagicMirror/modules/default -laF
          total 52
          drwxr-xr-x 12 pi pi 4096 Nov 12 21:29 ./
          drwxr-xr-x  6 pi pi 4096 Nov 10 18:20 ../
          drwxr-xr-x  3 pi pi 4096 Nov 10 14:36 alert/
          drwxr-xr-x  3 pi pi 4096 Nov 10 14:36 calendar/
          drwxr-xr-x  3 pi pi 4096 Nov 10 14:36 clock/
          drwxr-xr-x  2 pi pi 4096 Nov 10 16:35 compliments/
          drwxr-xr-x  2 pi pi 4096 Nov 10 14:36 currentweather/
          -rw-r--r--  1 pi pi  520 Nov 10 14:36 defaultmodules.js
          drwxr-xr-x  2 pi pi 4096 Nov 10 14:36 helloworld/
          drwxr-xr-x  2 pi pi 4096 Nov 12 21:32 newsfeed/
          drwxr-xr-x  2 pi pi 4096 Nov 10 14:36 updatenotification/
          drwxr-xr-x  3 pi pi 4096 Nov 10 14:36 weather/
          drwxr-xr-x  2 pi pi 4096 Nov 10 14:36 weatherforecast/
          

          Thank you so much for your time with this btw :)

          S 1 Reply Last reply Nov 13, 2019, 6:25 PM Reply Quote 0
          • S Offline
            sdetweil @ForeverBrewing
            last edited by Nov 13, 2019, 6:25 PM

            @ForeverBrewing said in MagicMirror Newsfeed continually "loading"...:

            Thank you so much for your time with this btw

            no problem… like to help…

            but the output doesn’t match the config at all… there should be more info about the other modules and errors if they were not found…

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            F 1 Reply Last reply Nov 13, 2019, 6:40 PM Reply Quote 0
            • F Offline
              ForeverBrewing @sdetweil
              last edited by Nov 13, 2019, 6:40 PM

              @sdetweil

              Well I guess installing a fresh copy wont be too much hassle! Its not like I cant work out how to get the google assistant to work anyway, so I’ll probably just keep it completely vanilla. Even I cant balls that up too much…

              S 1 Reply Last reply Nov 13, 2019, 6:40 PM Reply Quote 0
              • S Offline
                sdetweil @ForeverBrewing
                last edited by sdetweil Nov 13, 2019, 6:41 PM Nov 13, 2019, 6:40 PM

                @ForeverBrewing use the updated installer… see https://forum.magicmirror.builders/topic/10171/anyone-want-to-try-updated-installer
                you should rename the current MM folder out of the way… then u can copy files over if need be

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                F 1 Reply Last reply Nov 13, 2019, 6:42 PM Reply Quote 0
                • F Offline
                  ForeverBrewing @sdetweil
                  last edited by Nov 13, 2019, 6:42 PM

                  @sdetweil

                  Will do, thanks for your help :)

                  1 Reply Last reply Reply Quote 0
                  • S Offline
                    spblat
                    last edited by Oct 2, 2020, 4:07 PM

                    For those googling this problem, consider whether you added the module to your config file but didn’t stop and restart the software. Many config changes can take effect just by saving the config file and reloading the browser window, but adding and removing modules…not so much :-)

                    S 1 Reply Last reply Oct 2, 2020, 4:33 PM Reply Quote 2
                    • S Offline
                      sdetweil @spblat
                      last edited by Oct 2, 2020, 4:33 PM

                      @spblat if the module has a node_helper.js, you need to restart MM for any changes to take place

                      Sam

                      How to add modules

                      learning how to use browser developers window for css changes

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