<?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 restarts all the time]]></title><description><![CDATA[<p dir="auto">Hello,<br />
I have to admit, that I´m an absolute noob. I was able to run the MagicMirror on a raspi3 with different modules. Yesterday I installed some updates (MM and ioserver) and since then, I have the problem, that my MM stops after 78 seconds everytime after a restart. What did I do wrong?<br />
Thanks for your help,<br />
Laurids</p>
]]></description><link>https://forum.magicmirror.builders/topic/15032/magicmirror-restarts-all-the-time</link><generator>RSS for Node</generator><lastBuildDate>Tue, 21 Apr 2026 16:25:32 GMT</lastBuildDate><atom:link href="https://forum.magicmirror.builders/topic/15032.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 09 May 2021 08:17:08 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to MagicMirror restarts all the time on Sun, 16 May 2021 10:33:25 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 really don´t know what was wrong. Now I´ve made a new installation, copied my old config.js and it works. Thanks for your help.</p>
]]></description><link>https://forum.magicmirror.builders/post/91470</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/91470</guid><dc:creator><![CDATA[Laurids]]></dc:creator><pubDate>Sun, 16 May 2021 10:33:25 GMT</pubDate></item><item><title><![CDATA[Reply to MagicMirror restarts all the time on Tue, 11 May 2021 20:38:58 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/laurids" aria-label="Profile: laurids">@<bdi>laurids</bdi></a> I’m assuming it’s some module you’ve installed, so looking at the config.js may give a clue</p>
]]></description><link>https://forum.magicmirror.builders/post/91406</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/91406</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Tue, 11 May 2021 20:38:58 GMT</pubDate></item><item><title><![CDATA[Reply to MagicMirror restarts all the time on Tue, 11 May 2021 18:22:30 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> thanks for your help. I have to admit, that I don´t have a clue how to fix the errors ;) I think I just give it another try with a new installation.</p>
]]></description><link>https://forum.magicmirror.builders/post/91403</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/91403</guid><dc:creator><![CDATA[Laurids]]></dc:creator><pubDate>Tue, 11 May 2021 18:22:30 GMT</pubDate></item><item><title><![CDATA[Reply to MagicMirror restarts all the time on Sun, 09 May 2021 13:20:27 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/laurids" aria-label="Profile: laurids">@<bdi>laurids</bdi></a> said in <a href="/post/91347">MagicMirror restarts all the time</a>:</p>
<blockquote>
<p dir="auto">errno: ‘ECONNREFUSED’,<br />
code: ‘ECONNREFUSED’,<br />
syscall: ‘connect’,<br />
address: ‘192.168.178.1’,</p>
</blockquote>
<p dir="auto">and<br />
[09.05.2021 11:29.04.737] [ERROR] Got error: connect ECONNREFUSED 127.0.0.1:8087</p>
<p dir="auto">look like the indicators…</p>
<p dir="auto">whatever is using  192.168.178.1  looks like it  didn’t handle the error</p>
<p dir="auto">this 127.0.0.1:8087 is localhost, on the same machine,  some server   maybe related to above…</p>
]]></description><link>https://forum.magicmirror.builders/post/91348</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/91348</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Sun, 09 May 2021 13:20:27 GMT</pubDate></item><item><title><![CDATA[Reply to MagicMirror restarts all the time on Sun, 09 May 2021 13:02: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> here are some lines of the error.log. They repeat all the time:</p>
<pre><code>[17:05:32.926] [ERROR]  error: cannot lock ref 'refs/tags/v2.12.0': unable to resolve reference 'refs/tags/v2.12.0':
Von https://github.com/MichMich/MagicMirror
 ! [neues Tag]         v2.12.0    -&gt; v2.12.0  (kann lokale Referenz nicht aktualisieren)

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! magicmirror@2.10.1 start: `./run-start.sh`
npm ERR! Exit status 1
npm ERR!.
npm ERR! Failed at the magicmirror@2.10.1 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/2021-05-08T15_37_28_171Z-debug.log
/home/pi/MagicMirror/node_modules/electron/dist/electron exited with signal SIGINT
[08.05.2021 17:39.18.396] [WARN]  The module 'currentweather' is deprecated in favor of the 'weather'-module, please
[08.05.2021 17:39.18.402] [WARN]  The module 'weatherforecast' is deprecated in favor of the 'weather'-module, please[08.05.2021 17:40.30.779] [ERROR] Whoops! There was an uncaught exception...
[08.05.2021 17:40.30.812] [ERROR] Error: connect ECONNREFUSED 192.168.178.1:1012
    at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1141:16) {
  errno: 'ECONNREFUSED',
  code: 'ECONNREFUSED',
  syscall: 'connect',
  address: '192.168.178.1',
  port: 1012
}
[08.05.2021 17:40.30.816] [ERROR] MagicMirror will not quit, but it might be a good idea to check why this happened.
[08.05.2021 17:40.30.819] [ERROR] If you think this really is an issue, please open an issue on GitHub: https://githu[08.05.2021 17:40.36.632] [ERROR] Failed to fetch git data for MMM-ioBroker: Error: block timeout reached
[08.05.2021 17:40.37.844] [ERROR] Failed to fetch git data for default: Error: block timeout reached
[08.05.2021 17:50.40.859] [ERROR] Failed to fetch git data for default: Error: block timeout reached
[08.05.2021 17:53.34.562] [ERROR] Got error: connect ECONNREFUSED 127.0.0.1:8087
[08.05.2021 17:53.34.564] [ERROR] Got error: connect ECONNREFUSED 127.0.0.1:8087
</code></pre>
<p dir="auto">and</p>
<pre><code>[09.05.2021 11:28.04.125] [ERROR] MagicMirror will not quit, but it might be a good idea to check why this happened.
[09.05.2021 11:28.04.126] [ERROR] If you think this really is an issue, please open an issue on GitHub: https://githu[09.05.2021 11:28.04.676] [ERROR] Got error: connect ECONNREFUSED 127.0.0.1:8087
[09.05.2021 11:28.04.679] [ERROR] Got error: connect ECONNREFUSED 127.0.0.1:8087
[09.05.2021 11:28.04.681] [ERROR] Got error: connect ECONNREFUSED 127.0.0.1:8087
[09.05.2021 11:28.04.683] [ERROR] Got error: connect ECONNREFUSED 127.0.0.1:8087
[09.05.2021 11:28.04.686] [ERROR] Got error: connect ECONNREFUSED 127.0.0.1:8087
[09.05.2021 11:28.04.691] [ERROR] Got error: connect ECONNREFUSED 127.0.0.1:8087
[09.05.2021 11:28.06.421] [ERROR] Failed to fetch git data for MMM-FRITZ-Box-Callmonitor: Error: block timeout reache[09.05.2021 11:29.04.732] [ERROR] Got error: connect ECONNREFUSED 127.0.0.1:8087
[09.05.2021 11:29.04.737] [ERROR] Got error: connect ECONNREFUSED 127.0.0.1:8087
[09.05.2021 11:29.04.740] [ERROR] Got error: connect ECONNREFUSED 127.0.0.1:8087
[09.05.2021 11:29.04.743] [ERROR] Got error: connect ECONNREFUSED 127.0.0.1:8087
[09.05.2021 11:29.04.746] [ERROR] Got error: connect ECONNREFUSED 127.0.0.1:8087
[09.05.2021 11:29.04.751] [ERROR] Got error: connect ECONNREFUSED 127.0.0.1:8087
[09.05.2021 11:29.30.532] [WARN]  The module 'currentweather' is deprecated in favor of the 'weather'-module, please
[09.05.2021 11:29.30.535] [WARN]  The module 'weatherforecast' is deprecated in favor of the 'weather'-module, please[09.05.2021 11:29.34.824] [ERROR] Whoops! There was an uncaught exception...
[09.05.2021 11:29.34.836] [ERROR] Error: connect ECONNREFUSED 192.168.178.1:1012
    at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1141:16) {
  errno: 'ECONNREFUSED',
  code: 'ECONNREFUSED',
  syscall: 'connect',
  address: '192.168.178.1',
  port: 1012
</code></pre>
]]></description><link>https://forum.magicmirror.builders/post/91347</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/91347</guid><dc:creator><![CDATA[Laurids]]></dc:creator><pubDate>Sun, 09 May 2021 13:02:16 GMT</pubDate></item><item><title><![CDATA[Reply to MagicMirror restarts all the time on Sun, 09 May 2021 12:54:24 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/laurids" aria-label="Profile: laurids">@<bdi>laurids</bdi></a> sadly no. pm2 splits output inyo two logs</p>
<p dir="auto">errors and output. this looks like the output.</p>
<p dir="auto">errors are printed first</p>
<p dir="auto">send the output to a file</p>
<p dir="auto">pm2 logs --lines=100 &gt;somefile</p>
<p dir="auto">then edit somfile</p>
]]></description><link>https://forum.magicmirror.builders/post/91346</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/91346</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Sun, 09 May 2021 12:54:24 GMT</pubDate></item><item><title><![CDATA[Reply to MagicMirror restarts all the time on Sun, 09 May 2021 12:48:41 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 hope that this is helping</p>
<pre><code>2021-05-08T17:37:34: PM2 log: PM2 successfully stopped
2021-05-08T17:38:09: PM2 log: ===============================================================================
2021-05-08T17:38:09: PM2 log: --- New PM2 Daemon started ----------------------------------------------------
2021-05-08T17:38:09: PM2 log: Time                 : Sat May 08 2021 17:38:09 GMT+0200 (GMT+02:00)
2021-05-08T17:38:09: PM2 log: PM2 version          : 4.2.3
2021-05-08T17:38:09: PM2 log: Node.js version      : 10.24.1
2021-05-08T17:38:09: PM2 log: Current arch         : arm
2021-05-08T17:38:09: PM2 log: PM2 home             : /home/pi/.pm2
2021-05-08T17:38:09: PM2 log: PM2 PID file         : /home/pi/.pm2/pm2.pid
2021-05-08T17:38:09: PM2 log: RPC socket file      : /home/pi/.pm2/rpc.sock
2021-05-08T17:38:09: PM2 log: BUS socket file      : /home/pi/.pm2/pub.sock
2021-05-08T17:38:09: PM2 log: Application log path : /home/pi/.pm2/logs
2021-05-08T17:38:09: PM2 log: Worker Interval      : 30000
2021-05-08T17:38:09: PM2 log: Process dump file    : /home/pi/.pm2/dump.pm2
2021-05-08T17:38:09: PM2 log: Concurrent actions   : 2
2021-05-08T17:38:09: PM2 log: SIGTERM timeout      : 1600
2021-05-08T17:38:09: PM2 log: ===============================================================================
2021-05-08T17:38:10: PM2 log: App [mm:0] starting in -fork mode-
2021-05-08T17:38:10: PM2 log: App [mm:0] online
2021-05-08T18:09:01: PM2 log: Stopping app:mm id:0
2021-05-08T18:09:03: PM2 log: pid=890 msg=failed to kill - retrying in 100ms
2021-05-08T18:09:03: PM2 log: pid=890 msg=failed to kill - retrying in 100ms
2021-05-08T18:09:03: PM2 log: pid=890 msg=failed to kill - retrying in 100ms
2021-05-08T18:09:04: PM2 log: pid=890 msg=failed to kill - retrying in 100ms
2021-05-08T18:09:04: PM2 log: pid=890 msg=failed to kill - retrying in 100ms
2021-05-08T18:09:04: PM2 log: pid=890 msg=failed to kill - retrying in 100ms
2021-05-08T18:09:04: PM2 log: pid=890 msg=failed to kill - retrying in 100ms
2021-05-08T18:09:04: PM2 log: pid=890 msg=failed to kill - retrying in 100ms
2021-05-08T18:09:04: PM2 log: pid=890 msg=failed to kill - retrying in 100ms
2021-05-08T18:09:04: PM2 log: pid=890 msg=failed to kill - retrying in 100ms
2021-05-08T18:09:04: PM2 log: pid=890 msg=failed to kill - retrying in 100ms
2021-05-08T18:09:04: PM2 log: pid=890 msg=failed to kill - retrying in 100ms
2021-05-08T18:09:04: PM2 log: pid=890 msg=failed to kill - retrying in 100ms
2021-05-08T18:09:05: PM2 log: pid=890 msg=failed to kill - retrying in 100ms
2021-05-08T18:09:05: PM2 log: pid=890 msg=failed to kill - retrying in 100ms
2021-05-08T18:09:05: PM2 log: Process with pid 890 still alive after 1600ms, sending it SIGKILL now...
2021-05-08T18:09:05: PM2 log: App [mm:0] exited with code [0] via signal [SIGKILL]
2021-05-08T18:09:06: PM2 log: pid=890 msg=process killed
2021-05-08T18:09:07: PM2 log: PM2 successfully stopped
2021-05-08T18:09:43: PM2 error: TypeError [ERR_INVALID_ARG_TYPE]: The "data" argument must be of type string or an in    at Object.writeFileSync (fs.js:1460:5)
    at module.exports.Daemon.innerStart (/usr/local/lib/node_modules/pm2/lib/Daemon.js:90:8)
    at Domain.&lt;anonymous&gt; (/usr/local/lib/node_modules/pm2/lib/Daemon.js:62:10)
    at Domain.run (domain.js:370:15)
    at module.exports.Daemon.start (/usr/local/lib/node_modules/pm2/lib/Daemon.js:61:5)
    at Object.&lt;anonymous&gt; (/usr/local/lib/node_modules/pm2/lib/Daemon.js:455:10)
    at Module._compile (internal/modules/cjs/loader.js:1063:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1092:10)
    at Module.load (internal/modules/cjs/loader.js:928:32)
    at Function.Module._load (internal/modules/cjs/loader.js:769:14)
2021-05-08T18:09:43: PM2 log: ===============================================================================
2021-05-08T18:09:43: PM2 log: --- New PM2 Daemon started ----------------------------------------------------
2021-05-08T18:09:43: PM2 log: Time                 : Sat May 08 2021 18:09:43 GMT+0200 (Mitteleuropäische Sommerzeit)2021-05-08T18:09:43: PM2 log: PM2 version          : 4.2.3
2021-05-08T18:09:43: PM2 log: Node.js version      : 14.16.1
2021-05-08T18:09:43: PM2 log: Current arch         : arm
2021-05-08T18:09:43: PM2 log: PM2 home             : /home/pi/.pm2
2021-05-08T18:09:43: PM2 log: PM2 PID file         : /home/pi/.pm2/pm2.pid
2021-05-08T18:09:43: PM2 log: RPC socket file      : /home/pi/.pm2/rpc.sock
2021-05-08T18:09:43: PM2 log: BUS socket file      : /home/pi/.pm2/pub.sock
2021-05-08T18:09:43: PM2 log: Application log path : /home/pi/.pm2/logs
</code></pre>
]]></description><link>https://forum.magicmirror.builders/post/91345</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/91345</guid><dc:creator><![CDATA[Laurids]]></dc:creator><pubDate>Sun, 09 May 2021 12:48:41 GMT</pubDate></item><item><title><![CDATA[Reply to MagicMirror restarts all the time on Sun, 09 May 2021 12:41:42 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/laurids" aria-label="Profile: laurids">@<bdi>laurids</bdi></a> something near the end that shows around the time of the failure</p>
]]></description><link>https://forum.magicmirror.builders/post/91344</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/91344</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Sun, 09 May 2021 12:41:42 GMT</pubDate></item><item><title><![CDATA[Reply to MagicMirror restarts all the time on Sun, 09 May 2021 12:36:52 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>  thank you for your reply.  I´m sorry for this stupid question, but how can i copy text out of a log-file, when I use ssh? My pm2.log has more than 10000 lines, which are important for you?</p>
]]></description><link>https://forum.magicmirror.builders/post/91342</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/91342</guid><dc:creator><![CDATA[Laurids]]></dc:creator><pubDate>Sun, 09 May 2021 12:36:52 GMT</pubDate></item><item><title><![CDATA[Reply to MagicMirror restarts all the time on Sun, 09 May 2021 11:43:49 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/laurids" aria-label="Profile: laurids">@<bdi>laurids</bdi></a> need to see the messages where  u start mm. either npm start or pm2. if pm2, then the<br />
pm2 logs --lines=100<br />
will provide the info</p>
]]></description><link>https://forum.magicmirror.builders/post/91341</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/91341</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Sun, 09 May 2021 11:43:49 GMT</pubDate></item></channel></rss>