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

    Posts

    Recent Best Controversial
    • RE: MagicMirror² v2.12.0 & MMM-DHT-Sensor (temperatur & humidity)

      YES! FINALLY!

      Thank you so very much @sdetweil !!!
      That did the trick! :D

      posted in Troubleshooting
      S
      Stef
    • RE: MagicMirror² v2.12.0 & MMM-DHT-Sensor (temperatur & humidity)

      @Stef oh and it won’t start… 😕

      Again, thank you for your help!

      posted in Troubleshooting
      S
      Stef
    • RE: MagicMirror² v2.12.0 & MMM-DHT-Sensor (temperatur & humidity)

      @sdetweil sorry I couldn’t test it earlier…

      pi@mirrorpi:~/MagicMirror/modules $ rm -rf node_modules
      pi@mirrorpi:~/MagicMirror/modules $ rm package-locj.json
      rm: das Entfernen von 'package-locj.json' ist nicht möglich: Datei oder Verzeichnis nicht gefunden
      pi@mirrorpi:~/MagicMirror/modules $ npm install nan
      + nan@2.14.1
      added 1 package from 8 contributors and audited 1330 packages in 76.427s
      
      92 packages are looking for funding
        run `npm fund` for details
      
      found 1 low severity vulnerability
        run `npm audit fix` to fix them, or `npm audit` for details
      pi@mirrorpi:~/MagicMirror/modules $ npm audit fix
      up to date in 56.381s
      
      92 packages are looking for funding
        run `npm fund` for details
      
      fixed 0 of 1 vulnerability in 1295 scanned packages
        1 vulnerability required manual review and could not be updated
      pi@mirrorpi:~/MagicMirror/modules $ npm install
      
      > magicmirror@2.12.0 install /home/pi/MagicMirror
      > echo "Installing vendor files ...
      " && cd vendor && npm install --loglevel=error
      
      Installing vendor files ...
      
      audited 150 packages in 14.543s
      found 8 vulnerabilities (7 low, 1 high)
        run `npm audit fix` to fix them, or `npm audit` for details
      
      > magicmirror@2.12.0 postinstall /home/pi/MagicMirror
      > npm run install-fonts && echo "MagicMirror installation finished successfully! 
      "
      
      
      > magicmirror@2.12.0 install-fonts /home/pi/MagicMirror
      > echo "Installing fonts ...
      " && cd fonts && npm install --loglevel=error
      
      Installing fonts ...
      
      audited 1 package in 1.136s
      found 0 vulnerabilities
      
      MagicMirror installation finished successfully! 
      
      audited 1330 packages in 87.2s
      
      92 packages are looking for funding
        run `npm fund` for details
      
      found 1 low severity vulnerability
        run `npm audit fix` to fix them, or `npm audit` for details
      pi@mirrorpi:~/MagicMirror/modules $ npm audit fix
      npm ERR! code ENOAUDIT
      npm ERR! audit Your configured registry (https://registry.npmjs.org/) may not support audit requests, or the audit endpoint may be temporarily unavailable.
      npm ERR! audit The server said: <!DOCTYPE html>
      npm ERR! audit <!--[if lt IE 7]> <html class="no-js ie6 oldie" lang="en-US"> <![endif]-->
      npm ERR! audit <!--[if IE 7]>    <html class="no-js ie7 oldie" lang="en-US"> <![endif]-->
      npm ERR! audit <!--[if IE 8]>    <html class="no-js ie8 oldie" lang="en-US"> <![endif]-->
      npm ERR! audit <!--[if gt IE 8]><!--> <html class="no-js" lang="en-US"> <!--<![endif]-->
      npm ERR! audit <head>
      npm ERR! audit <meta http-equiv="refresh" content="0">
      npm ERR! audit 
      npm ERR! audit <title>prod-frontdoor-lb-west.internal.npmjs.com | 502: Bad gateway</title>
      npm ERR! audit <meta charset="UTF-8" />
      npm ERR! audit <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
      npm ERR! audit <meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1" />
      npm ERR! audit <meta name="robots" content="noindex, nofollow" />
      npm ERR! audit <meta name="viewport" content="width=device-width,initial-scale=1" />
      npm ERR! audit <link rel="stylesheet" id="cf_styles-css" href="/cdn-cgi/styles/cf.errors.css" type="text/css" media="screen,projection" />
      npm ERR! audit <!--[if lt IE 9]><link rel="stylesheet" id='cf_styles-ie-css' href="/cdn-cgi/styles/cf.errors.ie.css" type="text/css" media="screen,projection" /><![endif]-->
      npm ERR! audit <style type="text/css">body{margin:0;padding:0}</style>
      npm ERR! audit 
      npm ERR! audit 
      npm ERR! audit 
      npm ERR! audit 
      npm ERR! audit </head>
      npm ERR! audit <body>
      npm ERR! audit <div id="cf-wrapper">
      npm ERR! audit 
      npm ERR! audit     
      npm ERR! audit 
      npm ERR! audit     <div id="cf-error-details" class="cf-error-details-wrapper">
      npm ERR! audit         <div class="cf-wrapper cf-error-overview">
      npm ERR! audit             <h1>
      npm ERR! audit               
      npm ERR! audit               <span class="cf-error-type">Error</span>
      npm ERR! audit               <span class="cf-error-code">502</span>
      npm ERR! audit               <small class="heading-ray-id">Ray ID: 5bebb812163005b7 &bull; 2020-08-06 21:05:59 UTC</small>
      npm ERR! audit             </h1>
      npm ERR! audit             <h2 class="cf-subheadline">Bad gateway</h2>
      npm ERR! audit         </div><!-- /.error-overview -->
      npm ERR! audit         
      npm ERR! audit         <div class="cf-section cf-highlight cf-status-display">
      npm ERR! audit             <div class="cf-wrapper">
      npm ERR! audit                 <div class="cf-columns cols-3">
      npm ERR! audit                   
      npm ERR! audit <div id="cf-browser-status" class="cf-column cf-status-item cf-browser-status ">
      npm ERR! audit   <div class="cf-icon-error-container">
      npm ERR! audit     <i class="cf-icon cf-icon-browser"></i>
      npm ERR! audit     <i class="cf-icon-status cf-icon-ok"></i>
      npm ERR! audit   </div>
      npm ERR! audit   <span class="cf-status-desc">You</span>
      npm ERR! audit   <h3 class="cf-status-name">Browser</h3>
      npm ERR! audit   <span class="cf-status-label">Working</span>
      npm ERR! audit </div>
      npm ERR! audit 
      npm ERR! audit <div id="cf-cloudflare-status" class="cf-column cf-status-item cf-cloudflare-status ">
      npm ERR! audit   <div class="cf-icon-error-container">
      npm ERR! audit     <i class="cf-icon cf-icon-cloud"></i>
      npm ERR! audit     <i class="cf-icon-status cf-icon-ok"></i>
      npm ERR! audit   </div>
      npm ERR! audit   <span class="cf-status-desc">Frankfurt</span>
      npm ERR! audit   <h3 class="cf-status-name">Cloudflare</h3>
      npm ERR! audit   <span class="cf-status-label">Working</span>
      npm ERR! audit </div>
      npm ERR! audit 
      npm ERR! audit <div id="cf-host-status" class="cf-column cf-status-item cf-host-status cf-error-source">
      npm ERR! audit   <div class="cf-icon-error-container">
      npm ERR! audit     <i class="cf-icon cf-icon-server"></i>
      npm ERR! audit     <i class="cf-icon-status cf-icon-error"></i>
      npm ERR! audit   </div>
      npm ERR! audit   <span class="cf-status-desc">prod-frontdoor-lb-west.internal.npmjs.com</span>
      npm ERR! audit   <h3 class="cf-status-name">Host</h3>
      npm ERR! audit   <span class="cf-status-label">Error</span>
      npm ERR! audit </div>
      npm ERR! audit 
      npm ERR! audit                 </div>
      npm ERR! audit               
      npm ERR! audit             </div>
      npm ERR! audit         </div><!-- /.status-display -->
      npm ERR! audit 
      npm ERR! audit         <div class="cf-section cf-wrapper">
      npm ERR! audit             <div class="cf-columns two">
      npm ERR! audit                 <div class="cf-column">
      npm ERR! audit                     <h2>What happened?</h2>
      npm ERR! audit                     <p>The web server reported a bad gateway error.</p>
      npm ERR! audit                 </div>
      npm ERR! audit               
      npm ERR! audit                 <div class="cf-column">
      npm ERR! audit                     <h2>What can I do?</h2>
      npm ERR! audit                     <p>Please try again in a few minutes.</p>
      npm ERR! audit                 </div>
      npm ERR! audit             </div>
      npm ERR! audit               
      npm ERR! audit         </div><!-- /.section -->
      npm ERR! audit 
      npm ERR! audit         <div class="cf-error-footer cf-wrapper">
      npm ERR! audit   <p>
      npm ERR! audit     <span class="cf-footer-item">Cloudflare Ray ID: <strong>5bebb812163005b7</strong></span>
      npm ERR! audit     <span class="cf-footer-separator">&bull;</span>
      npm ERR! audit     <span class="cf-footer-item"><span>Your IP</span>: 95.223.72.58</span>
      npm ERR! audit     <span class="cf-footer-separator">&bull;</span>
      npm ERR! audit     <span class="cf-footer-item"><span>Performance &amp; security by</span> <a href="https://www.cloudflare.com/5xx-error-landing?utm_source=error_footer" id="brand_link" target="_blank">Cloudflare</a></span>
      npm ERR! audit     
      npm ERR! audit   </p>
      npm ERR! audit </div><!-- /.error-footer -->
      npm ERR! audit 
      npm ERR! audit 
      npm ERR! audit     </div><!-- /#cf-error-details -->
      npm ERR! audit </div><!-- /#cf-wrapper -->
      npm ERR! audit </body>
      npm ERR! audit </html>
      npm ERR! audit 
      npm ERR! audit 
      
      npm ERR! A complete log of this run can be found in:
      npm ERR!     /home/pi/.npm/_logs/2020-08-06T21_05_59_816Z-debug.log
      pi@mirrorpi:~/MagicMirror/modules $ 
      
      
      posted in Troubleshooting
      S
      Stef
    • RE: MagicMirror² v2.12.0 & MMM-DHT-Sensor (temperatur & humidity)

      @sdetweil
      ok…

      since the post would be to long, you will find it here

      posted in Troubleshooting
      S
      Stef
    • RE: MagicMirror² v2.12.0 & MMM-DHT-Sensor (temperatur & humidity)

      @sdetweil thanks a million for your effort… unfortunatley, the last command gives me back a bunch of errors… even with sudo…

      i ran it for a third time and got this:

      pi@mirrorpi:~/MagicMirror/modules/MMM-DHT-Sensor $ node node_modules/.bin/electron-rebuild
      ✖ Rebuild Failed
      
      An unhandled error occurred inside electron-rebuild
      gyp info it worked if it ends with ok
      gyp info using node-gyp@6.1.0
      gyp info using node@12.14.0 | linux | arm
      gyp ERR! clean error 
      gyp ERR! stack Error: EACCES: permission denied, unlink 'build/Makefile'
      gyp ERR! System Linux 4.19.66-v7+
      gyp ERR! command "/usr/local/bin/node" "/home/pi/MagicMirror/modules/MMM-DHT-Sensor/node_modules/.bin/node-gyp" "rebuild" "--target=6.1.7" "--arch=arm" "--dist-url=https://www.electronjs.org/headers" "--build-from-source"
      gyp ERR! cwd /home/pi/MagicMirror/modules/MMM-DHT-Sensor/node_modules/node-dht-sensor
      gyp ERR! node -v v12.14.0
      gyp ERR! node-gyp -v v6.1.0
      gyp ERR! not ok 
      
      Failed with exit code: 1
      
      Error: gyp info it worked if it ends with ok
      gyp info using node-gyp@6.1.0
      gyp info using node@12.14.0 | linux | arm
      gyp ERR! clean error 
      gyp ERR! stack Error: EACCES: permission denied, unlink 'build/Makefile'
      gyp ERR! System Linux 4.19.66-v7+
      gyp ERR! command "/usr/local/bin/node" "/home/pi/MagicMirror/modules/MMM-DHT-Sensor/node_modules/.bin/node-gyp" "rebuild" "--target=6.1.7" "--arch=arm" "--dist-url=https://www.electronjs.org/headers" "--build-from-source"
      gyp ERR! cwd /home/pi/MagicMirror/modules/MMM-DHT-Sensor/node_modules/node-dht-sensor
      gyp ERR! node -v v12.14.0
      gyp ERR! node-gyp -v v6.1.0
      gyp ERR! not ok 
      
      Failed with exit code: 1
          at SafeSubscriber._error (/home/pi/MagicMirror/modules/MMM-DHT-Sensor/node_modules/spawn-rx/lib/src/index.js:267:84)
          at SafeSubscriber.__tryOrUnsub (/home/pi/MagicMirror/modules/MMM-DHT-Sensor/node_modules/rxjs/internal/Subscriber.js:205:16)
          at SafeSubscriber.error (/home/pi/MagicMirror/modules/MMM-DHT-Sensor/node_modules/rxjs/internal/Subscriber.js:156:26)
          at Subscriber._error (/home/pi/MagicMirror/modules/MMM-DHT-Sensor/node_modules/rxjs/internal/Subscriber.js:92:26)
          at Subscriber.error (/home/pi/MagicMirror/modules/MMM-DHT-Sensor/node_modules/rxjs/internal/Subscriber.js:72:18)
          at MapSubscriber.Subscriber._error (/home/pi/MagicMirror/modules/MMM-DHT-Sensor/node_modules/rxjs/internal/Subscriber.js:92:26)
          at MapSubscriber.Subscriber.error (/home/pi/MagicMirror/modules/MMM-DHT-Sensor/node_modules/rxjs/internal/Subscriber.js:72:18)
          at SafeSubscriber._next (/home/pi/MagicMirror/modules/MMM-DHT-Sensor/node_modules/spawn-rx/lib/src/index.js:242:65)
          at SafeSubscriber.__tryOrUnsub (/home/pi/MagicMirror/modules/MMM-DHT-Sensor/node_modules/rxjs/internal/Subscriber.js:205:16)
          at SafeSubscriber.next (/home/pi/MagicMirror/modules/MMM-DHT-Sensor/node_modules/rxjs/internal/Subscriber.js:143:22)
      
      

      @Bugsounet which command should i run?

      posted in Troubleshooting
      S
      Stef
    • RE: MagicMirror² v2.12.0 & MMM-DHT-Sensor (temperatur & humidity)

      @sdetweil
      Remembered that
      Did that
      Did not work
      Still the same error message…

      posted in Troubleshooting
      S
      Stef
    • MagicMirror² v2.12.0 & MMM-DHT-Sensor (temperatur & humidity)

      Hi there,

      after updating my Magic Mirror to the latest version, the Modul “MMM-DHT-Sensor” won’t work anymore.
      In fact, the MagicMirror “crashes” with a black screen while loading it:

      [2020-08-02 17:45:35.380] [ERROR]  App threw an error during load
      [2020-08-02 17:45:35.384] [ERROR]  Error: The module '/home/pi/MagicMirror/modules/MMM-DHT-Sensor/node_modules/node-dht-sensor/build/Release/node_dht_sensor.node'
      was compiled against a different Node.js version using
      NODE_MODULE_VERSION 64. This version of Node.js requires
      NODE_MODULE_VERSION 73. Please try re-compiling or re-installing
      the module (for instance, using `npm rebuild` or `npm install`).
          at process.func (electron/js2c/asar.js:138:31)
          at process.func [as dlopen] (electron/js2c/asar.js:138:31)
          at Object.Module._extensions..node (internal/modules/cjs/loader.js:828:18)
          at Object.func (electron/js2c/asar.js:138:31)
          at Object.func [as .node] (electron/js2c/asar.js:138:31)
          at Module.load (internal/modules/cjs/loader.js:645:32)
          at Function.Module._load (internal/modules/cjs/loader.js:560:12)
          at Module.require (internal/modules/cjs/loader.js:685:19)
          at require (internal/modules/cjs/helpers.js:16:16)
          at Object.<anonymous> (/home/pi/MagicMirror/modules/MMM-DHT-Sensor/node_helper.js:11:16)
      [2020-08-02 17:45:35.394] [ERROR]  Whoops! There was an uncaught exception...
      [2020-08-02 17:45:35.397] [ERROR]  Error: The module '/home/pi/MagicMirror/modules/MMM-DHT-Sensor/node_modules/node-dht-sensor/build/Release/node_dht_sensor.node'
      was compiled against a different Node.js version using
      NODE_MODULE_VERSION 64. This version of Node.js requires
      NODE_MODULE_VERSION 73. Please try re-compiling or re-installing
      the module (for instance, using `npm rebuild` or `npm install`).
          at process.func (electron/js2c/asar.js:138:31)
          at process.func [as dlopen] (electron/js2c/asar.js:138:31)
          at Object.Module._extensions..node (internal/modules/cjs/loader.js:828:18)
          at Object.func (electron/js2c/asar.js:138:31)
          at Object.func [as .node] (electron/js2c/asar.js:138:31)
          at Module.load (internal/modules/cjs/loader.js:645:32)
          at Function.Module._load (internal/modules/cjs/loader.js:560:12)
          at Module.require (internal/modules/cjs/loader.js:685:19)
          at require (internal/modules/cjs/helpers.js:16:16)
          at Object.<anonymous> (/home/pi/MagicMirror/modules/MMM-DHT-Sensor/node_helper.js:11:16)
      [2020-08-02 17:45:35.414] [ERROR]  MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
      [2020-08-02 17:45:35.415] [ERROR]  If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues
      Fontconfig warning: "/etc/fonts/fonts.conf", line 100: unknown element "blank"
      [2020-08-02 17:45:35.722] [LOG]    Launching application.
      

      I already tried a

      npm rebuild
      npm install
      

      with no luck…

      Right now, i am dumping my Mirror with dd to my NAS - maybe someone here can has experienced this error as well, or is using another Module, which he/she could recommend.

      thank you all

      stefan

      posted in Troubleshooting
      S
      Stef
    • RE: Magic Mirror 2 won't start

      I did all this.
      pm2 remove did not work (not recognised as a command) so i did a pm2 delete on both instances.

      All i get now, is a black screen & an error with the Modul “MMM-DHT-Sensor”

      [2020-08-02 17:45:35.346] [ERROR]  WARNING! Could not load config file. Starting with default configuration. Error found: Error: The module '/home/pi/MagicMirror/modules/MMM-DHT-Sensor/node_modules/node-dht-sensor/build/Release/node_dht_sensor.node'
      was compiled against a different Node.js version using
      NODE_MODULE_VERSION 64. This version of Node.js requires
      NODE_MODULE_VERSION 73. Please try re-compiling or re-installing
      the module (for instance, using `npm rebuild` or `npm install`).
      
      

      If i remove the Folder from the modules, the Mirror boots up.

      Since the Mirror is loading now, this Topic can be closed and i will open up another one.

      Thanks!

      posted in Troubleshooting
      S
      Stef
    • RE: Magic Mirror 2 won't start

      @sdetweil well… It did not stop… So I forced it

      Linux mirrorpi 4.19.66-v7+ #1253 SMP Thu Aug 15 11:49:46 BST 2019 armv7l
      
      The programs included with the Debian GNU/Linux system are free software;
      the exact distribution terms for each program are described in the
      individual files in /usr/share/doc/*/copyright.
      
      Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
      permitted by applicable law.
      Last login: Fri Jul 31 18:29:29 2020 from 192.168.0.199
      pi@mirrorpi:~ $ pm2 logs --lines=100
      [TAILING] Tailing last 100 lines for [all] processes (change the value with --lines option)
      /home/pi/.pm2/pm2.log last 100 lines:
      PM2        | 2020-07-31T23:45:34: PM2 log: App [mm:2] online
      PM2        | 2020-07-31T23:45:35: PM2 log: App [mm:1] exited with code [254] via signal [SIGINT]
      PM2        | 2020-07-31T23:45:35: PM2 log: App [mm:1] starting in -fork mode-
      PM2        | 2020-07-31T23:45:35: PM2 log: App [mm:1] online
      PM2        | 2020-07-31T23:45:36: PM2 log: App [mm:2] exited with code [254] via signal [SIGINT]
      PM2        | 2020-07-31T23:45:36: PM2 log: App [mm:2] starting in -fork mode-
      PM2        | 2020-07-31T23:45:36: PM2 log: App [mm:2] online
      PM2        | 2020-07-31T23:45:36: PM2 log: App [mm:1] exited with code [254] via signal [SIGINT]
      PM2        | 2020-07-31T23:45:36: PM2 log: App [mm:1] starting in -fork mode-
      PM2        | 2020-07-31T23:45:37: PM2 log: App [mm:1] online
      PM2        | 2020-07-31T23:45:38: PM2 log: App [mm:2] exited with code [254] via signal [SIGINT]
      PM2        | 2020-07-31T23:45:38: PM2 log: App [mm:2] starting in -fork mode-
      PM2        | 2020-07-31T23:45:38: PM2 log: App [mm:2] online
      PM2        | 2020-07-31T23:45:38: PM2 log: App [mm:1] exited with code [254] via signal [SIGINT]
      PM2        | 2020-07-31T23:45:38: PM2 log: App [mm:1] starting in -fork mode-
      PM2        | 2020-07-31T23:45:38: PM2 log: App [mm:1] online
      PM2        | 2020-07-31T23:45:41: PM2 log: App [mm:2] exited with code [254] via signal [SIGINT]
      PM2        | 2020-07-31T23:45:41: PM2 log: App [mm:1] exited with code [254] via signal [SIGINT]
      PM2        | 2020-07-31T23:45:41: PM2 log: App [mm:2] starting in -fork mode-
      PM2        | 2020-07-31T23:45:41: PM2 log: App [mm:1] starting in -fork mode-
      PM2        | 2020-07-31T23:45:41: PM2 log: App [mm:2] online
      PM2        | 2020-07-31T23:45:41: PM2 log: App [mm:1] online
      PM2        | 2020-07-31T23:45:44: PM2 log: App [mm:2] exited with code [254] via signal [SIGINT]
      PM2        | 2020-07-31T23:45:44: PM2 log: App [mm:1] exited with code [254] via signal [SIGINT]
      PM2        | 2020-07-31T23:45:44: PM2 log: App [mm:2] starting in -fork mode-
      PM2        | 2020-07-31T23:45:44: PM2 log: App [mm:1] starting in -fork mode-
      PM2        | 2020-07-31T23:45:44: PM2 log: App [mm:2] online
      PM2        | 2020-07-31T23:45:44: PM2 log: App [mm:1] online
      PM2        | 2020-07-31T23:45:48: PM2 log: App [mm:2] exited with code [254] via signal [SIGINT]
      PM2        | 2020-07-31T23:45:48: PM2 log: App [mm:1] exited with code [254] via signal [SIGINT]
      PM2        | 2020-07-31T23:45:48: PM2 log: App [mm:2] starting in -fork mode-
      PM2        | 2020-07-31T23:45:48: PM2 log: App [mm:1] starting in -fork mode-
      PM2        | 2020-07-31T23:45:48: PM2 log: App [mm:2] online
      PM2        | 2020-07-31T23:45:48: PM2 log: App [mm:1] online
      PM2        | 2020-07-31T23:45:51: PM2 log: App [mm:1] exited with code [254] via signal [SIGINT]
      PM2        | 2020-07-31T23:45:51: PM2 log: App [mm:1] starting in -fork mode-
      PM2        | 2020-07-31T23:45:51: PM2 log: App [mm:2] exited with code [254] via signal [SIGINT]
      PM2        | 2020-07-31T23:45:51: PM2 log: App [mm:2] starting in -fork mode-
      PM2        | 2020-07-31T23:45:51: PM2 log: App [mm:1] online
      PM2        | 2020-07-31T23:45:51: PM2 log: App [mm:2] online
      PM2        | 2020-07-31T23:45:54: PM2 log: App [mm:1] exited with code [254] via signal [SIGINT]
      PM2        | 2020-07-31T23:45:54: PM2 log: App [mm:2] exited with code [254] via signal [SIGINT]
      PM2        | 2020-07-31T23:45:54: PM2 log: App [mm:1] starting in -fork mode-
      PM2        | 2020-07-31T23:45:54: PM2 log: App [mm:2] starting in -fork mode-
      PM2        | 2020-07-31T23:45:54: PM2 log: App [mm:1] online
      PM2        | 2020-07-31T23:45:54: PM2 log: App [mm:2] online
      PM2        | 2020-07-31T23:45:57: PM2 log: App [mm:1] exited with code [254] via signal [SIGINT]
      PM2        | 2020-07-31T23:45:57: PM2 log: App [mm:1] starting in -fork mode-
      PM2        | 2020-07-31T23:45:57: PM2 log: App [mm:1] online
      PM2        | 2020-07-31T23:45:57: PM2 log: App [mm:2] exited with code [254] via signal [SIGINT]
      PM2        | 2020-07-31T23:45:57: PM2 log: App [mm:2] starting in -fork mode-
      PM2        | 2020-07-31T23:45:57: PM2 log: App [mm:2] online
      PM2        | 2020-07-31T23:46:00: PM2 log: App [mm:1] exited with code [254] via signal [SIGINT]
      PM2        | 2020-07-31T23:46:00: PM2 log: App [mm:2] exited with code [254] via signal [SIGINT]
      PM2        | 2020-07-31T23:46:00: PM2 log: App [mm:1] starting in -fork mode-
      PM2        | 2020-07-31T23:46:00: PM2 log: App [mm:2] starting in -fork mode-
      PM2        | 2020-07-31T23:46:00: PM2 log: App [mm:1] online
      PM2        | 2020-07-31T23:46:00: PM2 log: App [mm:2] online
      PM2        | 2020-07-31T23:46:03: PM2 log: App [mm:1] exited with code [254] via signal [SIGINT]
      PM2        | 2020-07-31T23:46:03: PM2 log: App [mm:2] exited with code [254] via signal [SIGINT]
      PM2        | 2020-07-31T23:46:03: PM2 log: App [mm:1] starting in -fork mode-
      PM2        | 2020-07-31T23:46:03: PM2 log: App [mm:2] starting in -fork mode-
      PM2        | 2020-07-31T23:46:03: PM2 log: App [mm:1] online
      PM2        | 2020-07-31T23:46:03: PM2 log: App [mm:2] online
      PM2        | 2020-07-31T23:46:05: PM2 log: App [mm:1] exited with code [254] via signal [SIGINT]
      PM2        | 2020-07-31T23:46:05: PM2 log: App [mm:1] starting in -fork mode-
      PM2        | 2020-07-31T23:46:05: PM2 log: App [mm:1] online
      PM2        | 2020-07-31T23:46:05: PM2 log: App [mm:2] exited with code [254] via signal [SIGINT]
      PM2        | 2020-07-31T23:46:05: PM2 log: App [mm:2] starting in -fork mode-
      PM2        | 2020-07-31T23:46:05: PM2 log: App [mm:2] online
      PM2        | 2020-07-31T23:46:08: PM2 log: App [mm:2] exited with code [254] via signal [SIGINT]
      PM2        | 2020-07-31T23:46:08: PM2 log: App [mm:1] exited with code [254] via signal [SIGINT]
      PM2        | 2020-07-31T23:46:08: PM2 log: App [mm:2] starting in -fork mode-
      PM2        | 2020-07-31T23:46:08: PM2 log: App [mm:1] starting in -fork mode-
      PM2        | 2020-07-31T23:46:08: PM2 log: App [mm:2] online
      PM2        | 2020-07-31T23:46:08: PM2 log: App [mm:1] online
      PM2        | 2020-07-31T23:46:11: PM2 log: App [mm:2] exited with code [254] via signal [SIGINT]
      PM2        | 2020-07-31T23:46:11: PM2 log: App [mm:1] exited with code [254] via signal [SIGINT]
      PM2        | 2020-07-31T23:46:11: PM2 log: App [mm:2] starting in -fork mode-
      PM2        | 2020-07-31T23:46:11: PM2 log: App [mm:1] starting in -fork mode-
      PM2        | 2020-07-31T23:46:11: PM2 log: App [mm:2] online
      PM2        | 2020-07-31T23:46:11: PM2 log: App [mm:1] online
      PM2        | 2020-07-31T23:46:12: PM2 log: App [mm:1] exited with code [254] via signal [SIGINT]
      PM2        | 2020-07-31T23:46:12: PM2 log: App [mm:1] starting in -fork mode-
      PM2        | 2020-07-31T23:46:12: PM2 log: App [mm:1] online
      PM2        | 2020-07-31T23:46:12: PM2 log: App [mm:2] exited with code [254] via signal [SIGINT]
      PM2        | 2020-07-31T23:46:12: PM2 log: App [mm:2] starting in -fork mode-
      PM2        | 2020-07-31T23:46:12: PM2 log: App [mm:2] online
      PM2        | 2020-07-31T23:46:14: PM2 log: App [mm:1] exited with code [254] via signal [SIGINT]
      PM2        | 2020-07-31T23:46:14: PM2 log: App [mm:1] starting in -fork mode-
      PM2        | 2020-07-31T23:46:14: PM2 log: App [mm:2] exited with code [254] via signal [SIGINT]
      PM2        | 2020-07-31T23:46:14: PM2 log: App [mm:1] online
      PM2        | 2020-07-31T23:46:14: PM2 log: App [mm:2] starting in -fork mode-
      PM2        | 2020-07-31T23:46:14: PM2 log: App [mm:2] online
      PM2        | 2020-07-31T23:46:17: PM2 log: App [mm:1] exited with code [254] via signal [SIGINT]
      PM2        | 2020-07-31T23:46:17: PM2 log: App [mm:2] exited with code [254] via signal [SIGINT]
      PM2        | 2020-07-31T23:46:17: PM2 log: App [mm:1] starting in -fork mode-
      PM2        | 2020-07-31T23:46:17: PM2 log: App [mm:2] starting in -fork mode-
      PM2        | 2020-07-31T23:46:17: PM2 log: App [mm:1] online
      PM2        | 2020-07-31T23:46:17: PM2 log: App [mm:2] online
      
      /home/pi/.pm2/logs/mm-out.log last 100 lines:
      /home/pi/.pm2/logs/pm2-logrotate-error.log last 100 lines:
      0|pm2-logr | [Error: ENOENT: no such file or directory, unlink '/home/pi/.pm2/logs/mm-error__2020-07-15_00-00-00.log'] {
      0|pm2-logr |   errno: -2,
      0|pm2-logr |   code: 'ENOENT',
      0|pm2-logr |   syscall: 'unlink',
      0|pm2-logr |   path: '/home/pi/.pm2/logs/mm-error__2020-07-15_00-00-00.log'
      0|pm2-logr | }
      0|pm2-logr | [Error: ENOENT: no such file or directory, unlink '/home/pi/.pm2/logs/mm-error__2020-07-16_20-14-10.log'] {
      0|pm2-logr |   errno: -2,
      0|pm2-logr |   code: 'ENOENT',
      0|pm2-logr |   syscall: 'unlink',
      0|pm2-logr |   path: '/home/pi/.pm2/logs/mm-error__2020-07-16_20-14-10.log'
      0|pm2-logr | }
      0|pm2-logr | [Error: ENOENT: no such file or directory, unlink '/home/pi/.pm2/logs/mm-error__2020-07-17_00-01-34.log'] {
      0|pm2-logr |   errno: -2,
      0|pm2-logr |   code: 'ENOENT',
      0|pm2-logr |   syscall: 'unlink',
      0|pm2-logr |   path: '/home/pi/.pm2/logs/mm-error__2020-07-17_00-01-34.log'
      0|pm2-logr | }
      0|pm2-logr | [Error: ENOENT: no such file or directory, unlink '/home/pi/.pm2/logs/mm-error__2020-07-17_13-46-14.log'] {
      0|pm2-logr |   errno: -2,
      0|pm2-logr |   code: 'ENOENT',
      0|pm2-logr |   syscall: 'unlink',
      0|pm2-logr |   path: '/home/pi/.pm2/logs/mm-error__2020-07-17_13-46-14.log'
      0|pm2-logr | }
      
      /home/pi/.pm2/logs/pm2-logrotate-out.log last 100 lines:
      0|pm2-logr | "/home/pi/.pm2/logs/pm2-logrotate-out__2020-07-31_00-00-13.log" has been created
      0|pm2-logr | "/home/pi/.pm2/logs/pm2-logrotate-error__2020-07-31_00-00-13.log" has been created
      0|pm2-logr | "pm2-logrotate-out__2020-06-24_00-00-14.log" has been deleted
      0|pm2-logr | "/home/pi/.pm2/logs/mm-error__2020-07-31_00-00-13.log" has been created
      0|pm2-logr | "/home/pi/.pm2/logs/mm-error__2020-07-31_00-00-13.log" has been created
      0|pm2-logr | "mm-error__2020-07-15_00-00-00.log" has been deleted
      0|pm2-logr | "/home/pi/.pm2/logs/mm-error__2020-07-31_06-12-22.log" has been created
      0|pm2-logr | "/home/pi/.pm2/logs/mm-error__2020-07-31_06-12-22.log" has been created
      0|pm2-logr | "mm-error__2020-07-16_20-14-10.log" has been deleted
      0|pm2-logr | "/home/pi/.pm2/logs/mm-error__2020-07-31_12-19-24.log" has been created
      0|pm2-logr | "/home/pi/.pm2/logs/mm-error__2020-07-31_12-19-24.log" has been created
      0|pm2-logr | "mm-error__2020-07-17_00-01-34.log" has been deleted
      0|pm2-logr | "/home/pi/.pm2/pm2__2020-07-31_13-01-24.log" has been created
      0|pm2-logr | "pm2__2020-06-17_14-07-43.log" has been deleted
      0|pm2-logr | "/home/pi/.pm2/logs/mm-error__2020-07-31_18-29-27.log" has been created
      0|pm2-logr | "/home/pi/.pm2/logs/mm-error__2020-07-31_18-29-27.log" has been created
      0|pm2-logr | "mm-error__2020-07-17_13-46-14.log" has been deleted
      
      /home/pi/.pm2/logs/mm-error.log last 100 lines:
      1|mm       | npm ERR! enoent
      1|mm       | npm ERR! enoent ENOENT: no such file or directory, open '/home/pi/package.json'
      1|mm       | npm ERR! enoent This is related to npm not being able to find a file.
      1|mm       | npm ERR! enoent
      1|mm       |
      1|mm       |
      1|mm       | npm ERR! A complete log of this run can be found in:
      1|mm       | npm ERR!     /home/pi/.npm/_logs/2020-07-31T21_46_08_015Z-debug.log
      1|mm       | npm ERR! A complete log of this run can be found in:
      1|mm       | npm ERR!     /home/pi/.npm/_logs/2020-07-31T21_46_08_015Z-debug.log
      1|mm       | /home/pi/mm.sh: Zeile 1: cd: /~MagicMirror: Datei oder Verzeichnis nicht gefunden
      1|mm       | /home/pi/mm.sh: Zeile 1: cd: /~MagicMirror: Datei oder Verzeichnis nicht gefunden
      1|mm       | npm npm ERR! code ENOENT
      1|mm       | ERR! code ENOENT
      1|mm       | npm ERR! syscallnpm ERR! syscall open
      1|mm       | npm ERR! open
      1|mm       | npm ERR! path /home/pi/package.json
      1|mm       | npm path /home/pi/package.json
      1|mm       | npm ERR! errno -2
      1|mm       |  ERR! errno -2
      1|mm       | npm ERR! enoent ENOENT: no such file or directory, open '/home/pi/package.json'
      1|mm       | npm ERR! enoent This is related to npm not being able to find a file.
      1|mm       | npm ERR! enoent
      1|mm       | npm ERR! enoent ENOENT: no such file or directory, open '/home/pi/package.json'
      1|mm       | npm ERR! enoent This is related to npm not being able to find a file.
      1|mm       | npm ERR! enoent
      1|mm       |
      1|mm       |
      1|mm       | npm ERR! A complete log of this run can be found in:
      1|mm       | npm ERR!     /home/pi/.npm/_logs/2020-07-31T21_46_10_895Z-debug.log
      1|mm       | npm ERR! A complete log of this run can be found in:
      1|mm       | npm ERR!     /home/pi/.npm/_logs/2020-07-31T21_46_10_894Z-debug.log
      1|mm       | /home/pi/mm.sh: Zeile 1: cd: /~MagicMirror: Datei oder Verzeichnis nicht gefunden
      1|mm       | /home/pi/mm.sh: Zeile 1: cd: /~MagicMirror: Datei oder Verzeichnis nicht gefunden
      1|mm       | npm ERR! code ENOENT
      1|mm       | npm ERR! syscall open
      1|mm       | npm ERR! path /home/pi/package.json
      1|mm       | npm ERR! errno -2
      1|mm       | npm ERR! enoent ENOENT: no such file or directory, open '/home/pi/package.json'
      1|mm       | npm ERR! enoent This is related to npm not being able to find a file.
      1|mm       | npm ERR! enoent
      1|mm       | npm ERR! code ENOENT
      1|mm       | npm ERR! syscall open
      1|mm       | npm ERR! path /home/pi/package.json
      1|mm       | npm ERR! errno -2
      1|mm       | npm ERR! enoent ENOENT: no such file or directory, open '/home/pi/package.json'
      1|mm       | npm ERR! enoent This is related to npm not being able to find a file.
      1|mm       | npm ERR! enoent
      1|mm       |
      1|mm       | npm ERR! A complete log of this run can be found in:
      1|mm       | npm ERR!     /home/pi/.npm/_logs/2020-07-31T21_46_12_794Z-debug.log
      1|mm       | /home/pi/mm.sh: Zeile 1: cd: /~MagicMirror: Datei oder Verzeichnis nicht gefunden
      1|mm       |
      1|mm       | npm ERR! A complete log of this run can be found in:
      1|mm       | npm ERR!     /home/pi/.npm/_logs/2020-07-31T21_46_12_823Z-debug.log
      1|mm       | /home/pi/mm.sh: Zeile 1: cd: /~MagicMirror: Datei oder Verzeichnis nicht gefunden
      1|mm       | npm ERR! code ENOENT
      1|mm       | npm ERR! code ENOENT
      1|mm       | npm ERR! syscall open
      1|mm       | npm ERR! path /home/pi/package.json
      1|mm       | npm ERR! errno -2
      1|mm       | npm ERR! syscall open
      1|mm       | npm ERR! path /home/pi/package.json
      1|mm       | npm ERR! errno -2
      1|mm       | npm ERR! enoent ENOENT: no such file or directory, open '/home/pi/package.json'
      1|mm       | npmnpm ERR! enoent ENOENT: no such file or directory, open '/home/pi/package.json'
      1|mm       | npm ERR! enoent This is related to npm not being able to find a file.
      1|mm       | npm ERR! enoent
      1|mm       |  ERR! enoent This is related to npm not being able to find a file.
      1|mm       | npm ERR! enoent
      1|mm       |
      1|mm       |
      1|mm       | npm ERR! A complete log of this run can be found in:
      1|mm       | npm ERR!npm ERR! A complete log of this run can be found in:
      1|mm       | npm ERR!     /home/pi/.npm/_logs/2020-07-31T21_46_14_790Z-debug.log
      1|mm       |      /home/pi/.npm/_logs/2020-07-31T21_46_14_793Z-debug.log
      1|mm       | /home/pi/mm.sh: Zeile 1: cd: /~MagicMirror: Datei oder Verzeichnis nicht gefunden
      1|mm       | /home/pi/mm.sh: Zeile 1: cd: /~MagicMirror: Datei oder Verzeichnis nicht gefunden
      1|mm       | npm ERR! code ENOENT
      1|mm       | npm ERR! syscall open
      1|mm       | npm ERR! path /home/pi/package.json
      1|mm       | npm ERR! errno -2
      1|mm       | npm ERR! code ENOENT
      1|mm       | npm ERR! npm ERR! enoent ENOENT: no such file or directory, open '/home/pi/package.json'
      1|mm       | npm ERR! enoent This is related to npm not being able to find a file.
      1|mm       | npm ERR! enoent
      1|mm       | syscall open
      1|mm       | npm ERR! path /home/pi/package.json
      1|mm       | npm ERR! errno -2
      1|mm       | npm ERR! enoent ENOENT: no such file or directory, open '/home/pi/package.json'
      1|mm       | npm ERR! enoent This is related to npm not being able to find a file.
      1|mm       | npm ERR! enoent
      1|mm       |
      1|mm       |
      1|mm       | npm ERR! A complete log of this run can be found in:
      1|mm       | npm ERR!     /home/pi/.npm/_logs/2020-07-31T21_46_16_929Z-debug.log
      1|mm       | npm ERR! A complete log of this run can be found in:
      1|mm       | npm ERR!     /home/pi/.npm/_logs/2020-07-31T21_46_16_923Z-debug.log
      1|mm       | /home/pi/mm.sh: Zeile 1: cd: /~MagicMirror: Datei oder Verzeichnis nicht gefunden
      1|mm       | /home/pi/mm.sh: Zeile 1: cd: /~MagicMirror: Datei oder Verzeichnis nicht gefunden
      
      1|mm  | npm
      2|mm  | npm
      1|mm  |  ERR! code ENOENT
      1|mm  | npm
      1|mm  | ERR! syscall open
      1|mm  | npm ERR!
      1|mm  | path /home/pi/package.json
      2|mm  |  ERR! code ENOENT
      2|mm  | npm
      1|mm  | npm ERR! errno -2
      2|mm  |  ERR! syscall open
      2|mm  | npm ERR!
      2|mm  | path /home/pi/package.json
      2|mm  | npm ERR! errno
      2|mm  |  -2
      1|mm  | npm ERR! enoent ENOENT: no such file or directory, open '/home/pi/package.json'
      1|mm  | npm ERR! enoent
      1|mm  |  This is related to npm not being able to find a file.
      1|mm  | npm ERR! enoent
      2|mm  | npm ERR! enoent ENOENT: no such file or directory, open '/home/pi/package.json'
      2|mm  | npm ERR! enoent This is related to npm not being able to find a file.
      2|mm  | npm
      2|mm  |  ERR! enoent
      1|mm  | npm ERR! A complete log of this run can be found in:
      1|mm  | npm ERR!     /home/pi/.npm/_logs/2020-07-31T21_46_21_246Z-debug.log
      2|mm  | npm ERR! A complete log of this run can be found in:
      2|mm  | npm ERR!     /home/pi/.npm/_logs/2020-07-31T21_46_21_253Z-debug.log
      PM2      | App [mm:1] exited with code [254] via signal [SIGINT]
      PM2      | App [mm:2] exited with code [254] via signal [SIGINT]
      PM2      | App [mm:1] starting in -fork mode-
      PM2      | App [mm:2] starting in -fork mode-
      PM2      | App [mm:1] online
      PM2      | App [mm:2] online
      1|mm     | /home/pi/mm.sh: Zeile 1: cd: /~MagicMirror: Datei oder Verzeichnis nicht gefunden
      2|mm     | /home/pi/mm.sh: Zeile 1: cd: /~MagicMirror: Datei oder Verzeichnis nicht gefunden
      1|mm     | npm
      2|mm     | npm ERR! code
      1|mm     |  ERR! code ENOENT
      1|mm     | npm ERR! syscall open
      1|mm     | npm ERR! path /home/pi/package.json
      1|mm     | npm ERR! errno -2
      2|mm     |  ENOENT
      2|mm     | npm ERR! syscall open
      2|mm     | npm ERR! path /home/pi/package.json
      2|mm     | npm ERR! errno -2
      2|mm     | npm ERR! enoent
      2|mm     |  ENOENT: no such file or directory, open '/home/pi/package.json'
      2|mm     | npm ERR! enoent This is related to npm not being able to find a file.
      2|mm     | npm ERR!
      1|mm     | npm ERR! enoent ENOENT: no such file or directory, open '/home/pi/package.json'
      1|mm     | npm ERR! enoent This is related to npm not being able to find a file.
      1|mm     | npm ERR! enoent
      2|mm     |  enoent
      2|mm     | npm ERR! A complete log of this run can be found in:2|mm     | npm ERR!     /home/pi/.npm/_logs/2020-07-31T21_46_23_904Z-debug.log
      1|mm     | npm ERR! A complete log of this run can be found in:1|mm     | npm ERR!     /home/pi/.npm/_logs/2020-07-31T21_46_23_900Z-debug.log
      PM2      | App [mm:1] exited with code [254] via signal [SIGINT]
      PM2      | App [mm:2] exited with code [254] via signal [SIGINT]
      PM2      | App [mm:1] starting in -fork mode-
      PM2      | App [mm:2] starting in -fork mode-
      PM2      | App [mm:1] online
      PM2      | App [mm:2] online
      1|mm     | /home/pi/mm.sh: Zeile 1: cd: /~MagicMirror: Datei oder Verzeichnis nicht gefunden
      2|mm     | /home/pi/mm.sh: Zeile 1: cd: /~MagicMirror: Datei oder Verzeichnis nicht gefunden
      ^C
      pi@mirrorpi:~ $
      
      posted in Troubleshooting
      S
      Stef
    • RE: Magic Mirror 2 won't start

      @sdetweil Sorry, i forgot about the Release notes…

      I did this, the error is gone but i still have around 50% CPU load, the autostart is not working and i have a black screen when i start the mirror manually…

      Any ideas?

      posted in Troubleshooting
      S
      Stef
    • 1 / 1