<?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[Update the mirror for the first time in six months, won&#x27;t start now]]></title><description><![CDATA[<p dir="auto">I updated MagicMirror as well as all the modules using <code>git pull</code>. I then ran <code>npm update</code>. Now my mirror is blank. Here are some errors I am seeing. I’d appreciate any help.</p>
<pre><code>pi@raspberrypi:~/MagicMirror $ cat /home/pi/.npm/_logs/2020-04-08T15_04_37_921Z-debug.log
0 info it worked if it ends with ok
1 verbose cli [ '/usr/bin/node', '/usr/bin/npm', 'start' ]
2 info using npm@6.4.1
3 info using node@v10.14.1
4 verbose run-script [ 'prestart', 'start', 'poststart' ]
5 info lifecycle magicmirror@2.11.0~prestart: magicmirror@2.11.0
6 info lifecycle magicmirror@2.11.0~start: magicmirror@2.11.0
7 verbose lifecycle magicmirror@2.11.0~start: unsafe-perm in lifecycle true
8 verbose lifecycle magicmirror@2.11.0~start: PATH: /usr/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/home/pi/MagicMirror/node_modules/.bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/games:/usr/games
9 verbose lifecycle magicmirror@2.11.0~start: CWD: /home/pi/MagicMirror
10 silly lifecycle magicmirror@2.11.0~start: Args: [ '-c',
10 silly lifecycle   'DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js' ]
11 info lifecycle magicmirror@2.11.0~start: Failed to exec start script
12 verbose stack Error: magicmirror@2.11.0 start: `DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js`
12 verbose stack spawn ENOENT
12 verbose stack     at ChildProcess.&lt;anonymous&gt; (/usr/lib/node_modules/npm/node_modules/npm-lifecycle/lib/spawn.js:48:18)
12 verbose stack     at ChildProcess.emit (events.js:182:13)
12 verbose stack     at maybeClose (internal/child_process.js:962:16)
12 verbose stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:251:5)
13 verbose pkgid magicmirror@2.11.0
14 verbose cwd /home/pi/MagicMirror
15 verbose Linux 4.14.79-v7+
16 verbose argv "/usr/bin/node" "/usr/bin/npm" "start"
17 verbose node v10.14.1
18 verbose npm  v6.4.1
19 error file sh
20 error code ELIFECYCLE
21 error errno ENOENT
22 error syscall spawn
23 error magicmirror@2.11.0 start: `DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js`
23 error spawn ENOENT
24 error Failed at the magicmirror@2.11.0 start script.
24 error This is probably not a problem with npm. There is likely additional logging output above.
25 verbose exit [ 1, true ]
</code></pre>
]]></description><link>https://forum.magicmirror.builders/topic/12522/update-the-mirror-for-the-first-time-in-six-months-won-t-start-now</link><generator>RSS for Node</generator><lastBuildDate>Thu, 11 Jun 2026 01:33:45 GMT</lastBuildDate><atom:link href="https://forum.magicmirror.builders/topic/12522.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 08 Apr 2020 15:07:50 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Update the mirror for the first time in six months, won&#x27;t start now on Fri, 10 Apr 2020 02:55:00 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/redink" aria-label="Profile: redink">@<bdi>redink</bdi></a> it does not erase the prior logs</p>
<p dir="auto">To do that pm2 flush<br />
Then start again</p>
]]></description><link>https://forum.magicmirror.builders/post/72358</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/72358</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Fri, 10 Apr 2020 02:55:00 GMT</pubDate></item><item><title><![CDATA[Reply to Update the mirror for the first time in six months, won&#x27;t start now on Fri, 10 Apr 2020 02:52:52 GMT]]></title><description><![CDATA[<p dir="auto">Never mind, it’s too late, and my brain isn’t working.<br />
I had the module commented out :(<br />
Still, I am seeing those errors in my logs.</p>
]]></description><link>https://forum.magicmirror.builders/post/72357</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/72357</guid><dc:creator><![CDATA[redink]]></dc:creator><pubDate>Fri, 10 Apr 2020 02:52:52 GMT</pubDate></item><item><title><![CDATA[Reply to Update the mirror for the first time in six months, won&#x27;t start now on Fri, 10 Apr 2020 02:51:29 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/redink" aria-label="Profile: redink">@<bdi>redink</bdi></a> that log says MagicMirror can’t start</p>
]]></description><link>https://forum.magicmirror.builders/post/72356</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/72356</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Fri, 10 Apr 2020 02:51:29 GMT</pubDate></item><item><title><![CDATA[Reply to Update the mirror for the first time in six months, won&#x27;t start now on Fri, 10 Apr 2020 02:39:08 GMT]]></title><description><![CDATA[<p dir="auto">Well, I managed to get it up and running, and the script you provided seems to be a lot less finicky that my last install process. However, one of my modules MMM-CalendarExt is currently not showing. Trying to troubleshoot this, but here’s the log in case anyone wants to help out.</p>
<pre><code>pi@raspberrypi:~/MagicMirror/modules $ cat /home/pi/.npm/_logs/2020-04-10T02_27_39_057Z-debug.log
0 info it worked if it ends with ok
1 verbose cli [ '/usr/bin/node', '/usr/local/bin/npm', 'start' ]
2 info using npm@6.14.4
3 info using node@v10.15.2
4 verbose run-script [ 'prestart', 'start', 'poststart' ]
5 info lifecycle magicmirror@2.11.0~prestart: magicmirror@2.11.0
6 info lifecycle magicmirror@2.11.0~start: magicmirror@2.11.0
7 verbose lifecycle magicmirror@2.11.0~start: unsafe-perm in lifecycle true
8 verbose lifecycle magicmirror@2.11.0~start: PATH: /usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/home/pi/MagicMirror/node_modules/.bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/games:/usr/games
9 verbose lifecycle magicmirror@2.11.0~start: CWD: /home/pi/MagicMirror
10 silly lifecycle magicmirror@2.11.0~start: Args: [ '-c',
10 silly lifecycle   'DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js' ]
11 silly lifecycle magicmirror@2.11.0~start: Returned: code: 1  signal: null
12 info lifecycle magicmirror@2.11.0~start: Failed to exec start script
13 verbose stack Error: magicmirror@2.11.0 start: `DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js`
13 verbose stack Exit status 1
13 verbose stack     at EventEmitter.&lt;anonymous&gt; (/usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/index.js:332:16)
13 verbose stack     at EventEmitter.emit (events.js:189:13)
13 verbose stack     at ChildProcess.&lt;anonymous&gt; (/usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/lib/spawn.js:55:14)
13 verbose stack     at ChildProcess.emit (events.js:189:13)
13 verbose stack     at maybeClose (internal/child_process.js:970:16)
13 verbose stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:259:5)
14 verbose pkgid magicmirror@2.11.0
15 verbose cwd /home/pi/MagicMirror
16 verbose Linux 4.19.97-v7+
17 verbose argv "/usr/bin/node" "/usr/local/bin/npm" "start"
18 verbose node v10.15.2
19 verbose npm  v6.14.4
20 error code ELIFECYCLE
21 error errno 1
22 error magicmirror@2.11.0 start: `DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js`
22 error Exit status 1
23 error Failed at the magicmirror@2.11.0 start script.
23 error This is probably not a problem with npm. There is likely additional logging output above.
24 verbose exit [ 1, true ]
pi@raspberrypi:~/MagicMirror/modules $
</code></pre>
]]></description><link>https://forum.magicmirror.builders/post/72355</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/72355</guid><dc:creator><![CDATA[redink]]></dc:creator><pubDate>Fri, 10 Apr 2020 02:39:08 GMT</pubDate></item><item><title><![CDATA[Reply to Update the mirror for the first time in six months, won&#x27;t start now on Thu, 09 Apr 2020 15:32:34 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/redink" aria-label="Profile: redink">@<bdi>redink</bdi></a> sorry, it is a delicate thing…</p>
<p dir="auto">let us know how it goes</p>
]]></description><link>https://forum.magicmirror.builders/post/72264</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/72264</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Thu, 09 Apr 2020 15:32:34 GMT</pubDate></item><item><title><![CDATA[Reply to Update the mirror for the first time in six months, won&#x27;t start now on Thu, 09 Apr 2020 15:20:55 GMT]]></title><description><![CDATA[<p dir="auto">Messed with it too much and broke something. Time for another fresh install.<br />
Sigh…<br />
Every time I update the mirror, something breaks.</p>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/sdetweil" aria-label="Profile: sdetweil">@<bdi>sdetweil</bdi></a>, I’ll be trying your install script and update script from now on. Hopefully it will be a smoother experience that usual.</p>
<p dir="auto">This is why I’ve never built a MagicMirror as a gift. I can barely maintain my own mirror.</p>
]]></description><link>https://forum.magicmirror.builders/post/72262</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/72262</guid><dc:creator><![CDATA[redink]]></dc:creator><pubDate>Thu, 09 Apr 2020 15:20:55 GMT</pubDate></item><item><title><![CDATA[Reply to Update the mirror for the first time in six months, won&#x27;t start now on Thu, 09 Apr 2020 12:22:25 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/redink" aria-label="Profile: redink">@<bdi>redink</bdi></a>   can I ask what device u are loading on? Pi 3?</p>
<p dir="auto">in addition to what <a class="plugin-mentions-user plugin-mentions-a" href="/user/stoffbeuteluwe" aria-label="Profile: Stoffbeuteluwe">@<bdi>Stoffbeuteluwe</bdi></a>  posted, I suggest you use my updater script from<br />
<a href="https://github.com/sdetweil/MagicMirror_scripts" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/sdetweil/MagicMirror_scripts</a></p>
<p dir="auto"><a href="http://upgrade-script.sh" target="_blank" rel="noopener noreferrer nofollow ugc">upgrade-script.sh</a> will do the git pull and npm install, and refresh npm setup for any modules that might need it<br />
it should handle all the work… and give you a trial run of all that…</p>
<p dir="auto">only applying changes if u request them</p>
<p dir="auto">give it a try this works on Mac as well</p>
<pre><code>bash -c "$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/upgrade-script.sh)"
</code></pre>
<p dir="auto">no changes are made to the local repo or the working copy</p>
<p dir="auto">if you WANT to actually <strong>apply</strong> the changes do</p>
<pre><code>bash -c "$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/upgrade-script.sh)" apply
</code></pre>
<p dir="auto">if you have already done the git pull, you will need to use <strong>force</strong> to get the script update the same version</p>
<pre><code>bash -c "$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/upgrade-script.sh)" force
</code></pre>
<p dir="auto">there is a log file (upgrade.log) in the MagicMirror/installers folder…</p>
]]></description><link>https://forum.magicmirror.builders/post/72239</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/72239</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Thu, 09 Apr 2020 12:22:25 GMT</pubDate></item><item><title><![CDATA[Reply to Update the mirror for the first time in six months, won&#x27;t start now on Thu, 09 Apr 2020 07:02:24 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/redink" aria-label="Profile: redink">@<bdi>redink</bdi></a> git pull &amp; npm install</p>
]]></description><link>https://forum.magicmirror.builders/post/72230</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/72230</guid><dc:creator><![CDATA[Stoffbeuteluwe]]></dc:creator><pubDate>Thu, 09 Apr 2020 07:02:24 GMT</pubDate></item></channel></rss>