<?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[MagicMirror Failing on Raspberry Pi Zero W Rev 1.1]]></title><description><![CDATA[<p dir="auto">Something has gone wrong recently and I’m not sure what happened.<br />
I had my MM unplugged for a few weeks. When I attempted to use it again, the Pi wouldn’t run MM.<br />
I investigated and the error log shows that electron is missing. Understand that the device was working perfectly fine, then I simply unplugged the device, it sat in my backpack for a while, and then I plugged it back in.<br />
I tried reinstalling node and a hundred other things, then just gave up and started from scratch using the same method <a class="plugin-mentions-user plugin-mentions-a" href="/user/sdetweil" aria-label="Profile: sdetweil">@<bdi>sdetweil</bdi></a> and I cobbled together a few months ago.<br />
But now that doesn’t work.</p>
<p dir="auto">Help.</p>
<pre><code>Error: Cannot find module 'electron'
Require stack:
- /home/dvg/MagicMirror/js/electron.js
    at Module._resolveFilename (node:internal/modules/cjs/loader:1048:15)
    at Hook._require.Module.require (/usr/local/lib/node_modules/pm2/node_modules/require-in-the-middle/index.js:81:25)
    at require (node:internal/modules/helpers:130:18)
    at Object.&lt;anonymous&gt; (/home/dvg/MagicMirror/js/electron.js:3:18)
    at Module._compile (node:internal/modules/cjs/loader:1241:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1295:10)
    at Module.load (node:internal/modules/cjs/loader:1091:32)
    at Module._load (node:internal/modules/cjs/loader:938:12)
    at Object.&lt;anonymous&gt; (/usr/local/lib/node_modules/pm2/lib/ProcessContainerFork.js:33:23)
    at Module._compile (node:internal/modules/cjs/loader:1241:14) {
  code: 'MODULE_NOT_FOUND',
  requireStack: [ '/home/dvg/MagicMirror/js/electron.js' ]
}
</code></pre>
]]></description><link>https://forum.magicmirror.builders/topic/18903/magicmirror-failing-on-raspberry-pi-zero-w-rev-1-1</link><generator>RSS for Node</generator><lastBuildDate>Mon, 07 Sep 2026 00:33:20 GMT</lastBuildDate><atom:link href="https://forum.magicmirror.builders/topic/18903.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 01 Aug 2024 16:31:25 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to MagicMirror Failing on Raspberry Pi Zero W Rev 1.1 on Tue, 03 Sep 2024 02:48:26 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/davidgagne" aria-label="Profile: davidgagne">@<bdi>davidgagne</bdi></a> pi 0 doesnt support boot from ssd/usb</p>
<p dir="auto">you can make a hybrid, boot from read only sd , run from ssd</p>
<p dir="auto">see<br />
<a href="https://forums.raspberrypi.com/viewtopic.php?t=251733" target="_blank" rel="noopener noreferrer nofollow ugc">https://forums.raspberrypi.com/viewtopic.php?t=251733</a></p>
]]></description><link>https://forum.magicmirror.builders/post/119442</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/119442</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Tue, 03 Sep 2024 02:48:26 GMT</pubDate></item><item><title><![CDATA[Reply to MagicMirror Failing on Raspberry Pi Zero W Rev 1.1 on Tue, 03 Sep 2024 02:42:07 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/butchkemper" aria-label="Profile: butchkemper">@<bdi>butchkemper</bdi></a> said in <a href="/post/119434">MagicMirror Failing on Raspberry Pi Zero W Rev 1.1</a>:</p>
<blockquote>
<p dir="auto">You might consider moving from the SDcard to an SSD which will provide quicker data access and improved security against SDcard failure.</p>
</blockquote>
<p dir="auto">If I connect an SSD via the data port and remove the SIM, will the 0 boot from the SSD? Or is there a way to configure the SIM to have it switch to the SSD or something?</p>
]]></description><link>https://forum.magicmirror.builders/post/119441</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/119441</guid><dc:creator><![CDATA[davidgagne]]></dc:creator><pubDate>Tue, 03 Sep 2024 02:42:07 GMT</pubDate></item><item><title><![CDATA[Reply to MagicMirror Failing on Raspberry Pi Zero W Rev 1.1 on Tue, 03 Sep 2024 02:49:51 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/davidgagne" aria-label="Profile: davidgagne">@<bdi>davidgagne</bdi></a>  <a class="plugin-mentions-user plugin-mentions-a" href="/user/butchkemper" aria-label="Profile: butchkemper">@<bdi>butchkemper</bdi></a><br />
fixed</p>
<p dir="auto">but do</p>
<p dir="auto">free -m</p>
<p dir="auto">from  command lineto see how big swap is</p>
]]></description><link>https://forum.magicmirror.builders/post/119440</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/119440</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Tue, 03 Sep 2024 02:49:51 GMT</pubDate></item><item><title><![CDATA[Reply to MagicMirror Failing on Raspberry Pi Zero W Rev 1.1 on Tue, 03 Sep 2024 02:05:45 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/davidgagne" aria-label="Profile: davidgagne">@<bdi>davidgagne</bdi></a> looks like you win the prize</p>
<p dir="auto"><img src="/assets/uploads/files/1725329099494-img_0174-resized.png" alt="IMG_0174.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">but funny cause it worked!</p>
]]></description><link>https://forum.magicmirror.builders/post/119439</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/119439</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Tue, 03 Sep 2024 02:05:45 GMT</pubDate></item><item><title><![CDATA[Reply to MagicMirror Failing on Raspberry Pi Zero W Rev 1.1 on Tue, 03 Sep 2024 00:37:23 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> <a class="plugin-mentions-user plugin-mentions-a" href="/user/butchkemper" aria-label="Profile: butchkemper">@<bdi>butchkemper</bdi></a> I just checked that file and it has no CONF_SWAPSIZE variable.</p>
<p dir="auto">There is a SWAPSIZE variable set to 1024.</p>
<p dir="auto">Is there a chance that <a class="plugin-mentions-user plugin-mentions-a" href="/user/sdetweil" aria-label="Profile: sdetweil">@<bdi>sdetweil</bdi></a>’s script misnamed that variable?</p>
]]></description><link>https://forum.magicmirror.builders/post/119438</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/119438</guid><dc:creator><![CDATA[davidgagne]]></dc:creator><pubDate>Tue, 03 Sep 2024 00:37:23 GMT</pubDate></item><item><title><![CDATA[Reply to MagicMirror Failing on Raspberry Pi Zero W Rev 1.1 on Mon, 02 Sep 2024 22:51:29 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/butchkemper" aria-label="Profile: butchkemper">@<bdi>butchkemper</bdi></a> my install script increases the swap file size if its small (200meg or less).</p>
]]></description><link>https://forum.magicmirror.builders/post/119435</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/119435</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Mon, 02 Sep 2024 22:51:29 GMT</pubDate></item><item><title><![CDATA[Reply to MagicMirror Failing on Raspberry Pi Zero W Rev 1.1 on Mon, 02 Sep 2024 20:42:18 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/davidgagne" aria-label="Profile: davidgagne">@<bdi>davidgagne</bdi></a> The Pi Zero has 512KB memory, the default swapfile size setting is 100KB, and the swapfile is located on the SDcard which is not very fast.</p>
<p dir="auto">I would suggest changing the swapfile size to 2048KB by editing /etc/dphys-swapfile and changing CONF_SWAPSIZE=100 to CONF_SWAPSIZE=2048.</p>
<p dir="auto">You might consider moving from the SDcard to an SSD which will provide quicker data access and improved security against SDcard failure.</p>
<p dir="auto">Lastly, you might consider changing from a Pi Zero to a Pi Zero 2 or something with more processing power.  I use a Pi 3 Model A+ with a USB attached SSD and 2048GB swapfile size.</p>
<p dir="auto">Butch</p>
]]></description><link>https://forum.magicmirror.builders/post/119434</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/119434</guid><dc:creator><![CDATA[butchkemper]]></dc:creator><pubDate>Mon, 02 Sep 2024 20:42:18 GMT</pubDate></item><item><title><![CDATA[Reply to MagicMirror Failing on Raspberry Pi Zero W Rev 1.1 on Mon, 05 Aug 2024 23:54:24 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/davidgagne" aria-label="Profile: davidgagne">@<bdi>davidgagne</bdi></a> I really have no idea where you are.</p>
<p dir="auto">Flash the legacy image<br />
Boot , don’t update<br />
Run my install script</p>
]]></description><link>https://forum.magicmirror.builders/post/119153</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/119153</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Mon, 05 Aug 2024 23:54:24 GMT</pubDate></item><item><title><![CDATA[Reply to MagicMirror Failing on Raspberry Pi Zero W Rev 1.1 on Mon, 05 Aug 2024 23:47:39 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> Hm. I do have a file <code>/.pm2/pm2.log</code> that’s filled with thousands of these:</p>
<pre><code>2024-08-04T00:35:12: PM2 log: App [MagicMirror:1] exited with code [1] via signal [SIGINT]
2024-08-04T00:35:13: PM2 log: App [MagicMirror:1] starting in -fork mode-
2024-08-04T00:35:13: PM2 log: App [MagicMirror:1] online
2024-08-04T00:35:19: PM2 log: App [MagicMirror:1] exited with code [1] via signal [SIGINT]
2024-08-04T00:35:19: PM2 log: App [MagicMirror:1] starting in -fork mode-
2024-08-04T00:35:19: PM2 log: App [MagicMirror:1] online
2024-08-04T00:35:25: PM2 log: App [MagicMirror:1] exited with code [1] via signal [SIGINT]
2024-08-04T00:35:25: PM2 log: App [MagicMirror:1] starting in -fork mode-
2024-08-04T00:35:25: PM2 log: App [MagicMirror:1] online
</code></pre>
<p dir="auto">The last entry in that file is from 2024-08-04T21:22:04, which is around/about the last time I rebooted the Pi.</p>
<p dir="auto">The tail of that log file looks like this:</p>
<pre><code>2024-08-04T21:16:54: PM2 log: pid=3352 msg=failed to kill - retrying in 100ms
2024-08-04T21:16:54: PM2 log: Process with pid 3352 still alive after 1600ms, sending it SIGKILL now...
2024-08-04T21:16:55: PM2 log: App [pm2:0] exited with code [0] via signal [SIGKILL]
2024-08-04T21:16:55: PM2 log: pid=3352 msg=process killed
2024-08-04T21:16:56: PM2 log: PM2 successfully stopped
2024-08-04T21:22:02: PM2 log: ===============================================================================
2024-08-04T21:22:02: PM2 log: --- New PM2 Daemon started ----------------------------------------------------
2024-08-04T21:22:02: PM2 log: Time                 : Sun Aug 04 2024 21:22:02 GMT-0400 (Eastern Daylight Time)
2024-08-04T21:22:02: PM2 log: PM2 version          : 5.4.2
2024-08-04T21:22:02: PM2 log: Node.js version      : 20.9.0
2024-08-04T21:22:02: PM2 log: Current arch         : arm
2024-08-04T21:22:02: PM2 log: PM2 home             : /home/dvg/.pm2
2024-08-04T21:22:02: PM2 log: PM2 PID file         : /home/dvg/.pm2/pm2.pid
2024-08-04T21:22:02: PM2 log: RPC socket file      : /home/dvg/.pm2/rpc.sock
2024-08-04T21:22:02: PM2 log: BUS socket file      : /home/dvg/.pm2/pub.sock
2024-08-04T21:22:02: PM2 log: Application log path : /home/dvg/.pm2/logs
2024-08-04T21:22:02: PM2 log: Worker Interval      : 30000
2024-08-04T21:22:02: PM2 log: Process dump file    : /home/dvg/.pm2/dump.pm2
2024-08-04T21:22:02: PM2 log: Concurrent actions   : 2
2024-08-04T21:22:02: PM2 log: SIGTERM timeout      : 1600
2024-08-04T21:22:02: PM2 log: ===============================================================================
2024-08-04T21:22:04: PM2 log: [Watch] Start watching pm2
2024-08-04T21:22:04: PM2 log: App [pm2:0] starting in -fork mode-
2024-08-04T21:22:04: PM2 log: App [pm2:0] online
</code></pre>
<p dir="auto">And in the <code>/.pm2/logs/</code> directory I have <code>MagicMirror-error.log</code>, <code>MagicMirror-out.log</code>, <code>pm2-error.log</code>, and <code>pm2-out.log</code>.</p>
<p dir="auto">That last one appears to contain what I would have expected to see in the MM-out.log.</p>
<p dir="auto">I am not opposed to flashing the drive and starting from scratch if you think I should.</p>
]]></description><link>https://forum.magicmirror.builders/post/119152</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/119152</guid><dc:creator><![CDATA[davidgagne]]></dc:creator><pubDate>Mon, 05 Aug 2024 23:47:39 GMT</pubDate></item><item><title><![CDATA[Reply to MagicMirror Failing on Raspberry Pi Zero W Rev 1.1 on Mon, 05 Aug 2024 22:33:36 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/davidgagne" aria-label="Profile: davidgagne">@<bdi>davidgagne</bdi></a> the log is empty cause the pm2 app name is used for file names</p>
]]></description><link>https://forum.magicmirror.builders/post/119151</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/119151</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Mon, 05 Aug 2024 22:33:36 GMT</pubDate></item><item><title><![CDATA[Reply to MagicMirror Failing on Raspberry Pi Zero W Rev 1.1 on Mon, 05 Aug 2024 19:23:16 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> I mean … I have no idea how I created that. I simply followed <a href="https://www.davidgagne.net/2024/05/30/how-to-get-magicmirror-to-run-on-a-raspberry-pi-zero-w-rev-1-1/" target="_blank" rel="noopener noreferrer nofollow ugc">the same steps as last time</a> and then executed a few of the commands you told me, <em>e.g.</em> <code>pm2 delete 0</code>, <code>pm2 delete 1</code>, and <code>pm2 save -f</code>. Then I called your fix’em up script:</p>
<pre><code>bash -c "$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/fixuppm2.sh)"
the log will be saved in /home/dvg/MagicMirror/installers/pm2_setup.log
</code></pre>
<p dir="auto">and after that I called <code>pm2 save</code> followed by <code>pm2 start MagicMirror</code> and then <code>installers/mm.sh &amp;</code> when I was asking you about my cluttered Terminal screen.</p>
<p dir="auto">Then I called <code>pm2 restart MagicMirror</code> which told me:</p>
<pre><code>Use --update-env to update environment variables
[PM2][ERROR] Process or Namespace MagicMirror not found
</code></pre>
<p dir="auto">So then I called <code>npm start &amp;</code> which gave me</p>
<pre><code>[1] 12338

&gt; magicmirror@2.28.0 start
&gt; ./run-start.sh $1

./run-start.sh: line 79: 11841 Killed                  node serveronly
</code></pre>
<p dir="auto">So I did a <code>sudo reboot</code> and everything seemed to be working fine. But my out log was empty so I called <code>npm run server</code> at your direction, and here we are.</p>
]]></description><link>https://forum.magicmirror.builders/post/119148</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/119148</guid><dc:creator><![CDATA[davidgagne]]></dc:creator><pubDate>Mon, 05 Aug 2024 19:23:16 GMT</pubDate></item><item><title><![CDATA[Reply to MagicMirror Failing on Raspberry Pi Zero W Rev 1.1 on Mon, 05 Aug 2024 19:13:45 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/davidgagne" aria-label="Profile: davidgagne">@<bdi>davidgagne</bdi></a> that’s why the MagicMirror out log is empty, as the app name is pm2</p>
<p dir="auto">How did you create that?</p>
<p dir="auto">And the number under the curly circle next to status is the number of times it has restarted</p>
]]></description><link>https://forum.magicmirror.builders/post/119146</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/119146</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Mon, 05 Aug 2024 19:13:45 GMT</pubDate></item><item><title><![CDATA[Reply to MagicMirror Failing on Raspberry Pi Zero W Rev 1.1 on Mon, 05 Aug 2024 18:59:58 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> Executing <code>pm2 status</code> yields:</p>
<pre><code>┌────┬────────┬─────────────┬─────────┬─────────┬──────────┬────────┬──────┬───────────┬──────────┬──────────┬──────────┬──────────┐
│ id │ name   │ namespace   │ version │ mode    │ pid      │ uptime │ ↺    │ status    │ cpu      │ mem      │ user     │ watching │
├────┼────────┼─────────────┼─────────┼─────────┼──────────┼────────┼──────┼───────────┼──────────┼──────────┼──────────┼──────────┤
│ 0  │ pm2    │ default     │ 2.28.0  │ fork    │ 1238     │ 17h    │ 0    │ online    │ 0%       │ 240.0kb  │ dvg      │ enabled  │
└────┴────────┴─────────────┴─────────┴─────────┴──────────┴────────┴──────┴───────────┴──────────┴──────────┴──────────┴──────────┘
</code></pre>
]]></description><link>https://forum.magicmirror.builders/post/119144</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/119144</guid><dc:creator><![CDATA[davidgagne]]></dc:creator><pubDate>Mon, 05 Aug 2024 18:59:58 GMT</pubDate></item><item><title><![CDATA[Reply to MagicMirror Failing on Raspberry Pi Zero W Rev 1.1 on Mon, 05 Aug 2024 18:55:22 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/davidgagne" aria-label="Profile: davidgagne">@<bdi>davidgagne</bdi></a> do<br />
pm2 status</p>
]]></description><link>https://forum.magicmirror.builders/post/119143</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/119143</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Mon, 05 Aug 2024 18:55:22 GMT</pubDate></item><item><title><![CDATA[Reply to MagicMirror Failing on Raspberry Pi Zero W Rev 1.1 on Mon, 05 Aug 2024 18:13:57 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> So then why is my <code>MagicMirror-out.log</code> always empty?</p>
]]></description><link>https://forum.magicmirror.builders/post/119140</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/119140</guid><dc:creator><![CDATA[davidgagne]]></dc:creator><pubDate>Mon, 05 Aug 2024 18:13:57 GMT</pubDate></item><item><title><![CDATA[Reply to MagicMirror Failing on Raspberry Pi Zero W Rev 1.1 on Mon, 05 Aug 2024 18:09:23 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/davidgagne" aria-label="Profile: davidgagne">@<bdi>davidgagne</bdi></a> ok, another instance is already running</p>
]]></description><link>https://forum.magicmirror.builders/post/119138</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/119138</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Mon, 05 Aug 2024 18:09:23 GMT</pubDate></item><item><title><![CDATA[Reply to MagicMirror Failing on Raspberry Pi Zero W Rev 1.1 on Mon, 05 Aug 2024 18:08:37 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/davidgagne" aria-label="Profile: davidgagne">@<bdi>davidgagne</bdi></a> mm is my shorthand for MagicMirror</p>
]]></description><link>https://forum.magicmirror.builders/post/119137</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/119137</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Mon, 05 Aug 2024 18:08:37 GMT</pubDate></item><item><title><![CDATA[Reply to MagicMirror Failing on Raspberry Pi Zero W Rev 1.1 on Mon, 05 Aug 2024 16:52:05 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> Calling <code>npm run server</code> immediately after connecting via ssh yields:</p>
<pre><code>npm error code ENOENT
npm error syscall open
npm error path /home/dvg/package.json
npm error errno -2
npm error enoent Could not read package.json: Error: ENOENT: no such file or directory, open '/home/dvg/package.json'
npm error enoent This is related to npm not being able to find a file.
npm error enoent
npm error A complete log of this run can be found in: /home/dvg/.npm/_logs/2024-08-05T16_42_00_562Z-debug-0.log
</code></pre>
<p dir="auto">If I switch to the MagicMirror directory and call it, I get this:</p>
<pre><code>&gt; magicmirror@2.28.0 server
&gt; node ./serveronly

[2024-08-05 12:43:48.489] [LOG]   Starting MagicMirror: v2.28.0 
[2024-08-05 12:43:48.956] [LOG]   Loading config ... 
[2024-08-05 12:43:49.021] [LOG]   config template file not exists, no envsubst 
[2024-08-05 12:43:56.659] [LOG]   Loading module helpers ... 
[2024-08-05 12:43:56.760] [LOG]   No helper found for module: alert. 
[2024-08-05 12:43:57.912] [LOG]   Initializing new module helper ... 
[2024-08-05 12:43:58.105] [LOG]   Module helper loaded: updatenotification 
[2024-08-05 12:43:58.210] [LOG]   No helper found for module: clock. 
[2024-08-05 12:43:58.475] [LOG]   Initializing new module helper ... 
[2024-08-05 12:43:58.608] [LOG]   Module helper loaded: mmm-systemtemperature 
[2024-08-05 12:43:58.784] [LOG]   No helper found for module: weather. 
[2024-08-05 12:43:58.837] [LOG]   No helper found for module: weather. 
[2024-08-05 12:44:06.841] [LOG]   Initializing new module helper ... 
[2024-08-05 12:44:06.956] [LOG]   Module helper loaded: MMM-ThemeParkWaitTimes 
[2024-08-05 12:44:08.953] [LOG]   Initializing new module helper ... 
[2024-08-05 12:44:09.018] [LOG]   Module helper loaded: MMM-birthdays 
[2024-08-05 12:44:09.067] [LOG]   No helper found for module: MMM-CloneWarsQuotes. 
[2024-08-05 12:44:09.136] [LOG]   Initializing new module helper ... 
[2024-08-05 12:44:09.228] [LOG]   Module helper loaded: MMM-ThemeParkWaitTimes 
[2024-08-05 12:44:09.603] [LOG]   Initializing new module helper ... 
[2024-08-05 12:44:09.673] [LOG]   Module helper loaded: MMM-ImagesPhotos 
[2024-08-05 12:44:09.721] [LOG]   All module helpers loaded. 
[2024-08-05 12:44:11.000] [LOG]   Starting server on port 8080 ...  
[2024-08-05 12:44:11.743] [WARN]  You're using a full whitelist configuration to allow for all IPs 
[2024-08-05 12:44:13.607] [ERROR] Whoops! There was an uncaught exception... 
[2024-08-05 12:44:14.335] [ERROR] Error: listen EADDRINUSE: address already in use 0.0.0.0:8080
    at Server.setupListenHandle [as _listen2] (node:net:1872:16)
    at listenInCluster (node:net:1920:12)
    at doListen (node:net:2069:7)
    at process.processTicksAndRejections (node:internal/process/task_queues:83:21) {
  code: 'EADDRINUSE',
  errno: -98,
  syscall: 'listen',
  address: '0.0.0.0',
  port: 8080
} 
[2024-08-05 12:44:14.400] [ERROR] MagicMirror² will not quit, but it might be a good idea to check why this happened. Maybe no internet connection? 
[2024-08-05 12:44:14.422] [ERROR] If you think this really is an issue, please open an issue on GitHub: https://github.com/MagicMirrorOrg/MagicMirror/issues 
[2024-08-05 12:47:35.279] [INFO]  System information:
### SYSTEM:   manufacturer: Raspberry Pi Foundation; model: Raspberry Pi Zero W Rev 1.1; raspberry: [object Object]; virtual: false
### OS:       platform: linux; distro: Raspbian GNU/Linux; release: 11; arch: arm; kernel: 6.1.21+
### VERSIONS: electron: undefined; used node: 20.9.0; installed node: 20.9.0; npm: 10.8.2; pm2: 5.4.2
### OTHER:    timeZone: America/New_York; ELECTRON_ENABLE_GPU: undefined 
</code></pre>
]]></description><link>https://forum.magicmirror.builders/post/119136</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/119136</guid><dc:creator><![CDATA[davidgagne]]></dc:creator><pubDate>Mon, 05 Aug 2024 16:52:05 GMT</pubDate></item><item><title><![CDATA[Reply to MagicMirror Failing on Raspberry Pi Zero W Rev 1.1 on Mon, 05 Aug 2024 16:41:29 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> I’m sorry, but I don’t understand. What exactly is <code>mm</code>? (MagicMirror <em>is</em> running.)</p>
<p dir="auto">What does <code>npm run server</code> do? (I <em>can</em> visit the IP address of the Pi on my phone or laptop on my home network.)</p>
]]></description><link>https://forum.magicmirror.builders/post/119134</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/119134</guid><dc:creator><![CDATA[davidgagne]]></dc:creator><pubDate>Mon, 05 Aug 2024 16:41:29 GMT</pubDate></item><item><title><![CDATA[Reply to MagicMirror Failing on Raspberry Pi Zero W Rev 1.1 on Mon, 05 Aug 2024 01:29:45 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/davidgagne" aria-label="Profile: davidgagne">@<bdi>davidgagne</bdi></a> out is empty cause mm never started</p>
<p dir="auto">Does<br />
npm run server<br />
Work</p>
]]></description><link>https://forum.magicmirror.builders/post/119130</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/119130</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Mon, 05 Aug 2024 01:29:45 GMT</pubDate></item><item><title><![CDATA[Reply to MagicMirror Failing on Raspberry Pi Zero W Rev 1.1 on Mon, 05 Aug 2024 01:13:36 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. Next issue is that <code>MagicMirror-out.log</code> is always empty. I recall that I could find lots of information in there the last time I was setting up a MM, but this time it’s always just blank. (The <code>MagicMirror-error.log</code> file is, sadly, useless because it’s just filled with tens of thousands of lines of <code>Error: Cannot find module 'electron'</code>.)</p>
<p dir="auto">Any idea why <code>MagicMirror-out.log</code> is always empty?</p>
]]></description><link>https://forum.magicmirror.builders/post/119129</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/119129</guid><dc:creator><![CDATA[davidgagne]]></dc:creator><pubDate>Mon, 05 Aug 2024 01:13:36 GMT</pubDate></item><item><title><![CDATA[Reply to MagicMirror Failing on Raspberry Pi Zero W Rev 1.1 on Mon, 05 Aug 2024 02:59:06 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/davidgagne" aria-label="Profile: davidgagne">@<bdi>davidgagne</bdi></a> the default install is to use electron.</p>
<p dir="auto">We made it optional, so the install would not just  fail.<br />
and my script makes other browsers available as alternatives.</p>
<p dir="auto">if you do the manual install, there is nothing to fix the package.json still trying to use electron. and it errors out.</p>
<p dir="auto">now you can clear the pm2 logs</p>
<p dir="auto">pm2 flush</p>
<p dir="auto">and then see info from future runs</p>
]]></description><link>https://forum.magicmirror.builders/post/119084</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/119084</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Mon, 05 Aug 2024 02:59:06 GMT</pubDate></item><item><title><![CDATA[Reply to MagicMirror Failing on Raspberry Pi Zero W Rev 1.1 on Sat, 03 Aug 2024 16:15:18 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> If electron hasn’t been required for years, then why does a fresh install of <em>everything</em> generate tens of thousands of “can’t find electron” lines in <code>MagicMirror-error.log</code>?</p>
]]></description><link>https://forum.magicmirror.builders/post/119083</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/119083</guid><dc:creator><![CDATA[davidgagne]]></dc:creator><pubDate>Sat, 03 Aug 2024 16:15:18 GMT</pubDate></item><item><title><![CDATA[Reply to MagicMirror Failing on Raspberry Pi Zero W Rev 1.1 on Thu, 01 Aug 2024 18:58:59 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/davidgagne" aria-label="Profile: davidgagne">@<bdi>davidgagne</bdi></a> hm… no idea really<br />
you can test the script with</p>
<pre><code class="language-sh">cd ~/MagicMirror
installers/mm.sh
</code></pre>
<p dir="auto">and</p>
<pre><code class="language-sh">cd ~/MagicMirror
export external_browser=firefox
npm start 
</code></pre>
<p dir="auto">never seen it fail tho.</p>
]]></description><link>https://forum.magicmirror.builders/post/119055</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/119055</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Thu, 01 Aug 2024 18:58:59 GMT</pubDate></item></channel></rss>