<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Magic Mirror Black Screen after &quot;pm2 start mm&quot;]]></title><description><![CDATA[<p dir="auto">Hey everyone! First time posting, so please be gentle…</p>
<p dir="auto">Have had my MM and modules running for 3+ months at this point - no issues. I had this Pi running in a case for this entire time, however, decided to remove it and put the case to use for another Pi while I have another on order (the other needed the cooling more than this one).</p>
<p dir="auto">After removing the case and starting back up - no issues. Raspberry Pi loaded to desktop no issues. The magicmirror service is set to start after x amount of seconds (forgot off-hand) but first thing I noticed is once the module loaded, all I get is a black screen. Returned to desktop using “pm2 stop mm”, which works successfully. If I run “pm2 start mm”, the service begins to run, but enters a black screen again. This was working 10 mins ago before I shut down the Pi for case removal.</p>
<p dir="auto">I’ve ran the following commands, thinking updating my Pi would help (it’s been a while) but with no avail:<br />
-sudo apt-get update<br />
-sudo apt upgrade<br />
-sudo apt install</p>
<p dir="auto">Raspian Stretch 9.9</p>
<p dir="auto">Please let me know what information I can provide to help troubleshoot! Any help is appreciated!</p>
]]></description><link>https://forum.magicmirror.builders/topic/11036/magic-mirror-black-screen-after-pm2-start-mm</link><generator>RSS for Node</generator><lastBuildDate>Fri, 05 Jun 2026 23:07:44 GMT</lastBuildDate><atom:link href="https://forum.magicmirror.builders/topic/11036.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 24 Aug 2019 18:06:12 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Magic Mirror Black Screen after &quot;pm2 start mm&quot; on Sat, 24 Aug 2019 20:54:00 GMT]]></title><description><![CDATA[<p dir="auto">Had the same problem,  change directory to MagicMirror and execute npm start. Hope it help</p>
]]></description><link>https://forum.magicmirror.builders/post/60386</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/60386</guid><dc:creator><![CDATA[smassy]]></dc:creator><pubDate>Sat, 24 Aug 2019 20:54:00 GMT</pubDate></item><item><title><![CDATA[Reply to Magic Mirror Black Screen after &quot;pm2 start mm&quot; on Sat, 24 Aug 2019 20:37:46 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/sdetweil" aria-label="Profile: sdetweil">@<bdi>sdetweil</bdi></a> okay thanks. So just try what I posted above and it will automatically rebuild electron in the process? If not, just do Mmm-assistantmk2 from scratch?</p>
]]></description><link>https://forum.magicmirror.builders/post/60384</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/60384</guid><dc:creator><![CDATA[Parity]]></dc:creator><pubDate>Sat, 24 Aug 2019 20:37:46 GMT</pubDate></item><item><title><![CDATA[Reply to Magic Mirror Black Screen after &quot;pm2 start mm&quot; on Sat, 24 Aug 2019 20:34:17 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/parity" aria-label="Profile: Parity">@<bdi>Parity</bdi></a> no, but u will end up at the same recovery steps</p>
]]></description><link>https://forum.magicmirror.builders/post/60383</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/60383</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Sat, 24 Aug 2019 20:34:17 GMT</pubDate></item><item><title><![CDATA[Reply to Magic Mirror Black Screen after &quot;pm2 start mm&quot; on Sat, 24 Aug 2019 20:21:27 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/sdetweil" aria-label="Profile: sdetweil">@<bdi>sdetweil</bdi></a></p>
<p dir="auto">I’m assuming this is what you’re referring to?</p>
<p dir="auto">"grpc Electron-rebuild or Raspbian Buster issues. (on Raspbian Buster) Downgrade your gcc to gcc7. (default of Buster would be gcc8)</p>
<p dir="auto">sudo apt-get install gcc-7<br />
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-7 10<br />
sudo update-alternatives --config gcc</p>
<h1>Then select gcc-7</h1>
<p dir="auto">Then try electron-rebuild again."</p>
<p dir="auto">Just for confirmation - would this rebuild my node_modules directory? The most recent log I posted shows I don’t even have any electron version. I will attempt this later tonight.</p>
<p dir="auto">As a side question - if I delete my Mmm-assistantmk2 module and rebuild it from scratch, would that affect the configurations of my mirror at all? Correct me if I’m wrong, but couldn’t I just reinstall this module since the config.js just references this module?</p>
]]></description><link>https://forum.magicmirror.builders/post/60382</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/60382</guid><dc:creator><![CDATA[Parity]]></dc:creator><pubDate>Sat, 24 Aug 2019 20:21:27 GMT</pubDate></item><item><title><![CDATA[Reply to Magic Mirror Black Screen after &quot;pm2 start mm&quot; on Sat, 24 Aug 2019 19:58:09 GMT]]></title><description><![CDATA[<p dir="auto">See the instructions in the MMM-AssistantMk2 module <a href="http://readme.md" target="_blank" rel="noopener noreferrer nofollow ugc">readme.md</a> on how to fix the gprc issue</p>
]]></description><link>https://forum.magicmirror.builders/post/60380</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/60380</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Sat, 24 Aug 2019 19:58:09 GMT</pubDate></item><item><title><![CDATA[Reply to Magic Mirror Black Screen after &quot;pm2 start mm&quot; on Sat, 24 Aug 2019 19:28:51 GMT]]></title><description><![CDATA[<p dir="auto">So I’m assuming from my own readings, it would appear that the Pi is expecting Electron-v3.1-linux-arm-glibc but that is not found. I tried rebuilding my /home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules directory but ended up accidentally deleting it.</p>
<p dir="auto">So now the same applies, it’s expecting Electron-v3.1-linux-arm-glibc, however it finds “[node-v64-linux-arm-glibc]”. I tried npm rebuild, but no avail. I’m assuming all I need to do is rebuild that node_modules directory and get it to Electron-v3.1-linx-arm-glibc?</p>
<p dir="auto">Here is the below “pm2 logs” with the latest error:</p>
<pre><code>pi@raspberrypi:~ $ pm2 logs
[TAILING] Tailing last 15 lines for [all] processes (change the value with --lines option)
/home/pi/.pm2/pm2.log last 15 lines:
PM2        | 2019-08-24T15:11:15: PM2 log: pid=11133 msg=failed to kill - retrying in 100ms
PM2        | 2019-08-24T15:11:15: PM2 log: App [mm:0] exited with code [0] via signal [SIGINT]
PM2        | 2019-08-24T15:11:15: PM2 log: pid=11133 msg=process killed
PM2        | 2019-08-24T15:12:36: PM2 log: App [mm:0] starting in -fork mode-
PM2        | 2019-08-24T15:12:36: PM2 log: App [mm:0] online
PM2        | 2019-08-24T15:16:18: PM2 log: Stopping app:mm id:0
PM2        | 2019-08-24T15:16:18: PM2 log: pid=11236 msg=failed to kill - retrying in 100ms
PM2        | 2019-08-24T15:16:19: PM2 log: App [mm:0] exited with code [0] via signal [SIGINT]
PM2        | 2019-08-24T15:16:19: PM2 log: pid=11236 msg=process killed
PM2        | 2019-08-24T15:16:27: PM2 log: App [mm:0] starting in -fork mode-
PM2        | 2019-08-24T15:16:27: PM2 log: App [mm:0] online
PM2        | 2019-08-24T15:23:43: PM2 log: Stopping app:mm id:0
PM2        | 2019-08-24T15:23:43: PM2 log: pid=11476 msg=failed to kill - retrying in 100ms
PM2        | 2019-08-24T15:23:44: PM2 log: App [mm:0] exited with code [0] via signal [SIGINT]
PM2        | 2019-08-24T15:23:44: PM2 log: pid=11476 msg=process killed

/home/pi/.pm2/logs/mm-error.log last 15 lines:
0|mm       | Expected directory: electron-v3.1-linux-arm-glibc
0|mm       | Found: [node-v64-linux-arm-glibc]
0|mm       | This problem can often be fixed by running "npm rebuild" on the current system
0|mm       | Original error: Cannot find module '/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/grpc/src/node/extension_binary/electron-v3.1-linux-arm-glibc/grpc_node.node'
0|mm       |     at Object.&lt;anonymous&gt; (/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/grpc/src/grpc_extension.js:53:17)
0|mm       |     at Object.&lt;anonymous&gt; (/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/grpc/src/grpc_extension.js:63:3)
0|mm       |     at Module._compile (internal/modules/cjs/loader.js:711:30)
0|mm       |     at Object.Module._extensions..js (internal/modules/cjs/loader.js:722:10)
0|mm       |     at Module.load (internal/modules/cjs/loader.js:620:32)
0|mm       |     at tryModuleLoad (internal/modules/cjs/loader.js:559:12)
0|mm       |     at Function.Module._load (internal/modules/cjs/loader.js:551:3)
0|mm       |     at Module.require (internal/modules/cjs/loader.js:658:17)
0|mm       |     at require (internal/modules/cjs/helpers.js:20:18)
0|mm       |     at Object.&lt;anonymous&gt; (/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/grpc/src/client_interceptors.js:144:12) code: 'MODULE_NOT_FOUND' }
0|mm       | ATTENTION: default value of option force_s3tc_enable overridden by environment.

/home/pi/.pm2/logs/mm-out.log last 15 lines:
0|mm       | Initializing new module helper ...
0|mm       | Module helper loaded: updatenotification
0|mm       | No helper found for module: clock.
0|mm       | Initializing new module helper ...
0|mm       | Module helper loaded: calendar
0|mm       | No helper found for module: compliments.
0|mm       | Whoops! There was an uncaught exception...
0|mm       | MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
0|mm       | If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues
0|mm       | Launching application.
0|mm       | Shutting down server...
0|mm       | Stopping module helper: updatenotification
0|mm       | Stopping module helper: calendar
0|mm       | Stopping module helper: updatenotification
0|mm       | Stopping module helper: calendar

PM2      | App [mm:0] starting in -fork mode-
PM2      | App [mm:0] online
0|mm     | &gt; magicmirror@2.8.0 start /home/pi/MagicMirror
0|mm     | &gt; sh run-start.sh
0|mm     | Starting MagicMirror: v2.8.0
0|mm     | Loading config ...
0|mm     | Loading module helpers ...
0|mm     | No helper found for module: alert.
0|mm     | Initializing new module helper ...
0|mm     | Module helper loaded: updatenotification
0|mm     | No helper found for module: clock.
0|mm     | Initializing new module helper ...
0|mm     | Module helper loaded: calendar
0|mm     | No helper found for module: compliments.
0|mm     | WARNING! Could not load config file. Starting with default configuration. Error found: Error: Failed to load gRPC binary module because it was not installed for the current system
0|mm     | Expected directory: electron-v3.1-linux-arm-glibc
0|mm     | Found: [node-v64-linux-arm-glibc]
0|mm     | This problem can often be fixed by running "npm rebuild" on the current system
0|mm     | Original error: Cannot find module '/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/grpc/src/node/extension_binary/electron-v3.1-linux-arm-glibc/grpc_node.node'
0|mm     | Loading module helpers ...
0|mm     | No helper found for module: alert.
0|mm     | Initializing new module helper ...
0|mm     | Module helper loaded: updatenotification
0|mm     | No helper found for module: clock.
0|mm     | Initializing new module helper ...
0|mm     | Module helper loaded: calendar
0|mm     | No helper found for module: compliments.
0|mm     | App threw an error during load
0|mm     | Error: Failed to load gRPC binary module because it was not installed for the current system
0|mm     | Expected directory: electron-v3.1-linux-arm-glibc
0|mm     | Found: [node-v64-linux-arm-glibc]
0|mm     | This problem can often be fixed by running "npm rebuild" on the current system
0|mm     | Original error: Cannot find module '/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/grpc/src/node/extension_binary/electron-v3.1-linux-arm-glibc/grpc_node.node'
0|mm     |     at Object.&lt;anonymous&gt; (/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/grpc/src/grpc_extension.js:53:17)
0|mm     |     at Object.&lt;anonymous&gt; (/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/grpc/src/grpc_extension.js:63:3)
0|mm     |     at Module._compile (internal/modules/cjs/loader.js:711:30)
0|mm     |     at Object.Module._extensions..js (internal/modules/cjs/loader.js:722:10)
0|mm     |     at Module.load (internal/modules/cjs/loader.js:620:32)
0|mm     |     at tryModuleLoad (internal/modules/cjs/loader.js:559:12)
0|mm     |     at Function.Module._load (internal/modules/cjs/loader.js:551:3)
0|mm     |     at Module.require (internal/modules/cjs/loader.js:658:17)
0|mm     |     at require (internal/modules/cjs/helpers.js:20:18)
0|mm     |     at Object.&lt;anonymous&gt; (/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/grpc/src/client_interceptors.js:144:12)
0|mm     | Whoops! There was an uncaught exception...
0|mm     | { Error: Failed to load gRPC binary module because it was not installed for the current system
0|mm     | Expected directory: electron-v3.1-linux-arm-glibc
0|mm     | Found: [node-v64-linux-arm-glibc]
0|mm     | This problem can often be fixed by running "npm rebuild" on the current system
0|mm     | Original error: Cannot find module '/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/grpc/src/node/extension_binary/electron-v3.1-linux-arm-glibc/grpc_node.node'
0|mm     |     at Object.&lt;anonymous&gt; (/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/grpc/src/grpc_extension.js:53:17)
0|mm     |     at Object.&lt;anonymous&gt; (/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/grpc/src/grpc_extension.js:63:3)
0|mm     |     at Module._compile (internal/modules/cjs/loader.js:711:30)
0|mm     |     at Object.Module._extensions..js (internal/modules/cjs/loader.js:722:10)
0|mm     |     at Module.load (internal/modules/cjs/loader.js:620:32)
0|mm     |     at tryModuleLoad (internal/modules/cjs/loader.js:559:12)
0|mm     |     at Function.Module._load (internal/modules/cjs/loader.js:551:3)
0|mm     |     at Module.require (internal/modules/cjs/loader.js:658:17)
0|mm     |     at require (internal/modules/cjs/helpers.js:20:18)
0|mm     |     at Object.&lt;anonymous&gt; (/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/grpc/src/client_interceptors.js:144:12) code: 'MODULE_NOT_FOUND' }
0|mm     | MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
0|mm     | If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues
0|mm     | Launching application.
0|mm     | ATTENTION: default value of option force_s3tc_enable overridden by environment.
PM2      | Stopping app:mm id:0
PM2      | pid=11675 msg=failed to kill - retrying in 100ms
PM2      | App [mm:0] exited with code [0] via signal [SIGINT]
PM2      | pid=11675 msg=process killed
</code></pre>
<p dir="auto">Thanks again!</p>
]]></description><link>https://forum.magicmirror.builders/post/60378</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/60378</guid><dc:creator><![CDATA[Parity]]></dc:creator><pubDate>Sat, 24 Aug 2019 19:28:51 GMT</pubDate></item><item><title><![CDATA[Reply to Magic Mirror Black Screen after &quot;pm2 start mm&quot; on Sat, 24 Aug 2019 18:41:45 GMT]]></title><description><![CDATA[<p dir="auto">I apologize for the above log.</p>
<p dir="auto">Below are the Pm2 logs for starting both the “config.sample.js” (which works) and the “config.js” (which does not work)</p>
<p dir="auto">SAMPLE CONFIG – WORKS</p>
<pre><code>PM2      | App [mm:0] starting in -fork mode-
PM2      | App [mm:0] online
0|mm     | &gt; magicmirror@2.8.0 start /home/pi/MagicMirror
0|mm     | &gt; sh run-start.sh
0|mm     | Starting MagicMirror: v2.8.0
0|mm     | Loading config ...
0|mm     | Loading module helpers ...
0|mm     | No helper found for module: alert.
0|mm     | Initializing new module helper ...
0|mm     | Module helper loaded: updatenotification
0|mm     | No helper found for module: clock.
0|mm     | Initializing new module helper ...
0|mm     | Module helper loaded: calendar
0|mm     | No helper found for module: compliments.
0|mm     | No helper found for module: currentweather.
0|mm     | No helper found for module: weatherforecast.
0|mm     | Initializing new module helper ...
0|mm     | Module helper loaded: newsfeed
0|mm     | All module helpers loaded.
0|mm     | Starting server on port 8080 ...
0|mm     | Server started ...
0|mm     | Connecting socket for: updatenotification
0|mm     | Connecting socket for: calendar
0|mm     | Starting node helper for: calendar
0|mm     | Connecting socket for: newsfeed
0|mm     | Starting module: newsfeed
0|mm     | Sockets connected &amp; modules started ...
0|mm     | Launching application.
0|mm     | ATTENTION: default value of option force_s3tc_enable overridden by environment.
0|mm     | Create new calendar fetcher for url: http://www.calendarlabs.com/ical-calendar/ics/76/US_Holidays.ics - Interval: 300000
0|mm     | Create new news fetcher for url: http://www.nytimes.com/services/xml/rss/nyt/HomePage.xml - Interval: 300000
PM2      | Stopping app:mm id:0
0|mm     | Shutting down server...
0|mm     | Stopping module helper: updatenotification
0|mm     | Stopping module helper: calendar
0|mm     | Stopping module helper: newsfeed
PM2      | pid=5011 msg=failed to kill - retrying in 100ms
PM2      | pid=5011 msg=failed to kill - retrying in 100ms
PM2      | App [mm:0] exited with code [0] via signal [SIGINT]
PM2      | pid=5011 msg=process killed
</code></pre>
<p dir="auto">NORMAL CONFIG.JS (does not work)</p>
<pre><code>PM2      | App [mm:0] starting in -fork mode-
PM2      | App [mm:0] online
0|mm     | &gt; magicmirror@2.8.0 start /home/pi/MagicMirror
0|mm     | &gt; sh run-start.sh
0|mm     | Starting MagicMirror: v2.8.0
0|mm     | Loading config ...
0|mm     | Loading module helpers ...
0|mm     | No helper found for module: alert.
0|mm     | Initializing new module helper ...
0|mm     | Module helper loaded: updatenotification
0|mm     | No helper found for module: clock.
0|mm     | Initializing new module helper ...
0|mm     | Module helper loaded: calendar
0|mm     | No helper found for module: compliments.
0|mm     | WARNING! Could not load config file. Starting with default configuration. Error found: Error: Failed to load gRPC binary module because it was not installed for the current system
0|mm     | Expected directory: electron-v3.1-linux-arm-glibc
0|mm     | Found: [electron-v2.0-linux-arm-glibc, node-v64-linux-arm-glibc]
0|mm     | This problem can often be fixed by running "npm rebuild" on the current system
0|mm     | Original error: Cannot find module '/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/grpc/src/node/extension_binary/electron-v3.1-linux-arm-glibc/grpc_node.node'
0|mm     | Loading module helpers ...
0|mm     | No helper found for module: alert.
0|mm     | Initializing new module helper ...
0|mm     | Module helper loaded: updatenotification
0|mm     | No helper found for module: clock.
0|mm     | Initializing new module helper ...
0|mm     | Module helper loaded: calendar
0|mm     | No helper found for module: compliments.
0|mm     | App threw an error during load
0|mm     | Error: Failed to load gRPC binary module because it was not installed for the current system
0|mm     | Expected directory: electron-v3.1-linux-arm-glibc
0|mm     | Found: [electron-v2.0-linux-arm-glibc, node-v64-linux-arm-glibc]
0|mm     | This problem can often be fixed by running "npm rebuild" on the current system
0|mm     | Original error: Cannot find module '/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/grpc/src/node/extension_binary/electron-v3.1-linux-arm-glibc/grpc_node.node'
0|mm     |     at Object.&lt;anonymous&gt; (/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/grpc/src/grpc_extension.js:53:17)
0|mm     |     at Object.&lt;anonymous&gt; (/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/grpc/src/grpc_extension.js:63:3)
0|mm     |     at Module._compile (internal/modules/cjs/loader.js:711:30)
0|mm     |     at Object.Module._extensions..js (internal/modules/cjs/loader.js:722:10)
0|mm     |     at Module.load (internal/modules/cjs/loader.js:620:32)
0|mm     |     at tryModuleLoad (internal/modules/cjs/loader.js:559:12)
0|mm     |     at Function.Module._load (internal/modules/cjs/loader.js:551:3)
0|mm     |     at Module.require (internal/modules/cjs/loader.js:658:17)
0|mm     |     at require (internal/modules/cjs/helpers.js:20:18)
0|mm     |     at Object.&lt;anonymous&gt; (/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/grpc/src/client_interceptors.js:144:12)
0|mm     | Whoops! There was an uncaught exception...
0|mm     | { Error: Failed to load gRPC binary module because it was not installed for the current system
0|mm     | Expected directory: electron-v3.1-linux-arm-glibc
0|mm     | Found: [electron-v2.0-linux-arm-glibc, node-v64-linux-arm-glibc]
0|mm     | This problem can often be fixed by running "npm rebuild" on the current system
0|mm     | Original error: Cannot find module '/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/grpc/src/node/extension_binary/electron-v3.1-linux-arm-glibc/grpc_node.node'
0|mm     |     at Object.&lt;anonymous&gt; (/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/grpc/src/grpc_extension.js:53:17)
0|mm     |     at Object.&lt;anonymous&gt; (/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/grpc/src/grpc_extension.js:63:3)
0|mm     |     at Module._compile (internal/modules/cjs/loader.js:711:30)
0|mm     |     at Object.Module._extensions..js (internal/modules/cjs/loader.js:722:10)
0|mm     |     at Module.load (internal/modules/cjs/loader.js:620:32)
0|mm     |     at tryModuleLoad (internal/modules/cjs/loader.js:559:12)
0|mm     |     at Function.Module._load (internal/modules/cjs/loader.js:551:3)
0|mm     |     at Module.require (internal/modules/cjs/loader.js:658:17)
0|mm     |     at require (internal/modules/cjs/helpers.js:20:18)
0|mm     |     at Object.&lt;anonymous&gt; (/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/grpc/src/client_interceptors.js:144:12) code: 'MODULE_NOT_FOUND' }
0|mm     | MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
0|mm     | If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues
0|mm     | Launching application.
0|mm     | ATTENTION: default value of option force_s3tc_enable overridden by environment.
PM2      | Stopping app:mm id:0
PM2      | pid=5206 msg=failed to kill - retrying in 100ms
PM2      | App [mm:0] exited with code [0] via signal [SIGINT]
PM2      | pid=5206 msg=process killed
</code></pre>
<p dir="auto">Thanks!</p>
]]></description><link>https://forum.magicmirror.builders/post/60376</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/60376</guid><dc:creator><![CDATA[Parity]]></dc:creator><pubDate>Sat, 24 Aug 2019 18:41:45 GMT</pubDate></item><item><title><![CDATA[Reply to Magic Mirror Black Screen after &quot;pm2 start mm&quot; on Sat, 24 Aug 2019 18:32:46 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/sdetweil" aria-label="Profile: sdetweil">@<bdi>sdetweil</bdi></a></p>
<pre><code>pi@raspberrypi:~ $ pm2 logs
[TAILING] Tailing last 15 lines for [all] processes (change the value with --lines option)
/home/pi/.pm2/pm2.log last 15 lines:
PM2        | 2019-08-24T14:27:57: PM2 log: App [mm:0] exited with code [0] via signal [SIGINT]
PM2        | 2019-08-24T14:27:57: PM2 log: App [mm:0] starting in -fork mode-
PM2        | 2019-08-24T14:27:57: PM2 log: App [mm:0] online
PM2        | 2019-08-24T14:28:06: PM2 log: App [mm:0] exited with code [0] via signal [SIGINT]
PM2        | 2019-08-24T14:28:06: PM2 log: App [mm:0] starting in -fork mode-
PM2        | 2019-08-24T14:28:06: PM2 log: App [mm:0] online
PM2        | 2019-08-24T14:28:15: PM2 log: App [mm:0] exited with code [0] via signal [SIGINT]
PM2        | 2019-08-24T14:28:15: PM2 log: App [mm:0] starting in -fork mode-
PM2        | 2019-08-24T14:28:15: PM2 log: App [mm:0] online
PM2        | 2019-08-24T14:28:56: PM2 log: App [mm:0] exited with code [0] via signal [SIGINT]
PM2        | 2019-08-24T14:28:56: PM2 log: App [mm:0] starting in -fork mode-
PM2        | 2019-08-24T14:28:56: PM2 log: App [mm:0] online
PM2        | 2019-08-24T14:29:34: PM2 log: App [mm:0] exited with code [0] via signal [SIGINT]
PM2        | 2019-08-24T14:29:34: PM2 log: App [mm:0] starting in -fork mode-
PM2        | 2019-08-24T14:29:34: PM2 log: App [mm:0] online

/home/pi/.pm2/logs/mm-error.log last 15 lines:
0|mm       | Expected directory: electron-v3.1-linux-arm-glibc
0|mm       | Found: [electron-v2.0-linux-arm-glibc, node-v64-linux-arm-glibc]
0|mm       | This problem can often be fixed by running "npm rebuild" on the current system
0|mm       | Original error: Cannot find module '/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/grpc/src/node/extension_binary/electron-v3.1-linux-arm-glibc/grpc_node.node'
0|mm       |     at Object.&lt;anonymous&gt; (/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/grpc/src/grpc_extension.js:53:17)
0|mm       |     at Object.&lt;anonymous&gt; (/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/grpc/src/grpc_extension.js:63:3)
0|mm       |     at Module._compile (internal/modules/cjs/loader.js:711:30)
0|mm       |     at Object.Module._extensions..js (internal/modules/cjs/loader.js:722:10)
0|mm       |     at Module.load (internal/modules/cjs/loader.js:620:32)
0|mm       |     at tryModuleLoad (internal/modules/cjs/loader.js:559:12)
0|mm       |     at Function.Module._load (internal/modules/cjs/loader.js:551:3)
0|mm       |     at Module.require (internal/modules/cjs/loader.js:658:17)
0|mm       |     at require (internal/modules/cjs/helpers.js:20:18)
0|mm       |     at Object.&lt;anonymous&gt; (/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/grpc/src/client_interceptors.js:144:12) code: 'MODULE_NOT_FOUND' }
0|mm       | ATTENTION: default value of option force_s3tc_enable overridden by environment.

/home/pi/.pm2/logs/mm-out.log last 15 lines:
0|mm       | Module helper loaded: calendar
0|mm       | No helper found for module: compliments.
0|mm       | Whoops! There was an uncaught exception...
0|mm       | MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
0|mm       | If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues
0|mm       | Launching application.
0|mm       | Shutting down server...
0|mm       | Stopping module helper: updatenotification
0|mm       | Stopping module helper: calendar
0|mm       | Stopping module helper: updatenotification
0|mm       | Stopping module helper: calendar
0|mm       |
0|mm       | &gt; magicmirror@2.8.0 start /home/pi/MagicMirror
0|mm       | &gt; sh run-start.sh
0|mm       |

PM2      | Stopping app:mm id:0
PM2      | App [mm:0] exited with code [0] via signal [SIGINT]
PM2      | pid=4352 msg=process killed
PM2      | App [mm:0] starting in -fork mode-
PM2      | App [mm:0] online
0|mm     | &gt; magicmirror@2.8.0 start /home/pi/MagicMirror
0|mm     | &gt; sh run-start.sh
0|mm     | Starting MagicMirror: v2.8.0
0|mm     | Loading config ...
0|mm     | Loading module helpers ...
0|mm     | No helper found for module: alert.
0|mm     | Initializing new module helper ...
0|mm     | Module helper loaded: updatenotification
0|mm     | No helper found for module: clock.
0|mm     | Initializing new module helper ...
0|mm     | Module helper loaded: calendar
0|mm     | No helper found for module: compliments.
0|mm     | WARNING! Could not load config file. Starting with default configuration. Error found: Error: Failed to load gRPC binary module because it was not installed for the current system
0|mm     | Expected directory: electron-v3.1-linux-arm-glibc
0|mm     | Found: [electron-v2.0-linux-arm-glibc, node-v64-linux-arm-glibc]
0|mm     | This problem can often be fixed by running "npm rebuild" on the current system
0|mm     | Original error: Cannot find module '/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/grpc/src/node/extension_binary/electron-v3.1-linux-arm-glibc/grpc_node.node'
0|mm     | Loading module helpers ...
0|mm     | No helper found for module: alert.
0|mm     | Initializing new module helper ...
0|mm     | Module helper loaded: updatenotification
0|mm     | No helper found for module: clock.
0|mm     | Initializing new module helper ...
0|mm     | Module helper loaded: calendar
0|mm     | No helper found for module: compliments.
0|mm     | App threw an error during load
0|mm     | Error: Failed to load gRPC binary module because it was not installed for the current system
0|mm     | Expected directory: electron-v3.1-linux-arm-glibc
0|mm     | Found: [electron-v2.0-linux-arm-glibc, node-v64-linux-arm-glibc]
0|mm     | This problem can often be fixed by running "npm rebuild" on the current system
0|mm     | Original error: Cannot find module '/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/grpc/src/node/extension_binary/electron-v3.1-linux-arm-glibc/grpc_node.node'
0|mm     |     at Object.&lt;anonymous&gt; (/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/grpc/src/grpc_extension.js:53:17)
0|mm     |     at Object.&lt;anonymous&gt; (/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/grpc/src/grpc_extension.js:63:3)
0|mm     |     at Module._compile (internal/modules/cjs/loader.js:711:30)
0|mm     |     at Object.Module._extensions..js (internal/modules/cjs/loader.js:722:10)
0|mm     |     at Module.load (internal/modules/cjs/loader.js:620:32)
0|mm     |     at tryModuleLoad (internal/modules/cjs/loader.js:559:12)
0|mm     |     at Function.Module._load (internal/modules/cjs/loader.js:551:3)
0|mm     |     at Module.require (internal/modules/cjs/loader.js:658:17)
0|mm     |     at require (internal/modules/cjs/helpers.js:20:18)
0|mm     |     at Object.&lt;anonymous&gt; (/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/grpc/src/client_interceptors.js:144:12)
0|mm     | Whoops! There was an uncaught exception...
0|mm     | { Error: Failed to load gRPC binary module because it was not installed for the current system
0|mm     | Expected directory: electron-v3.1-linux-arm-glibc
0|mm     | Found: [electron-v2.0-linux-arm-glibc, node-v64-linux-arm-glibc]
0|mm     | This problem can often be fixed by running "npm rebuild" on the current system
0|mm     | Original error: Cannot find module '/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/grpc/src/node/extension_binary/electron-v3.1-linux-arm-glibc/grpc_node.node'
0|mm     |     at Object.&lt;anonymous&gt; (/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/grpc/src/grpc_extension.js:53:17)
0|mm     |     at Object.&lt;anonymous&gt; (/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/grpc/src/grpc_extension.js:63:3)
0|mm     |     at Module._compile (internal/modules/cjs/loader.js:711:30)
0|mm     |     at Object.Module._extensions..js (internal/modules/cjs/loader.js:722:10)
0|mm     |     at Module.load (internal/modules/cjs/loader.js:620:32)
0|mm     |     at tryModuleLoad (internal/modules/cjs/loader.js:559:12)
0|mm     |     at Function.Module._load (internal/modules/cjs/loader.js:551:3)
0|mm     |     at Module.require (internal/modules/cjs/loader.js:658:17)
0|mm     |     at require (internal/modules/cjs/helpers.js:20:18)
0|mm     |     at Object.&lt;anonymous&gt; (/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/grpc/src/client_interceptors.js:144:12) code: 'MODULE_NOT_FOUND' }
0|mm     | MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
0|mm     | If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues
0|mm     | Launching application.
0|mm     | ATTENTION: default value of option force_s3tc_enable overridden by environment.
PM2      | Stopping app:mm id:0
PM2      | pid=4410 msg=failed to kill - retrying in 100ms
PM2      | App [mm:0] exited with code [0] via signal [SIGINT]
PM2      | pid=4410 msg=process killed
</code></pre>
<p dir="auto">One more piece of information:</p>
<p dir="auto">I took a backup of my config.js file (/home/pi/MagicMirror/config) and then removed it. I then took the sample “config.sample.js” and used that as my config.js – this worked. Loaded fine. Then I removed this same config, made my backup config my actual config.js, and that worked ONE time. After I quit and then tried reloading, I got a black screen again. Is this some sort of RAM issue?</p>
]]></description><link>https://forum.magicmirror.builders/post/60375</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/60375</guid><dc:creator><![CDATA[Parity]]></dc:creator><pubDate>Sat, 24 Aug 2019 18:32:46 GMT</pubDate></item><item><title><![CDATA[Reply to Magic Mirror Black Screen after &quot;pm2 start mm&quot; on Sat, 24 Aug 2019 18:24:43 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/parity" aria-label="Profile: Parity">@<bdi>Parity</bdi></a> run</p>
<pre><code>pm2 logs
</code></pre>
]]></description><link>https://forum.magicmirror.builders/post/60374</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/60374</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Sat, 24 Aug 2019 18:24:43 GMT</pubDate></item></channel></rss>