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 8.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
      SARCux @sdetweil
      last edited by

      @sdetweil
      now i use your script

       bash -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
      
      
      S 1 Reply Last reply Reply Quote 0
      • S Offline
        sdetweil @SARCux
        last edited by

        @SARCux that is test update
        but u have latest already

        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

          @sdetweil

          but still a black screen when I activate the module

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

            @SARCux yes, read the link,
            find the error message,
            get the library name,
            and then install the missing library

            Sam

            How to add modules

            learning how to use browser developers window for css changes

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

              @sdetweil

              I don’t know what to look for and where. SORRY

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

                @sdetweil
                I cannot find the it.

                :tired_face: :sleepy_face: :sneezing_face:

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

                  @SARCux how do you start MagicMirror?

                  npm start
                  or
                  pm2 starts at boot?

                  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

                    @sdetweil

                    pm2 starts at boot

                    at the moment with

                    pm2 start 0
                    

                    or

                    pm2 stop 0
                    
                    S 1 Reply Last reply Reply Quote 0
                    • 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
                        • 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