<?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[Magic Mirror not starting on reboot]]></title><description><![CDATA[<p dir="auto">Hi all, Please bare with me since I’m not totally understanding the pm2 service.  I setup Magic Mirror on a Raspberry Pi0 with <a class="plugin-mentions-user plugin-mentions-a" href="/user/sdetweil" aria-label="Profile: sdetweil">@<bdi>sdetweil</bdi></a> scripts.  I can manually start Magic Mirror fine, but it does not start when I do a reboot of my pi.  Any idea how to fix?</p>
<p dir="auto">After reboot, I see this in pm2 status:</p>
<pre><code>pi@mm1:~ $ pm2 status
┌─────┬────────────────┬─────────────┬─────────┬─────────┬──────────┬────────┬──────┬───────────┬──────────┬──────────┬──────────┬──────────┐
│ id  │ name           │ namespace   │ version │ mode    │ pid      │ uptime │ ↺    │ status    │ cpu      │ mem      │ user     │ watching │
├─────┼────────────────┼─────────────┼─────────┼─────────┼──────────┼────────┼──────┼───────────┼──────────┼──────────┼──────────┼──────────┤
│ 0   │ MagicMirror    │ default     │ 2.12.0  │ fork    │ N/A      │ 0      │ 0    │ stopped   │ 0%       │ 0b       │ pi       │ enabled  │
└─────┴────────────────┴─────────────┴─────────┴─────────┴──────────┴────────┴──────┴───────────┴──────────┴──────────┴──────────┴──────────┘
</code></pre>
<p dir="auto">When I check the pm2 log, I see:</p>
<pre><code>2020-10-31T16:18:53: PM2 log: [PM2] This PM2 is not UP TO DATE
2020-10-31T16:18:53: PM2 log: [PM2] Upgrade to version 4.5.0
2020-10-31T19:29:27: PM2 log: App [MagicMirror:0] exited with code [134] via signal [SIGINT]
2020-10-31T19:29:27: PM2 log: App [MagicMirror:0] starting in -fork mode-
2020-10-31T19:29:27: PM2 log: App [MagicMirror:0] online
2020-10-31T19:30:01: PM2 log: Stopping app:MagicMirror id:0
2020-10-31T19:30:01: PM2 log: App [MagicMirror:0] exited with code [0] via signal [SIGINT]
2020-10-31T19:30:01: PM2 log: pid=9716 msg=process killed
2020-10-31T19:30:01: PM2 log: PM2 successfully stopped
2020-10-31T19:32:10: PM2 log: ===============================================================================
2020-10-31T19:32:10: PM2 log: --- New PM2 Daemon started ----------------------------------------------------
2020-10-31T19:32:10: PM2 log: Time                 : Sat Oct 31 2020 19:32:10 GMT-0400 (Eastern Daylight Time)
2020-10-31T19:32:10: PM2 log: PM2 version          : 4.4.1
2020-10-31T19:32:10: PM2 log: Node.js version      : 10.21.0
2020-10-31T19:32:10: PM2 log: Current arch         : arm
2020-10-31T19:32:10: PM2 log: PM2 home             : /home/pi/.pm2
2020-10-31T19:32:10: PM2 log: PM2 PID file         : /home/pi/.pm2/pm2.pid
2020-10-31T19:32:10: PM2 log: RPC socket file      : /home/pi/.pm2/rpc.sock
2020-10-31T19:32:10: PM2 log: BUS socket file      : /home/pi/.pm2/pub.sock
2020-10-31T19:32:10: PM2 log: Application log path : /home/pi/.pm2/logs
2020-10-31T19:32:10: PM2 log: Worker Interval      : 30000
2020-10-31T19:32:10: PM2 log: Process dump file    : /home/pi/.pm2/dump.pm2
2020-10-31T19:32:10: PM2 log: Concurrent actions   : 2
2020-10-31T19:32:10: PM2 log: SIGTERM timeout      : 1600
2020-10-31T19:32:10: PM2 log: ===============================================================================
</code></pre>
<p dir="auto">I can start Magic Mirror manually by issuing:</p>
<pre><code>pi@mm1:~ $ pm2 restart MagicMirror
Use --update-env to update environment variables
[PM2] Applying action restartProcessId on app [MagicMirror](ids: 0)
[PM2] [MagicMirror](0) ✓
┌─────┬────────────────┬─────────────┬─────────┬─────────┬──────────┬────────┬──────┬───────────┬──────────┬──────────┬──────────┬──────────┐
│ id  │ name           │ namespace   │ version │ mode    │ pid      │ uptime │ ↺    │ status    │ cpu      │ mem      │ user     │ watching │
├─────┼────────────────┼─────────────┼─────────┼─────────┼──────────┼────────┼──────┼───────────┼──────────┼──────────┼──────────┼──────────┤
│ 0   │ MagicMirror    │ default     │ 2.13.0  │ fork    │ 792      │ 2s     │ 0    │ online    │ 0%       │ 2.4mb    │ pi       │ enabled  │
└─────┴────────────────┴─────────────┴─────────┴─────────┴──────────┴────────┴──────┴───────────┴──────────┴──────────┴──────────┴──────────┘
</code></pre>
<p dir="auto">Thanks!</p>
]]></description><link>https://forum.magicmirror.builders/topic/13946/magic-mirror-not-starting-on-reboot</link><generator>RSS for Node</generator><lastBuildDate>Fri, 17 Apr 2026 16:27:21 GMT</lastBuildDate><atom:link href="https://forum.magicmirror.builders/topic/13946.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 01 Nov 2020 00:10:26 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Magic Mirror not starting on reboot on Sun, 01 Nov 2020 03:16:57 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/rushhour99" aria-label="Profile: RushHour99">@<bdi>RushHour99</bdi></a> see that every now and again. haven’t been able to find the cause.</p>
<p dir="auto">run the <a href="http://fixuppm2.sh" target="_blank" rel="noopener noreferrer nofollow ugc">fixuppm2.sh</a> script from my site, down near the bottom</p>
]]></description><link>https://forum.magicmirror.builders/post/84136</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/84136</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Sun, 01 Nov 2020 03:16:57 GMT</pubDate></item></channel></rss>