<?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[Error Running Magic Mirror on Google Compute]]></title><description><![CDATA[<p dir="auto">I want to run MM2 on google compute engine jessie so multiple clients can access it as a website… I seem to have it running minus the ip whitelist isn’t working…</p>
<p dir="auto">i pasted<br />
<code>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></p>
<p dir="auto">into the config… It runs the node serveronly fine , but displays<br />
This device is not allowed to access your mirror.<br />
Please check your config.js or config.js.sample to change this.</p>
<pre><code>admin@magicmirror:~/MagicMirror$ node serveronly/
Starting MagicMirror: v2.1.0
Loading config ...
WARNING! Could not load config file. Starting with default configuration. Error found: TypeError: Object # 
has no method 'accessSync'
Loading module helpers ...
No helper found for module: updatenotification.
No helper found for module: helloworld.
All module helpers loaded.
Starting server op port 8080 ... 
Server started ...
Sockets connected &amp; modules started ...
Ready to go! Please point your browser to: http://localhost:8080
Access denied to IP address: my.home.ip.here
</code></pre>
<p dir="auto">any ideas or is there any way to disable whitelisting completely?</p>
]]></description><link>https://forum.magicmirror.builders/topic/1668/error-running-magic-mirror-on-google-compute</link><generator>RSS for Node</generator><lastBuildDate>Mon, 13 Jul 2026 09:38:30 GMT</lastBuildDate><atom:link href="https://forum.magicmirror.builders/topic/1668.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 06 Feb 2017 09:20:53 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Error Running Magic Mirror on Google Compute on Mon, 22 May 2017 21:37:28 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/bhepler" aria-label="Profile: bhepler">@<bdi>bhepler</bdi></a></p>
<pre><code>:~ $ ls -lh ~/MagicMirror/config
total 24K
-rw-r--r-- 1 drpi1 drpi1 7.7K May 21 18:00 configglobetest.js
-rw-r--r-- 1 drpi1 drpi1 8.3K May 22 16:42 config.js
-rw-r--r-- 1 drpi1 drpi1 1.6K May 21 02:28 config.js.sample
</code></pre>
<p dir="auto">I</p>
]]></description><link>https://forum.magicmirror.builders/post/21929</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/21929</guid><dc:creator><![CDATA[d3r]]></dc:creator><pubDate>Mon, 22 May 2017 21:37:28 GMT</pubDate></item><item><title><![CDATA[Reply to Error Running Magic Mirror on Google Compute on Mon, 22 May 2017 20:53:38 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/d3r" aria-label="Profile: d3r">@<bdi>d3r</bdi></a> Well, there goes that theory.<br />
At this point, all I can think of is a permissions problem. What does <code>ls -lh ~/MagicMirror/config</code> get you?</p>
]]></description><link>https://forum.magicmirror.builders/post/21926</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/21926</guid><dc:creator><![CDATA[bhepler]]></dc:creator><pubDate>Mon, 22 May 2017 20:53:38 GMT</pubDate></item><item><title><![CDATA[Reply to Error Running Magic Mirror on Google Compute on Mon, 22 May 2017 20:30:48 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/bhepler" aria-label="Profile: bhepler">@<bdi>bhepler</bdi></a> said in <a href="/post/21923">Error Running Magic Mirror on Google Compute</a>:</p>
<blockquote>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/d3r" aria-label="Profile: d3r">@<bdi>d3r</bdi></a> That’s really curious. Because I do not have that problem with node serveronly.</p>
</blockquote>
<p dir="auto">I used to run node serveronly fine too. Then last week my sd card starting showing signs that it would die soon. So, I flashed raspbian on a new sd card and started fresh.</p>
<pre><code>~ $ ls -lh /home/
total 4.0K
drwxr-xr-x 32 drpi1 drpi1 4.0K May 22 14:59 drpi1
</code></pre>
<p dir="auto">I have the default pi user deleted for security reasons. That’s the only thing I did different on this card.<br />
I think the list is different because it fails to load the config in node serveronly so the modules that are supposed to run do not.</p>
]]></description><link>https://forum.magicmirror.builders/post/21924</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/21924</guid><dc:creator><![CDATA[d3r]]></dc:creator><pubDate>Mon, 22 May 2017 20:30:48 GMT</pubDate></item><item><title><![CDATA[Reply to Error Running Magic Mirror on Google Compute on Mon, 22 May 2017 19:39:34 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/d3r" aria-label="Profile: d3r">@<bdi>d3r</bdi></a> That’s really curious. Because I do not have that problem with <code>node serveronly</code>.</p>
<pre><code>node serveronly
Starting MagicMirror: v2.1.1
Loading config ...
Loading module helpers ...
No helper found for module: alert.
Initializing new module helper ...
Module helper loaded: updatenotification
No helper found for module: clock.
No helper found for module: MMM-Globe.
All module helpers loaded.
Starting server on port 8080 ... 
Starting server op port 8080 ... 
Server started ...
Connecting socket for: updatenotification
Sockets connected &amp; modules started ...

Ready to go! Please point your browser to: http://localhost:8080
</code></pre>
<p dir="auto">It looks like you are running two different mirrors on that box. The list of modules loaded in each case is different. I think you’re logged in as different users, so the <code>~</code> folder is going to point to different spots.</p>
<p dir="auto">What do you get in return when you run <code>ls -lh /home/</code>?</p>
]]></description><link>https://forum.magicmirror.builders/post/21923</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/21923</guid><dc:creator><![CDATA[bhepler]]></dc:creator><pubDate>Mon, 22 May 2017 19:39:34 GMT</pubDate></item><item><title><![CDATA[Reply to Error Running Magic Mirror on Google Compute on Mon, 22 May 2017 15:41:03 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/bhepler" aria-label="Profile: bhepler">@<bdi>bhepler</bdi></a> Hey, thanks for your reply. I don’t see how changing the whitelist would do anything since the whitelist is located in the config and the config can’t be loaded in server only. I could be mistaken. I think my issue is a bit different. I should have expanded more. I’m on a pi3 and I’m running the code on the same pi.<br />
This is when I run node server only:</p>
<pre><code>:~/MagicMirror $ node serveronly
Starting MagicMirror: v2.1.1
Loading config ...
***WARNING! Could not load config file. Starting with default configuration. Error found: TypeError: Object # has no method 'accessSync'***
Loading module helpers ...
No helper found for module: updatenotification.
No helper found for module: helloworld.
All module helpers loaded.
Starting server on port 8080 ...
Starting server op port 8080 ...
Server started ...
Sockets connected &amp; modules started ...

Ready to go! Please point your browser to: http://localhost:8080
</code></pre>
<p dir="auto">and when I run npm start it does find the config which I find very strange.</p>
<pre><code>~/MagicMirror $ npm start

&gt; magicmirror@2.1.1 start /home/drpi1/MagicMirror
&gt; sh run-start.sh

Starting MagicMirror: v2.1.1
Loading config ...
Loading module helpers ...
No helper found for module: alert.
No helper found for module: clock.
No helper found for module: calendar_monthly.
Initializing new module helper ...
Module helper loaded: calendar
Initializing new module helper ...
Module helper loaded: MMM-Wunderlist-Enhanced
Initializing new module helper ...
Module helper loaded: MMM-GarminActivities
No helper found for module: MMM-doomsDay.
Initializing new module helper ...
Module helper loaded: newsfeed
Initializing new module helper ...
Module helper loaded: MMM-WunderGround
Initializing new module helper ...
Module helper loaded: MMM-Strava
Initializing new module helper ...
Module helper loaded: MMM-Remote-Control
No helper found for module: MMM-iFrameReload.
No helper found for module: MMM-iFrame.
Initializing new module helper ...
Module helper loaded: MMM-Readfile
No helper found for module: MMM-Carousel.
All module helpers loaded.
Starting server on port 8080 ...
Starting server op port 8080 ...
Server started ...
Connecting socket for: calendar
Starting node helper for: calendar
Connecting socket for: MMM-Wunderlist-Enhanced
Connecting socket for: MMM-GarminActivities
Starting node helper for: MMM-GarminActivities
Connecting socket for: newsfeed
Starting module: newsfeed
Connecting socket for: MMM-WunderGround
MMM-WunderGround helper started ...
Connecting socket for: MMM-Strava
Starting module: MMM-Strava
Connecting socket for: MMM-Remote-Control
Starting node helper for: MMM-Remote-Control
Connecting socket for: MMM-Readfile
Staring module helper: MMM-Readfile
Sockets connected &amp; modules started ...
Launching application.
</code></pre>
]]></description><link>https://forum.magicmirror.builders/post/21917</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/21917</guid><dc:creator><![CDATA[d3r]]></dc:creator><pubDate>Mon, 22 May 2017 15:41:03 GMT</pubDate></item><item><title><![CDATA[Reply to Error Running Magic Mirror on Google Compute on Mon, 22 May 2017 01:55:35 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/d3r" aria-label="Profile: d3r">@<bdi>d3r</bdi></a> This whitelist configuration is a bit dependent upon your network. If you have a router that assigns a different IP address, then this won’t work. For example, my Netgear Nighthawk router assigns IP addresses in the 10.0.0.X range, which are not covered by this whitelist. You’ll need to add values that represent your specific network. Otherwise, you can use <code>[ ]</code> to allow everyone to see your mirror interface.</p>
<p dir="auto">In windows, open up a command prompt by clicking on the Start Button and then typing <code>cmd</code> in the search bar. Click on the first result and you’ll get a command prompt. Enter <code>ipconfig</code> and it will respond with your IP address. Take that IP address and add it to your whitelist value in your <code>config.js</code>. If you want to authorize every machine on your network, replace the final value in that ip address with 0 and add “/24”. In my case, it’s <code>10.0.0.0/24</code>. In most other networks, it will be <code>192.168.0.0/24</code>. That should allow any device on your local network the ability to view the Mirror by browsing to its IP address.</p>
<p dir="auto">If you’re using Ubuntu or some other flavor of UNIX, <code>ctrl+alt+t</code> will get you a command prompt. The command in UNIX is <code>ifconfig</code>, not <code>ipconfig</code>. Don’t ask, because I don’t know why.</p>
]]></description><link>https://forum.magicmirror.builders/post/21905</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/21905</guid><dc:creator><![CDATA[bhepler]]></dc:creator><pubDate>Mon, 22 May 2017 01:55:35 GMT</pubDate></item><item><title><![CDATA[Reply to Error Running Magic Mirror on Google Compute on Sun, 21 May 2017 16:25:38 GMT]]></title><description><![CDATA[<p dir="auto">Apologies for bumping an old topic but I have the same issue here. I flashed a new sd card this weekend and set up MM2 again. My MM2 works fine in normal mode(electron) but if I  get this error when running only the server.</p>
<pre><code>WARNING! Could not load config file. Starting with default configuration. Error found: TypeError: Object # has no method 'accessSync'
</code></pre>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/onetwankyfive" aria-label="Profile: onetwankyfive">@<bdi>onetwankyfive</bdi></a> Were you able to get around this problem?</p>
]]></description><link>https://forum.magicmirror.builders/post/21879</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/21879</guid><dc:creator><![CDATA[d3r]]></dc:creator><pubDate>Sun, 21 May 2017 16:25:38 GMT</pubDate></item></channel></rss>