<?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[PM2 MM2 Not starting on start up]]></title><description><![CDATA[<p dir="auto">Ok so i got everything set up installed pm2. I am able to start pm2 and also MM “pm2 start <a href="http://mm.sh" target="_blank" rel="noopener noreferrer nofollow ugc">mm.sh</a>” load fine but when i reboot the raspberry pi 3 it doesn’t load in to MM it loads in to NOOB. Not sure what i did wrong.</p>
<p dir="auto">The one thing i had a problem with is when starting MM through pm2 your supposed to exit it and save settings. Problem was i didnt know how to exit so i rebooted rpi. So my question here is also how do you exit MM? :(</p>
]]></description><link>https://forum.magicmirror.builders/topic/1094/pm2-mm2-not-starting-on-start-up</link><generator>RSS for Node</generator><lastBuildDate>Mon, 20 Jul 2026 16:54:29 GMT</lastBuildDate><atom:link href="https://forum.magicmirror.builders/topic/1094.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 30 Nov 2016 21:22:09 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to PM2 MM2 Not starting on start up on Tue, 18 Apr 2023 14:49:30 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/seregeth" aria-label="Profile: Seregeth">@<bdi>Seregeth</bdi></a> cool… thx for the feedback</p>
]]></description><link>https://forum.magicmirror.builders/post/108953</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/108953</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Tue, 18 Apr 2023 14:49:30 GMT</pubDate></item><item><title><![CDATA[Reply to PM2 MM2 Not starting on start up on Tue, 18 Apr 2023 14:48: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><br />
that´s it, MM startet again after the installation</p>
]]></description><link>https://forum.magicmirror.builders/post/108952</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/108952</guid><dc:creator><![CDATA[Seregeth]]></dc:creator><pubDate>Tue, 18 Apr 2023 14:48:58 GMT</pubDate></item><item><title><![CDATA[Reply to PM2 MM2 Not starting on start up on Mon, 17 Apr 2023 21:51:55 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/seregeth" aria-label="Profile: Seregeth">@<bdi>Seregeth</bdi></a> ok, try</p>
<pre><code>cd ~/MagicMirror
npm install electron@22.3.4
</code></pre>
]]></description><link>https://forum.magicmirror.builders/post/108941</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/108941</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Mon, 17 Apr 2023 21:51:55 GMT</pubDate></item><item><title><![CDATA[Reply to PM2 MM2 Not starting on start up on Mon, 17 Apr 2023 20:57:22 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><br />
$ pm2 status<br />
┌────┬────────────────────┬──────────┬──────┬───────────┬──────────┬──────────┐<br />
│ id │ name               │ mode     │ ↺    │ status    │ cpu      │ memory   │<br />
├────┼────────────────────┼──────────┼──────┼───────────┼──────────┼──────────┤<br />
│ 1  │ MagicMirror        │ fork     │ 78   │ online    │ 0%       │ 2.6mb    │<br />
│ 0  │ mm                 │ fork     │ 2    │ stopped   │ 0%       │ 0b       │<br />
└────┴────────────────────┴──────────┴──────┴───────────┴──────────┴──────────┘<br />
~ $ ^C<br />
~ $ pm2 stop all<br />
[PM2] Applying action stopProcessId on app [all](ids: [ 0, 1 ])<br />
[PM2] <a href="0">mm</a> ✓<br />
[PM2] <a href="1">MagicMirror</a> ✓<br />
┌────┬────────────────────┬──────────┬──────┬───────────┬──────────┬──────────┐<br />
│ id │ name               │ mode     │ ↺    │ status    │ cpu      │ memory   │<br />
├────┼────────────────────┼──────────┼──────┼───────────┼──────────┼──────────┤<br />
│ 1  │ MagicMirror        │ fork     │ 117  │ stopped   │ 0%       │ 0b       │<br />
│ 0  │ mm                 │ fork     │ 2    │ stopped   │ 0%       │ 0b       │<br />
└────┴────────────────────┴──────────┴──────┴───────────┴──────────┴──────────┘<br />
$ cd MagicMirror/<br />
~/MagicMirror $ npm start</p>
<blockquote>
<p dir="auto">magicmirror@2.23.0 start<br />
DISPLAY=“${DISPLAY:=:0}” ./node_modules/.bin/electron js/electron.js</p>
</blockquote>
<p dir="auto">sh: 1: ./node_modules/.bin/electron: not found</p>
]]></description><link>https://forum.magicmirror.builders/post/108940</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/108940</guid><dc:creator><![CDATA[Seregeth]]></dc:creator><pubDate>Mon, 17 Apr 2023 20:57:22 GMT</pubDate></item><item><title><![CDATA[Reply to PM2 MM2 Not starting on start up on Mon, 17 Apr 2023 20:46:19 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/seregeth" aria-label="Profile: Seregeth">@<bdi>Seregeth</bdi></a> sorry. I hit reject on your message accidentally, please resend it</p>
]]></description><link>https://forum.magicmirror.builders/post/108939</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/108939</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Mon, 17 Apr 2023 20:46:19 GMT</pubDate></item><item><title><![CDATA[Reply to PM2 MM2 Not starting on start up on Mon, 17 Apr 2023 20:19:31 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/seregeth" aria-label="Profile: Seregeth">@<bdi>Seregeth</bdi></a></p>
<p dir="auto">ok let’s start at the beginning</p>
<p dir="auto">pm2 status</p>
<p dir="auto">will show you the names and numbers of the managed apps.  you can use either the name or number</p>
<p dir="auto">now, let’s see if it’s a MagicMirror problem</p>
<p dir="auto">do</p>
<pre><code>pm2 stop all
cd ~/MagicMirror
npm start
</code></pre>
<p dir="auto">if mm comes up but the screen is not correct, ctrl-m will minimize the mm screen</p>
]]></description><link>https://forum.magicmirror.builders/post/108938</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/108938</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Mon, 17 Apr 2023 20:19:31 GMT</pubDate></item><item><title><![CDATA[Reply to PM2 MM2 Not starting on start up on Mon, 17 Apr 2023 20:09:03 GMT]]></title><description><![CDATA[<p dir="auto">Even this tread is old, but i have an issue with the starting of mm:</p>
<p dir="auto">Everything worked well, then i installed MMM-CECControl.<br />
I saved my config.js file bevor i entered the module line in there. But not as usual mm didn´t restart. Not even after a reboot of my raspberry.</p>
<p dir="auto">Also when i start mm with<br />
pm2 start mm<br />
and<br />
pm2 start  MagicMirror<br />
nothing happened.</p>
<p dir="auto">i don´t know what i should do to start my mm as bevore…</p>
]]></description><link>https://forum.magicmirror.builders/post/108937</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/108937</guid><dc:creator><![CDATA[Seregeth]]></dc:creator><pubDate>Mon, 17 Apr 2023 20:09:03 GMT</pubDate></item><item><title><![CDATA[Reply to PM2 MM2 Not starting on start up on Tue, 08 Sep 2020 13:06:35 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/marvellousmili" aria-label="Profile: MarvellousMili">@<bdi>MarvellousMili</bdi></a> sorry. not sure what u said</p>
<p dir="auto">is working ok<br />
or<br />
is NOT working ok</p>
]]></description><link>https://forum.magicmirror.builders/post/81470</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/81470</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Tue, 08 Sep 2020 13:06:35 GMT</pubDate></item><item><title><![CDATA[Reply to PM2 MM2 Not starting on start up on Tue, 08 Sep 2020 03:34:03 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> sorry that reply late, I save the pm2 status after reboot again and again then work. I don’t know where’s the problem even now lol</p>
]]></description><link>https://forum.magicmirror.builders/post/81455</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/81455</guid><dc:creator><![CDATA[MarvellousMili]]></dc:creator><pubDate>Tue, 08 Sep 2020 03:34:03 GMT</pubDate></item><item><title><![CDATA[Reply to PM2 MM2 Not starting on start up on Wed, 02 Sep 2020 12:12:14 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/marvellousmili" aria-label="Profile: MarvellousMili">@<bdi>MarvellousMili</bdi></a>  run the <a href="http://fixuppm2.sh" target="_blank" rel="noopener noreferrer nofollow ugc">fixuppm2.sh</a> script from here</p>
<p dir="auto"><a href="https://github.com/sdetweil/MagicMirror_scripts" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/sdetweil/MagicMirror_scripts</a></p>
]]></description><link>https://forum.magicmirror.builders/post/81124</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/81124</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Wed, 02 Sep 2020 12:12:14 GMT</pubDate></item><item><title><![CDATA[Reply to PM2 MM2 Not starting on start up on Wed, 02 Sep 2020 10:32:00 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/shbatm" aria-label="Profile: shbatm">@<bdi>shbatm</bdi></a> I did all I should follow but it still doesn’t work for me, I’m using Rpi4b. It warning me:</p>
<p dir="auto">PM2 is not managing any process, skipping save…</p>
<p dir="auto">Plz help me my boyfriend’s birthday is under eyes!!</p>
<p dir="auto">Thanks a lot!</p>
]]></description><link>https://forum.magicmirror.builders/post/81120</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/81120</guid><dc:creator><![CDATA[MarvellousMili]]></dc:creator><pubDate>Wed, 02 Sep 2020 10:32:00 GMT</pubDate></item><item><title><![CDATA[Reply to PM2 MM2 Not starting on start up on Sun, 03 Feb 2019 23:28:00 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/pum" aria-label="Profile: pum">@<bdi>pum</bdi></a> there is an existing script provided by MagicMirror now, please try deleting everything on your ~/.pm2 directory, then using:</p>
<pre><code class="language-shell">sudo su -c "env PATH=$PATH:/usr/bin pm2 startup linux -u pi --hp /home/pi"
    pm2 start ~/MagicMirror/installers/pm2_MagicMirror.json
    pm2 save
</code></pre>
<p dir="auto">You may have to use <code>systemd</code> instead of <code>linux</code> in the first line if you get an error.</p>
]]></description><link>https://forum.magicmirror.builders/post/51490</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/51490</guid><dc:creator><![CDATA[shbatm]]></dc:creator><pubDate>Sun, 03 Feb 2019 23:28:00 GMT</pubDate></item><item><title><![CDATA[Reply to PM2 MM2 Not starting on start up on Sun, 03 Feb 2019 13:48:34 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/shbatm" aria-label="Profile: shbatm">@<bdi>shbatm</bdi></a> I’ve tried the following steps but it still doesn’t work, can you help me?</p>
<ul>
<li>sudo pm2 startup systemd -u pi --hp /home/pi</li>
<li>nano <a href="http://mm.sh" target="_blank" rel="noopener noreferrer nofollow ugc">mm.sh</a></li>
<li>cd ~/MagicMirror<br />
DISPLAY=:0 npm start</li>
<li>CTRL-O</li>
<li>Enter</li>
<li>CTRL-X</li>
<li>chmod +x <a href="http://mm.sh" target="_blank" rel="noopener noreferrer nofollow ugc">mm.sh</a></li>
<li>pm2 start <a href="http://mm.sh" target="_blank" rel="noopener noreferrer nofollow ugc">mm.sh</a></li>
<li>pm2 save</li>
<li>sudo reboot</li>
</ul>
<p dir="auto">Thanks in advance.</p>
]]></description><link>https://forum.magicmirror.builders/post/51429</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/51429</guid><dc:creator><![CDATA[pum]]></dc:creator><pubDate>Sun, 03 Feb 2019 13:48:34 GMT</pubDate></item><item><title><![CDATA[Reply to PM2 MM2 Not starting on start up on Sat, 14 Jul 2018 12:28:52 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/shbatm" aria-label="Profile: shbatm">@<bdi>shbatm</bdi></a> said in <a href="/post/22256">PM2 MM2 Not starting on start up</a>:</p>
<blockquote>
<p dir="auto">sudo pm2 startup systemd -u pi --hp /home/pi</p>
</blockquote>
<p dir="auto">Can also confirm this worked for me, too.</p>
<p dir="auto">Thank you <a class="plugin-mentions-user plugin-mentions-a" href="/user/shbatm" aria-label="Profile: shbatm">@<bdi>shbatm</bdi></a></p>
]]></description><link>https://forum.magicmirror.builders/post/42244</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/42244</guid><dc:creator><![CDATA[daikaiju]]></dc:creator><pubDate>Sat, 14 Jul 2018 12:28:52 GMT</pubDate></item><item><title><![CDATA[Reply to PM2 MM2 Not starting on start up on Wed, 07 Jun 2017 20:23:52 GMT]]></title><description><![CDATA[<p dir="auto">Try here as an alternative</p>
<p dir="auto"><a href="https://forum.magicmirror.builders/topic/2716/pm2-alternative">https://forum.magicmirror.builders/topic/2716/pm2-alternative</a></p>
]]></description><link>https://forum.magicmirror.builders/post/22467</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/22467</guid><dc:creator><![CDATA[nuckinfutz]]></dc:creator><pubDate>Wed, 07 Jun 2017 20:23:52 GMT</pubDate></item><item><title><![CDATA[Reply to PM2 MM2 Not starting on start up on Sat, 03 Jun 2017 14:15:55 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/desertswing" aria-label="Profile: Desertswing">@<bdi>Desertswing</bdi></a> No idea what that did but it worked, just need to make it show the weather as that seems to have gone away</p>
]]></description><link>https://forum.magicmirror.builders/post/22314</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/22314</guid><dc:creator><![CDATA[raymate]]></dc:creator><pubDate>Sat, 03 Jun 2017 14:15:55 GMT</pubDate></item><item><title><![CDATA[Reply to PM2 MM2 Not starting on start up on Thu, 01 Jun 2017 17:14:24 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/shbatm" aria-label="Profile: shbatm">@<bdi>shbatm</bdi></a><br />
will note that down thanks!</p>
]]></description><link>https://forum.magicmirror.builders/post/22257</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/22257</guid><dc:creator><![CDATA[Desertswing]]></dc:creator><pubDate>Thu, 01 Jun 2017 17:14:24 GMT</pubDate></item><item><title><![CDATA[Reply to PM2 MM2 Not starting on start up on Thu, 01 Jun 2017 17:13:13 GMT]]></title><description><![CDATA[<p dir="auto">I solved the same issue by using the command:<br />
<code>sudo pm2 startup systemd -u pi --hp /home/pi</code></p>
<p dir="auto">And then using <code>pm2 save</code> to save the state.</p>
]]></description><link>https://forum.magicmirror.builders/post/22256</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/22256</guid><dc:creator><![CDATA[shbatm]]></dc:creator><pubDate>Thu, 01 Jun 2017 17:13:13 GMT</pubDate></item><item><title><![CDATA[Reply to PM2 MM2 Not starting on start up on Thu, 01 Jun 2017 15:53:01 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/nuckinfutz" aria-label="Profile: nuckinfutz">@<bdi>nuckinfutz</bdi></a><br />
pm2 start <a href="http://mm.sh" target="_blank" rel="noopener noreferrer nofollow ugc">mm.sh</a></p>
]]></description><link>https://forum.magicmirror.builders/post/22252</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/22252</guid><dc:creator><![CDATA[Desertswing]]></dc:creator><pubDate>Thu, 01 Jun 2017 15:53:01 GMT</pubDate></item><item><title><![CDATA[Reply to PM2 MM2 Not starting on start up on Sat, 14 Jan 2017 21:03:52 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/sebzx10r" aria-label="Profile: sebzx10r">@<bdi>sebzx10r</bdi></a> What line did you put in the field? I can’t get it to work.</p>
]]></description><link>https://forum.magicmirror.builders/post/11019</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/11019</guid><dc:creator><![CDATA[nuckinfutz]]></dc:creator><pubDate>Sat, 14 Jan 2017 21:03:52 GMT</pubDate></item><item><title><![CDATA[Reply to PM2 MM2 Not starting on start up on Sun, 04 Dec 2016 22:34:23 GMT]]></title><description><![CDATA[<p dir="auto">Hey,I kind of did a work around. I found this on another forum:<br />
I also searched for days without success but then, I got it to work quite simply.</p>
<p dir="auto">In Raspian click Menu,Preferences,Main Menu Editor<br />
Click Preferences and check Default applications for LXSession<br />
Click OK and close main menu editor<br />
Now click Menu and Under Preferences click on Default applications for LXSession<br />
LXSession configuration opens<br />
Click Autostart<br />
Under Manual autostarted applications paste in your java command line<br />
click add<br />
close the LXSession configuration application and reboot your pi<br />
your java app should run after reboot</p>
]]></description><link>https://forum.magicmirror.builders/post/8926</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/8926</guid><dc:creator><![CDATA[sebzx10r]]></dc:creator><pubDate>Sun, 04 Dec 2016 22:34:23 GMT</pubDate></item><item><title><![CDATA[Reply to PM2 MM2 Not starting on start up on Sun, 04 Dec 2016 20:42:40 GMT]]></title><description><![CDATA[<p dir="auto">Hey,yes, I go to that same exact directory,but the file isn’t there. And yes I can load MM with pm2 start <a href="http://mm.sh" target="_blank" rel="noopener noreferrer nofollow ugc">mm.sh</a>. That’s what so weird about the whole thing. It’s as if the file doesn’t exist but yet the program is working somehow.</p>
]]></description><link>https://forum.magicmirror.builders/post/8923</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/8923</guid><dc:creator><![CDATA[sebzx10r]]></dc:creator><pubDate>Sun, 04 Dec 2016 20:42:40 GMT</pubDate></item><item><title><![CDATA[Reply to PM2 MM2 Not starting on start up on Sun, 04 Dec 2016 17:03:30 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/sebzx10r" aria-label="Profile: sebzx10r">@<bdi>sebzx10r</bdi></a>  Can you load MM with  pm2 start <a href="http://mm.sh" target="_blank" rel="noopener noreferrer nofollow ugc">mm.sh</a>?</p>
]]></description><link>https://forum.magicmirror.builders/post/8920</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/8920</guid><dc:creator><![CDATA[eugekiller]]></dc:creator><pubDate>Sun, 04 Dec 2016 17:03:30 GMT</pubDate></item><item><title><![CDATA[Reply to PM2 MM2 Not starting on start up on Sun, 04 Dec 2016 16:53:32 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/sebzx10r" aria-label="Profile: sebzx10r">@<bdi>sebzx10r</bdi></a>  The way i did it also is used WinSCP to shh in to raspberry.</p>
]]></description><link>https://forum.magicmirror.builders/post/8919</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/8919</guid><dc:creator><![CDATA[eugekiller]]></dc:creator><pubDate>Sun, 04 Dec 2016 16:53:32 GMT</pubDate></item></channel></rss>