<?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[MagicMirror Autostart Error]]></title><description><![CDATA[<p dir="auto">I’m trying to make MagicMirror Autostart at boot, by following the guide on  github using pm2.<br />
I worked once, but now I get this error.</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 │ 1 │ 11% │ 2.3 MB   │
└──────┴──────┴────────┴───┴─────┴──────────┘
 Use `pm2 show ` to get more details about an app
pi@raspberrypi:~ $ pm2 logs mm
[TAILING] Tailing last 10 lines for [mm] process (change the value with --lines option)
/home/pi/.pm2/logs/mm-error-0.log last 10 lines:
0|mm       | ERROR! Could not find main module js file.
0|mm       | [1713:0223/004533:FATAL:bus.cc(1204)] D-Bus connection was disconnected. Aborting.
0|mm       | #0 0x0000012a3bb0 
0|mm       | #1 0x0000012b4406 
0|mm       | #2 0x00000120fd0a 
0|mm       | 
0|mm       | ERROR! Could not find main module js file.
0|mm       | ERROR! Could not find main module js file.
0|mm       | ERROR! Could not find main module js file.
0|mm       | ERROR! Could not find main module js file.

/home/pi/.pm2/logs/mm-out-0.log last 10 lines:
0|mm       | Connecting socket for: MMM-SystemStats
0|mm       | Connecting socket for: stocks
0|mm       | stocks helper started ...
0|mm       | Sockets connected &amp; modules started ...
0|mm       | Launching application.
0|mm       | Create new calendar fetcher for url: http://calendar.google.com/calendar/ical/xxxxxxxxxxxxxxxxxxx/basic.ics - Interval: 300000
0|mm       | Create new calendar fetcher for url: http://calendar.google.com/calendar/ical/xxxxxxxxxxxxxxx/basic.ics - Interval: 300000
0|mm       | Create new calendar fetcher for url: http://localhost:8080/modules/Cals/x.ics - Interval: 300000
0|mm       | Create new calendar fetcher for url: http://calendar.google.com/calendar/ical/xxxxxxxxxxxxxxxxxxxxxx/public/basic.ics - Interval: 300000
0|mm       | Create new news fetcher for url: https://news.google.com/news?cf=all&amp;hl=en&amp;pz=1&amp;ned=in&amp;output=rss - Interval: 300000

[STREAMING] Now streaming realtime logs for [mm] process

</code></pre>
]]></description><link>https://forum.magicmirror.builders/topic/1889/magicmirror-autostart-error</link><generator>RSS for Node</generator><lastBuildDate>Fri, 15 May 2026 01:36:03 GMT</lastBuildDate><atom:link href="https://forum.magicmirror.builders/topic/1889.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 25 Feb 2017 10:30:20 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to MagicMirror Autostart Error on Wed, 01 Mar 2017 12:35:14 GMT]]></title><description><![CDATA[<p dir="auto">I’m just guessing, but I imagine that since the bootup ran into an error (address/port in use) it could not load its files and as such could not continue proper boot.</p>
]]></description><link>https://forum.magicmirror.builders/post/16207</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/16207</guid><dc:creator><![CDATA[yawns]]></dc:creator><pubDate>Wed, 01 Mar 2017 12:35:14 GMT</pubDate></item><item><title><![CDATA[Reply to MagicMirror Autostart Error on Wed, 01 Mar 2017 12:25:31 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/yawns" aria-label="Profile: yawns">@<bdi>yawns</bdi></a> said in <a href="/post/16202">MagicMirror Autostart Error</a>:</p>
<blockquote>
<p dir="auto"><code>EADDRINUSE</code> means there is another process running on port 8080</p>
<p dir="auto">Please run <code>netstat -lntu</code> on your raspberry in terminal and check what processes are running on port 8080</p>
</blockquote>
<p dir="auto">maybe the <a href="https://github.com/Jopyth/MMM-Remote-Control" target="_blank" rel="noopener noreferrer nofollow ugc">MMM-Remote Control</a> ?<br />
I’ll try the command when I get home.</p>
<p dir="auto">Btw, what does this mean? Is there something wrong?</p>
<pre><code>ERROR! Could not find main module js file.
</code></pre>
]]></description><link>https://forum.magicmirror.builders/post/16206</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/16206</guid><dc:creator><![CDATA[qqqqqqqq]]></dc:creator><pubDate>Wed, 01 Mar 2017 12:25:31 GMT</pubDate></item><item><title><![CDATA[Reply to MagicMirror Autostart Error on Wed, 01 Mar 2017 12:00:27 GMT]]></title><description><![CDATA[<p dir="auto"><code>EADDRINUSE</code> means there is another process running on port 8080</p>
<p dir="auto">Please run <code>netstat -lntu</code> on your raspberry in terminal and check what processes are running on port 8080</p>
]]></description><link>https://forum.magicmirror.builders/post/16202</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/16202</guid><dc:creator><![CDATA[yawns]]></dc:creator><pubDate>Wed, 01 Mar 2017 12:00:27 GMT</pubDate></item><item><title><![CDATA[Reply to MagicMirror Autostart Error on Wed, 01 Mar 2017 05:53:52 GMT]]></title><description><![CDATA[<p dir="auto">Any help on this?</p>
]]></description><link>https://forum.magicmirror.builders/post/16180</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/16180</guid><dc:creator><![CDATA[qqqqqqqq]]></dc:creator><pubDate>Wed, 01 Mar 2017 05:53:52 GMT</pubDate></item><item><title><![CDATA[Reply to MagicMirror Autostart Error on Sat, 25 Feb 2017 10:45:10 GMT]]></title><description><![CDATA[<p dir="auto">Also, I tried starting it using npm start; the mirror worked fine, but this is the error.</p>
<pre><code>pi@raspberrypi:~/MagicMirror $ npm start

&gt; magicmirror@2.1.0 start /home/pi/MagicMirror
&gt; electron js/electron.js

Xlib:  extension "RANDR" missing on display ":1.0".
Starting MagicMirror: v2.1.0
Loading config ...
Loading module helpers ...
No helper found for module: alert.
Initializing new module helper ...
No helper found for module: clock.
Initializing new module helper ...
No helper found for module: compliments.
No helper found for module: currentweather.
Initializing new module helper ...
Initializing new module helper ...
No helper found for module: random_quotes.
Initializing new module helper ...
Initializing new module helper ...
All module helpers loaded.
Starting server op port 8080 ... 
Server started ...
Connecting socket for: updatenotification
Connecting socket for: calendar
Starting node helper for: calendar
Connecting socket for: newsfeed
Starting module: newsfeed
Connecting socket for: MMM-Remote-Control
Starting node helper for: MMM-Remote-Control
Connecting socket for: MMM-SystemStats
Connecting socket for: stocks
stocks helper started ...
Sockets connected &amp; modules started ...
Whoops! There was an uncaught exception...
{ Error: listen EADDRINUSE :::8080
    at Object.exports._errnoException (util.js:1026:11)
    at exports._exceptionWithHostPort (util.js:1049:20)
    at Server._listen2 (net.js:1253:14)
    at listen (net.js:1289:10)
    at net.js:1399:9
    at _combinedTickCallback (internal/process/next_tick.js:77:11)
    at process._tickCallback (internal/process/next_tick.js:98:9)
    at Module.runMain (module.js:592:11)
    at run (bootstrap_node.js:402:7)
    at startup (bootstrap_node.js:157:9)
  code: 'EADDRINUSE',
  errno: 'EADDRINUSE',
  syscall: 'listen',
  address: '::',
  port: 8080 }
MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues
Xlib:  extension "XInputExtension" missing on display ":1.0".
Xlib:  extension "RANDR" missing on display ":1.0".
Launching application.
Xlib:  extension "XInputExtension" missing on display ":1.0".
Xlib:  extension "XInputExtension" missing on display ":1.0".
ERROR! Could not find main module js file.
ERROR! Could not find main module js file.


</code></pre>
<p dir="auto">Inspite of this, the mirror showed me the latest news, but not the calendar. :/</p>
]]></description><link>https://forum.magicmirror.builders/post/15820</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/15820</guid><dc:creator><![CDATA[qqqqqqqq]]></dc:creator><pubDate>Sat, 25 Feb 2017 10:45:10 GMT</pubDate></item></channel></rss>