• 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-sort wont load help needed

Scheduled Pinned Locked Moved Troubleshooting
9 Posts 2 Posters 874 Views 2 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 @gauka12345
    last edited by Sep 6, 2020, 4:48 PM

    @gauka12345 what might be shown on the console where u started mm, npm start, or the pm2 console, shown w pm2 logs --lines=???

    ??? is a number, defaults to 15

    also may find info in the developers window ctrl-shift-i on the keyboard, then select the console tab and scroll up to see any errors

    u can also filter by module, by placing a part of the module name in the filter field, sort, for example

    Sam

    How to add modules

    learning how to use browser developers window for css changes

    1 Reply Last reply Reply Quote 0
    • G Offline
      gauka12345
      last edited by Sep 6, 2020, 5:51 PM

      Hi Sam, please see below :

      i@raspberrypi:~/MagicMirror $ npm start

      magicmirror@2.12.0 start /home/pi/MagicMirror
      DISPLAY=“${DISPLAY:=:0}” ./node_modules/.bin/electron js/electron.js

      [2020-09-06 18:45:02.435] [LOG] Starting MagicMirror: v2.12.0
      [2020-09-06 18:45:04.939] [LOG] Loading config …
      [2020-09-06 18:45:05.050] [LOG] Loading module helpers …
      [2020-09-06 18:45:05.115] [LOG] No helper found for module: alert.
      [2020-09-06 18:45:05.127] [LOG] No helper found for module: clock.
      [2020-09-06 18:45:29.773] [LOG] Initializing new module helper …
      [2020-09-06 18:45:29.931] [LOG] Module helper loaded: MMM-DarkSkyForecast
      [2020-09-06 18:46:00.633] [LOG] Initializing new module helper …
      [2020-09-06 18:46:00.802] [LOG] Module helper loaded: MMM-SORT
      [2020-09-06 18:46:01.052] [LOG] No helper found for module: MMM-xiaomi.
      [2020-09-06 18:46:01.058] [LOG] No helper found for module: MMM-Remote-Control.
      [2020-09-06 18:46:01.062] [LOG] No helper found for module: MMM-NetworkConnection.
      [2020-09-06 18:46:01.281] [LOG] No helper found for module: MMM-WorldTides.
      [2020-09-06 18:46:01.296] [LOG] No helper found for module: MMM-Lunartic.
      [2020-09-06 18:46:01.301] [LOG] No helper found for module: calendar_monthly.
      [2020-09-06 18:46:06.074] [LOG] Initializing new module helper …
      [2020-09-06 18:46:06.076] [LOG] Module helper loaded: calendar
      [2020-09-06 18:46:06.157] [LOG] No helper found for module: MMM-AirQuality.
      [2020-09-06 18:46:07.196] [LOG] Initializing new module helper …
      [2020-09-06 18:46:07.201] [LOG] Module helper loaded: newsfeed
      [2020-09-06 18:46:07.204] [LOG] All module helpers loaded.
      [2020-09-06 18:46:14.610] [LOG] Starting server on port 8080 …
      [2020-09-06 18:46:15.474] [LOG] Server started …
      [2020-09-06 18:46:15.477] [LOG] Connecting socket for: MMM-DarkSkyForecast
      [2020-09-06 18:46:15.480] [LOG] ====================== Starting node_helper for module [MMM-DarkSkyForecast]
      [2020-09-06 18:46:15.481] [LOG] Connecting socket for: MMM-SORT
      [2020-09-06 18:46:15.483] [LOG] Starting node_helper for: MMM-SORT
      [2020-09-06 18:46:15.484] [LOG] Connecting socket for: calendar
      [2020-09-06 18:46:15.488] [LOG] Starting node helper for: calendar
      [2020-09-06 18:46:15.495] [LOG] Connecting socket for: newsfeed
      [2020-09-06 18:46:15.498] [LOG] Starting node helper for: newsfeed
      [2020-09-06 18:46:15.504] [LOG] Sockets connected & modules started …
      [2020-09-06 18:46:28.584] [ERROR] Whoops! There was an uncaught exception…
      [2020-09-06 18:46:28.598] [ERROR] Error: listen EADDRINUSE: address already in use 127.0.0.1:8080
      at Server.setupListenHandle [as _listen2] (net.js:1226:14)
      at listenInCluster (net.js:1274:12)
      at GetAddrInfoReqWrap.doListen [as callback] (net.js:1413:7)
      at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:65:10) {
      code: ‘EADDRINUSE’,
      errno: ‘EADDRINUSE’,
      syscall: ‘listen’,
      address: ‘127.0.0.1’,
      port: 8080
      }
      [2020-09-06 18:46:28.810] [ERROR] MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
      [2020-09-06 18:46:28.819] [ERROR] If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues
      [2020-09-06 18:46:28.911] [LOG] Launching application.

      S 1 Reply Last reply Sep 6, 2020, 6:05 PM Reply Quote 0
      • S Offline
        sdetweil @gauka12345
        last edited by Sep 6, 2020, 6:05 PM

        @gauka12345 sounds like u are using pm2, and it started at boot. do

        pm2 status
        pm2 stop 0

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        1 Reply Last reply Reply Quote 0
        • G Offline
          gauka12345
          last edited by Sep 6, 2020, 6:29 PM

          Hi Sam,

          pi@raspberrypi:~ $ pm2 status
          bash: pm2: command not found
          pi@raspberrypi:~ $ sudo pm2 status
          sudo: pm2: command not found
          pi@raspberrypi:~ $ pm2 stop 0
          bash: pm2: command not found
          pi@raspberrypi:~ $

          S 1 Reply Last reply Sep 6, 2020, 6:39 PM Reply Quote 0
          • S Offline
            sdetweil @gauka12345
            last edited by Sep 6, 2020, 6:39 PM

            @gauka12345 hm

            something else is using port 8080

            sudo netstat -a | grep 8080

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            1 Reply Last reply Reply Quote 0
            • G Offline
              gauka12345
              last edited by Sep 6, 2020, 6:54 PM

              thank you Sam ,

              hmm, i have got a XRPD running on this pi , so i could access it from my main PC

              also i have got another pi connected as the retro PI

              with the script nothing is happening

              pi@raspberrypi:~ $ sudo netstat -a | grep 8080
              pi@raspberrypi:~ $ sudo netstat -a | grep 8080
              pi@raspberrypi:~ $

              S 1 Reply Last reply Sep 6, 2020, 7:01 PM Reply Quote 0
              • S Offline
                sdetweil @gauka12345
                last edited by Sep 6, 2020, 7:01 PM

                @gauka12345 well something is using port 8080

                try moving mm to 8090

                edit the port in config.js

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                1 Reply Last reply Reply Quote 1
                • G Offline
                  gauka12345
                  last edited by Sep 6, 2020, 7:10 PM

                  Sam, you are totally right by changing the port number it fixed the issue ;-)
                  thanks you are genius!

                  Kind regards
                  Lukas

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