<?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[PM2 status online, but mirror doesn't start]]></title><description><![CDATA[<p dir="auto">Fresh install on a Pi 3 B+ using <a href="https://github.com/sdetweil/MagicMirror_scripts" target="_blank" rel="noopener noreferrer nofollow ugc">Sam’s install script</a> (thank you - I particularly like the boot splash screen).</p>
<p dir="auto">pm2 status shows the MagicMirror application as online, however no mirror appears on the screen. Browsing from another machine to <a href="http://ip:8080" target="_blank" rel="noopener noreferrer nofollow ugc">http://ip:8080</a> gives connection_refused.</p>
<p dir="auto">pm2 (red coloured) logs below:</p>
<pre><code>0|MagicMirror  | [06.10.2023 09:53.38.255] [ERROR] (node:1992) UnhandledPromiseRejectionWarning: /home/pi/MagicMirror/modules/MMM-MyCommute/node_modules/jsbn/index.js:647
0|MagicMirror  |     function 
0|MagicMirror  |              
0|MagicMirror  | SyntaxError: Unexpected end of input
0|MagicMirror  |     at internalCompileFunction (node:internal/vm:73:18)
0|MagicMirror  |     at wrapSafe (node:internal/modules/cjs/loader:1185:20)
0|MagicMirror  |     at Module._compile (node:internal/modules/cjs/loader:1227:27)
0|MagicMirror  |     at Object..js (node:internal/modules/cjs/loader:1326:10)
0|MagicMirror  |     at Module.load (node:internal/modules/cjs/loader:1126:32)
0|MagicMirror  |     at node:internal/modules/cjs/loader:967:12
0|MagicMirror  |     at Function._load (node:electron/js2c/asar_bundle:2:13327)
0|MagicMirror  |     at Module.require (node:internal/modules/cjs/loader:1150:19)
0|MagicMirror  |     at require (node:internal/modules/cjs/helpers:110:18)
0|MagicMirror  |     at Object.&lt;anonymous&gt; (/home/pi/MagicMirror/modules/MMM-MyCommute/node_modules/ecc-jsbn/lib/ec.js:6:18)
0|MagicMirror  |     at Module._compile (node:internal/modules/cjs/loader:1271:14)
0|MagicMirror  |     at Object..js (node:internal/modules/cjs/loader:1326:10)
0|MagicMirror  |     at Module.load (node:internal/modules/cjs/loader:1126:32)
0|MagicMirror  |     at node:internal/modules/cjs/loader:967:12
0|MagicMirror  |     at Function._load (node:electron/js2c/asar_bundle:2:13327)
0|MagicMirror  |     at Module.require (node:internal/modules/cjs/loader:1150:19)
0|MagicMirror  | (Use `electron --trace-warnings ...` to show where the warning was created)
0|MagicMirror  | [06.10.2023 09:53.38.256] [ERROR] (node:1992) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
0|MagicMirror  | [1992:1006/095338.666307:ERROR:object_proxy.cc(590)] Failed to call method: org.freedesktop.portal.Settings.Read: object_path= /org/freedesktop/portal/desktop: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.portal.Desktop was not provided by any .service files
0|MagicMirror  | MESA-LOADER: failed to retrieve device information

</code></pre>
<p dir="auto">Anyone spot anything obvious I can look in to?</p>
<p dir="auto">The pi has been acting odd since the fresh install - SSH tunnel freezing and not even responding to pings. :worried_face:</p>
<p dir="auto">Thanks in advance,<br />
Matt</p>
]]></description><link>https://forum.magicmirror.builders/topic/18056/pm2-status-online-but-mirror-doesn-t-start</link><generator>RSS for Node</generator><lastBuildDate>Fri, 11 Sep 2026 13:18:37 GMT</lastBuildDate><atom:link href="https://forum.magicmirror.builders/topic/18056.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 06 Oct 2023 09:04:31 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to PM2 status online, but mirror doesn't start on Fri, 06 Oct 2023 13:28:52 GMT]]></title><description><![CDATA[<p dir="auto">Solution:</p>
<p dir="auto"><strong>pm2 stop all<br />
cd ~/MagicMirror<br />
npm start</strong></p>
<p dir="auto">Pay attention to logs. In my case one of the modules was throwing an error. I removed the module folder, re-cloned it (including required <strong>npm install</strong> within the module folder) and then restarted the application with <strong>pm2 start MagicMirror</strong>.</p>
]]></description><link>https://forum.magicmirror.builders/post/111412</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/111412</guid><dc:creator><![CDATA[matt216]]></dc:creator><pubDate>Fri, 06 Oct 2023 13:28:52 GMT</pubDate></item><item><title><![CDATA[Reply to PM2 status online, but mirror doesn't start on Fri, 06 Oct 2023 13:31:15 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/matt216" aria-label="Profile: matt216">@<bdi>matt216</bdi></a> Yes there are a bunch of modules impacted by us removing libraries from the base so you have to carefully look at the error messages to see what libraries were missing and which modules were impacted as well</p>
<p dir="auto">see this for  general process of fixing missing libs<br />
<a href="https://forum.magicmirror.builders/topic/15778/fix-for-black-screen-in-2-16-and-later">https://forum.magicmirror.builders/topic/15778/fix-for-black-screen-in-2-16-and-later</a></p>
]]></description><link>https://forum.magicmirror.builders/post/111414</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/111414</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Fri, 06 Oct 2023 13:31:15 GMT</pubDate></item><item><title><![CDATA[Reply to PM2 status online, but mirror doesn't start on Fri, 06 Oct 2023 13:28:52 GMT]]></title><description><![CDATA[<p dir="auto">Solution:</p>
<p dir="auto"><strong>pm2 stop all<br />
cd ~/MagicMirror<br />
npm start</strong></p>
<p dir="auto">Pay attention to logs. In my case one of the modules was throwing an error. I removed the module folder, re-cloned it (including required <strong>npm install</strong> within the module folder) and then restarted the application with <strong>pm2 start MagicMirror</strong>.</p>
]]></description><link>https://forum.magicmirror.builders/post/111412</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/111412</guid><dc:creator><![CDATA[matt216]]></dc:creator><pubDate>Fri, 06 Oct 2023 13:28:52 GMT</pubDate></item><item><title><![CDATA[Reply to PM2 status online, but mirror doesn't start on Fri, 06 Oct 2023 13:25:53 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> ok and we’re back in and working :)</p>
<p dir="auto">the npm start generated a few errors relating to a particular module…</p>
<pre><code>[06.10.2023 14:10.39.752] [ERROR] (node:2973) UnhandledPromiseRejectionWarning: /home/pi/MagicMirror/modules/MMM-MyCommute/node_modules/jsbn/index.js:647
    function 
</code></pre>
<p dir="auto">So I removed and re-added that. <strong>pm2 start MagicMirror</strong> got it going again.</p>
<p dir="auto">Thank you again!</p>
<p dir="auto">Matt</p>
]]></description><link>https://forum.magicmirror.builders/post/111411</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/111411</guid><dc:creator><![CDATA[matt216]]></dc:creator><pubDate>Fri, 06 Oct 2023 13:25:53 GMT</pubDate></item><item><title><![CDATA[Reply to PM2 status online, but mirror doesn't start on Fri, 06 Oct 2023 12:34:53 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/matt216" aria-label="Profile: matt216">@<bdi>matt216</bdi></a> do this</p>
<pre><code>pm2 stop all
cd ~/MagicMirror
npm start
</code></pre>
<p dir="auto">I suspect this</p>
<p dir="auto"><a href="https://forum.magicmirror.builders/topic/15778/fix-for-black-screen-in-2-16-and-later">https://forum.magicmirror.builders/topic/15778/fix-for-black-screen-in-2-16-and-later</a></p>
]]></description><link>https://forum.magicmirror.builders/post/111406</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/111406</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Fri, 06 Oct 2023 12:34:53 GMT</pubDate></item></channel></rss>