MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    1. Home
    2. nakulbende
    3. Posts
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.
    N
    Offline
    • Profile
    • Following 1
    • Followers 0
    • Topics 16
    • Posts 47
    • Groups 0

    Posts

    Recent Best Controversial
    • MESA issues - mm actually displays

      Saw this error in npm start. Quick search says that these typically rnder a black screen - I am actually seeing MM, so what does this error mean?

      MESA-LOADER: failed to retrieve device information
      ../../buildtools/third_party/libc++/trunk/include/vector:1425: assertion __n < size() failed: vector[] index out of bounds[27159:1223/223830.134308:ERROR:gpu_process_host.cc(991)] GPU process exited unexpectedly: exit_code=6
      MESA-LOADER: failed to retrieve device information
      MESA-LOADER: failed to retrieve device information
      MESA-LOADER: failed to retrieve device information
      ../../buildtools/third_party/libc++/trunk/include/vector:1425: assertion __n < size() failed: vector[] index out of bounds[27202:1223/223831.357228:ERROR:command_buffer_proxy_impl.cc(128)] ContextResult::kTransientFailure: Failed to send GpuControl.CreateCommandBuffer.
      [27159:1223/223831.363276:ERROR:gpu_process_host.cc(991)] GPU process exited unexpectedly: exit_code=6
      [27202:1223/223832.163432:ERROR:command_buffer_proxy_impl.cc(128)] ContextResult::kTransientFailure: Failed to send GpuControl.CreateCommandBuffer.
      
      posted in Troubleshooting
      N
      nakulbende
    • Calendar module not showing events (fetch error)

      Using the default calendar module to display events - the same config worked for a while. I updated MM, and this does not work anymore. Getting the following issue regardless of which link I have in config - I checked and the cal links are working.

      I am using a RPi, MM is up to date. Thanks for all the help community!

      [23.12.2023 22:22.14.151] [LOG]   Create new calendarfetcher for url: https://calendar.google.com/calendar/ical/en.indian%23holiday%40group.v.calendar.google.com/public/basic.ics - Interval: 3600000
      [23.12.2023 22:22.14.157] [ERROR] Whoops! There was an uncaught exception...
      [23.12.2023 22:22.14.168] [ERROR] ReferenceError: fetch is not defined
          at fetchCalendar (/home/pi/MagicMirror/modules/default/calendar/calendarfetcher.js:58:3)
          at CalendarFetcher.startFetch (/home/pi/MagicMirror/modules/default/calendar/calendarfetcher.js:103:3)
          at Class.createFetcher (/home/pi/MagicMirror/modules/default/calendar/node_helper.js:80:11)
          at Class.socketNotificationReceived (/home/pi/MagicMirror/modules/default/calendar/node_helper.js:21:9)
          at Socket.<anonymous> (/home/pi/MagicMirror/js/node_helper.js:104:11)
          at Socket.emit (node:events:513:28)
          at Socket.emitUntyped (/home/pi/MagicMirror/node_modules/socket.io/dist/typed-events.js:69:22)
          at /home/pi/MagicMirror/node_modules/socket.io/dist/socket.js:703:39
          at process.processTicksAndRejections (node:internal/process/task_queues:78:11)
      [23.12.2023 22:22.14.169] [ERROR] MagicMirror² will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
      [23.12.2023 22:22.14.170] [ERROR] If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues
      

      Here is my config for this module:

      // Calendar
       			{
       				module: "calendar",
       				//header: "Calenar",
       				position: "top_right",
       				config: {
       					colored: true,
       					maximumNumberOfDays: 60,
       					maximumEntries: 12,
       					displaySymbol: true,
       					timeFormat: "absolute",
       					broadcastPastEvents: true, 
       					showEnd: false,
       					wrapEvents: false,
       					calendars: [
       						{
      	 						//symbol: "fas fa-glass",
      	 						//maximumEntries: 4,
      	 						url: 'https://calendar.google.com/calendar/ical/en.indian%23holiday%40group.v.calendar.google.com/public/basic.ics',
      	 						//color: "#c97dff" // #ff8989, #ffc386, #f9ff99 is red, orange and yellow
      	 					},
      	 					{
      	 						symbol: "fas fa-heart",
      	 						maximumEntries: 4,
      	 						color: "#a1ffb6",
      	 						url: "XXX",
      	 					},
      	 					{
      	 						symbol: "fas fa-birthday-cake",
      	 						maximumEntries: 4,
      	 						color: "#ff8989",
      	 						url: "XXX",
      	 					},
       					],
       				},
       			},
      
      posted in Troubleshooting
      N
      nakulbende
    • RE: Mirror fails to start upon update

      Here is the output to npm start from MagicMirror folder after I removed most of the modules from configuration - just clock and calendar.

      > DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js
      
      [25.05.2023 09:10.17.646] [LOG]   Starting MagicMirror: v2.23.0
      [25.05.2023 09:10.17.671] [LOG]   Loading config ...
      [25.05.2023 09:10.17.680] [DEBUG] config template file not exists, no envsubst
      [25.05.2023 09:10.17.697] [LOG]   Loading module helpers ...
      [25.05.2023 09:10.17.700] [LOG]   No helper found for module: clock.
      [25.05.2023 09:10.17.702] [LOG]   No helper found for module: calendar_monthly.
      [25.05.2023 09:10.18.227] [LOG]   Initializing new module helper ...
      [25.05.2023 09:10.18.229] [LOG]   Module helper loaded: calendar
      [25.05.2023 09:10.18.253] [ERROR] (node:23106) UnhandledPromiseRejectionWarning: Error: Cannot find module 'googleapis'
      Require stack:
      - /home/pi/MagicMirror/modules/MMM-Buller/node_helper.js
      - /home/pi/MagicMirror/js/app.js
      - /home/pi/MagicMirror/js/electron.js
      - /home/pi/MagicMirror/node_modules/electron/dist/resources/default_app.asar/main.js
      - 
          at Module._resolveFilename (node:internal/modules/cjs/loader:963:15)
          at n._resolveFilename (node:electron/js2c/browser_init:2:109751)
          at Module._resolveFilename (/home/pi/MagicMirror/node_modules/module-alias/index.js:49:29)
          at Module._load (node:internal/modules/cjs/loader:811:27)
          at f._load (node:electron/js2c/asar_bundle:2:13330)
          at Module.require (node:internal/modules/cjs/loader:1035:19)
          at require (node:internal/modules/cjs/helpers:102:18)
          at Object.<anonymous> (/home/pi/MagicMirror/modules/MMM-Buller/node_helper.js:14:18)
          at Module._compile (node:internal/modules/cjs/loader:1141:14)
          at Module._extensions..js (node:internal/modules/cjs/loader:1196:10)
          at Module.load (node:internal/modules/cjs/loader:1011:32)
          at Module._load (node:internal/modules/cjs/loader:846:12)
          at f._load (node:electron/js2c/asar_bundle:2:13330)
          at Module.require (node:internal/modules/cjs/loader:1035:19)
          at require (node:internal/modules/cjs/helpers:102:18)
          at loadModule (/home/pi/MagicMirror/js/app.js:184:19)
      (Use `electron --trace-warnings ...` to show where the warning was created)
      [25.05.2023 09:10.18.255] [ERROR] (node:23106) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 2)
      [25.05.2023 09:10.18.801] [LOG]   Launching application.
      MESA-LOADER: failed to retrieve device information
      MESA-LOADER: failed to retrieve device information
      MESA-LOADER: failed to retrieve device information
      
      posted in Troubleshooting
      N
      nakulbende
    • Mirror fails to start upon update

      I had a magicmirror on raspberyr pi 3 that I started after a year. Chronologically,

      • everything worked perfectly as before
      • updated raspi and magicmirror
      • MM not starting anymore

      I use to be able to troubleshoot these myself, but I have been away from this project for 2 years. Can I get some help to point me in the right direction please?

      Here are the common outputs:

      • pm2 status MagicMirror (even though nothing is being displayed)
      ┌────┬────────────────────┬──────────┬──────┬───────────┬──────────┬──────────┐
      │ id │ name               │ mode     │ ↺    │ status    │ cpu      │ memory   │
      ├────┼────────────────────┼──────────┼──────┼───────────┼──────────┼──────────┤
      │ 0  │ MagicMirror        │ fork     │ 1    │ online    │ 0%       │ 2.6mb    │
      └────┴────────────────────┴──────────┴──────┴───────────┴──────────┴──────────┘
      
      
      • npm run config:check
      > node js/check_config.js
      
      /home/pi/MagicMirror/node_modules/@eslint/eslintrc/dist/eslintrc.cjs:2383
      const require$1 = Module.createRequire(require('url').pathToFileURL(__filename).toString());
                               ^
      
      TypeError: Module.createRequire is not a function
          at Object.<anonymous> (/home/pi/MagicMirror/node_modules/@eslint/eslintrc/dist/eslintrc.cjs:2383:26)
          at Module._compile (internal/modules/cjs/loader.js:778:30)
          at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
          at Module.load (internal/modules/cjs/loader.js:653:32)
          at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
          at Function.Module._load (internal/modules/cjs/loader.js:585:3)
          at Module.require (internal/modules/cjs/loader.js:692:17)
          at require (internal/modules/cjs/helpers.js:25:18)
          at Object.<anonymous> (/home/pi/MagicMirror/node_modules/eslint/lib/cli-engine/cli-engine.js:33:5)
          at Module._compile (internal/modules/cjs/loader.js:778:30)
      npm ERR! code ELIFECYCLE
      npm ERR! errno 1
      npm ERR! magicmirror@2.23.0 config:check: `node js/check_config.js`
      npm ERR! Exit status 1
      npm ERR! 
      npm ERR! Failed at the magicmirror@2.23.0 config:check script.
      npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
      
      npm ERR! A complete log of this run can be found in:
      npm ERR!     /home/pi/.npm/_logs/2023-05-25T12_44_27_070Z-debug.log
      
      • In pm2 error logs
      [23.05.2023 16:07.34.099] [ERROR] (node:924) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 2)
      MESA-LOADER: failed to retrieve device information
      MESA-LOADER: failed to retrieve device information
      MESA-LOADER: failed to retrieve device information
      /home/pi/MagicMirror/node_modules/electron/dist/electron exited with signal SIGINT
      [24.05.2023 09:49.11.903] [WARN]  No /home/pi/MagicMirror/js/../modules/currentweather/currentweather.js found for module: currentweather.
      [24.05.2023 09:49.12.450] [ERROR] (node:13127) UnhandledPromiseRejectionWarning: Error: Cannot find module 'googleapis'
      Require stack:
      - /home/pi/MagicMirror/modules/MMM-Buller/node_helper.js
      - /home/pi/MagicMirror/js/app.js
      - /home/pi/MagicMirror/js/electron.js
      - /home/pi/MagicMirror/node_modules/electron/dist/resources/default_app.asar/main.js
      - 
          at Module._resolveFilename (node:internal/modules/cjs/loader:963:15)
          at n._resolveFilename (node:electron/js2c/browser_init:2:109751)
          at Module._resolveFilename (/home/pi/MagicMirror/node_modules/module-alias/index.js:49:29)
          at Module._load (node:internal/modules/cjs/loader:811:27)
          at f._load (node:electron/js2c/asar_bundle:2:13330)
          at Module.require (node:internal/modules/cjs/loader:1035:19)
          at require (node:internal/modules/cjs/helpers:102:18)
          at Object.<anonymous> (/home/pi/MagicMirror/modules/MMM-Buller/node_helper.js:14:18)
          at Module._compile (node:internal/modules/cjs/loader:1141:14)
          at Module._extensions..js (node:internal/modules/cjs/loader:1196:10)
          at Module.load (node:internal/modules/cjs/loader:1011:32)
          at Module._load (node:internal/modules/cjs/loader:846:12)
          at f._load (node:electron/js2c/asar_bundle:2:13330)
          at Module.require (node:internal/modules/cjs/loader:1035:19)
          at require (node:internal/modules/cjs/helpers:102:18)
          at loadModule (/home/pi/MagicMirror/js/app.js:184:19)
      (Use `electron --trace-warnings ...` to show where the warning was created)
      [24.05.2023 09:49.12.452] [ERROR] (node:13127) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI
      
      • In case it is useful, I ran npm run install-mm again for the following output
      > magicmirror@2.23.0 install-mm /home/pi/MagicMirror
      > npm install --no-audit --no-fund --no-update-notifier --only=prod --omit=dev
      
      [..................] | rollbackFailedOptional: verb npm-session 6b05a62f7
      
      > magicmirror@2.23.0 postinstall /home/pi/MagicMirror
      > npm run install-vendor && npm run install-fonts && echo "MagicMirror² installation finished successfully! 
      "
      
      
      > magicmirror@2.23.0 install-vendor /home/pi/MagicMirror
      > echo "Installing vendor files ...
      " && cd vendor && npm install --loglevel=error --no-audit --no-fund --no-update-notifier
      
      Installing vendor files ...
      
      up to date in 7.855s
      
      > magicmirror@2.23.0 install-fonts /home/pi/MagicMirror
      > echo "Installing fonts ...
      " && cd fonts && npm install --loglevel=error --no-audit --no-fund --no-update-notifier
      
      Installing fonts ...
      
      up to date in 5.068s
      MagicMirror² installation finished successfully! 
      
      up to date in 133.275s
      
      
      posted in Troubleshooting
      N
      nakulbende
    • RE: MMM-pihole was causing major bugs/ freezes

      Done - but I am pretty sure I have sent them a note in past, also based on some of @sdetweil 's troubleshooting about package details - it seems inactive. I love the module - is there something I can do in terms of troubleshooting to revive it?

      MM and pi-hole are my fav proejcts I ever made - followed recently by retropie.

      posted in Troubleshooting
      N
      nakulbende
    • RE: MMM-Strava only shows achievements, nothing else?

      Yeah that did it! Thanks - again, wizardry appreciated!

      posted in Troubleshooting
      N
      nakulbende
    • RE: MMM-Strava only shows achievements, nothing else?

      Tried that - authenticated again. I have some public and some private activities now. But now it does not show anything.

      Here is my config file:

      		// Strava
      		{
      			module: "MMM-Strava",
      			position: "bottom_right",
      			config: {
      				client_id: "XXXXXX",
      				client_secret: "XXXXXXXXXXXx",
      				mode: "table",
      				activities: "ride",
      				reloadInterval: 1000*60*30,
      				stats: ["count", "distance", "moving_time", "achievements"],
      				showprivatestats: true,
      			}
      		},
      

      I deleted the old folder too.

      posted in Troubleshooting
      N
      nakulbende
    • RE: MMM-Strava only shows achievements, nothing else?

      You all are just wizards!!

      posted in Troubleshooting
      N
      nakulbende
    • RE: MMM-Strava only shows achievements, nothing else?

      @karsten13 and @lavolp3 Thanks both of you for your contributions!!

      I know strava is having issues, and is pushing a lot pf services to paid customers only. I dont mind not being able to see any other athletes, I mostly use it for my own tracking, and so I just keep it private. I do know that the random changes in their API caused a lot of trouble for you guys.

      So - is there a way to checkout the PR - and use private activities? Can I use something like git checkout pr 38 and it will be the version @karsten13 PRed?

      posted in Troubleshooting
      N
      nakulbende
    • RE: MMM-Strava only shows achievements, nothing else?

      Whoops, didn’t realize this just pulls from public profile - since it is taking authorization. I made some activities public - do i have to make it public?

      posted in Troubleshooting
      N
      nakulbende
    • RE: MMM-pihole was causing major bugs/ freezes

      @sdetweil Thank you so much for your help.

      posted in Troubleshooting
      N
      nakulbende
    • MMM-Strava only shows achievements, nothing else?

      Hey all,

      I installed MMM-Strava, followed the wonderfuly documented instructions on how to get authentication tokens - but am having some issues. I think my authentication is fine, because the module shows my weekly achievements. But, it does not show ride #, distances or any other stats. Here is my config file and screenshot:

      7edffdb2-87bd-4bdc-9ea7-497dbf54a948-image.png

      {
      	module: "MMM-Strava",
      	position: "bottom_left",
      	config: {
      		client_id: "XXXX",
      		client_secret: "XXXXXXX",
      		mode: "table",
      		activities: "ride",
      		reloadInterval: 1000*60*30,
      		stats: ["count", "distance", "elevation", "moving_time", "achievements"]
      	}
      }
      

      Here is the relevant output from npm start

      > magicmirror@2.11.0 start /home/pi/MagicMirror
      > DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js
      
      [2020-06-25 09:31:12.157] [LOG]    Starting MagicMirror: v2.11.0
      [2020-06-25 09:31:12.191] [LOG]    Loading config ...
      [2020-06-25 09:31:12.210] [LOG]    Loading module helpers ...
      
      [2020-06-25 09:31:20.444] [LOG]    Initializing new module helper ...
      [2020-06-25 09:31:20.446] [LOG]    Check MagicMirror version for node helper 'MMM-Strava' - Minimum version:  2.2.0 - Current version: 2.11.0
      [2020-06-25 09:31:20.448] [LOG]    Version is ok!
      [2020-06-25 09:31:20.450] [LOG]    Module helper loaded: MMM-Strava
      
      [2020-06-25 09:31:22.042] [LOG]    Connecting socket for: MMM-Strava
      [2020-06-25 09:31:22.044] [LOG]    Starting module helper: MMM-Strava
      
      
      posted in Troubleshooting
      N
      nakulbende
    • MMM-pihole was causing major bugs/ freezes

      Hello all,

      This is just a PSA - I believe the module MMM-Pihole was causing my mirror to crash badly, mostly causing it to loose connection, freeze every 2-3 hours. Here is the chronological scenario:

      • Updated MM
      • Tested with many many configurations of modules. I spent almost a month debugging it - and ran all permutations and combinations of why the mirror is freezing. The logs only showed internet disconnect
      • @sdetweil looked at the logs, which were not really helpful. He suggested to move the installation form a SD card to USB. I did this, and in addition added active cooling fan to the pi, so we can strike off cooling issues. My pi was freezing/ acting up even when the temps never went above 40
      • MMM-Pihole - only with just that module running caused bugs. As soon as I disabled it, running all the modules cased no bugs. Compare 1-2 hour of stability vs. running for last month without errors
      • Freezes are obvious, but I even got partial mirror displayed. Weird, so leaving a snapshot here (look at the calendar and time module):

      rsz_1img_20200523_165213.jpg

      So, if you are using the module, and are having issues - try taking it off, hope it solves your issue.

      posted in Troubleshooting
      N
      nakulbende
    • RE: Getting a bunch of erros and hangups on a new installation

      Hey @sdetweil - I have the power management on wifi turned off. I am not getting complete crash of pi - to the extent that i have to restart, BUT - I am getting a lot of freezes which automatically resolve in a while.

      In the pm2 logs:

      [2020-05-04 03:03:04.470] [ERROR]  Mon May 04 2020 03:03:00 GMT-0900 (Hawaii-Aleutian Daylight Time) - WatchDog: Heartbeat timeout. Frontend might have crashed. Exit now.
      events.js:177
            throw er; // Unhandled 'error' event
            ^
      
      Error [ERR_STREAM_DESTROYED]: Cannot call write after a stream was destroyed
          at doWrite (_stream_writable.js:413:19)
          at writeOrBuffer (_stream_writable.js:401:5)
          at Socket.Writable.write (_stream_writable.js:301:11)
          at Object.con.<computed> [as error] (/home/pi/MagicMirror/node_modules/console-stamp/main.js:148:46)
          at process.<anonymous> (/home/pi/MagicMirror/js/app.js:40:10)
          at process.emit (events.js:205:15)
          at process._fatalException (internal/process/execution.js:146:25)
      npm ERR! code ELIFECYCLE
      npm ERR! errno 7
      npm ERR! magicmirror@2.11.0 start: `DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js`
      npm ERR! Exit status 7
      npm ERR! 
      npm ERR! Failed at the magicmirror@2.11.0 start script.
      npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
      
      npm ERR! A complete log of this run can be found in:
      npm ERR!     /home/pi/.npm/_logs/2020-05-04T12_17_10_505Z-debug.log
      

      Here is the npm error log

      0 info it worked if it ends with ok
      1 verbose cli [ '/usr/bin/node', '/usr/local/bin/npm', 'start' ]
      2 info using npm@6.14.4
      3 info using node@v10.19.0
      4 verbose run-script [ 'prestart', 'start', 'poststart' ]
      5 info lifecycle magicmirror@2.11.0~prestart: magicmirror@2.11.0
      6 info lifecycle magicmirror@2.11.0~start: magicmirror@2.11.0
      7 verbose lifecycle magicmirror@2.11.0~start: unsafe-perm in lifecycle true
      8 verbose lifecycle magicmirror@2.11.0~start: PATH: /usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/home/pi/MagicMirror/node_modules/.bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/games:/usr/games
      9 verbose lifecycle magicmirror@2.11.0~start: CWD: /home/pi/MagicMirror
      10 silly lifecycle magicmirror@2.11.0~start: Args: [ '-c',
      10 silly lifecycle   'DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js' ]
      11 silly lifecycle magicmirror@2.11.0~start: Returned: code: 1  signal: null
      12 info lifecycle magicmirror@2.11.0~start: Failed to exec start script
      13 verbose stack Error: magicmirror@2.11.0 start: `DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js`
      13 verbose stack Exit status 1
      13 verbose stack     at EventEmitter.<anonymous> (/usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/index.js:332:16)
      13 verbose stack     at EventEmitter.emit (events.js:198:13)
      13 verbose stack     at ChildProcess.<anonymous> (/usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/lib/spawn.js:55:14)
      13 verbose stack     at ChildProcess.emit (events.js:198:13)
      13 verbose stack     at maybeClose (internal/child_process.js:982:16)
      13 verbose stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:259:5)
      14 verbose pkgid magicmirror@2.11.0
      15 verbose cwd /home/pi/MagicMirror
      16 verbose Linux 4.19.97-v7+
      17 verbose argv "/usr/bin/node" "/usr/local/bin/npm" "start"
      18 verbose node v10.19.0
      19 verbose npm  v6.14.4
      20 error code ELIFECYCLE
      21 error errno 1
      22 error magicmirror@2.11.0 start: `DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js`
      22 error Exit status 1
      23 error Failed at the magicmirror@2.11.0 start script.
      23 error This is probably not a problem with npm. There is likely additional logging output above.
      24 verbose exit [ 1, true ]
      
      posted in Troubleshooting
      N
      nakulbende
    • RE: Getting a bunch of erros and hangups on a new installation

      Hello Sam - I have had a lot fo SD card issues lately. Not sure what is going on. I did manage to get the pi restart, my logs might have some private info - i am trying to lean them, but might have left something.

      Sending them you via DM. Stay safe!

      posted in Troubleshooting
      N
      nakulbende
    • Getting a bunch of erros and hangups on a new installation

      Hey all -

      I had a magicmirror running fine for months and months. I then tried to update to recent version. Everything seemed fine at first, but soon started to hangup a lot. I think switching it on and off consistently because of all the hangups caused the SD card to corrupt.

      So, I reinstalled everythign ona fresh card. Unfortunately, I am again getting hangups. Here are some of the errors in my error logs from pm2 folder: What do these individually mean? Is there any other log I can check to help?

      npm ERR! code ELIFECYCLE
      npm ERR! errno 1
      npm ERR! magicmirror@2.11.0 start: `DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js`
      npm ERR! Exit status 1
      npm ERR! 
      npm ERR! Failed at the magicmirror@2.11.0 start script.
      npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
      
      npm ERR! A complete log of this run can be found in:
      npm ERR!     /home/pi/.npm/_logs/2020-04-23T14_56_01_628Z-debug.log
      
      [2020-04-24 14:19:30.936] [ERROR]  Calendar Error. Could not fetch calendar:  https://calendar.google.com/calendar/ical/XXXXXgroup.calendar.google.com/private-XXXXX/basic.ics Error: getaddrinfo EAI_AGAIN calendar.google.com
          at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:60:26) {
        errno: 'EAI_AGAIN',
        code: 'EAI_AGAIN',
        syscall: 'getaddrinfo',
        hostname: 'calendar.google.com'
      }
      
      [2020-04-24 14:04:21.702] [ERROR]  TypeError: Cannot read property 'parent' of undefined
          at Function.exports.update (/home/pi/MagicMirror/modules/MMM-Comics/node_modules/cheerio/lib/parse.js:69:26)
          at module.exports (/home/pi/MagicMirror/modules/MMM-Comics/node_modules/cheerio/lib/parse.js:19:11)
          at Function.exports.load (/home/pi/MagicMirror/modules/MMM-Comics/node_modules/cheerio/lib/static.js:27:14)
          at Request._callback (/home/pi/MagicMirror/modules/MMM-Comics/node_helper.js:171:23)
          at self.callback (/home/pi/MagicMirror/node_modules/request/request.js:185:22)
          at Request.emit (events.js:200:13)
          at Request.onRequestError (/home/pi/MagicMirror/node_modules/request/request.js:881:8)
          at ClientRequest.emit (events.js:200:13)
          at TLSSocket.socketErrorListener (_http_client.js:402:9)
          at TLSSocket.emit (events.js:200:13)
      

      During my last restart, I also got a SD card is still busy error on the raspian splash screen - probably again because of constant restarting.

      posted in Troubleshooting
      N
      nakulbende
    • RE: Weird display error?

      @sdetweil Oh no - I did had a corruption, I formatted and reinstalled everything again. Time for a backup!

      posted in Troubleshooting
      N
      nakulbende
    • RE: Weird display error?

      Huh, i removed all the overscan settings from boot/config.txt and it worked! But now I have a border on left side of my mirror which is not being displayed.

      posted in Troubleshooting
      N
      nakulbende
    • Weird display error?

      Hello, npm start in my magicmirror directory crashes and has this output:

       npm start
      
      > magicmirror@2.11.0 start /home/pi/MagicMirror
      > DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js
      
      internal/stream_base_commons.js:141
      function afterWritgDaspaôched(self, r%q, erz>cb; {
                                           ^
      
      SyntaxError: Unexpected token %
          at NativeModule.compile (internal/bootstrap/loaders.js:303:16)
          at nativeModuleRequire (internal/bootstrap/loaders.js:191:14)
          at net.js:71:5
          at NativeModule.compile (internal/bootstrap/loaders.js:304:5)
          at nativeModuleRequire (internal/bootstrap/loaders.js:191:14)
          at internal/child_process.js:21:13
          at NativeModule.compile (internal/bootstrap/loaders.js:304:5)
          at nativeModuleRequire (internal/bootstrap/loaders.js:191:14)
          at child_process.js:44:23
          at NativeModule.compile (internal/bootstrap/loaders.js:304:5)
      npm ERR! code ELIFECYCLE
      npm ERR! errno 1
      npm ERR! magicmirror@2.11.0 start: `DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js`
      npm ERR! Exit status 1
      npm ERR! 
      npm ERR! Failed at the magicmirror@2.11.0 start script.
      npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
      
      npm ERR! A complete log of this run can be found in:
      npm ERR!     /home/pi/.npm/_logs/2020-04-14T14_22_02_210Z-debug.log
      
      posted in Troubleshooting
      N
      nakulbende
    • RE: Help with MMM-Remote control

      Hello all,

      I changed my port - which seems like it might interfere. So, my config looks like:

      address : '0.0.0.0',
      	port: 60001,
      	ipWhitelist: [],
      
      // Remote-Control
      		{
      			module: 'MMM-Remote-Control',
      			//position: 'top_bar',
      			config: {
      				//showModuleApiMenu: true,
              //apiKey: "85237761aaf14513a6007e9989a465a3",
      			}
      		},
      

      Here is what the output look like:

      pi@magicmirror:~/MagicMirror $ npm start
      
      > magicmirror@2.10.1 start /home/pi/MagicMirror
      > ./run-start.sh
      
      [11:52:56.840] [LOG]    Starting MagicMirror: v2.10.1
      [11:52:56.869] [LOG]    Loading config ...
      [11:52:56.908] [LOG]    Loading module helpers ...
      [11:52:56.915] [LOG]    No helper found for module: alert.
      [11:52:57.153] [LOG]    Initializing new module helper ...
      [11:52:57.156] [LOG]    Module helper loaded: updatenotification
      [11:52:57.177] [LOG]    Initializing new module helper ...
      [11:52:57.179] [LOG]    Module helper loaded: MMM-BurnIn
      [11:52:57.187] [LOG]    Initializing new module helper ...
      [11:52:57.188] [LOG]    Module helper loaded: MMM-WatchDog
      [11:52:57.453] [LOG]    Initializing new module helper ...
      [11:52:57.456] [LOG]    Module helper loaded: MMM-Remote-Control
      [11:52:57.461] [LOG]    No helper found for module: currentweather.
      [11:52:57.467] [LOG]    No helper found for module: compliments.
      [11:52:57.475] [LOG]    No helper found for module: clock.
      [11:52:57.477] [LOG]    No helper found for module: calendar_monthly.
      [11:52:59.221] [LOG]    Initializing new module helper ...
      [11:52:59.223] [LOG]    Module helper loaded: calendar
      [11:53:05.323] [LOG]    Initializing new module helper ...
      [11:53:05.325] [LOG]    Module helper loaded: MMM-Buller
      [11:53:06.691] [LOG]    Initializing new module helper ...
      [11:53:06.694] [LOG]    Module helper loaded: MMM-DarkSkyForecast
      [11:53:06.702] [LOG]    No helper found for module: MMM-DailyPokemon.
      [11:53:06.708] [LOG]    No helper found for module: MMM-MBTA.
      [11:53:06.714] [LOG]    No helper found for module: MMM-MBTA1.
      [11:53:06.720] [LOG]    No helper found for module: MMM-MBTA2.
      [11:53:08.583] [LOG]    Initializing new module helper ...
      [11:53:08.585] [LOG]    Module helper loaded: MMM-MyCommute
      [11:53:08.586] [LOG]    No helper found for module: MMM-pihole-stats.
      [11:53:08.588] [LOG]    All module helpers loaded.
      [11:53:08.591] [LOG]    Starting server on port 60001 ...
      [11:53:08.609] [INFO]   You're using a full whitelist configuration to allow for all IPs
      [11:53:08.624] [LOG]    Server started ...
      [11:53:08.627] [LOG]    Connecting socket for: updatenotification
      [11:53:08.630] [LOG]    Connecting socket for: MMM-BurnIn
      [11:53:08.633] [LOG]    Connecting socket for: MMM-WatchDog
      [11:53:08.635] [LOG]    Starting module helper: MMM-WatchDog
      [11:53:08.637] [LOG]    Connecting socket for: MMM-Remote-Control
      [11:53:08.639] [LOG]    Starting node helper for: MMM-Remote-Control
      [11:53:08.713] [LOG]    Connecting socket for: calendar
      [11:53:08.715] [LOG]    Starting node helper for: calendar
      [11:53:08.717] [LOG]    Connecting socket for: MMM-Buller
      [11:53:08.721] [LOG]    Connecting socket for: MMM-DarkSkyForecast
      [11:53:08.722] [LOG]    ====================== Starting node_helper for module [MMM-DarkSkyForecast]
      [11:53:08.724] [LOG]    Connecting socket for: MMM-MyCommute
      [11:53:08.726] [LOG]    ====================== Starting node_helper for module [MMM-MyCommute]
      [11:53:08.727] [LOG]    Sockets connected & modules started ...
      [11:53:09.118] [LOG]    Launching application.
      [11:53:18.043] [LOG]    WatchDog started. Maximum timeout: 25s.
      [11:53:18.543] [LOG]    Create new calendar fetcher for url: http://www.calendarlabs.com/ical-calendar/ics/76/US_Holidays.ics - Interval: 300000
      [11:53:18.704] [LOG]    Create new calendar fetcher for url: https://calendar.google.com/calendarxxxxx
      [11:53:18.836] [LOG]    Create new calendar fetcher for url: https://calendar.google.com/calendarxxxxxx
      [11:53:21.289] [LOG]    Task lists:
      [11:53:21.293] [LOG]    To read (xxxx)
      [11:53:21.295] [LOG]    Ideas (xxxxDQzNDow)
      [11:53:21.296] [LOG]    Life (xxxx)
      [11:53:21.298] [LOG]    Random thoughts (xxxx)
      [11:53:21.300] [LOG]    HomeToDo (xxxx)
      [11:53:21.302] [LOG]    PlantBabies (xxxx)
      [11:53:21.304] [LOG]    Shopping (xxxx)
      
      

      Pi-hole stats not only fails to load, the whole setup crashes every 2 moinutes or so

      [17764:0222/114938.526868:FATAL:memory_linux.cc(36)] Out of memory.

      posted in Troubleshooting
      N
      nakulbende
    • 1 / 1