<?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[Getting a bunch of erros and hangups on a new installation]]></title><description><![CDATA[<p dir="auto">Hey all -</p>
<p dir="auto">I had a magicmirror running fine for months and months. I then tried to update to recent version. Everything seemed fine at first, but soon started to hangup a lot. I think switching it on and off consistently because of all the hangups caused the SD card to corrupt.</p>
<p dir="auto">So, I reinstalled everythign ona  fresh card. Unfortunately, I am again getting hangups. Here are some of the errors in my error logs from pm2 folder: What do these individually mean? Is there any other log I can check to help?</p>
<pre><code>npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! magicmirror@2.11.0 start: `DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the magicmirror@2.11.0 start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/pi/.npm/_logs/2020-04-23T14_56_01_628Z-debug.log
</code></pre>
<pre><code>[2020-04-24 14:19:30.936] [ERROR]  Calendar Error. Could not fetch calendar:  https://calendar.google.com/calendar/ical/XXXXXgroup.calendar.google.com/private-XXXXX/basic.ics Error: getaddrinfo EAI_AGAIN calendar.google.com
    at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:60:26) {
  errno: 'EAI_AGAIN',
  code: 'EAI_AGAIN',
  syscall: 'getaddrinfo',
  hostname: 'calendar.google.com'
}
</code></pre>
<pre><code>[2020-04-24 14:04:21.702] [ERROR]  TypeError: Cannot read property 'parent' of undefined
    at Function.exports.update (/home/pi/MagicMirror/modules/MMM-Comics/node_modules/cheerio/lib/parse.js:69:26)
    at module.exports (/home/pi/MagicMirror/modules/MMM-Comics/node_modules/cheerio/lib/parse.js:19:11)
    at Function.exports.load (/home/pi/MagicMirror/modules/MMM-Comics/node_modules/cheerio/lib/static.js:27:14)
    at Request._callback (/home/pi/MagicMirror/modules/MMM-Comics/node_helper.js:171:23)
    at self.callback (/home/pi/MagicMirror/node_modules/request/request.js:185:22)
    at Request.emit (events.js:200:13)
    at Request.onRequestError (/home/pi/MagicMirror/node_modules/request/request.js:881:8)
    at ClientRequest.emit (events.js:200:13)
    at TLSSocket.socketErrorListener (_http_client.js:402:9)
    at TLSSocket.emit (events.js:200:13)
</code></pre>
<p dir="auto">During my last restart, I also got a SD card is still busy error on the raspian splash screen - probably again because of constant restarting.</p>
]]></description><link>https://forum.magicmirror.builders/topic/12666/getting-a-bunch-of-erros-and-hangups-on-a-new-installation</link><generator>RSS for Node</generator><lastBuildDate>Sun, 07 Jun 2026 20:57:46 GMT</lastBuildDate><atom:link href="https://forum.magicmirror.builders/topic/12666.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 24 Apr 2020 19:43:48 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Getting a bunch of erros and hangups on a new installation on Mon, 04 May 2020 20:34:38 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/nakulbende" aria-label="Profile: nakulbende">@<bdi>nakulbende</bdi></a> sorry, no idea…</p>
<p dir="auto">I spent a year debugging one system, added watchdog, and when watchdog was installed it restarted the system when i t didn’t need to… but there was a few moments of contact lost between front and back end, always recoverable, but watchdog killed the system… every night 4-5 times…</p>
<p dir="auto">never did figure it out…</p>
]]></description><link>https://forum.magicmirror.builders/post/74674</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/74674</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Mon, 04 May 2020 20:34:38 GMT</pubDate></item><item><title><![CDATA[Reply to Getting a bunch of erros and hangups on a new installation on Mon, 04 May 2020 20:19:23 GMT]]></title><description><![CDATA[<p dir="auto">Hey <a class="plugin-mentions-user plugin-mentions-a" href="/user/sdetweil" aria-label="Profile: sdetweil">@<bdi>sdetweil</bdi></a> - I have the power management on wifi turned off. I am not getting complete crash of pi - to the extent that i have to restart, BUT - I am getting a lot of freezes which automatically resolve in a while.</p>
<p dir="auto">In the pm2 logs:</p>
<pre><code>[2020-05-04 03:03:04.470] [ERROR]  Mon May 04 2020 03:03:00 GMT-0900 (Hawaii-Aleutian Daylight Time) - WatchDog: Heartbeat timeout. Frontend might have crashed. Exit now.
events.js:177
      throw er; // Unhandled 'error' event
      ^

Error [ERR_STREAM_DESTROYED]: Cannot call write after a stream was destroyed
    at doWrite (_stream_writable.js:413:19)
    at writeOrBuffer (_stream_writable.js:401:5)
    at Socket.Writable.write (_stream_writable.js:301:11)
    at Object.con.&lt;computed&gt; [as error] (/home/pi/MagicMirror/node_modules/console-stamp/main.js:148:46)
    at process.&lt;anonymous&gt; (/home/pi/MagicMirror/js/app.js:40:10)
    at process.emit (events.js:205:15)
    at process._fatalException (internal/process/execution.js:146:25)
npm ERR! code ELIFECYCLE
npm ERR! errno 7
npm ERR! magicmirror@2.11.0 start: `DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js`
npm ERR! Exit status 7
npm ERR! 
npm ERR! Failed at the magicmirror@2.11.0 start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/pi/.npm/_logs/2020-05-04T12_17_10_505Z-debug.log
</code></pre>
<p dir="auto">Here is the npm error log</p>
<pre><code>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.19.0
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:198: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:198:13)
13 verbose stack     at maybeClose (internal/child_process.js:982: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.19.0
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 ]
</code></pre>
]]></description><link>https://forum.magicmirror.builders/post/74668</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/74668</guid><dc:creator><![CDATA[nakulbende]]></dc:creator><pubDate>Mon, 04 May 2020 20:19:23 GMT</pubDate></item><item><title><![CDATA[Reply to Getting a bunch of erros and hangups on a new installation on Mon, 27 Apr 2020 22:28:35 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/nakulbende" aria-label="Profile: nakulbende">@<bdi>nakulbende</bdi></a> i won’t even see the info…  and I will destroy the file once we are done…</p>
<p dir="auto">I don’t see a DM</p>
]]></description><link>https://forum.magicmirror.builders/post/73735</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/73735</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Mon, 27 Apr 2020 22:28:35 GMT</pubDate></item><item><title><![CDATA[Reply to Getting a bunch of erros and hangups on a new installation on Mon, 27 Apr 2020 22:19:35 GMT]]></title><description><![CDATA[<p dir="auto">Hello Sam - I have had a lot fo SD card issues lately. Not sure what is going on. I did manage to get the pi restart, my logs might have some private info - i am trying to lean them, but might have left something.</p>
<p dir="auto">Sending them you via DM. Stay safe!</p>
]]></description><link>https://forum.magicmirror.builders/post/73734</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/73734</guid><dc:creator><![CDATA[nakulbende]]></dc:creator><pubDate>Mon, 27 Apr 2020 22:19:35 GMT</pubDate></item><item><title><![CDATA[Reply to Getting a bunch of erros and hangups on a new installation on Fri, 24 Apr 2020 19:52:05 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/nakulbende" aria-label="Profile: nakulbende">@<bdi>nakulbende</bdi></a> said in <a href="/post/73497">Getting a bunch of erros and hangups on a new installation</a>:</p>
<blockquote>
<p dir="auto">code: ‘EAI_AGAIN’,</p>
</blockquote>
<p dir="auto">there was a network problem, probably outside your house… it should recover</p>
<p dir="auto">TypeError: Cannot read property ‘parent’ of undefined<br />
MMM-Comics</p>
<p dir="auto">this module had an error getting data, and did not handle the error… it most likely WON’T recover by itself<br />
why it had trouble I cannot tell</p>
<p dir="auto">on the MM shutdown? , I would need to see the pm2 logs, --lines=100 (or more)</p>
]]></description><link>https://forum.magicmirror.builders/post/73499</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/73499</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Fri, 24 Apr 2020 19:52:05 GMT</pubDate></item></channel></rss>