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.

    MM on Ubuntu

    Scheduled Pinned Locked Moved Solved Troubleshooting
    90 Posts 4 Posters 50.5k 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 @goncalovsc
      last edited by

      @goncalovsc so,

      pm2 status  
      

      should show the definition

      anyhow, if you have copied the confi over, now restart mm again…

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      1 Reply Last reply Reply Quote 0
      • G Offline
        goncalovsc
        last edited by

        https://gyazo.com/14d8c30cc49ba12b849877d0b401a638
        Just restarted, all the same…

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

          @goncalovsc ok, edit the config.js and show me the config for weatherforecast

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          G 1 Reply Last reply Reply Quote 0
          • G Offline
            goncalovsc @sdetweil
            last edited by goncalovsc

            @sdetweil ```

            	module: "currentweather",
            			position: "top_right",
            			config: {
            				location: "Matosinhos",
            				locationID: "2737824", //ID from http://bulk.openweathermap.org/sample/city.list.json.gz; unzip the gz file and find your city
            				appid: "b1f305ba796f09f236dfa60e45a8a8d8"
            			}
            		},
            		{
            			module: "weatherforecast",
            			position: "top_right",
            			header: "Weather Forecast",
            			config: {
            				location: "Matosinhos",
            				locationID: "2737824", //ID from http://bulk.openweathermap.org/sample/city.list.json.gz; unzip the gz file and find your city
            				appid: "b1f305ba796f09f236dfa60e45a8a8d8"
            			}
            		},
            		{
            
            S 1 Reply Last reply Reply Quote 0
            • S Offline
              sdetweil @goncalovsc
              last edited by

              @goncalovsc ok, show the output of pm2 logs

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              G 1 Reply Last reply Reply Quote 0
              • G Offline
                goncalovsc @sdetweil
                last edited by

                @sdetweil

                [TAILING] Tailing last 15 lines for [all] processes (change the value with --lines option)
                /home/goncalo/.pm2/pm2.log last 15 lines:
                PM2        | 2020-04-04T17:04:39: PM2 log: Application log path : /home/goncalo/.pm2/logs
                PM2        | 2020-04-04T17:04:39: PM2 log: Worker Interval      : 30000
                PM2        | 2020-04-04T17:04:39: PM2 log: Process dump file    : /home/goncalo/.pm2/dump.pm2
                PM2        | 2020-04-04T17:04:39: PM2 log: Concurrent actions   : 2
                PM2        | 2020-04-04T17:04:39: PM2 log: SIGTERM timeout      : 1600
                PM2        | 2020-04-04T17:04:39: PM2 log: ===============================================================================
                PM2        | 2020-04-04T17:04:39: PM2 log: [Watch] Start watching MagicMirror
                PM2        | 2020-04-04T17:04:39: PM2 log: App [MagicMirror:0] starting in -fork mode-
                PM2        | 2020-04-04T17:04:39: PM2 log: App [MagicMirror:0] online
                PM2        | 2020-04-04T17:11:20: PM2 log: App [MagicMirror:0] exited with code [0] via signal [SIGINT]
                PM2        | 2020-04-04T17:11:20: PM2 log: App [MagicMirror:0] starting in -fork mode-
                PM2        | 2020-04-04T17:11:20: PM2 log: App [MagicMirror:0] online
                PM2        | 2020-04-04T17:41:37: PM2 log: App [MagicMirror:0] exited with code [0] via signal [SIGINT]
                PM2        | 2020-04-04T17:41:37: PM2 log: App [MagicMirror:0] starting in -fork mode-
                PM2        | 2020-04-04T17:41:37: PM2 log: App [MagicMirror:0] online
                
                /home/goncalo/.pm2/logs/MagicMirror-error.log last 15 lines:
                0|MagicMir | npm ERR! errno 1
                0|MagicMir | npm ERR! magicmirror@2.11.0 start: `DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js`
                0|MagicMir | npm ERR! Exit status 1
                0|MagicMir | npm ERR! 
                0|MagicMir | npm ERR! Failed at the magicmirror@2.11.0 start script.
                0|MagicMir | npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
                0|MagicMir | 
                0|MagicMir | npm ERR! A complete log of this run can be found in:
                0|MagicMir | npm ERR!     /home/goncalo/.npm/_logs/2020-04-04T16_02_55_422Z-debug.log
                0|MagicMir | [1328:0404/170500.787870:ERROR:buffer_manager.cc(488)] [.DisplayCompositor]GL ERROR :GL_INVALID_OPERATION : glBufferData: <- error from previous GL command
                0|MagicMir | [1328:0404/170822.269139:ERROR:buffer_manager.cc(488)] [.DisplayCompositor]GL ERROR :GL_INVALID_OPERATION : glBufferData: <- error from previous GL command
                0|MagicMir | [1328:0404/171052.817336:ERROR:buffer_manager.cc(488)] [.DisplayCompositor]GL ERROR :GL_INVALID_OPERATION : glBufferData: <- error from previous GL command
                0|MagicMir | [1910:0404/171123.504386:ERROR:buffer_manager.cc(488)] [.DisplayCompositor]GL ERROR :GL_INVALID_OPERATION : glBufferData: <- error from previous GL command
                0|MagicMir | [1910:0404/174131.869273:ERROR:buffer_manager.cc(488)] [.DisplayCompositor]GL ERROR :GL_INVALID_OPERATION : glBufferData: <- error from previous GL command
                0|MagicMir | [2161:0404/174140.096920:ERROR:gles2_cmd_decoder.cc(2813)] [GroupMarkerNotSet(crbug.com/242999)!:B0305C06BA0D0000]GL ERROR :GL_INVALID_OPERATION : BackFramebuffer::Create: <- error from previous GL command
                
                /home/goncalo/.pm2/logs/MagicMirror-out.log last 15 lines:
                0|MagicMir | [2020-04-04 17:41:39.247] [LOG]    No helper found for module: weatherforecast.
                0|MagicMir | [2020-04-04 17:41:39.266] [LOG]    Initializing new module helper ...
                0|MagicMir | [2020-04-04 17:41:39.266] [LOG]    Module helper loaded: newsfeed
                0|MagicMir | [2020-04-04 17:41:39.267] [LOG]    All module helpers loaded.
                0|MagicMir | [2020-04-04 17:41:39.350] [LOG]    Starting server on port 8080 ... 
                0|MagicMir | [2020-04-04 17:41:39.361] [LOG]    Server started ...
                0|MagicMir | [2020-04-04 17:41:39.362] [LOG]    Connecting socket for: updatenotification
                0|MagicMir | [2020-04-04 17:41:39.363] [LOG]    Connecting socket for: calendar
                0|MagicMir | [2020-04-04 17:41:39.364] [LOG]    Starting node helper for: calendar
                0|MagicMir | [2020-04-04 17:41:39.364] [LOG]    Connecting socket for: newsfeed
                0|MagicMir | [2020-04-04 17:41:39.365] [LOG]    Starting module: newsfeed
                0|MagicMir | [2020-04-04 17:41:39.366] [LOG]    Sockets connected & modules started ...
                0|MagicMir | [2020-04-04 17:41:39.467] [LOG]    Launching application.
                0|MagicMir | [2020-04-04 17:41:40.947] [LOG]    Create new calendar fetcher for url: http://www.calendarlabs.com/ical-calendar/ics/76/US_Holidays.ics - Interval: 300000
                0|MagicMir | [2020-04-04 17:41:40.979] [LOG]    Create new news fetcher for url: http://www.nytimes.com/services/xml/rss/nyt/HomePage.xml - Interval: 300000
                
                
                S 1 Reply Last reply Reply Quote 0
                • S Offline
                  sdetweil @goncalovsc
                  last edited by

                  @goncalovsc sorry, not enough…

                  pm2 logs --lines=100

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  G 1 Reply Last reply Reply Quote 0
                  • G Offline
                    goncalovsc @sdetweil
                    last edited by

                    @sdetweil ```

                    [TAILING] Tailing last 100 lines for [all] processes (change the value with --lines option)
                    /home/goncalo/.pm2/pm2.log last 100 lines:
                    PM2        | 2020-04-04T14:28:57: PM2 log: App [MagicMirror:0] exited with code [0] via signal [SIGINT]
                    PM2        | 2020-04-04T14:28:57: PM2 log: App [MagicMirror:0] starting in -fork mode-
                    PM2        | 2020-04-04T14:28:57: PM2 log: App [MagicMirror:0] online
                    PM2        | 2020-04-04T14:29:01: PM2 log: App [MagicMirror:0] exited with code [0] via signal [SIGINT]
                    PM2        | 2020-04-04T14:29:01: PM2 log: App [MagicMirror:0] starting in -fork mode-
                    PM2        | 2020-04-04T14:29:01: PM2 log: App [MagicMirror:0] online
                    PM2        | 2020-04-04T14:29:04: PM2 log: App [MagicMirror:0] exited with code [0] via signal [SIGINT]
                    PM2        | 2020-04-04T14:29:04: PM2 log: App [MagicMirror:0] starting in -fork mode-
                    PM2        | 2020-04-04T14:29:04: PM2 log: App [MagicMirror:0] online
                    PM2        | 2020-04-04T14:29:08: PM2 log: App [MagicMirror:0] exited with code [0] via signal [SIGINT]
                    PM2        | 2020-04-04T14:29:08: PM2 log: App [MagicMirror:0] starting in -fork mode-
                    PM2        | 2020-04-04T14:29:08: PM2 log: App [MagicMirror:0] online
                    PM2        | 2020-04-04T14:29:12: PM2 log: App [MagicMirror:0] exited with code [0] via signal [SIGINT]
                    PM2        | 2020-04-04T14:29:12: PM2 log: App [MagicMirror:0] starting in -fork mode-
                    PM2        | 2020-04-04T14:29:12: PM2 log: App [MagicMirror:0] online
                    PM2        | 2020-04-04T14:29:15: PM2 log: App [MagicMirror:0] exited with code [0] via signal [SIGINT]
                    PM2        | 2020-04-04T14:29:15: PM2 log: App [MagicMirror:0] starting in -fork mode-
                    PM2        | 2020-04-04T14:29:15: PM2 log: App [MagicMirror:0] online
                    PM2        | 2020-04-04T14:29:20: PM2 log: App [MagicMirror:0] exited with code [0] via signal [SIGINT]
                    PM2        | 2020-04-04T14:29:20: PM2 log: App [MagicMirror:0] starting in -fork mode-
                    PM2        | 2020-04-04T14:29:20: PM2 log: App [MagicMirror:0] online
                    PM2        | 2020-04-04T14:29:23: PM2 log: App [MagicMirror:0] exited with code [0] via signal [SIGINT]
                    PM2        | 2020-04-04T14:29:23: PM2 log: App [MagicMirror:0] starting in -fork mode-
                    PM2        | 2020-04-04T14:29:23: PM2 log: App [MagicMirror:0] online
                    PM2        | 2020-04-04T14:29:27: PM2 log: App [MagicMirror:0] exited with code [0] via signal [SIGINT]
                    PM2        | 2020-04-04T14:29:27: PM2 log: App [MagicMirror:0] starting in -fork mode-
                    PM2        | 2020-04-04T14:29:27: PM2 log: App [MagicMirror:0] online
                    PM2        | 2020-04-04T14:29:30: PM2 log: App [MagicMirror:0] exited with code [0] via signal [SIGINT]
                    PM2        | 2020-04-04T14:29:30: PM2 log: App [MagicMirror:0] starting in -fork mode-
                    PM2        | 2020-04-04T14:29:30: PM2 log: App [MagicMirror:0] online
                    PM2        | 2020-04-04T14:29:35: PM2 log: App [MagicMirror:0] exited with code [0] via signal [SIGINT]
                    PM2        | 2020-04-04T14:29:35: PM2 log: App [MagicMirror:0] starting in -fork mode-
                    PM2        | 2020-04-04T14:29:35: PM2 log: App [MagicMirror:0] online
                    PM2        | 2020-04-04T15:12:19: PM2 log: App [MagicMirror:0] exited with code [0] via signal [SIGINT]
                    PM2        | 2020-04-04T15:12:19: PM2 log: App [MagicMirror:0] starting in -fork mode-
                    PM2        | 2020-04-04T15:12:19: PM2 log: App [MagicMirror:0] online
                    PM2        | 2020-04-04T15:13:12: PM2 log: App [MagicMirror:0] exited with code [0] via signal [SIGINT]
                    PM2        | 2020-04-04T15:13:12: PM2 log: App [MagicMirror:0] starting in -fork mode-
                    PM2        | 2020-04-04T15:13:12: PM2 log: App [MagicMirror:0] online
                    PM2        | 2020-04-04T15:14:55: PM2 log: ===============================================================================
                    PM2        | 2020-04-04T15:14:55: PM2 log: --- New PM2 Daemon started ----------------------------------------------------
                    PM2        | 2020-04-04T15:14:55: PM2 log: Time                 : Sat Apr 04 2020 15:14:55 GMT+0100 (GMT+01:00)
                    PM2        | 2020-04-04T15:14:55: PM2 log: PM2 version          : 4.2.3
                    PM2        | 2020-04-04T15:14:55: PM2 log: Node.js version      : 10.19.0
                    PM2        | 2020-04-04T15:14:55: PM2 log: Current arch         : x64
                    PM2        | 2020-04-04T15:14:55: PM2 log: PM2 home             : /home/goncalo/.pm2
                    PM2        | 2020-04-04T15:14:55: PM2 log: PM2 PID file         : /home/goncalo/.pm2/pm2.pid
                    PM2        | 2020-04-04T15:14:55: PM2 log: RPC socket file      : /home/goncalo/.pm2/rpc.sock
                    PM2        | 2020-04-04T15:14:55: PM2 log: BUS socket file      : /home/goncalo/.pm2/pub.sock
                    PM2        | 2020-04-04T15:14:55: PM2 log: Application log path : /home/goncalo/.pm2/logs
                    PM2        | 2020-04-04T15:14:55: PM2 log: Worker Interval      : 30000
                    PM2        | 2020-04-04T15:14:55: PM2 log: Process dump file    : /home/goncalo/.pm2/dump.pm2
                    PM2        | 2020-04-04T15:14:55: PM2 log: Concurrent actions   : 2
                    PM2        | 2020-04-04T15:14:55: PM2 log: SIGTERM timeout      : 1600
                    PM2        | 2020-04-04T15:14:55: PM2 log: ===============================================================================
                    PM2        | 2020-04-04T15:14:56: PM2 log: [Watch] Start watching MagicMirror
                    PM2        | 2020-04-04T15:14:56: PM2 log: App [MagicMirror:0] starting in -fork mode-
                    PM2        | 2020-04-04T15:14:56: PM2 log: App [MagicMirror:0] online
                    PM2        | 2020-04-04T16:19:04: PM2 log: App [MagicMirror:0] exited with code [0] via signal [SIGINT]
                    PM2        | 2020-04-04T16:19:04: PM2 log: App [MagicMirror:0] starting in -fork mode-
                    PM2        | 2020-04-04T16:19:04: PM2 log: App [MagicMirror:0] online
                    PM2        | 2020-04-04T16:19:09: PM2 log: App [MagicMirror:0] exited with code [0] via signal [SIGINT]
                    PM2        | 2020-04-04T16:19:09: PM2 log: App [MagicMirror:0] starting in -fork mode-
                    PM2        | 2020-04-04T16:19:09: PM2 log: App [MagicMirror:0] online
                    PM2        | 2020-04-04T16:19:13: PM2 log: App [MagicMirror:0] exited with code [0] via signal [SIGINT]
                    PM2        | 2020-04-04T16:19:13: PM2 log: App [MagicMirror:0] starting in -fork mode-
                    PM2        | 2020-04-04T16:19:13: PM2 log: App [MagicMirror:0] online
                    PM2        | 2020-04-04T17:02:56: PM2 log: App [MagicMirror:0] exited with code [1] via signal [SIGINT]
                    PM2        | 2020-04-04T17:02:56: PM2 log: App [MagicMirror:0] starting in -fork mode-
                    PM2        | 2020-04-04T17:02:56: PM2 log: App [MagicMirror:0] online
                    PM2        | 2020-04-04T17:02:56: PM2 log: [Watch] Stop watching MagicMirror
                    PM2        | 2020-04-04T17:02:56: PM2 log: Stopping app:MagicMirror id:0
                    PM2        | 2020-04-04T17:02:57: PM2 log: App [MagicMirror:0] exited with code [0] via signal [SIGINT]
                    PM2        | 2020-04-04T17:02:57: PM2 log: pid=3455 msg=process killed
                    PM2        | 2020-04-04T17:02:57: PM2 log: PM2 successfully stopped
                    PM2        | 2020-04-04T17:04:39: PM2 log: ===============================================================================
                    PM2        | 2020-04-04T17:04:39: PM2 log: --- New PM2 Daemon started ----------------------------------------------------
                    PM2        | 2020-04-04T17:04:39: PM2 log: Time                 : Sat Apr 04 2020 17:04:39 GMT+0100 (GMT+01:00)
                    PM2        | 2020-04-04T17:04:39: PM2 log: PM2 version          : 4.2.3
                    PM2        | 2020-04-04T17:04:39: PM2 log: Node.js version      : 10.19.0
                    PM2        | 2020-04-04T17:04:39: PM2 log: Current arch         : x64
                    PM2        | 2020-04-04T17:04:39: PM2 log: PM2 home             : /home/goncalo/.pm2
                    PM2        | 2020-04-04T17:04:39: PM2 log: PM2 PID file         : /home/goncalo/.pm2/pm2.pid
                    PM2        | 2020-04-04T17:04:39: PM2 log: RPC socket file      : /home/goncalo/.pm2/rpc.sock
                    PM2        | 2020-04-04T17:04:39: PM2 log: BUS socket file      : /home/goncalo/.pm2/pub.sock
                    PM2        | 2020-04-04T17:04:39: PM2 log: Application log path : /home/goncalo/.pm2/logs
                    PM2        | 2020-04-04T17:04:39: PM2 log: Worker Interval      : 30000
                    PM2        | 2020-04-04T17:04:39: PM2 log: Process dump file    : /home/goncalo/.pm2/dump.pm2
                    PM2        | 2020-04-04T17:04:39: PM2 log: Concurrent actions   : 2
                    PM2        | 2020-04-04T17:04:39: PM2 log: SIGTERM timeout      : 1600
                    PM2        | 2020-04-04T17:04:39: PM2 log: ===============================================================================
                    PM2        | 2020-04-04T17:04:39: PM2 log: [Watch] Start watching MagicMirror
                    PM2        | 2020-04-04T17:04:39: PM2 log: App [MagicMirror:0] starting in -fork mode-
                    PM2        | 2020-04-04T17:04:39: PM2 log: App [MagicMirror:0] online
                    PM2        | 2020-04-04T17:11:20: PM2 log: App [MagicMirror:0] exited with code [0] via signal [SIGINT]
                    PM2        | 2020-04-04T17:11:20: PM2 log: App [MagicMirror:0] starting in -fork mode-
                    PM2        | 2020-04-04T17:11:20: PM2 log: App [MagicMirror:0] online
                    PM2        | 2020-04-04T17:41:37: PM2 log: App [MagicMirror:0] exited with code [0] via signal [SIGINT]
                    PM2        | 2020-04-04T17:41:37: PM2 log: App [MagicMirror:0] starting in -fork mode-
                    PM2        | 2020-04-04T17:41:37: PM2 log: App [MagicMirror:0] online
                    
                    /home/goncalo/.pm2/logs/MagicMirror-error.log last 100 lines:
                    0|MagicMir | [6612:0404/142721.585053:ERROR:buffer_manager.cc(488)] [.DisplayCompositor]GL ERROR :GL_INVALID_OPERATION : glBufferData: <- error from previous GL command
                    0|MagicMir | [6709:0404/142737.139705:ERROR:buffer_manager.cc(488)] [.DisplayCompositor]GL ERROR :GL_INVALID_OPERATION : glBufferData: <- error from previous GL command
                    0|MagicMir | [6826:0404/142742.338033:ERROR:buffer_manager.cc(488)] [.DisplayCompositor]GL ERROR :GL_INVALID_OPERATION : glBufferData: <- error from previous GL command
                    0|MagicMir | [6934:0404/142747.014390:ERROR:buffer_manager.cc(488)] [.DisplayCompositor]GL ERROR :GL_INVALID_OPERATION : glBufferData: <- error from previous GL command
                    0|MagicMir | [7026:0404/142750.888066:ERROR:buffer_manager.cc(488)] [.DisplayCompositor]GL ERROR :GL_INVALID_OPERATION : glBufferData: <- error from previous GL command
                    0|MagicMir | [7122:0404/142801.263869:ERROR:buffer_manager.cc(488)] [.DisplayCompositor]GL ERROR :GL_INVALID_OPERATION : glBufferData: <- error from previous GL command
                    0|MagicMir | [7209:0404/142804.576839:ERROR:buffer_manager.cc(488)] [.DisplayCompositor]GL ERROR :GL_INVALID_OPERATION : glBufferData: <- error from previous GL command
                    0|MagicMir | [7297:0404/142807.886502:ERROR:buffer_manager.cc(488)] [.DisplayCompositor]GL ERROR :GL_INVALID_OPERATION : glBufferData: <- error from previous GL command
                    0|MagicMir | [7382:0404/142811.310855:ERROR:buffer_manager.cc(488)] [.DisplayCompositor]GL ERROR :GL_INVALID_OPERATION : glBufferData: <- error from previous GL command
                    0|MagicMir | [7478:0404/142816.381604:ERROR:buffer_manager.cc(488)] [.DisplayCompositor]GL ERROR :GL_INVALID_OPERATION : glBufferData: <- error from previous GL command
                    0|MagicMir | [7564:0404/142819.609241:ERROR:buffer_manager.cc(488)] [.DisplayCompositor]GL ERROR :GL_INVALID_OPERATION : glBufferData: <- error from previous GL command
                    0|MagicMir | [7651:0404/142823.135608:ERROR:gles2_cmd_decoder.cc(2813)] [GroupMarkerNotSet(crbug.com/242999)!:B0300CD32B0B0000]GL ERROR :GL_INVALID_OPERATION : BackFramebuffer::Create: <- error from previous GL command
                    0|MagicMir | [7743:0404/142826.795105:ERROR:buffer_manager.cc(488)] [.DisplayCompositor]GL ERROR :GL_INVALID_OPERATION : glBufferData: <- error from previous GL command
                    0|MagicMir | [7831:0404/142830.161364:ERROR:buffer_manager.cc(488)] [.DisplayCompositor]GL ERROR :GL_INVALID_OPERATION : glBufferData: <- error from previous GL command
                    0|MagicMir | [7917:0404/142833.479148:ERROR:buffer_manager.cc(488)] [.DisplayCompositor]GL ERROR :GL_INVALID_OPERATION : glBufferData: <- error from previous GL command
                    0|MagicMir | [8004:0404/142836.957122:ERROR:buffer_manager.cc(488)] [.DisplayCompositor]GL ERROR :GL_INVALID_OPERATION : glBufferData: <- error from previous GL command
                    0|MagicMir | [8092:0404/142840.509743:ERROR:buffer_manager.cc(488)] [.DisplayCompositor]GL ERROR :GL_INVALID_OPERATION : glBufferData: <- error from previous GL command
                    0|MagicMir | [8181:0404/142844.083279:ERROR:buffer_manager.cc(488)] [.DisplayCompositor]GL ERROR :GL_INVALID_OPERATION : glBufferData: <- error from previous GL command
                    0|MagicMir | [8278:0404/142850.688290:ERROR:buffer_manager.cc(488)] [.DisplayCompositor]GL ERROR :GL_INVALID_OPERATION : glBufferData: <- error from previous GL command
                    0|MagicMir | events.js:177
                    0|MagicMir |       throw er; // Unhandled 'error' event
                    0|MagicMir |       ^
                    0|MagicMir | 
                    0|MagicMir | Error [ERR_STREAM_DESTROYED]: Cannot call write after a stream was destroyed
                    0|MagicMir |     at doWrite (_stream_writable.js:413:19)
                    0|MagicMir |     at writeOrBuffer (_stream_writable.js:401:5)
                    0|MagicMir |     at Socket.Writable.write (_stream_writable.js:301:11)
                    0|MagicMir |     at Object.con.<computed> [as error] (/home/goncalo/MagicMirror/node_modules/console-stamp/main.js:148:46)
                    0|MagicMir |     at process.<anonymous> (/home/goncalo/MagicMirror/js/app.js:40:10)
                    0|MagicMir |     at process.emit (events.js:205:15)
                    0|MagicMir |     at process._fatalException (internal/process/execution.js:146:25)
                    0|MagicMir | npm ERR! code ELIFECYCLE
                    0|MagicMir | npm ERR! errno 7
                    0|MagicMir | npm ERR! magicmirror@2.11.0 start: `DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js`
                    0|MagicMir | npm ERR! Exit status 7
                    0|MagicMir | npm ERR! 
                    0|MagicMir | npm ERR! Failed at the magicmirror@2.11.0 start script.
                    0|MagicMir | npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
                    0|MagicMir | 
                    0|MagicMir | npm ERR! A complete log of this run can be found in:
                    0|MagicMir | npm ERR!     /home/goncalo/.npm/_logs/2020-04-04T13_28_52_135Z-debug.log
                    0|MagicMir | [8379:0404/142855.184640:ERROR:buffer_manager.cc(488)] [.DisplayCompositor]GL ERROR :GL_INVALID_OPERATION : glBufferData: <- error from previous GL command
                    0|MagicMir | [8476:0404/142900.211922:ERROR:buffer_manager.cc(488)] [.DisplayCompositor]GL ERROR :GL_INVALID_OPERATION : glBufferData: <- error from previous GL command
                    0|MagicMir | [8564:0404/142903.912353:ERROR:buffer_manager.cc(488)] [.DisplayCompositor]GL ERROR :GL_INVALID_OPERATION : glBufferData: <- error from previous GL command
                    0|MagicMir | [8650:0404/142907.871859:ERROR:buffer_manager.cc(488)] [.DisplayCompositor]GL ERROR :GL_INVALID_OPERATION : glBufferData: <- error from previous GL command
                    0|MagicMir | [8740:0404/142911.465724:ERROR:buffer_manager.cc(488)] [.DisplayCompositor]GL ERROR :GL_INVALID_OPERATION : glBufferData: <- error from previous GL command
                    0|MagicMir | [8826:0404/142914.900168:ERROR:buffer_manager.cc(488)] [.DisplayCompositor]GL ERROR :GL_INVALID_OPERATION : glBufferData: <- error from previous GL command
                    0|MagicMir | [8917:0404/142918.841951:ERROR:buffer_manager.cc(488)] [.DisplayCompositor]GL ERROR :GL_INVALID_OPERATION : glBufferData: <- error from previous GL command
                    0|MagicMir | [9014:0404/142923.006450:ERROR:buffer_manager.cc(488)] [.DisplayCompositor]GL ERROR :GL_INVALID_OPERATION : glBufferData: <- error from previous GL command
                    0|MagicMir | [9102:0404/142926.382507:ERROR:buffer_manager.cc(488)] [.DisplayCompositor]GL ERROR :GL_INVALID_OPERATION : glBufferData: <- error from previous GL command
                    0|MagicMir | [9189:0404/142930.169180:ERROR:buffer_manager.cc(488)] [.DisplayCompositor]GL ERROR :GL_INVALID_OPERATION : glBufferData: <- error from previous GL command
                    0|MagicMir | [9276:0404/142933.813284:ERROR:buffer_manager.cc(488)] [.DisplayCompositor]GL ERROR :GL_INVALID_OPERATION : glBufferData: <- error from previous GL command
                    0|MagicMir | [9370:0404/142938.151378:ERROR:buffer_manager.cc(488)] [.DisplayCompositor]GL ERROR :GL_INVALID_OPERATION : glBufferData: <- error from previous GL command
                    0|MagicMir | [9370:0404/151211.343083:ERROR:buffer_manager.cc(488)] [.DisplayCompositor]GL ERROR :GL_INVALID_OPERATION : glBufferData: <- error from previous GL command
                    0|MagicMir | [21570:0404/151222.561248:ERROR:buffer_manager.cc(488)] [.DisplayCompositor]GL ERROR :GL_INVALID_OPERATION : glBufferData: <- error from previous GL command
                    0|MagicMir | [1515:0404/151559.657406:ERROR:buffer_manager.cc(488)] [.DisplayCompositor]GL ERROR :GL_INVALID_OPERATION : glBufferData: <- error from previous GL command
                    0|MagicMir | [1515:0404/161859.482017:ERROR:buffer_manager.cc(488)] [.DisplayCompositor]GL ERROR :GL_INVALID_OPERATION : glBufferData: <- error from previous GL command
                    0|MagicMir | [2367:0404/161906.800560:ERROR:buffer_manager.cc(488)] [.DisplayCompositor]GL ERROR :GL_INVALID_OPERATION : glBufferData: <- error from previous GL command
                    0|MagicMir | [2469:0404/161912.424475:ERROR:buffer_manager.cc(488)] [.DisplayCompositor]GL ERROR :GL_INVALID_OPERATION : glBufferData: <- error from previous GL command
                    0|MagicMir | [2560:0404/161916.150005:ERROR:buffer_manager.cc(488)] [.DisplayCompositor]GL ERROR :GL_INVALID_OPERATION : glBufferData: <- error from previous GL command
                    0|MagicMir | [2560:0404/163709.854468:ERROR:buffer_manager.cc(488)] [.DisplayCompositor]GL ERROR :GL_INVALID_OPERATION : glBufferData: <- error from previous GL command
                    0|MagicMir | [2560:0404/170052.977585:ERROR:buffer_manager.cc(488)] [.DisplayCompositor]GL ERROR :GL_INVALID_OPERATION : glBufferData: <- error from previous GL command
                    0|MagicMir | npm ERR! code ELIFECYCLE
                    0|MagicMir | npm ERR! errno 1
                    0|MagicMir | npm ERR! magicmirror@2.11.0 start: `DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js`
                    0|MagicMir | npm ERR! Exit status 1
                    0|MagicMir | npm ERR! 
                    0|MagicMir | npm ERR! Failed at the magicmirror@2.11.0 start script.
                    0|MagicMir | npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
                    0|MagicMir | 
                    0|MagicMir | npm ERR! A complete log of this run can be found in:
                    0|MagicMir | npm ERR!     /home/goncalo/.npm/_logs/2020-04-04T16_02_55_422Z-debug.log
                    0|MagicMir | [1328:0404/170500.787870:ERROR:buffer_manager.cc(488)] [.DisplayCompositor]GL ERROR :GL_INVALID_OPERATION : glBufferData: <- error from previous GL command
                    0|MagicMir | [1328:0404/170822.269139:ERROR:buffer_manager.cc(488)] [.DisplayCompositor]GL ERROR :GL_INVALID_OPERATION : glBufferData: <- error from previous GL command
                    0|MagicMir | [1328:0404/171052.817336:ERROR:buffer_manager.cc(488)] [.DisplayCompositor]GL ERROR :GL_INVALID_OPERATION : glBufferData: <- error from previous GL command
                    0|MagicMir | [1910:0404/171123.504386:ERROR:buffer_manager.cc(488)] [.DisplayCompositor]GL ERROR :GL_INVALID_OPERATION : glBufferData: <- error from previous GL command
                    0|MagicMir | [1910:0404/174131.869273:ERROR:buffer_manager.cc(488)] [.DisplayCompositor]GL ERROR :GL_INVALID_OPERATION : glBufferData: <- error from previous GL command
                    0|MagicMir | [2161:0404/174140.096920:ERROR:gles2_cmd_decoder.cc(2813)] [GroupMarkerNotSet(crbug.com/242999)!:B0305C06BA0D0000]GL ERROR :GL_INVALID_OPERATION : BackFramebuffer::Create: <- error from previous GL command
                    
                    /home/goncalo/.pm2/logs/MagicMirror-out.log last 100 lines:
                    0|MagicMir | > magicmirror@2.11.0 start /home/goncalo/MagicMirror
                    0|MagicMir | > DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js
                    0|MagicMir | 
                    0|MagicMir | [2020-04-04 17:04:45.945] [LOG]    Starting MagicMirror: v2.11.0
                    0|MagicMir | [2020-04-04 17:04:45.953] [LOG]    Loading config ...
                    0|MagicMir | [2020-04-04 17:04:45.958] [LOG]    Loading module helpers ...
                    0|MagicMir | [2020-04-04 17:04:45.960] [LOG]    No helper found for module: alert.
                    0|MagicMir | [2020-04-04 17:04:46.004] [LOG]    Initializing new module helper ...
                    0|MagicMir | [2020-04-04 17:04:46.005] [LOG]    Module helper loaded: updatenotification
                    0|MagicMir | [2020-04-04 17:04:46.006] [LOG]    No helper found for module: clock.
                    0|MagicMir | [2020-04-04 17:04:49.767] [LOG]    Initializing new module helper ...
                    0|MagicMir | [2020-04-04 17:04:49.767] [LOG]    Module helper loaded: calendar
                    0|MagicMir | [2020-04-04 17:04:49.768] [LOG]    No helper found for module: compliments.
                    0|MagicMir | [2020-04-04 17:04:49.768] [LOG]    No helper found for module: currentweather.
                    0|MagicMir | [2020-04-04 17:04:49.769] [LOG]    No helper found for module: weatherforecast.
                    0|MagicMir | [2020-04-04 17:04:50.305] [LOG]    Initializing new module helper ...
                    0|MagicMir | [2020-04-04 17:04:50.306] [LOG]    Module helper loaded: newsfeed
                    0|MagicMir | [2020-04-04 17:04:50.306] [LOG]    All module helpers loaded.
                    0|MagicMir | [2020-04-04 17:04:52.640] [LOG]    Starting server on port 8080 ... 
                    0|MagicMir | [2020-04-04 17:04:52.791] [LOG]    Server started ...
                    0|MagicMir | [2020-04-04 17:04:52.791] [LOG]    Connecting socket for: updatenotification
                    0|MagicMir | [2020-04-04 17:04:52.792] [LOG]    Connecting socket for: calendar
                    0|MagicMir | [2020-04-04 17:04:52.793] [LOG]    Starting node helper for: calendar
                    0|MagicMir | [2020-04-04 17:04:52.794] [LOG]    Connecting socket for: newsfeed
                    0|MagicMir | [2020-04-04 17:04:52.794] [LOG]    Starting module: newsfeed
                    0|MagicMir | [2020-04-04 17:04:52.795] [LOG]    Sockets connected & modules started ...
                    0|MagicMir | [2020-04-04 17:04:57.477] [LOG]    Launching application.
                    0|MagicMir | [2020-04-04 17:05:13.853] [LOG]    Create new calendar fetcher for url: http://www.calendarlabs.com/ical-calendar/ics/76/US_Holidays.ics - Interval: 300000
                    0|MagicMir | [2020-04-04 17:05:13.877] [LOG]    Create new news fetcher for url: http://www.nytimes.com/services/xml/rss/nyt/HomePage.xml - Interval: 300000
                    0|MagicMir | [2020-04-04 17:08:23.461] [LOG]    Use existing news fetcher for url: http://www.nytimes.com/services/xml/rss/nyt/HomePage.xml
                    0|MagicMir | [2020-04-04 17:10:54.065] [LOG]    Use existing news fetcher for url: http://www.nytimes.com/services/xml/rss/nyt/HomePage.xml
                    0|MagicMir | [2020-04-04 17:11:20.441] [LOG]    Shutting down server...
                    0|MagicMir | [2020-04-04 17:11:20.442] [LOG]    Stopping module helper: updatenotification
                    0|MagicMir | [2020-04-04 17:11:20.442] [LOG]    Stopping module helper: calendar
                    0|MagicMir | [2020-04-04 17:11:20.443] [LOG]    Stopping module helper: newsfeed
                    0|MagicMir | 
                    0|MagicMir | > magicmirror@2.11.0 start /home/goncalo/MagicMirror
                    0|MagicMir | > DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js
                    0|MagicMir | 
                    0|MagicMir | [2020-04-04 17:11:22.294] [LOG]    Starting MagicMirror: v2.11.0
                    0|MagicMir | [2020-04-04 17:11:22.301] [LOG]    Loading config ...
                    0|MagicMir | [2020-04-04 17:11:22.306] [LOG]    Loading module helpers ...
                    0|MagicMir | [2020-04-04 17:11:22.308] [LOG]    No helper found for module: alert.
                    0|MagicMir | [2020-04-04 17:11:22.343] [LOG]    Initializing new module helper ...
                    0|MagicMir | [2020-04-04 17:11:22.344] [LOG]    Module helper loaded: updatenotification
                    0|MagicMir | [2020-04-04 17:11:22.345] [LOG]    No helper found for module: clock.
                    0|MagicMir | [2020-04-04 17:11:22.632] [LOG]    Initializing new module helper ...
                    0|MagicMir | [2020-04-04 17:11:22.632] [LOG]    Module helper loaded: calendar
                    0|MagicMir | [2020-04-04 17:11:22.633] [LOG]    No helper found for module: compliments.
                    0|MagicMir | [2020-04-04 17:11:22.633] [LOG]    No helper found for module: currentweather.
                    0|MagicMir | [2020-04-04 17:11:22.634] [LOG]    No helper found for module: weatherforecast.
                    0|MagicMir | [2020-04-04 17:11:22.654] [LOG]    Initializing new module helper ...
                    0|MagicMir | [2020-04-04 17:11:22.655] [LOG]    Module helper loaded: newsfeed
                    0|MagicMir | [2020-04-04 17:11:22.655] [LOG]    All module helpers loaded.
                    0|MagicMir | [2020-04-04 17:11:22.742] [LOG]    Starting server on port 8080 ... 
                    0|MagicMir | [2020-04-04 17:11:22.754] [LOG]    Server started ...
                    0|MagicMir | [2020-04-04 17:11:22.754] [LOG]    Connecting socket for: updatenotification
                    0|MagicMir | [2020-04-04 17:11:22.755] [LOG]    Connecting socket for: calendar
                    0|MagicMir | [2020-04-04 17:11:22.756] [LOG]    Starting node helper for: calendar
                    0|MagicMir | [2020-04-04 17:11:22.757] [LOG]    Connecting socket for: newsfeed
                    0|MagicMir | [2020-04-04 17:11:22.757] [LOG]    Starting module: newsfeed
                    0|MagicMir | [2020-04-04 17:11:22.758] [LOG]    Sockets connected & modules started ...
                    0|MagicMir | [2020-04-04 17:11:22.879] [LOG]    Launching application.
                    0|MagicMir | [2020-04-04 17:11:24.374] [LOG]    Create new calendar fetcher for url: http://www.calendarlabs.com/ical-calendar/ics/76/US_Holidays.ics - Interval: 300000
                    0|MagicMir | [2020-04-04 17:11:24.480] [LOG]    Create new news fetcher for url: http://www.nytimes.com/services/xml/rss/nyt/HomePage.xml - Interval: 300000
                    0|MagicMir | [2020-04-04 17:41:33.168] [LOG]    Use existing news fetcher for url: http://www.nytimes.com/services/xml/rss/nyt/HomePage.xml
                    0|MagicMir | [2020-04-04 17:41:37.073] [LOG]    Shutting down server...
                    0|MagicMir | [2020-04-04 17:41:37.074] [LOG]    Stopping module helper: updatenotification
                    0|MagicMir | [2020-04-04 17:41:37.075] [LOG]    Stopping module helper: calendar
                    0|MagicMir | [2020-04-04 17:41:37.075] [LOG]    Stopping module helper: newsfeed
                    0|MagicMir | 
                    0|MagicMir | > magicmirror@2.11.0 start /home/goncalo/MagicMirror
                    0|MagicMir | > DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js
                    0|MagicMir | 
                    0|MagicMir | [2020-04-04 17:41:38.908] [LOG]    Starting MagicMirror: v2.11.0
                    0|MagicMir | [2020-04-04 17:41:38.915] [LOG]    Loading config ...
                    0|MagicMir | [2020-04-04 17:41:38.920] [LOG]    Loading module helpers ...
                    0|MagicMir | [2020-04-04 17:41:38.922] [LOG]    No helper found for module: alert.
                    0|MagicMir | [2020-04-04 17:41:38.956] [LOG]    Initializing new module helper ...
                    0|MagicMir | [2020-04-04 17:41:38.956] [LOG]    Module helper loaded: updatenotification
                    0|MagicMir | [2020-04-04 17:41:38.957] [LOG]    No helper found for module: clock.
                    0|MagicMir | [2020-04-04 17:41:39.244] [LOG]    Initializing new module helper ...
                    0|MagicMir | [2020-04-04 17:41:39.245] [LOG]    Module helper loaded: calendar
                    0|MagicMir | [2020-04-04 17:41:39.245] [LOG]    No helper found for module: compliments.
                    0|MagicMir | [2020-04-04 17:41:39.246] [LOG]    No helper found for module: currentweather.
                    0|MagicMir | [2020-04-04 17:41:39.247] [LOG]    No helper found for module: weatherforecast.
                    0|MagicMir | [2020-04-04 17:41:39.266] [LOG]    Initializing new module helper ...
                    0|MagicMir | [2020-04-04 17:41:39.266] [LOG]    Module helper loaded: newsfeed
                    0|MagicMir | [2020-04-04 17:41:39.267] [LOG]    All module helpers loaded.
                    0|MagicMir | [2020-04-04 17:41:39.350] [LOG]    Starting server on port 8080 ... 
                    0|MagicMir | [2020-04-04 17:41:39.361] [LOG]    Server started ...
                    0|MagicMir | [2020-04-04 17:41:39.362] [LOG]    Connecting socket for: updatenotification
                    0|MagicMir | [2020-04-04 17:41:39.363] [LOG]    Connecting socket for: calendar
                    0|MagicMir | [2020-04-04 17:41:39.364] [LOG]    Starting node helper for: calendar
                    0|MagicMir | [2020-04-04 17:41:39.364] [LOG]    Connecting socket for: newsfeed
                    0|MagicMir | [2020-04-04 17:41:39.365] [LOG]    Starting module: newsfeed
                    0|MagicMir | [2020-04-04 17:41:39.366] [LOG]    Sockets connected & modules started ...
                    0|MagicMir | [2020-04-04 17:41:39.467] [LOG]    Launching application.
                    0|MagicMir | [2020-04-04 17:41:40.947] [LOG]    Create new calendar fetcher for url: http://www.calendarlabs.com/ical-calendar/ics/76/US_Holidays.ics - Interval: 300000
                    0|MagicMir | [2020-04-04 17:41:40.979] [LOG]    Create new news fetcher for url: http://www.nytimes.com/services/xml/rss/nyt/HomePage.xml - Interval: 300000
                    
                    
                    
                    
                    S 1 Reply Last reply Reply Quote 0
                    • S Offline
                      sdetweil @goncalovsc
                      last edited by

                      @goncalovsc said in MM on Ubuntu:

                      0|MagicMir | [2020-04-04 17:41:39.246] [LOG] No helper found for module: currentweather.
                      0|MagicMir | [2020-04-04 17:41:39.247] [LOG] No helper found for module: weatherforecast.

                      ok, the modules were started

                      i don’t understand why you are not seeing the output

                      Sam

                      How to add modules

                      learning how to use browser developers window for css changes

                      G 1 Reply Last reply Reply Quote 0
                      • G Offline
                        goncalovsc @sdetweil
                        last edited by

                        @sdetweil its better to do a clean install?

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

                          @goncalovsc sure, I guess, should be quick

                          mv ~/MagicMirror ~/MagucMirror.old
                          bash -c "$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/raspberry.sh)"
                          

                          Sam

                          How to add modules

                          learning how to use browser developers window for css changes

                          G 1 Reply Last reply Reply Quote 0
                          • G Offline
                            goncalovsc @sdetweil
                            last edited by

                            @sdetweil said in MM on Ubuntu:

                            bash -c “$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/raspberry.sh)”

                            Do you want use pm2 for auto starting of your MagicMirror (y/N)?
                            Should I say no? last time i said yes

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

                              @goncalovsc sure, yes

                              Sam

                              How to add modules

                              learning how to use browser developers window for css changes

                              G 1 Reply Last reply Reply Quote 0
                              • G Offline
                                goncalovsc @sdetweil
                                last edited by

                                @sdetweil Wait, sure to say no, or sure to say yes? :smiling_face_with_open_mouth_cold_sweat:

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

                                  @goncalovsc I said yes above

                                  Sam

                                  How to add modules

                                  learning how to use browser developers window for css changes

                                  G 1 Reply Last reply Reply Quote 0
                                  • G Offline
                                    goncalovsc @sdetweil
                                    last edited by

                                    @sdetweil Aaaand its installed again
                                    https://gyazo.com/5366b44db5c66b86c625afaf061573ff

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

                                      @goncalovsc good, now edit the ~/MagicMirror/config/config.js and add the info for the two weather modules

                                      then do pm2 restart 0

                                      Sam

                                      How to add modules

                                      learning how to use browser developers window for css changes

                                      G 1 Reply Last reply Reply Quote 0
                                      • G Offline
                                        goncalovsc @sdetweil
                                        last edited by

                                        @sdetweil I opened the file and its already edited. I think its using the old files

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

                                          @goncalovsc no… if u moved the folder as in the instructions it would have pulled down a whole new copy

                                          show output of

                                          pm2 status
                                          pm2 show 0
                                          pm2 show 1
                                          

                                          Sam

                                          How to add modules

                                          learning how to use browser developers window for css changes

                                          G 1 Reply Last reply Reply Quote 0
                                          • G Offline
                                            goncalovsc @sdetweil
                                            last edited by

                                            @sdetweil I´ve ran exactly the commands that you said

                                            Sorry cant copy paste
                                            https://gyazo.com/623dd157c791ea2edc6c1526502a2927
                                            https://gyazo.com/b6df9267fe1b7fd23dd8b5afc18226d4
                                            S 1 Reply Last reply Reply Quote 0

                                            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                            With your input, this post could be even better 💗

                                            Register Login
                                            • 1
                                            • 2
                                            • 3
                                            • 4
                                            • 5
                                            • 3 / 5
                                            • 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