<?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[Installation issues - pm2]]></title><description><![CDATA[<p dir="auto">Hello,<br />
I’m trying to get my pi3 a+ setup to run the Magic Mirror software.<br />
I am new to raspberry pi in general, so I’m not very flexible when I run into problems.</p>
<p dir="auto">In following this tutorial: <a href="https://www.raspberrypi.com/tutorials/how-to-build-a-super-slim-smart-mirror/" target="_blank" rel="noopener noreferrer nofollow ugc">https://www.raspberrypi.com/tutorials/how-to-build-a-super-slim-smart-mirror/</a><br />
Everything is going well until I need to type <code> pm2 start mm.sh</code><br />
The tutorial says Magic Mirror software should start running, but all I see is this:<br />
<img src="/assets/uploads/files/1707279511226-screenshot-2024-02-06-200947.jpg" alt="Screenshot 2024-02-06 200947.jpg" class=" img-fluid img-markdown" /><br />
I have no idea what to do next. I search the forum for similar issues, but the solutions were given back in 2017 and don’t seem to apply now.</p>
<p dir="auto">Any help is appreciated, and you’ll have to give me the dummy version.</p>
<p dir="auto">Thank you!<br />
-Joe</p>
]]></description><link>https://forum.magicmirror.builders/topic/18487/installation-issues-pm2</link><generator>RSS for Node</generator><lastBuildDate>Mon, 20 Jul 2026 22:41:26 GMT</lastBuildDate><atom:link href="https://forum.magicmirror.builders/topic/18487.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 07 Feb 2024 04:20:23 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Installation issues - pm2 on Fri, 09 Feb 2024 15:56:14 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> Sounds like a good plan.<br />
It does feel like these tutorials are not maintained, there’s always a step that doesn’t work. I’ve tried two now.</p>
<p dir="auto">Thanks for all your help. I’ll let you know if all goes well.</p>
]]></description><link>https://forum.magicmirror.builders/post/115400</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/115400</guid><dc:creator><![CDATA[joebowers]]></dc:creator><pubDate>Fri, 09 Feb 2024 15:56:14 GMT</pubDate></item><item><title><![CDATA[Reply to Installation issues - pm2 on Sat, 10 Feb 2024 15:53:05 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/joebowers" aria-label="Profile: joebowers">@<bdi>joebowers</bdi></a> I don’t know anything about the tutorial you are following.</p>
<p dir="auto">my recommendation is to start with a fresh sd card flash of the appropriate os. boot, skip updates. open a terminal window or use ssh</p>
<p dir="auto">and then use my script to to install MagicMirror and setup pm2</p>
<p dir="auto">see<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">I have never seen a tutorial document  maintained, and  things change constantly.</p>
<p dir="auto">once MagicMirror is running and starting on boot, then you can go back to configuring MagicMirror</p>
]]></description><link>https://forum.magicmirror.builders/post/115390</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/115390</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Sat, 10 Feb 2024 15:53:05 GMT</pubDate></item><item><title><![CDATA[Reply to Installation issues - pm2 on Fri, 09 Feb 2024 05:41:02 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 have no idea. This is where I end up when following this tutorial step by step.<br />
<a href="https://www.raspberrypi.com/tutorials/how-to-build-a-super-slim-smart-mirror/" target="_blank" rel="noopener noreferrer nofollow ugc">https://www.raspberrypi.com/tutorials/how-to-build-a-super-slim-smart-mirror/</a><br />
Sometimes I I get this message: <img src="/assets/uploads/files/1707457095886-pm2-root.jpg" alt="pm2 root.jpg" class=" img-fluid img-markdown" /><br />
So I type in what is suggested to continue, I assume that makes me root??</p>
<p dir="auto">I assume the tutorial, if followed exactly, should work.<br />
Either it’s not fool proof, or I missing an important step.</p>
<p dir="auto">Everything I’ve done is on a new raspberry pi.</p>
]]></description><link>https://forum.magicmirror.builders/post/115384</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/115384</guid><dc:creator><![CDATA[joebowers]]></dc:creator><pubDate>Fri, 09 Feb 2024 05:41:02 GMT</pubDate></item><item><title><![CDATA[Reply to Installation issues - pm2 on Fri, 09 Feb 2024 05:18:19 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/joebowers" aria-label="Profile: joebowers">@<bdi>joebowers</bdi></a> why are you running at root?</p>
<p dir="auto"><img src="/assets/uploads/files/1707455896934-screenshot_20240208_221735_chrome-resized.jpg" alt="Screenshot_20240208_221735_Chrome.jpg" class=" img-fluid img-markdown" /></p>
]]></description><link>https://forum.magicmirror.builders/post/115383</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/115383</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Fri, 09 Feb 2024 05:18:19 GMT</pubDate></item><item><title><![CDATA[Reply to Installation issues - pm2 on Fri, 09 Feb 2024 04:26:28 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> In case it helps, I’m seeing this in the pm2 logs<br />
<img src="/assets/uploads/files/1707452782611-pm2_logs3.jpg" alt="pm2_logs3.jpg" class=" img-fluid img-markdown" /></p>
]]></description><link>https://forum.magicmirror.builders/post/115382</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/115382</guid><dc:creator><![CDATA[joebowers]]></dc:creator><pubDate>Fri, 09 Feb 2024 04:26:28 GMT</pubDate></item><item><title><![CDATA[Reply to Installation issues - pm2 on Fri, 09 Feb 2024 04:24:17 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> Okay I deleted all the rows, there were 4 of them.<br />
Then I run</p>
<pre><code>pm2 start mm.sh
</code></pre>
<p dir="auto">No mirror software but I see this<br />
<img src="/assets/uploads/files/1707452594732-mirror_pm2_screenshot3.jpg" alt="mirror_pm2_screenshot3.jpg" class=" img-fluid img-markdown" /></p>
]]></description><link>https://forum.magicmirror.builders/post/115381</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/115381</guid><dc:creator><![CDATA[joebowers]]></dc:creator><pubDate>Fri, 09 Feb 2024 04:24:17 GMT</pubDate></item><item><title><![CDATA[Reply to Installation issues - pm2 on Fri, 09 Feb 2024 04:06:49 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/joebowers" aria-label="Profile: joebowers">@<bdi>joebowers</bdi></a> we should clean up the other entries</p>
<p dir="auto">I think it</p>
<pre><code class="language-sh">pm2 delete row_number
</code></pre>
<p dir="auto">(you could use name if the names were unique)</p>
<pre><code class="language-sh">pm2 --help 
</code></pre>
<p dir="auto">will tell you the command syntax</p>
<pre><code class="language-sh">pm2 start mm.sh 
</code></pre>
<p dir="auto">if you are in the folder w the <a href="http://mm.sh" target="_blank" rel="noopener noreferrer nofollow ugc">mm.sh</a></p>
]]></description><link>https://forum.magicmirror.builders/post/115380</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/115380</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Fri, 09 Feb 2024 04:06:49 GMT</pubDate></item><item><title><![CDATA[Reply to Installation issues - pm2 on Fri, 09 Feb 2024 03:39:44 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> Okay I did all that and the Magic Mirror software starts.<br />
Should I try:</p>
<pre><code>pm2 start mm.sh
pm2 save
</code></pre>
<p dir="auto">As stated in the tutorial?</p>
]]></description><link>https://forum.magicmirror.builders/post/115379</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/115379</guid><dc:creator><![CDATA[joebowers]]></dc:creator><pubDate>Fri, 09 Feb 2024 03:39:44 GMT</pubDate></item><item><title><![CDATA[Reply to Installation issues - pm2 on Thu, 08 Feb 2024 18:40:33 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/joebowers" aria-label="Profile: joebowers">@<bdi>joebowers</bdi></a> ok</p>
<p dir="auto">pm2 stop all<br />
pm2 flush</p>
<p dir="auto">then execute <a href="http://mm.sh" target="_blank" rel="noopener noreferrer nofollow ugc">mm.sh</a></p>
<pre><code class="language-sh">cd ~
MagicMirror/mm.sh
</code></pre>
]]></description><link>https://forum.magicmirror.builders/post/115377</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/115377</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Thu, 08 Feb 2024 18:40:33 GMT</pubDate></item><item><title><![CDATA[Reply to Installation issues - pm2 on Thu, 08 Feb 2024 18:27:32 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 was fooling around before coming to this forum for help. I believe I copied the <a href="http://mm.sh" target="_blank" rel="noopener noreferrer nofollow ugc">mm.sh</a> file into that folder, then later removed it. I put it back and saw this in the log:<br />
<img src="/assets/uploads/files/1707416760511-pm2_logs2.jpg" alt="pm2_logs2.jpg" class=" img-fluid img-markdown" /></p>
<p dir="auto">Then I realized I have a space after DISPLAY =, and there is no space between the two in the tutorials.<br />
So I fix that and tried running again, I see this:<br />
<img src="/assets/uploads/files/1707416827471-mirror_pm2_screenshot2.jpg" alt="mirror_pm2_screenshot2.jpg" class=" img-fluid img-markdown" /></p>
<p dir="auto">But no mirror software on the screen…</p>
]]></description><link>https://forum.magicmirror.builders/post/115376</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/115376</guid><dc:creator><![CDATA[joebowers]]></dc:creator><pubDate>Thu, 08 Feb 2024 18:27:32 GMT</pubDate></item><item><title><![CDATA[Reply to Installation issues - pm2 on Thu, 08 Feb 2024 16:28:15 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/joebowers" aria-label="Profile: joebowers">@<bdi>joebowers</bdi></a> /home/joe/MagicMirror/mm.sh no such file</p>
<p dir="auto">is that where the file is?</p>
<p dir="auto">does it have permission to execute?</p>
<pre><code class="language-sh">ls -laF mm.sh
</code></pre>
<p dir="auto">so,</p>
<pre><code class="language-js">chmod +x mm.sh
</code></pre>
]]></description><link>https://forum.magicmirror.builders/post/115375</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/115375</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Thu, 08 Feb 2024 16:28:15 GMT</pubDate></item><item><title><![CDATA[Reply to Installation issues - pm2 on Thu, 08 Feb 2024 16:24:48 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 tried to follow the tutorial step by step. I’m not sure if that has be installing as root.<br />
This is what I see when I look at the log.<br />
<img src="/assets/uploads/files/1707409436167-pm2_logs.jpg" alt="pm2_logs.jpg" class=" img-fluid img-markdown" /></p>
<p dir="auto">This was the most I could screen shot, this log was very long.</p>
]]></description><link>https://forum.magicmirror.builders/post/115374</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/115374</guid><dc:creator><![CDATA[joebowers]]></dc:creator><pubDate>Thu, 08 Feb 2024 16:24:48 GMT</pubDate></item><item><title><![CDATA[Reply to Installation issues - pm2 on Thu, 08 Feb 2024 16:14:25 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/joebowers" aria-label="Profile: joebowers">@<bdi>joebowers</bdi></a> ok, now lets look at the pm2 log…</p>
<pre><code class="language-sh">pm2 logs --lines=50
</code></pre>
<p dir="auto">50 may need to be bigger… defaults to 15</p>
<p dir="auto">there are two different outputs…  the normal messages (stdout) and the error (stderr)</p>
<p dir="auto">the files for the saved logs are in the .pm2/logs folder (note the . in front of pm2)</p>
<p dir="auto">did you install MM under root??  the permissions thing is concerning…</p>
]]></description><link>https://forum.magicmirror.builders/post/115373</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/115373</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Thu, 08 Feb 2024 16:14:25 GMT</pubDate></item><item><title><![CDATA[Reply to Installation issues - pm2 on Thu, 08 Feb 2024 16:07:55 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> This was mine:<br />
cd ./MagicMirror<br />
DISPLAY=:0 npm start</p>
<p dir="auto">And this was the one on git hub:<br />
cd ~/MagicMirror<br />
DISPLAY=:0 npm start</p>
<p dir="auto">I was using a . instead of ~<br />
I switched it to ~ and tried again. Now I see this, the mirror software doesn’t load though.<br />
<img src="/assets/uploads/files/1707408464551-mirror_pm2_screenshot.jpg" alt="mirror_pm2_screenshot.jpg" class=" img-fluid img-markdown" /></p>
]]></description><link>https://forum.magicmirror.builders/post/115372</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/115372</guid><dc:creator><![CDATA[joebowers]]></dc:creator><pubDate>Thu, 08 Feb 2024 16:07:55 GMT</pubDate></item><item><title><![CDATA[Reply to Installation issues - pm2 on Thu, 08 Feb 2024 15:50:06 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/joebowers" aria-label="Profile: joebowers">@<bdi>joebowers</bdi></a> ok, can u show the <a href="http://mm.sh" target="_blank" rel="noopener noreferrer nofollow ugc">mm.sh</a> you created?</p>
<p dir="auto">and compare to the one we ship in<br />
~/MagicMirror/installers, that I use when setting up pm2 in my install  script…<br />
<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/115367</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/115367</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Thu, 08 Feb 2024 15:50:06 GMT</pubDate></item><item><title><![CDATA[Reply to Installation issues - pm2 on Thu, 08 Feb 2024 05:38:35 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> Hey thanks for the reply. I tried that and the Magic Mirror software does load.</p>
]]></description><link>https://forum.magicmirror.builders/post/115366</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/115366</guid><dc:creator><![CDATA[joebowers]]></dc:creator><pubDate>Thu, 08 Feb 2024 05:38:35 GMT</pubDate></item><item><title><![CDATA[Reply to Installation issues - pm2 on Wed, 07 Feb 2024 09:05:59 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/joebowers" aria-label="Profile: joebowers">@<bdi>joebowers</bdi></a></p>
<p dir="auto">so let’s try without pm2 and see what happens.</p>
<pre><code class="language-sh">cd ~/MagicMirror
npm start
</code></pre>
]]></description><link>https://forum.magicmirror.builders/post/115347</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/115347</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Wed, 07 Feb 2024 09:05:59 GMT</pubDate></item></channel></rss>