<?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 doesn't start after mm update]]></title><description><![CDATA[<p dir="auto">Hi forum members<br />
this is what I get after updating the mirror, also after rebooting and restarting.<br />
Before I upgraded and updated the rpi sucessfully.<br />
Thank you for your help in advance<br />
kurt</p>
<pre><code>pi@raspberrypi:~ $ pm2 start mm
[PM2] Applying action restartProcessId on app [mm](ids: 0)
[PM2] [mm](0) ✓
[PM2] Process successfully started
┌──────┬──────┬────────┬────┬─────┬──────────┐
│ Name │ mode │ status │ ↺  │ cpu │ memory   │
├──────┼──────┼────────┼────┼─────┼──────────┤
│ mm   │ fork │ online │ 29 │ 0%  │ 2.3 MB   │
└──────┴──────┴────────┴────┴─────┴──────────┘
 Use `pm2 show ` to get more details about an app
pi@raspberrypi:~ $
</code></pre>
]]></description><link>https://forum.magicmirror.builders/topic/5200/pm2-doesn-t-start-after-mm-update</link><generator>RSS for Node</generator><lastBuildDate>Fri, 07 Aug 2026 11:47:30 GMT</lastBuildDate><atom:link href="https://forum.magicmirror.builders/topic/5200.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 10 Oct 2017 07:42:01 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to pm2 doesn't start after mm update on Sun, 15 Oct 2017 15:56:24 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/kurt" aria-label="Profile: kurt">@<bdi>kurt</bdi></a> said in <a href="/post/29592">pm2 doesn’t start after mm update</a>:</p>
<blockquote>
<p dir="auto">Sorry for feeling presure, but you made it again! Works like a charm!<br />
Once again Thank you!</p>
</blockquote>
<p dir="auto">No worries mate. I’m glad you’re up and running again!</p>
]]></description><link>https://forum.magicmirror.builders/post/29593</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/29593</guid><dc:creator><![CDATA[Mykle1]]></dc:creator><pubDate>Sun, 15 Oct 2017 15:56:24 GMT</pubDate></item><item><title><![CDATA[Reply to pm2 doesn't start after mm update on Sun, 15 Oct 2017 15:53:37 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/mykle1" aria-label="Profile: Mykle1">@<bdi>Mykle1</bdi></a><br />
Sorry for feeling presure, but you made it again! Works like a charm!<br />
Once again Thank you!<br />
Kurt</p>
]]></description><link>https://forum.magicmirror.builders/post/29592</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/29592</guid><dc:creator><![CDATA[kurt]]></dc:creator><pubDate>Sun, 15 Oct 2017 15:53:37 GMT</pubDate></item><item><title><![CDATA[Reply to pm2 doesn't start after mm update on Sun, 15 Oct 2017 15:35:21 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/kurt" aria-label="Profile: kurt">@<bdi>kurt</bdi></a> said in <a href="/post/29590">pm2 doesn’t start after mm update</a>:</p>
<blockquote>
<p dir="auto">but I couldn’t get it right. So I hope you can.</p>
</blockquote>
<p dir="auto">That’s a lot of pressure. :^)</p>
<p dir="auto">Try this at the very beginning of your config.js file, so it looks like this:</p>
<pre><code>var config = {
	port: 8080,
        address: "0.0.0.0",
	ipWhitelist: [], // Set [] to allow all IP addresses.
</code></pre>
]]></description><link>https://forum.magicmirror.builders/post/29591</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/29591</guid><dc:creator><![CDATA[Mykle1]]></dc:creator><pubDate>Sun, 15 Oct 2017 15:35:21 GMT</pubDate></item><item><title><![CDATA[Reply to pm2 doesn't start after mm update on Sun, 15 Oct 2017 15:24:19 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/mykle1" aria-label="Profile: Mykle1">@<bdi>Mykle1</bdi></a><br />
I tried several changes to my ipWhitelist after I read the posts in <a href="https://forum.magicmirror.builders/topic/5015/after-update-to-mirror-to-2-1-3-no-working-whitlist">https://forum.magicmirror.builders/topic/5015/after-update-to-mirror-to-2-1-3-no-working-whitlist</a><br />
but I couldn’t get it right. So I hope you can.<br />
Thank you in advance<br />
Kurt</p>
]]></description><link>https://forum.magicmirror.builders/post/29590</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/29590</guid><dc:creator><![CDATA[kurt]]></dc:creator><pubDate>Sun, 15 Oct 2017 15:24:19 GMT</pubDate></item><item><title><![CDATA[Reply to pm2 doesn't start after mm update on Sun, 15 Oct 2017 00:05:51 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/kurt" aria-label="Profile: kurt">@<bdi>kurt</bdi></a> said in <a href="/post/29540">pm2 doesn’t start after mm update</a>:</p>
<blockquote>
<p dir="auto">After I followed your help step by step the mirror appeared again, but I was suprised when I put all my modul folder into the “new mm”, that together with the old config. file everything worked out fine.</p>
</blockquote>
<p dir="auto">You got lucky. The step by step says one at a time. I’m just saying. :^)</p>
<blockquote>
<p dir="auto">DeprecationWarning: sys is deprecated. Use util instead.</p>
</blockquote>
<p dir="auto">Probably, one of the modules you are using has a dependency that is outdated or no longer supported. It has nothing to do with the MM software. You can ignore that warning.</p>
<blockquote>
<p dir="auto">and the second thing is, that I can`t find the Remote control funktion on my mobile phone, as I found it bevor. Here is the part of my config.<br />
Is there the “0.0.0.0” in ipWhitelist missing, and if yes, where to put it?</p>
</blockquote>
<p dir="auto">This has been discussed lately on the forum. Do a search by clicking the little magnifying glass, top right of the forum window. If you can’t find an answer, come back here and tell me.</p>
<p dir="auto">:^)</p>
]]></description><link>https://forum.magicmirror.builders/post/29575</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/29575</guid><dc:creator><![CDATA[Mykle1]]></dc:creator><pubDate>Sun, 15 Oct 2017 00:05:51 GMT</pubDate></item><item><title><![CDATA[Reply to pm2 doesn't start after mm update on Sat, 14 Oct 2017 13:06:17 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/mykle1" aria-label="Profile: Mykle1">@<bdi>Mykle1</bdi></a><br />
Hi Mykle1 and Thank you for your help so much!<br />
After I followed your help step by step the mirror appeared again, but I was suprised when I put all my modul folder into the “new mm”, that together with the old config. file everything worked out fine. Could’t believe that it was that easy.<br />
But still I have two more things where I could’t get a for me clear solution in the forum:</p>
<pre><code>DeprecationWarning: sys is deprecated. Use util instead.
</code></pre>
<p dir="auto">and the second thing is, that I can`t find the Remote control funktion on my mobile phone, as I found it bevor. Here is the part of my config.<br />
Is there the “0.0.0.0” in ipWhitelist missing, and if yes, where to put it?<br />
Kurt</p>
<pre><code>var config = 
{
	electronOptions: {
		
	},
	  ipWhitelist: [
		"::fff:0.0.0.0/1",
		"::fff:128.0.0.0/2",
		"::fff:192.0.0.0/3",
		"::fff:224.0.0.0/4",
		"127.0.0.1",
		"::ffff:127.0.0.1",
		"::1"
	],
</code></pre>
]]></description><link>https://forum.magicmirror.builders/post/29540</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/29540</guid><dc:creator><![CDATA[kurt]]></dc:creator><pubDate>Sat, 14 Oct 2017 13:06:17 GMT</pubDate></item><item><title><![CDATA[Reply to pm2 doesn't start after mm update on Sat, 14 Oct 2017 00:00:20 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/kurt" aria-label="Profile: kurt">@<bdi>kurt</bdi></a> said in <a href="/post/29480">pm2 doesn’t start after mm update</a>:</p>
<blockquote>
<p dir="auto">To get things right: first thing is to rename the MagicMirror folder.</p>
</blockquote>
<p dir="auto">Yes, but then I  suggest you do a manual installation. If you run the automatic installer script you may run into trouble again.</p>
<p dir="auto">Rename your MagicMirror folder. Go to <a href="https://github.com/MichMich/MagicMirror" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/MichMich/MagicMirror</a> and click on the green Clone or download button on the right<br />
side of the window, then click on Download ZIP. Now you have a MagicMirror-master.zip file. Double Click the file. Inside is the MagicMirror-master folder. Move that file to your /home/pi folder. Rename that folder to MagicMirror. Then in your terminal, cd into the MagicMirror directory and run npm install. When that finishes, run npm start, also in the MagicMirror directory.</p>
<p dir="auto">At this point the mirror should run but you’ll likely get a “Create a config” message displayed. At which point you should do this.<br />
<a href="https://forum.magicmirror.builders/topic/4528/how-to-create-a-working-config-for-absolute-beginners">https://forum.magicmirror.builders/topic/4528/how-to-create-a-working-config-for-absolute-beginners</a></p>
<p dir="auto">Then back to your terminal, in the MagicMirror directory, run npm start. That should get your mirror running.</p>
<p dir="auto">Then you can copy your modules, 1 by 1 into the new MagicMirror/modules folder and the entries into your new config.js file.</p>
<p dir="auto">That should do it.</p>
]]></description><link>https://forum.magicmirror.builders/post/29523</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/29523</guid><dc:creator><![CDATA[Mykle1]]></dc:creator><pubDate>Sat, 14 Oct 2017 00:00:20 GMT</pubDate></item><item><title><![CDATA[Reply to pm2 doesn't start after mm update on Fri, 13 Oct 2017 15:14:44 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/lavolp3" aria-label="Profile: lavolp3">@<bdi>lavolp3</bdi></a><br />
Hi lavolp3<br />
Bevor the update, pm2 startet the mirror, by now nothing happens at all, even no black screen etc.<br />
do you know a way to heal the mirror?<br />
Thanks</p>
]]></description><link>https://forum.magicmirror.builders/post/29485</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/29485</guid><dc:creator><![CDATA[kurt]]></dc:creator><pubDate>Fri, 13 Oct 2017 15:14:44 GMT</pubDate></item><item><title><![CDATA[Reply to pm2 doesn't start after mm update on Fri, 13 Oct 2017 14:41:38 GMT]]></title><description><![CDATA[<p dir="auto">Hi Kurt,</p>
<p dir="auto">if I understand correctly your mirror doesn’t show up despite your pm2 “starting” it successfully!?</p>
<p dir="auto">the <a href="http://run-start.sh" target="_blank" rel="noopener noreferrer nofollow ugc">run-start.sh</a> shell script seems to be the problem.<br />
This is the content:</p>
<pre><code>if [ -z "$DISPLAY" ]; then #If not set DISPLAY is SSH remote or tty
	export DISPLAY=:0 # Set by defaul display
fi
electron js/electron.js $1
</code></pre>
<p dir="auto">I would assume electron has some problem starting…</p>
]]></description><link>https://forum.magicmirror.builders/post/29482</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/29482</guid><dc:creator><![CDATA[lavolp3]]></dc:creator><pubDate>Fri, 13 Oct 2017 14:41:38 GMT</pubDate></item><item><title><![CDATA[Reply to pm2 doesn't start after mm update on Fri, 13 Oct 2017 13:31:26 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/mykle1" aria-label="Profile: Mykle1">@<bdi>Mykle1</bdi></a><br />
thank you Mykle1, sounds for me as it is a weekend job.<br />
To get things right: first thing is to rename the MagicMirror folder.<br />
Second step is to go thru the install routine <a href="https://forum.magicmirror.builders/topic/236/complete-setup-tutorial">https://forum.magicmirror.builders/topic/236/complete-setup-tutorial</a><br />
Is it than possible to copy/paste the modul-folders from the renamed (old)MMfolder into the new one and and the old config.file?<br />
I read your help in <a href="https://forum.magicmirror.builders/topic/5081/mm-wont-start-after-install/2">https://forum.magicmirror.builders/topic/5081/mm-wont-start-after-install/2</a><br />
but I guess this is a different problem.<br />
Thank you</p>
]]></description><link>https://forum.magicmirror.builders/post/29480</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/29480</guid><dc:creator><![CDATA[kurt]]></dc:creator><pubDate>Fri, 13 Oct 2017 13:31:26 GMT</pubDate></item><item><title><![CDATA[Reply to pm2 doesn't start after mm update on Fri, 13 Oct 2017 11:34:30 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/kurt" aria-label="Profile: kurt">@<bdi>kurt</bdi></a> said in <a href="/post/29454">pm2 doesn’t start after mm update</a>:</p>
<blockquote>
<p dir="auto">anyone else has an idea to get my mirror back on the screen again?</p>
</blockquote>
<p dir="auto">Until you can fix your updated installation, you can rename your MagicMirror folder and manually install the version of MM that was working for you. At least you’ll have your mirror back</p>
]]></description><link>https://forum.magicmirror.builders/post/29475</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/29475</guid><dc:creator><![CDATA[Mykle1]]></dc:creator><pubDate>Fri, 13 Oct 2017 11:34:30 GMT</pubDate></item><item><title><![CDATA[Reply to pm2 doesn't start after mm update on Fri, 13 Oct 2017 06:29:03 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/kurt" aria-label="Profile: kurt">@<bdi>kurt</bdi></a><br />
Hi memebers<br />
anyone else has an idea to get my mirror back on the screen again?<br />
It’s frustrating for me, because the mirror with all the modules was running like a charm, but after that update …<br />
Thank you</p>
]]></description><link>https://forum.magicmirror.builders/post/29454</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/29454</guid><dc:creator><![CDATA[kurt]]></dc:creator><pubDate>Fri, 13 Oct 2017 06:29:03 GMT</pubDate></item><item><title><![CDATA[Reply to pm2 doesn't start after mm update on Tue, 10 Oct 2017 08:15:48 GMT]]></title><description><![CDATA[<p dir="auto">@Sean<br />
well thank you for the link, but I could’t find a simple solution for my problem. The mirror doesn’t start also if I do the</p>
<pre><code>DISPLAY=:0 npm start
</code></pre>
<p dir="auto">by VNC</p>
]]></description><link>https://forum.magicmirror.builders/post/29321</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/29321</guid><dc:creator><![CDATA[kurt]]></dc:creator><pubDate>Tue, 10 Oct 2017 08:15:48 GMT</pubDate></item><item><title><![CDATA[Reply to pm2 doesn't start after mm update on Tue, 10 Oct 2017 07:57:22 GMT]]></title><description><![CDATA[<p dir="auto"><a href="https://forum.magicmirror.builders/topic/636/npm-start-dev?page=1">https://forum.magicmirror.builders/topic/636/npm-start-dev?page=1</a><br />
I think this could be help.</p>
]]></description><link>https://forum.magicmirror.builders/post/29319</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/29319</guid><dc:creator><![CDATA[[[global:former-user]]]]></dc:creator><pubDate>Tue, 10 Oct 2017 07:57:22 GMT</pubDate></item><item><title><![CDATA[Reply to pm2 doesn't start after mm update on Tue, 10 Oct 2017 07:53:54 GMT]]></title><description><![CDATA[<p dir="auto">@Sean<br />
hi Sean thank you for your quick response<br />
this is what I get</p>
<pre><code>0|mm       |  Please include the following file with any support request:
0|mm       | npm ERR!     /home/pi/MagicMirror/npm-debug.log
</code></pre>
<pre><code>npm ERR! Linux 4.9.53-v7+
npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "start" "dev"
npm ERR! node v6.11.4
npm ERR! npm  v3.10.10
npm ERR! code ELIFECYCLE
npm ERR! magicmirror@2.1.3 start: `sh run-start.sh "dev"`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the magicmirror@2.1.3 start script 'sh run-start.sh "dev"'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the magicmirror package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     sh run-start.sh "dev"
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs magicmirror
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls magicmirror
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     /home/pi/MagicMirror/npm-debug.log
pi@raspberrypi:~/MagicMirror $ 
</code></pre>
]]></description><link>https://forum.magicmirror.builders/post/29318</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/29318</guid><dc:creator><![CDATA[kurt]]></dc:creator><pubDate>Tue, 10 Oct 2017 07:53:54 GMT</pubDate></item><item><title><![CDATA[Reply to pm2 doesn't start after mm update on Tue, 10 Oct 2017 07:44:56 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/kurt" aria-label="Profile: kurt">@<bdi>kurt</bdi></a><br />
try <code>pm2 log mm</code><br />
and</p>
<pre><code>cd ~/MagicMirror
npm start dev
</code></pre>
<p dir="auto">What can you see in terminal and browser (and additional dev console window)?</p>
]]></description><link>https://forum.magicmirror.builders/post/29317</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/29317</guid><dc:creator><![CDATA[[[global:former-user]]]]></dc:creator><pubDate>Tue, 10 Oct 2017 07:44:56 GMT</pubDate></item></channel></rss>