Read the statement by Michael Teeuw here.
Black Screen after installation MyCalendar
-
Hi,
after installation MyCalendar and configure the config.js with{ module: "MMM-MyCalendar", position: "top_center", classes: "default everyone", header: "Upcoming", disabled: false, config: { colored: true, maximumNumberOfDays: 30, maximumEntries: 10, fade: false, maxTitleLength: 500, useRelativeDates: false, dayOfWeekFormat: "dddd", timeFormat: "HH:mm [Uhr]", dateFormat: "MMMM D", joiningWord: "at", urgency: 1, calendars: [ { url: "https://outlook.office365.com/owa/calendar/......./calendar.ics", color: "#ffb350" } ] } },and start pm2 the screen ist black.
disable the module all works well.can anybody help???
-
-
@sdetweil
now i use your scriptbash -c "$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/upgrade-script.sh)" No LSB modules are available. doing test run = true, NO updates will be applied! update log will be in /home/pi/MagicMirror/installers/upgrade.log Check current Node installation ... Node currently installed. Checking version number. Minimum Node version: v16.9.1 Installed Node version: v16.15.0 No Node.js upgrade necessary. Check current NPM installation ... NPM currently installed. Checking version number. Minimum npm version: V7.11.2 Installed npm version: V8.5.5 No npm upgrade necessary. saving custom.css upgrading from version 2.19.0 to 2.19.0 fetching latest revisions there are 2 local files that are different than the master repo installers/mm.sh package-lock.json any *-lock.json files do not need to be saved do you want to save these files for later (Y/n)?Y Checking for modules with removed libraries require for valid-url in module MMM-MyCalendar not found in package.json package.json for module MMM-MyCalendar bypass installing valid-url for module MMM-MyCalendar , doing test run processing dependency changes for active modules with package.json files processing for module MMM-bsh-tides please wait ---------------------------------- skipped processing for MMM-bsh-tides, doing test run processing complete for module MMM-bsh-tides processing for module MMM-OpenWeatherForecast please wait ---------------------------------- skipped processing for MMM-OpenWeatherForecast, doing test run processing complete for module MMM-OpenWeatherForecast restoring custom.css test run, restoring files stashed -
@SARCux that is test update
but u have latest already -
but still a black screen when I activate the module
-
@SARCux yes, read the link,
find the error message,
get the library name,
and then install the missing library -
I don’t know what to look for and where. SORRY
-
@sdetweil
I cannot find the it.:tired_face: :sleepy_face: :sneezing_face:
-
@SARCux how do you start MagicMirror?
npm start
or
pm2 starts at boot? -
-
@SARCux so, pm2 logs --lines=50 to dump the messages
-
[TAILING] Tailing last 50 lines for [all] processes (change the value with --lines option) /home/pi/.pm2/pm2.log last 50 lines: PM2 | 2022-04-30T18:34:18: PM2 log: =============================================================================== PM2 | 2022-04-30T18:34:18: PM2 log: --- New PM2 Daemon started ---------------------------------------------------- PM2 | 2022-04-30T18:34:18: PM2 log: Time : Sat Apr 30 2022 18:34:18 GMT+0200 (Mitteleuropäische Sommerzeit) PM2 | 2022-04-30T18:34:18: PM2 log: PM2 version : 5.2.0 PM2 | 2022-04-30T18:34:18: PM2 log: Node.js version : 16.15.0 PM2 | 2022-04-30T18:34:18: PM2 log: Current arch : arm PM2 | 2022-04-30T18:34:18: PM2 log: PM2 home : /home/pi/.pm2 PM2 | 2022-04-30T18:34:18: PM2 log: PM2 PID file : /home/pi/.pm2/pm2.pid PM2 | 2022-04-30T18:34:18: PM2 log: RPC socket file : /home/pi/.pm2/rpc.sock PM2 | 2022-04-30T18:34:18: PM2 log: BUS socket file : /home/pi/.pm2/pub.sock PM2 | 2022-04-30T18:34:18: PM2 log: Application log path : /home/pi/.pm2/logs PM2 | 2022-04-30T18:34:18: PM2 log: Worker Interval : 30000 PM2 | 2022-04-30T18:34:18: PM2 log: Process dump file : /home/pi/.pm2/dump.pm2 PM2 | 2022-04-30T18:34:18: PM2 log: Concurrent actions : 2 PM2 | 2022-04-30T18:34:18: PM2 log: SIGTERM timeout : 1600 PM2 | 2022-04-30T18:34:18: PM2 log: =============================================================================== PM2 | 2022-04-30T18:34:18: PM2 log: App [MagicMirror:0] starting in -fork mode- PM2 | 2022-04-30T18:34:18: PM2 log: App [MagicMirror:0] online PM2 | 2022-04-30T18:39:52: PM2 log: Stopping app:MagicMirror id:0 PM2 | 2022-04-30T18:39:53: PM2 log: App [MagicMirror:0] exited with code [0] via signal [SIGINT] PM2 | 2022-04-30T18:39:53: PM2 log: pid=1014 msg=process killed PM2 | 2022-04-30T18:45:45: PM2 log: App [MagicMirror:0] starting in -fork mode- PM2 | 2022-04-30T18:45:45: PM2 log: App [MagicMirror:0] online PM2 | 2022-04-30T19:43:43: PM2 log: Stopping app:MagicMirror id:0 PM2 | 2022-04-30T19:43:43: PM2 log: pid=1859 msg=failed to kill - retrying in 100ms PM2 | 2022-04-30T19:43:43: PM2 log: App [MagicMirror:0] exited with code [0] via signal [SIGINT] PM2 | 2022-04-30T19:43:43: PM2 log: pid=1859 msg=process killed PM2 | 2022-04-30T19:44:27: PM2 log: App [MagicMirror:0] starting in -fork mode- PM2 | 2022-04-30T19:44:27: PM2 log: App [MagicMirror:0] online PM2 | 2022-04-30T19:44:47: PM2 log: Stopping app:MagicMirror id:0 PM2 | 2022-04-30T19:44:47: PM2 log: pid=2586 msg=failed to kill - retrying in 100ms PM2 | 2022-04-30T19:44:47: PM2 log: App [MagicMirror:0] exited with code [0] via signal [SIGINT] PM2 | 2022-04-30T19:44:48: PM2 log: pid=2586 msg=process killed PM2 | 2022-04-30T19:56:10: PM2 log: App [MagicMirror:0] starting in -fork mode- PM2 | 2022-04-30T19:56:10: PM2 log: App [MagicMirror:0] online PM2 | 2022-04-30T19:56:37: PM2 log: Stopping app:MagicMirror id:0 PM2 | 2022-04-30T19:56:37: PM2 log: pid=2916 msg=failed to kill - retrying in 100ms PM2 | 2022-04-30T19:56:37: PM2 log: App [MagicMirror:0] exited with code [0] via signal [SIGINT] PM2 | 2022-04-30T19:56:37: PM2 log: pid=2916 msg=process killed PM2 | 2022-04-30T19:57:51: PM2 log: App [MagicMirror:0] starting in -fork mode- PM2 | 2022-04-30T19:57:51: PM2 log: App [MagicMirror:0] online PM2 | 2022-04-30T19:58:23: PM2 log: Stopping app:MagicMirror id:0 PM2 | 2022-04-30T19:58:24: PM2 log: pid=3093 msg=failed to kill - retrying in 100ms PM2 | 2022-04-30T19:58:24: PM2 log: App [MagicMirror:0] exited with code [0] via signal [SIGINT] PM2 | 2022-04-30T19:58:24: PM2 log: pid=3093 msg=process killed PM2 | 2022-04-30T19:58:51: PM2 log: App [MagicMirror:0] starting in -fork mode- PM2 | 2022-04-30T19:58:51: PM2 log: App [MagicMirror:0] online PM2 | 2022-04-30T19:59:06: PM2 log: Stopping app:MagicMirror id:0 PM2 | 2022-04-30T19:59:06: PM2 log: App [MagicMirror:0] exited with code [0] via signal [SIGINT] PM2 | 2022-04-30T19:59:06: PM2 log: pid=3291 msg=process killed /home/pi/.pm2/logs/MagicMirror-out.log last 50 lines: 0|MagicMir | [30.04.2022 19:57.55.534] [LOG] Initializing new module helper ... 0|MagicMir | [30.04.2022 19:57.55.536] [LOG] Module helper loaded: MMM-bsh-tides 0|MagicMir | [30.04.2022 19:57.55.788] [LOG] Initializing new module helper ... 0|MagicMir | [30.04.2022 19:57.55.790] [LOG] Module helper loaded: calendar 0|MagicMir | [30.04.2022 19:57.55.792] [LOG] No helper found for module: MMM-OpenmapWeather. 0|MagicMir | [30.04.2022 19:57.55.912] [LOG] Initializing new module helper ... 0|MagicMir | [30.04.2022 19:57.55.913] [LOG] Module helper loaded: MMM-OpenWeatherForecast 0|MagicMir | [30.04.2022 19:57.56.208] [LOG] Initializing new module helper ... 0|MagicMir | [30.04.2022 19:57.56.209] [LOG] Module helper loaded: MMM-CalendarExt2 0|MagicMir | [30.04.2022 19:57.56.210] [LOG] All module helpers loaded. 0|MagicMir | [30.04.2022 19:57.56.379] [LOG] Starting server on port 8080 ... 0|MagicMir | [30.04.2022 19:57.56.406] [LOG] Server started ... 0|MagicMir | [30.04.2022 19:57.56.408] [LOG] Connecting socket for: updatenotification 0|MagicMir | [30.04.2022 19:57.56.409] [LOG] Starting module helper: updatenotification 0|MagicMir | [30.04.2022 19:57.56.418] [LOG] Connecting socket for: MMM-bsh-tides 0|MagicMir | [30.04.2022 19:57.56.419] [LOG] Starting module helper: MMM-bsh-tides 0|MagicMir | [30.04.2022 19:57.56.421] [LOG] Connecting socket for: calendar 0|MagicMir | [30.04.2022 19:57.56.422] [LOG] Starting node helper for: calendar 0|MagicMir | [30.04.2022 19:57.56.423] [LOG] Connecting socket for: MMM-OpenWeatherForecast 0|MagicMir | [30.04.2022 19:57.56.425] [LOG] ====================== Starting node_helper for module [MMM-OpenWeatherForecast] 0|MagicMir | [30.04.2022 19:57.56.427] [LOG] Connecting socket for: MMM-CalendarExt2 0|MagicMir | [30.04.2022 19:57.56.428] [LOG] Sockets connected & modules started ... 0|MagicMir | [30.04.2022 19:57.56.847] [LOG] Launching application. 0|MagicMir | [30.04.2022 19:58.01.548] [LOG] Create new calendarfetcher for url: https://outlook.office365.com/owa/calendar/......................../calendar.ics - Interval: 300000 0|MagicMir | [30.04.2022 19:58.02.351] [INFO] Calendar-Fetcher: Broadcasting 21 events. 0|MagicMir | 0|MagicMir | > magicmirror@2.19.0 start 0|MagicMir | > DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js 0|MagicMir | 0|MagicMir | [30.04.2022 19:58.55.121] [LOG] Starting MagicMirror: v2.19.0 0|MagicMir | [30.04.2022 19:58.55.133] [LOG] Loading config ... 0|MagicMir | [30.04.2022 19:58.55.144] [LOG] Loading module helpers ... 0|MagicMir | [30.04.2022 19:58.55.158] [LOG] No helper found for module: alert. 0|MagicMir | [30.04.2022 19:58.55.187] [LOG] Initializing new module helper ... 0|MagicMir | [30.04.2022 19:58.55.190] [LOG] Module helper loaded: updatenotification 0|MagicMir | [30.04.2022 19:58.55.193] [LOG] No helper found for module: clock. 0|MagicMir | [30.04.2022 19:58.55.231] [LOG] Initializing new module helper ... 0|MagicMir | [30.04.2022 19:58.55.233] [LOG] Module helper loaded: MMM-bsh-tides 0|MagicMir | [30.04.2022 19:58.55.479] [LOG] Initializing new module helper ... 0|MagicMir | [30.04.2022 19:58.55.481] [LOG] Module helper loaded: calendar 0|MagicMir | [30.04.2022 19:58.55.509] [LOG] Loading module helpers ... 0|MagicMir | [30.04.2022 19:58.55.511] [LOG] No helper found for module: alert. 0|MagicMir | [30.04.2022 19:58.55.513] [LOG] Initializing new module helper ... 0|MagicMir | [30.04.2022 19:58.55.514] [LOG] Module helper loaded: updatenotification 0|MagicMir | [30.04.2022 19:58.55.516] [LOG] No helper found for module: clock. 0|MagicMir | [30.04.2022 19:58.55.518] [LOG] Initializing new module helper ... 0|MagicMir | [30.04.2022 19:58.55.519] [LOG] Module helper loaded: MMM-bsh-tides 0|MagicMir | [30.04.2022 19:58.55.520] [LOG] Initializing new module helper ... 0|MagicMir | [30.04.2022 19:58.55.521] [LOG] Module helper loaded: calendar 0|MagicMir | [30.04.2022 19:58.55.962] [LOG] Launching application. /home/pi/.pm2/logs/MagicMirror-error.log last 50 lines: 0|MagicMir | - /home/pi/MagicMirror/node_modules/electron/dist/resources/default_app.asar/main.js 0|MagicMir | - 0|MagicMir | at Module._resolveFilename (node:internal/modules/cjs/loader:940:15) 0|MagicMir | at Function.n._resolveFilename (node:electron/js2c/browser_init:249:1105) 0|MagicMir | at Function.Module._resolveFilename (/home/pi/MagicMirror/node_modules/module-alias/index.js:49:29) 0|MagicMir | at Module._load (node:internal/modules/cjs/loader:785:27) 0|MagicMir | at Function.c._load (node:electron/js2c/asar_bundle:5:13343) 0|MagicMir | at Module.require (node:internal/modules/cjs/loader:1012:19) 0|MagicMir | at require (node:internal/modules/cjs/helpers:102:18) 0|MagicMir | at Object.<anonymous> (/home/pi/MagicMirror/modules/MMM-MyCalendar/vendor/ical.js/node-ical.js:2:15) 0|MagicMir | at Module._compile (node:internal/modules/cjs/loader:1116:14) 0|MagicMir | at Object.Module._extensions..js (node:internal/modules/cjs/loader:1169:10) 0|MagicMir | [30.04.2022 19:58.55.535] [ERROR] Whoops! There was an uncaught exception... 0|MagicMir | [30.04.2022 19:58.55.546] [ERROR] Error: Cannot find module 'request' 0|MagicMir | Require stack: 0|MagicMir | - /home/pi/MagicMirror/modules/MMM-MyCalendar/vendor/ical.js/node-ical.js 0|MagicMir | - /home/pi/MagicMirror/modules/MMM-MyCalendar/vendor/ical.js/index.js 0|MagicMir | - /home/pi/MagicMirror/modules/MMM-MyCalendar/calendarfetcher.js 0|MagicMir | - /home/pi/MagicMirror/modules/MMM-MyCalendar/node_helper.js 0|MagicMir | - /home/pi/MagicMirror/js/app.js 0|MagicMir | - /home/pi/MagicMirror/js/electron.js 0|MagicMir | - /home/pi/MagicMirror/node_modules/electron/dist/resources/default_app.asar/main.js 0|MagicMir | - 0|MagicMir | at Module._resolveFilename (node:internal/modules/cjs/loader:940:15) 0|MagicMir | at Function.n._resolveFilename (node:electron/js2c/browser_init:249:1105) 0|MagicMir | at Function.Module._resolveFilename (/home/pi/MagicMirror/node_modules/module-alias/index.js:49:29) 0|MagicMir | at Module._load (node:internal/modules/cjs/loader:785:27) 0|MagicMir | at Function.c._load (node:electron/js2c/asar_bundle:5:13343) 0|MagicMir | at Module.require (node:internal/modules/cjs/loader:1012:19) 0|MagicMir | at require (node:internal/modules/cjs/helpers:102:18) 0|MagicMir | at Object.<anonymous> (/home/pi/MagicMirror/modules/MMM-MyCalendar/vendor/ical.js/node-ical.js:2:15) 0|MagicMir | at Module._compile (node:internal/modules/cjs/loader:1116:14) 0|MagicMir | at Object.Module._extensions..js (node:internal/modules/cjs/loader:1169:10) { 0|MagicMir | code: 'MODULE_NOT_FOUND', 0|MagicMir | requireStack: [ 0|MagicMir | '/home/pi/MagicMirror/modules/MMM-MyCalendar/vendor/ical.js/node-ical.js', 0|MagicMir | '/home/pi/MagicMirror/modules/MMM-MyCalendar/vendor/ical.js/index.js', 0|MagicMir | '/home/pi/MagicMirror/modules/MMM-MyCalendar/calendarfetcher.js', 0|MagicMir | '/home/pi/MagicMirror/modules/MMM-MyCalendar/node_helper.js', 0|MagicMir | '/home/pi/MagicMirror/js/app.js', 0|MagicMir | '/home/pi/MagicMirror/js/electron.js', 0|MagicMir | '/home/pi/MagicMirror/node_modules/electron/dist/resources/default_app.asar/main.js', 0|MagicMir | undefined 0|MagicMir | ] 0|MagicMir | } 0|MagicMir | [30.04.2022 19:58.55.549] [ERROR] MagicMirror² will not quit, but it might be a good idea to check why this happened. Maybe no internet connection? 0|MagicMir | [30.04.2022 19:58.55.550] [ERROR] If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues 0|MagicMir | [3346:0430/195856.732859:ERROR:viz_main_impl.cc(188)] Exiting GPU process due to errors during initialization 0|MagicMir | [3376:0430/195856.878771:ERROR:sandbox_linux.cc(377)] InitializeSandbox() called with multiple threads in process gpu-process. 0|MagicMir | /home/pi/MagicMirror/node_modules/electron/dist/electron exited with signal SIGINT -
-
@SARCux said in Black Screen after installation MyCalendar:
https://outlook.office365.com/owa/calendar/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Hi. Never post your logs without blanking out your personal information, keys, passwords etc. With the information you posted, everybody can access your personal calendar information.
-
-
@SARCux did u get it working?
-
I am quite a novice with MagicMirror, but I have seen this type of behavior when I failed to add the needed dependencies…
BrotherDan
-
unfortunately not
-
@SARCux You are missing a module in the MMM-MyCalendar folder as shown by the sreenshot that @sdetweil posted.
See the following link for steps on how to fix it.
https://forum.magicmirror.builders/topic/15778/fix-for-black-screen-in-2-16-and-later/10?page=1
-
@SARCux so, could you read back the instructions I sent, in the same link as @mumblebaj .
if they are not in your native language, use Google translate to convert them
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
