<?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[ipWhitelist HowTo]]></title><description><![CDATA[<p dir="auto">Since a couple people are having issues with the ipWhitelist (me included), I’m putting this up to help people use the whitelist correctly.</p>
<p dir="auto">For starters, the easiest way to whitelist your IP is to start up Magic Mirror with the default settings.  Try opening it up remotely from the computer you want to grant access to.  You’ll probably see an error that says:</p>
<blockquote>
<p dir="auto">“This device is not allowed to access your mirror.<br />
Please check your config.js or config.js.sample to change this.”</p>
</blockquote>
<p dir="auto"><strong>Now you need to check your MagicMirror logs.</strong></p>
<ul>
<li>If you are VPN’d into (or running directly on your pi), take a look at the terminal output.</li>
<li>If you are running MagicMirror using SSH and <code>DISPLAY=:0 nohup npm start &amp;</code> to start your mirror, take a look at your nohup.out file (<code>tail -f ~/MagicMirror/nohup.out</code>) to see the output.</li>
<li>If you are using pm2, run <code>tail -f ~/.pm2/logs/mm-out-0.log</code></li>
</ul>
<p dir="auto">You should see an error in there stating something like</p>
<blockquote>
<p dir="auto">Access denied to IP address: ::ffff:192.168.1.120</p>
</blockquote>
<p dir="auto"><strong>Change/Add your ipWhitelist in your <code>config.js</code>.</strong><br />
If you upgraded to MM 2.1.0 you’ll probably need to add the line<br />
<code>ipWhitelist: ["127.0.0.1", "::ffff:127.0.0.1", "::1", "::ffff:192.168.1.120"],</code> to your file, otherwise just add the IP that was denied to the list.</p>
<hr />
<p dir="auto"><strong>If you want to give all of your network IPs access to your MagicMirror</strong><br />
You’ll have to use IPv6 CIDR.<br />
For example, you have a couple devices with the IPs of 192.168.1.120, 192.168.1.155, 192.168.1.230 and you want to give them all access (along with everything else in the 192.168.1.X range), you should put <code>"::ffff:192.168.1.1/120"</code> in your ipWhitelist.<br />
If you want to allow 192.168.0.0 - 192.168.255.255 access, you should use <code>"::fff:192.168.1.1/112"</code></p>
<hr />
<p dir="auto"><strong>Restart MagicMirror to update your changes</strong></p>
<hr />
<p dir="auto"><em>The reason why “/24” works</em><br />
A couple different threads state to add /24 to the end of the IP address.  (I’ve put a couple of those up before doing some research too).  While this will indeed allow your network devices access to your magic mirror, it will also allow any device with an IPv4 based address access to your mirror (obviously your router would need to be configured to allow this).<br />
This “/24” in IPv6 CIDR allows 20,282,409,603,651,670,423,947,251,286,016 different IP addresses access.  (IPv4’s total addresses are 4,294,967,296).</p>
<hr />
<p dir="auto"><em>More information</em><br />
If you’d like to learn more or have different sub-netting needs, I found <a href="https://www.mediawiki.org/wiki/Help:Range_blocks/IPv6#How_to_calculate_an_IPv6_CIDR_range" target="_blank" rel="noopener noreferrer nofollow ugc">this page</a> useful.</p>
]]></description><link>https://forum.magicmirror.builders/topic/1326/ipwhitelist-howto</link><generator>RSS for Node</generator><lastBuildDate>Sun, 07 Jun 2026 02:11:18 GMT</lastBuildDate><atom:link href="https://forum.magicmirror.builders/topic/1326.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 02 Jan 2017 20:20:46 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to ipWhitelist HowTo on Mon, 14 Nov 2022 13:17:59 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, now I understand; so omitting that part completely makes sense in an ipv4 environment I guess.</p>
]]></description><link>https://forum.magicmirror.builders/post/105791</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/105791</guid><dc:creator><![CDATA[esamecar]]></dc:creator><pubDate>Mon, 14 Nov 2022 13:17:59 GMT</pubDate></item><item><title><![CDATA[Reply to ipWhitelist HowTo on Fri, 11 Nov 2022 20:35:52 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/esamecar" aria-label="Profile: esamecar">@<bdi>esamecar</bdi></a> ::FFFFFF is the ipv6 type filter</p>
]]></description><link>https://forum.magicmirror.builders/post/105757</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/105757</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Fri, 11 Nov 2022 20:35:52 GMT</pubDate></item><item><title><![CDATA[Reply to ipWhitelist HowTo on Fri, 11 Nov 2022 20:23:26 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 answer</p>
<p dir="auto">I was using “0.0.0.0” as ip addr already as advised in the documentation but could not pass the ipWhitelist section … omitting the “::ffff:” part helped. (Now everything is up and running.)</p>
]]></description><link>https://forum.magicmirror.builders/post/105756</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/105756</guid><dc:creator><![CDATA[esamecar]]></dc:creator><pubDate>Fri, 11 Nov 2022 20:23:26 GMT</pubDate></item><item><title><![CDATA[Reply to ipWhitelist HowTo on Fri, 11 Nov 2022 18:45:33 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/esamecar" aria-label="Profile: esamecar">@<bdi>esamecar</bdi></a> what is your address: setting?</p>
<p dir="auto">to allow systems from OUTSIDE the MagicMirror hardware, you must use  something OTHER than “localhost”</p>
<p dir="auto">you can either use “0.0.0.0”  , which means use any ip address on this machine to listen to requests<br />
or the actual ip address (which can change )<br />
use</p>
<pre><code>ip addr
</code></pre>
<p dir="auto">to get the address of the wifi or ethernet connected interface</p>
<p dir="auto">THEN<br />
you can fiddle with the whitelist …</p>
<p dir="auto">using the whitelist (IMHO) is really only useful in a commercial setting where someone  in the office  MIGHT scan for open IP addresses and try to connect to a range of ports…</p>
<p dir="auto">in my house, noone is getting on my network unless I let them …</p>
]]></description><link>https://forum.magicmirror.builders/post/105755</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/105755</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Fri, 11 Nov 2022 18:45:33 GMT</pubDate></item><item><title><![CDATA[Reply to ipWhitelist HowTo on Fri, 11 Nov 2022 17:38:15 GMT]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">sorry, this is a very long thread I stumbled upon because I had the problem that my browser told me that I cannot connect to a server only instance of mm2. The terminal output gave me an “Access denied to IP address” and printed the ip address I configured in the  ipWhitelist section of the config file according to the getting started section in the documentation and the comment in the config itself.</p>
<p dir="auto">What I was doing was following this advice:</p>
<pre><code>// or add a specific IPv4 of 192.168.1.5 :
                                                                                                                        // ["127.0.0.1", "::ffff:127.0.0.1", "::1", "::ffff:192.168.1.5"],
</code></pre>
<p dir="auto">the ip rejected was 192.168.178.42, therefore I used first</p>
<pre><code>"127.0.0.1", "::ffff:127.0.0.1", "::1", "::ffff:192.168.178.42"
</code></pre>
<p dir="auto">BUT I think I  have to use (at least this is what makes it working)</p>
<pre><code>"127.0.0.1", "::ffff:127.0.0.1", "::1", "192.168.178.42"
</code></pre>
<p dir="auto">Does this make any sense to you?</p>
<p dir="auto">Kind regards</p>
<p dir="auto">Marco</p>
]]></description><link>https://forum.magicmirror.builders/post/105754</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/105754</guid><dc:creator><![CDATA[esamecar]]></dc:creator><pubDate>Fri, 11 Nov 2022 17:38:15 GMT</pubDate></item><item><title><![CDATA[Reply to ipWhitelist HowTo on Tue, 17 Nov 2020 22:17:32 GMT]]></title><description><![CDATA[<p dir="auto">Ok thanks it 's good now.</p>
]]></description><link>https://forum.magicmirror.builders/post/84796</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/84796</guid><dc:creator><![CDATA[greda]]></dc:creator><pubDate>Tue, 17 Nov 2020 22:17:32 GMT</pubDate></item><item><title><![CDATA[Reply to ipWhitelist HowTo on Tue, 17 Nov 2020 21:50:49 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> said in <a href="/post/84743">ipWhitelist HowTo</a>:</p>
<blockquote>
<p dir="auto">u mean inside your home?</p>
</blockquote>
<p dir="auto">Yes inside my home.</p>
]]></description><link>https://forum.magicmirror.builders/post/84793</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/84793</guid><dc:creator><![CDATA[greda]]></dc:creator><pubDate>Tue, 17 Nov 2020 21:50:49 GMT</pubDate></item><item><title><![CDATA[Reply to ipWhitelist HowTo on Mon, 16 Nov 2020 15:56:47 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/greda" aria-label="Profile: greda">@<bdi>greda</bdi></a> said in <a href="/post/84741">ipWhitelist HowTo</a>:</p>
<blockquote>
<p dir="auto">ipWhitelist: [“127.0.0.1”, “:: ffff: 127.0.0.1”, “:: 1”, “0.0.0.0”]</p>
</blockquote>
<p dir="auto">u mean inside your home?</p>
<pre><code>address: "0.0.0.0".
ipWhitelist:[],
</code></pre>
<p dir="auto">127.0.0.1 means ONLY from the same box as MM on it.</p>
]]></description><link>https://forum.magicmirror.builders/post/84743</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/84743</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Mon, 16 Nov 2020 15:56:47 GMT</pubDate></item><item><title><![CDATA[Reply to ipWhitelist HowTo on Mon, 16 Nov 2020 15:18:49 GMT]]></title><description><![CDATA[<p dir="auto">Hi everybody,</p>
<p dir="auto">I want to connect from the outside on my maggic. I configured the config.js file like this: ipWhitelist: [“127.0.0.1”, “:: ffff: 127.0.0.1”, “:: 1”, “0.0.0.0”], // Set [] to allow all IP addresses but I don’t have remote access.<br />
Thank you for your help.</p>
]]></description><link>https://forum.magicmirror.builders/post/84741</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/84741</guid><dc:creator><![CDATA[greda]]></dc:creator><pubDate>Mon, 16 Nov 2020 15:18:49 GMT</pubDate></item><item><title><![CDATA[Reply to ipWhitelist HowTo on Mon, 02 Nov 2020 08:45:05 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/openphil" aria-label="Profile: openPhiL">@<bdi>openPhiL</bdi></a><br />
Well, suggest a better solution then. Maybe in a more constructive way.<br />
Or just go ahead find something else.</p>
]]></description><link>https://forum.magicmirror.builders/post/84182</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/84182</guid><dc:creator><![CDATA[lavolp3]]></dc:creator><pubDate>Mon, 02 Nov 2020 08:45:05 GMT</pubDate></item><item><title><![CDATA[Reply to ipWhitelist HowTo on Sat, 31 Oct 2020 21:03:44 GMT]]></title><description><![CDATA[<p dir="auto">really? this topic has 63k views, so it is litterally really annoying and problematic to a lot of people.<br />
It is a website for a mirror, how hard do you want to make it to be set up? the website should be served to anybody who can access it. IT pros who need to secure it will be able to, without this trickery. this is bs.</p>
]]></description><link>https://forum.magicmirror.builders/post/84130</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/84130</guid><dc:creator><![CDATA[openPhiL]]></dc:creator><pubDate>Sat, 31 Oct 2020 21:03:44 GMT</pubDate></item><item><title><![CDATA[Reply to ipWhitelist HowTo on Thu, 11 Jun 2020 20:53:46 GMT]]></title><description><![CDATA[<p dir="auto">Setting address: “0.0.0.0” has solved this.</p>
]]></description><link>https://forum.magicmirror.builders/post/76933</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/76933</guid><dc:creator><![CDATA[leem2000]]></dc:creator><pubDate>Thu, 11 Jun 2020 20:53:46 GMT</pubDate></item><item><title><![CDATA[Reply to ipWhitelist HowTo on Wed, 10 Jun 2020 21:48:42 GMT]]></title><description><![CDATA[<p dir="auto">Hi</p>
<p dir="auto">I recently installed MM and am viewing on screen rather than on a mirror. I’m unable to view MM in a web browser from another machine in the network. I get</p>
<p dir="auto">This site can’t be reached<br />
192.168.0.113 refused to connect.</p>
<p dir="auto">I’ve gone through this topic and tried the various suggestions including turning off IPv6. No joy.<br />
No errors or connection refused  messages in the pm2 logs. I’ve run config:check and it runs clean.</p>
<pre><code>netstat -lnpt
Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name 
tcp        0      0 0.0.0.0:5900            0.0.0.0:*               LISTEN      -                
tcp        0      0 127.0.0.1:8080          0.0.0.0:*               LISTEN      1861/electron.js 
tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN      -            
</code></pre>
<p dir="auto">I’m trying to access with <a href="http://192.168.0.113" target="_blank" rel="noopener noreferrer nofollow ugc">http://192.168.0.113</a>. Ssh to the pi is fine.<br />
Any ideas?</p>
]]></description><link>https://forum.magicmirror.builders/post/76896</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/76896</guid><dc:creator><![CDATA[leem2000]]></dc:creator><pubDate>Wed, 10 Jun 2020 21:48:42 GMT</pubDate></item><item><title><![CDATA[Reply to ipWhitelist HowTo on Thu, 05 Sep 2019 12:17:21 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/veejae" aria-label="Profile: veejae">@<bdi>veejae</bdi></a> addess: “localhost”,  means listen ONLY inside (from myself)…</p>
<p dir="auto">change to address: “0.0.0.0”  (listen from anywhere)</p>
]]></description><link>https://forum.magicmirror.builders/post/60926</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/60926</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Thu, 05 Sep 2019 12:17:21 GMT</pubDate></item><item><title><![CDATA[Reply to ipWhitelist HowTo on Thu, 05 Sep 2019 07:07:41 GMT]]></title><description><![CDATA[<p dir="auto">Anyone can help me please?<br />
I tried everything but still cant get an access granted to my IP 192.168.254.107<br />
<img src="/assets/uploads/files/1567667258460-cc316117-3d9c-439d-a6a0-14ee1820d7b8-image.png" alt="0_1567667261690_cc316117-3d9c-439d-a6a0-14ee1820d7b8-image.png" class=" img-fluid img-markdown" /></p>
]]></description><link>https://forum.magicmirror.builders/post/60922</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/60922</guid><dc:creator><![CDATA[veejae]]></dc:creator><pubDate>Thu, 05 Sep 2019 07:07:41 GMT</pubDate></item><item><title><![CDATA[Reply to ipWhitelist HowTo on Sat, 27 Jul 2019 11:28:23 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/gjones444" aria-label="Profile: gjones444">@<bdi>gjones444</bdi></a><br />
hi<br />
you must configure your config.js and maybe your interent router.</p>
<p dir="auto">This is my adress for global access to the mm2 via internet browser</p>
<p dir="auto"><a href="http://raspi-mm2.xxxxxxxxxxxxxx.myfritz.net:8116/" target="_blank" rel="noopener noreferrer nofollow ugc">http://raspi-mm2.xxxxxxxxxxxxxx.myfritz.net:8116/</a></p>
<p dir="auto">an this is a part of my configuration in my config .js</p>
<pre><code>var config = {
        address: "0.0.0.0",
        port: 8116,
        ipWhitelist: [],

</code></pre>
<p dir="auto">Port forward configuration for my router for global access<br />
<img src="/assets/uploads/files/1564226813104-portfreigabe_01.jpg" alt="0_1564226812443_Portfreigabe_01.jpg" class=" img-fluid img-markdown" /></p>
<p dir="auto">screenshot browser:<br />
<img src="/assets/uploads/files/1564226449889-raspimm2_browser_01.jpg" alt="0_1564226449423_RaspiMM2_Browser_01.jpg" class=" img-fluid img-markdown" /></p>
<p dir="auto">screenshot VNC Viewer:<br />
<img src="/assets/uploads/files/1564226343943-raspimm2_vnc_01.jpg" alt="0_1564226343512_RaspiMM2_VNC_01.jpg" class=" img-fluid img-markdown" /></p>
]]></description><link>https://forum.magicmirror.builders/post/59427</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/59427</guid><dc:creator><![CDATA[lolobyte]]></dc:creator><pubDate>Sat, 27 Jul 2019 11:28:23 GMT</pubDate></item><item><title><![CDATA[Reply to ipWhitelist HowTo on Sat, 27 Jul 2019 08:43:58 GMT]]></title><description><![CDATA[<p dir="auto">Re: &lsqb;&lsqb;Remote-Control] Shutdown](Configure and Update your MagicMirror)</p>
<p dir="auto">Has anyone found a fix for the issue below? I tried hardcoding my raspberry pi IP address and creating a range of acceptable IP addresses but still not able to access the MagicMirror from my desktop or phone. Any advice?</p>
<p dir="auto"><img src="/assets/uploads/files/1564212709685-7e068de1-99ae-440a-8089-db8133b59273-image.png" alt="0_1564212709400_7e068de1-99ae-440a-8089-db8133b59273-image.png" class=" img-fluid img-markdown" /></p>
]]></description><link>https://forum.magicmirror.builders/post/59425</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/59425</guid><dc:creator><![CDATA[gjones444]]></dc:creator><pubDate>Sat, 27 Jul 2019 08:43:58 GMT</pubDate></item><item><title><![CDATA[Reply to ipWhitelist HowTo on Thu, 11 Apr 2019 15:07:16 GMT]]></title><description><![CDATA[<p dir="auto">Please help me out, i do all the things whatever consulted in forum to access the remote control, but it is not working from my phone, or any other devices.<br />
It just working on the pc from where raspberry pi is operated through vnc.<br />
Please, help me. My project submission date is too close, please help.</p>
]]></description><link>https://forum.magicmirror.builders/post/55762</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/55762</guid><dc:creator><![CDATA[payal09]]></dc:creator><pubDate>Thu, 11 Apr 2019 15:07:16 GMT</pubDate></item><item><title><![CDATA[Reply to ipWhitelist HowTo on Mon, 23 Apr 2018 22:54:15 GMT]]></title><description><![CDATA[<p dir="auto">That doesn’t sound like an ipWhitelist problem.  Did you install MMM-Remote-Control per the <a href="https://github.com/Jopyth/MMM-Remote-Control#manual-install" target="_blank" rel="noopener noreferrer nofollow ugc">instructions</a>?  If so, what exactly are you getting your error message on and what are the IPs of your magicmirror and device?</p>
]]></description><link>https://forum.magicmirror.builders/post/38812</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/38812</guid><dc:creator><![CDATA[mochman]]></dc:creator><pubDate>Mon, 23 Apr 2018 22:54:15 GMT</pubDate></item><item><title><![CDATA[Reply to ipWhitelist HowTo on Mon, 23 Apr 2018 19:20:14 GMT]]></title><description><![CDATA[<p dir="auto">I have tried all of the suggestions to get MMM-Remote-Control to work and I cannot figure anything out. Any help would be appreciated. I keep getting <code> Cannot GET /remote.html</code> and I’m not sure what to do from here.</p>
]]></description><link>https://forum.magicmirror.builders/post/38790</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/38790</guid><dc:creator><![CDATA[AndrewVircks]]></dc:creator><pubDate>Mon, 23 Apr 2018 19:20:14 GMT</pubDate></item><item><title><![CDATA[Reply to ipWhitelist HowTo on Thu, 19 Apr 2018 20:56:33 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> said in <a href="/post/28363">ipWhitelist HowTo</a>:</p>
<blockquote>
<p dir="auto">Maybe I have missed this from someone else, but one important thing about the whitelisting message:</p>
<pre><code>“This device is not allowed to access your mirror.
Please check your config.js or config.js.sample to change this.”
</code></pre>
<p dir="auto">The EXACT SAME message appears (in my case) if the config.js has syntax errors. Locally your mirror will tell you that there is no config file or just give you a black screen, but if you try to reach it from outside through a browser (Firefox and Chrome in my case) with a broken config.js, you will get the whitelisting message above.</p>
<p dir="auto">So, before trying to get your ipWhitelist in the right shape, make sure you have no other syntax errors with the mirror, e.g. using</p>
<pre><code>npm run config:check
</code></pre>
<p dir="auto">If you had some and had them corrected, be safe and restart the mirror.<br />
Below you can see the example in my case.</p>
<pre><code>pi@magicmirror2:~ $ tail ~/.pm2/logs/mm-out-0.log
No helper found for module: helloworld.
All module helpers loaded.
Starting server on port 8080 ...
Server started ...
Connecting socket for: updatenotification
Sockets connected &amp; modules started ...
Launching application.
Access denied to IP address: 66.249.93.64
Access denied to IP address: 80.157.5.50
Access denied to IP address: 80.157.5.50
pi@magicmirror2:~ $ cd MagicMirror/
pi@magicmirror2:~/MagicMirror $ npm run config:check

&gt; magicmirror@2.1.2 config:check /home/pi/MagicMirror
&gt; node tests/configs/check_config.js

Checking file...  /home/pi/MagicMirror/config/config.js
Line 260 col 9 Expected ']' to match '[' from line 26 and instead saw '{'.
Line 261 col 16 Expected '}' to match '{' from line 11 and instead saw 'module'.
Line 261 col 22 Missing semicolon.
Line 261 col 16 Unrecoverable syntax error. (95% scanned).
pi@magicmirror2:~/MagicMirror $ sudo nano config/config.js
pi@magicmirror2:~/MagicMirror $ npm run config:check

&gt; magicmirror@2.1.2 config:check /home/pi/MagicMirror
&gt; node tests/configs/check_config.js

Checking file...  /home/pi/MagicMirror/config/config.js
Your configuration file don't containt syntax error :)
pi@magicmirror2:~/MagicMirror $ pm2 restart mm
Use --update-env to update environment variables
[PM2] Applying action restartProcessId on app [mm](ids: 0)
[PM2] [mm](0) ✓
┌──────────┬────┬──────┬─────┬────────┬─────────┬────────┬─────┬──────────┬──────┬──────────┐
│ App name │ id │ mode │ pid │ status │ restart │ uptime │ cpu │ mem      │ user │ watching │
├──────────┼────┼──────┼─────┼────────┼─────────┼────────┼─────┼──────────┼──────┼──────────┤
│ mm       │ 0  │ fork │ 901 │ online │ 6       │ 0s     │ 18% │ 2.3 MB   │ pi   │ disabled │
└──────────┴────┴──────┴─────┴────────┴─────────┴────────┴─────┴──────────┴──────┴──────────┘
 Use `pm2 show ` to get more details about an app
pi@magicmirror2:~/MagicMirror $

</code></pre>
</blockquote>
<p dir="auto">I wanted to quote this as it just happened to me. MM was working fine remotely. I made some edits to config.js and got the dreaded “This device is not allowed to access your mirror…" message. I hadn’t edited the whitelist, so I started doing all of the network troubleshooting. Seeing this post reminded me I had done some edits and sure enough, I missed a comma somewhere and the screwed it all up. Fixing that unrelated entry in the config.js made this error go away.</p>
]]></description><link>https://forum.magicmirror.builders/post/38653</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/38653</guid><dc:creator><![CDATA[ToddKlindt]]></dc:creator><pubDate>Thu, 19 Apr 2018 20:56:33 GMT</pubDate></item></channel></rss>