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-CalendarExt2: Black Screen

    Scheduled Pinned Locked Moved Troubleshooting
    30 Posts 3 Posters 6.6k 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.
    • J Offline
      jack819 @sdetweil
      last edited by

      @sdetweil I am a moron. I knew what to do. Here is the message:

      pi@raspberrypi:~/MagicMirror $ npm start
      
      > magicmirror@2.15.0 start /home/pi/MagicMirror
      > ./run-start.sh $1
      
      [06.04.2021 07:12.49.510] [LOG]   Starting MagicMirror: v2.15.0
      [06.04.2021 07:12.49.519] [LOG]   Loading config ...
      [06.04.2021 07:12.49.538] [LOG]   Loading module helpers ...
      [06.04.2021 07:12.49.545] [LOG]   No helper found for module: alert.
      [06.04.2021 07:12.50.029] [LOG]   Initializing new module helper ...
      [06.04.2021 07:12.50.031] [LOG]   Module helper loaded: updatenotification
      [06.04.2021 07:12.50.035] [LOG]   No helper found for module: clock.
      [06.04.2021 07:12.51.159] [LOG]   Initializing new module helper ...
      [06.04.2021 07:12.51.163] [LOG]   Module helper loaded: MMM-Jast
      [06.04.2021 07:12.52.389] [LOG]   Initializing new module helper ...
      [06.04.2021 07:12.52.390] [LOG]   Module helper loaded: calendar
      [06.04.2021 07:12.52.750] [LOG]   Initializing new module helper ...
      [06.04.2021 07:12.52.752] [LOG]   Module helper loaded: MMM-CalendarExt2
      [06.04.2021 07:12.52.757] [LOG]   Initializing new module helper ...
      [06.04.2021 07:12.52.759] [LOG]   Module helper loaded: currentweather
      [06.04.2021 07:12.52.763] [LOG]   Initializing new module helper ...
      [06.04.2021 07:12.52.765] [LOG]   Module helper loaded: weatherforecast
      [06.04.2021 07:12.52.766] [LOG]   All module helpers loaded.
      [06.04.2021 07:12.52.983] [LOG]   Starting server on port 8080 ... 
      [06.04.2021 07:12.53.011] [LOG]   Server started ...
      [06.04.2021 07:12.53.014] [LOG]   Connecting socket for: updatenotification
      [06.04.2021 07:12.53.018] [LOG]   Connecting socket for: MMM-Jast
      [06.04.2021 07:12.53.019] [LOG]   MMM-Jast helper method started...
      [06.04.2021 07:12.53.020] [LOG]   Connecting socket for: calendar
      [06.04.2021 07:12.53.022] [LOG]   Starting node helper for: calendar
      [06.04.2021 07:12.53.023] [LOG]   Connecting socket for: MMM-CalendarExt2
      [06.04.2021 07:12.53.024] [LOG]   Connecting socket for: currentweather
      [06.04.2021 07:12.53.026] [WARN]  The module 'currentweather' is deprecated in favor of the 'weather'-module, please refer to the documentation for a migration path
      [06.04.2021 07:12.53.028] [LOG]   Connecting socket for: weatherforecast
      [06.04.2021 07:12.53.030] [WARN]  The module 'weatherforecast' is deprecated in favor of the 'weather'-module, please refer to the documentation for a migration path
      [06.04.2021 07:12.53.031] [LOG]   Sockets connected & modules started ...
      [06.04.2021 07:12.53.536] [ERROR] Whoops! There was an uncaught exception...
      [06.04.2021 07:12.53.549] [ERROR] Error: listen EADDRINUSE: address already in use 127.0.0.1:8080
          at Server.setupListenHandle [as _listen2] (net.js:1313:16)
          at listenInCluster (net.js:1361:12)
          at GetAddrInfoReqWrap.doListen [as callback] (net.js:1498:7)
          at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:68:8) {
        code: 'EADDRINUSE',
        errno: 'EADDRINUSE',
        syscall: 'listen',
        address: '127.0.0.1',
        port: 8080
      }
      [06.04.2021 07:12.53.554] [ERROR] MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
      [06.04.2021 07:12.53.556] [ERROR] If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues
      [06.04.2021 07:12.53.602] [LOG]   Launching application.
      
      
      
      S 1 Reply Last reply Reply Quote 0
      • S Offline
        sdetweil @jack819
        last edited by

        @jack819 looks like u already have a copy of mm running

        if using pm2, then do

        pm2 status
        and
        pm2 restart 0

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        J 1 Reply Last reply Reply Quote 0
        • J Offline
          jack819 @sdetweil
          last edited by

          @sdetweil I did that command and still do not have the Calendar showing up.

          S 1 Reply Last reply Reply Quote 0
          • S Offline
            sdetweil @jack819
            last edited by

            @jack819 and what do the messages say?

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            1 Reply Last reply Reply Quote 0
            • J Offline
              jack819
              last edited by

              Here you go:

              Screenshot from 2021-04-08 08-09-41.png

              S 1 Reply Last reply Reply Quote 0
              • S Offline
                sdetweil @jack819
                last edited by

                @jack819 you can’t have two instance running!
                do

                pm2 stop all
                pm2 info 0
                pm2 info 1
                

                look at the path of each and decide which one is right
                then

                pm2 start ??  
                ?? is the name or number
                

                if all is good then get rid of the other one

                pm2 delete ???
                pm2 save 
                

                and by messages, i meant the output of
                pm2 logs --lines=50

                pm2 --help will show u all the things I can do

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                J 1 Reply Last reply Reply Quote 0
                • J Offline
                  jack819 @sdetweil
                  last edited by

                  @sdetweil Ok. I did that and looked in the console. Here is the message:

                  pi@raspberrypi:~/MagicMirror $ npm start
                  
                  > magicmirror@2.15.0 start /home/pi/MagicMirror
                  > ./run-start.sh $1
                  
                  [08.04.2021 12:24.35.192] [LOG]   Starting MagicMirror: v2.15.0
                  [08.04.2021 12:24.35.203] [LOG]   Loading config ...
                  [08.04.2021 12:24.35.216] [LOG]   Loading module helpers ...
                  [08.04.2021 12:24.35.220] [LOG]   No helper found for module: alert.
                  [08.04.2021 12:24.35.510] [LOG]   Initializing new module helper ...
                  [08.04.2021 12:24.35.512] [LOG]   Module helper loaded: updatenotification
                  [08.04.2021 12:24.35.514] [LOG]   No helper found for module: clock.
                  [08.04.2021 12:24.36.214] [LOG]   Initializing new module helper ...
                  [08.04.2021 12:24.36.215] [LOG]   Module helper loaded: MMM-Jast
                  [08.04.2021 12:24.37.017] [LOG]   Initializing new module helper ...
                  [08.04.2021 12:24.37.018] [LOG]   Module helper loaded: calendar
                  [08.04.2021 12:24.37.270] [LOG]   Initializing new module helper ...
                  [08.04.2021 12:24.37.272] [LOG]   Module helper loaded: MMM-CalendarExt2
                  [08.04.2021 12:24.37.277] [LOG]   Initializing new module helper ...
                  [08.04.2021 12:24.37.278] [LOG]   Module helper loaded: currentweather
                  [08.04.2021 12:24.37.282] [LOG]   Initializing new module helper ...
                  [08.04.2021 12:24.37.283] [LOG]   Module helper loaded: weatherforecast
                  [08.04.2021 12:24.37.284] [LOG]   All module helpers loaded.
                  [08.04.2021 12:24.37.446] [LOG]   Starting server on port 8080 ... 
                  [08.04.2021 12:24.37.473] [LOG]   Server started ...
                  [08.04.2021 12:24.37.476] [LOG]   Connecting socket for: updatenotification
                  [08.04.2021 12:24.37.479] [LOG]   Connecting socket for: MMM-Jast
                  [08.04.2021 12:24.37.481] [LOG]   MMM-Jast helper method started...
                  [08.04.2021 12:24.37.482] [LOG]   Connecting socket for: calendar
                  [08.04.2021 12:24.37.483] [LOG]   Starting node helper for: calendar
                  [08.04.2021 12:24.37.484] [LOG]   Connecting socket for: MMM-CalendarExt2
                  [08.04.2021 12:24.37.485] [LOG]   Connecting socket for: currentweather
                  [08.04.2021 12:24.37.486] [WARN]  The module 'currentweather' is deprecated in favor of the 'weather'-module, please refer to the documentation for a migration path
                  [08.04.2021 12:24.37.488] [LOG]   Connecting socket for: weatherforecast
                  [08.04.2021 12:24.37.490] [WARN]  The module 'weatherforecast' is deprecated in favor of the 'weather'-module, please refer to the documentation for a migration path
                  [08.04.2021 12:24.37.491] [LOG]   Sockets connected & modules started ...
                  [08.04.2021 12:24.37.842] [ERROR] Whoops! There was an uncaught exception...
                  [08.04.2021 12:24.37.853] [ERROR] Error: listen EADDRINUSE: address already in use 127.0.0.1:8080
                      at Server.setupListenHandle [as _listen2] (net.js:1313:16)
                      at listenInCluster (net.js:1361:12)
                      at GetAddrInfoReqWrap.doListen [as callback] (net.js:1498:7)
                      at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:68:8) {
                    code: 'EADDRINUSE',
                    errno: 'EADDRINUSE',
                    syscall: 'listen',
                    address: '127.0.0.1',
                    port: 8080
                  }
                  [08.04.2021 12:24.37.855] [ERROR] MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
                  [08.04.2021 12:24.37.856] [ERROR] If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues
                  [08.04.2021 12:24.37.896] [LOG]   Launching application.
                  
                  
                  S 1 Reply Last reply Reply Quote 0
                  • S Offline
                    sdetweil @jack819
                    last edited by

                    @jack819 looks like something is still running on port 8080

                    [08.04.2021 12:24.37.853] [ERROR] Error: listen EADDRINUSE: address already in use 127.0.0.1:8080

                    SO, stop MM (ctrl-c)
                    and then do

                    ps -ef | grep node

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

                    J 1 Reply Last reply Reply Quote 0
                    • J Offline
                      jack819 @sdetweil
                      last edited by

                      @sdetweil Did that and got this message:

                      pi@raspberrypi:~ $ ps -ef | grep node
                      pi        1391  1358  1 12:41 pts/0    00:00:00 grep --color=auto node
                      pi@raspberrypi:~ $ 
                      
                      

                      The message in the console is still the same:

                      pi@raspberrypi:~/MagicMirror $ npm start
                      
                      > magicmirror@2.15.0 start /home/pi/MagicMirror
                      > ./run-start.sh $1
                      
                      [08.04.2021 12:44.57.081] [LOG]   Starting MagicMirror: v2.15.0
                      [08.04.2021 12:44.57.091] [LOG]   Loading config ...
                      [08.04.2021 12:44.57.102] [LOG]   Loading module helpers ...
                      [08.04.2021 12:44.57.105] [LOG]   No helper found for module: alert.
                      [08.04.2021 12:44.57.398] [LOG]   Initializing new module helper ...
                      [08.04.2021 12:44.57.400] [LOG]   Module helper loaded: updatenotification
                      [08.04.2021 12:44.57.401] [LOG]   No helper found for module: clock.
                      [08.04.2021 12:44.58.115] [LOG]   Initializing new module helper ...
                      [08.04.2021 12:44.58.116] [LOG]   Module helper loaded: MMM-Jast
                      [08.04.2021 12:44.58.951] [LOG]   Initializing new module helper ...
                      [08.04.2021 12:44.58.953] [LOG]   Module helper loaded: calendar
                      [08.04.2021 12:44.59.195] [LOG]   Initializing new module helper ...
                      [08.04.2021 12:44.59.196] [LOG]   Module helper loaded: MMM-CalendarExt2
                      [08.04.2021 12:44.59.199] [LOG]   Initializing new module helper ...
                      [08.04.2021 12:44.59.199] [LOG]   Module helper loaded: currentweather
                      [08.04.2021 12:44.59.201] [LOG]   Initializing new module helper ...
                      [08.04.2021 12:44.59.203] [LOG]   Module helper loaded: weatherforecast
                      [08.04.2021 12:44.59.204] [LOG]   All module helpers loaded.
                      [08.04.2021 12:44.59.353] [LOG]   Starting server on port 8080 ... 
                      [08.04.2021 12:44.59.378] [LOG]   Server started ...
                      [08.04.2021 12:44.59.380] [LOG]   Connecting socket for: updatenotification
                      [08.04.2021 12:44.59.382] [LOG]   Connecting socket for: MMM-Jast
                      [08.04.2021 12:44.59.383] [LOG]   MMM-Jast helper method started...
                      [08.04.2021 12:44.59.384] [LOG]   Connecting socket for: calendar
                      [08.04.2021 12:44.59.386] [LOG]   Starting node helper for: calendar
                      [08.04.2021 12:44.59.387] [LOG]   Connecting socket for: MMM-CalendarExt2
                      [08.04.2021 12:44.59.389] [LOG]   Connecting socket for: currentweather
                      [08.04.2021 12:44.59.390] [WARN]  The module 'currentweather' is deprecated in favor of the 'weather'-module, please refer to the documentation for a migration path
                      [08.04.2021 12:44.59.391] [LOG]   Connecting socket for: weatherforecast
                      [08.04.2021 12:44.59.393] [WARN]  The module 'weatherforecast' is deprecated in favor of the 'weather'-module, please refer to the documentation for a migration path
                      [08.04.2021 12:44.59.394] [LOG]   Sockets connected & modules started ...
                      [08.04.2021 12:44.59.751] [ERROR] Whoops! There was an uncaught exception...
                      [08.04.2021 12:44.59.763] [ERROR] Error: listen EADDRINUSE: address already in use 127.0.0.1:8080
                          at Server.setupListenHandle [as _listen2] (net.js:1313:16)
                          at listenInCluster (net.js:1361:12)
                          at GetAddrInfoReqWrap.doListen [as callback] (net.js:1498:7)
                          at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:68:8) {
                        code: 'EADDRINUSE',
                        errno: 'EADDRINUSE',
                        syscall: 'listen',
                        address: '127.0.0.1',
                        port: 8080
                      }
                      [08.04.2021 12:44.59.766] [ERROR] MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
                      [08.04.2021 12:44.59.767] [ERROR] If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues
                      [08.04.2021 12:44.59.809] [LOG]   Launching application.
                      [08.04.2021 12:45.21.540] [LOG]   Shutting down server...
                      [08.04.2021 12:45.21.544] [LOG]   Stopping module helper: updatenotification
                      [08.04.2021 12:45.21.546] [LOG]   Stopping module helper: MMM-Jast
                      [08.04.2021 12:45.21.548] [LOG]   Stopping module helper: calendar
                      [08.04.2021 12:45.21.550] [LOG]   Stopping module helper: currentweather
                      [08.04.2021 12:45.21.551] [LOG]   Stopping module helper: weatherforecast
                      pi@raspberrypi:~/MagicMirror $ 
                      
                      
                      S 1 Reply Last reply Reply Quote 0
                      • S Offline
                        sdetweil @jack819
                        last edited by

                        @jack819 ok, cant tell

                        ps -ef

                        will have to look thru the process list

                        do u have another web server on this machine?
                        pihole

                        Sam

                        How to add modules

                        learning how to use browser developers window for css changes

                        J 1 Reply Last reply Reply Quote 0
                        • 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