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.

    Black Screen after installation MyCalendar

    Scheduled Pinned Locked Moved Utilities
    21 Posts 4 Posters 7.3k 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 @SARCux
      last edited by

      @SARCux so, pm2 logs --lines=50 to dump the messages

      Sam

      How to add modules

      learning how to use browser developers window for css changes

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

        @sdetweil

        [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
        
        
        S mumblebajM 2 Replies Last reply Reply Quote 0
        • S Offline
          sdetweil @SARCux
          last edited by

          @SARCuxScreenshot_20220430-130706_Chrome.jpg

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          1 Reply Last reply Reply Quote 0
          • mumblebajM Offline
            mumblebaj Module Developer @SARCux
            last edited by

            @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.

            Check out my modules at: https://github.com/mumblebaj?tab=repositories

            S 1 Reply Last reply Reply Quote 0
            • S Offline
              SARCux @mumblebaj
              last edited by

              @mumblebaj

              edit.

              Thx

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

                @SARCux did u get it working?

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                S 1 Reply Last reply Reply Quote 0
                • B Offline
                  BrotherDan @SARCux
                  last edited by

                  @SARCux

                  I am quite a novice with MagicMirror, but I have seen this type of behavior when I failed to add the needed dependencies…

                  BrotherDan

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

                    @sdetweil

                    unfortunately not

                    mumblebajM S 2 Replies Last reply Reply Quote 0
                    • mumblebajM Offline
                      mumblebaj Module Developer @SARCux
                      last edited by

                      @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

                      Check out my modules at: https://github.com/mumblebaj?tab=repositories

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

                        @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

                        Sam

                        How to add modules

                        learning how to use browser developers window for css changes

                        S 1 Reply Last reply Reply Quote 0
                        • 1
                        • 2
                        • 3
                        • 2 / 3
                        • First post
                          Last post
                        Enjoying MagicMirror? Please consider a donation!
                        MagicMirror created by Michael Teeuw.
                        Forum managed by Sam, technical setup by Karsten.
                        This forum is using NodeBB as its core | Contributors
                        Contact | Privacy Policy