A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.
Read the statement by Michael Teeuw here.
MM on Ubuntu
-
@sdetweil Its with auto start activated
-
@goncalovsc sorry, don’t understand that…
if you used my script, it would have asked if you wanted to use pm2 to start on boot… (default answer is no)
so, what script is executed on ‘autostart’?
-
@sdetweil ahhh i think i said yes
-
@goncalovsc so,
pm2 status
should show the definition
anyhow, if you have copied the confi over, now restart mm again…
-
https://gyazo.com/14d8c30cc49ba12b849877d0b401a638
Just restarted, all the same… -
@goncalovsc ok, edit the config.js and show me the config for weatherforecast
-
@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" } }, {
-
@goncalovsc ok, show the output of pm2 logs
-
[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
-
@goncalovsc sorry, not enough…
pm2 logs --lines=100