<?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[Auto-restart after quitting]]></title><description><![CDATA[<p dir="auto">I just installed MM on Windows, followed all the instructions from the wiki. I can successfully run from the Git Bash prompt with npm start.<br />
The problem is, when I use Alt+Space to bring up the context menu and select Close, the mirror closes and then immediately re-opens (reboots?). I can see in the Bash window that it seems to be restarting - this is the bash console output from starting it once and closing it once (trying to):</p>
<p dir="auto">$ npm start<br />
<a href="https://ics.calendarlabs.com/76/mm3137/US_Holidays.ics" target="_blank" rel="noopener noreferrer nofollow ugc">https://ics.calendarlabs.com/76/mm3137/US_Holidays.ics</a>.<br />
[2024-11-25 08:43:40.834] [INFO]  Newsfeed-Fetcher: Broadcasting 26 items.<br />
[2024-11-25 08:43:43.320] [INFO]  System information:</p>
<h3>SYSTEM:   manufacturer: Dell Inc.; model: XPS 8940; virtual: false</h3>
<h3>OS:       platform: Windows; distro: Microsoft Windows 10 Pro; release: 10.0</h3>
<p dir="auto">.19045; arch: x64; kernel: 10.0.19045</p>
<h3>VERSIONS: electron: 31.6.0; used node: 20.17.0; installed node: 22.11.0; npm</h3>
<p dir="auto">: 10.9.0; pm2: 5.4.2</p>
<h3>OTHER:    timeZone: America/Chicago; ELECTRON_ENABLE_GPU: undefined</h3>
<p dir="auto">[2024-11-25 08:44:02.407] [LOG]   Use existing calendarfetcher for url: https://<br />
<a href="http://ics.calendarlabs.com/76/mm3137/US_Holidays.ics" target="_blank" rel="noopener noreferrer nofollow ugc">ics.calendarlabs.com/76/mm3137/US_Holidays.ics</a><br />
[2024-11-25 08:44:02.408] [INFO]  Calendar-Fetcher: Broadcasting 13 events from<br />
<a href="https://ics.calendarlabs.com/76/mm3137/US_Holidays.ics" target="_blank" rel="noopener noreferrer nofollow ugc">https://ics.calendarlabs.com/76/mm3137/US_Holidays.ics</a>.<br />
[2024-11-25 08:44:02.413] [LOG]   Use existing newsfetcher for url: <a href="https://rss" target="_blank" rel="noopener noreferrer nofollow ugc">https://rss</a>.<br />
<a href="http://nytimes.com/services/xml/rss/nyt/HomePage.xml" target="_blank" rel="noopener noreferrer nofollow ugc">nytimes.com/services/xml/rss/nyt/HomePage.xml</a><br />
[2024-11-25 08:44:02.413] [INFO]  Newsfeed-Fetcher: Broadcasting 26 items.<br />
[2024-11-25 08:44:02.414] [INFO]  updatenotification: Updater Class Loaded!<br />
[2024-11-25 08:44:02.414] [INFO]  updatenotification: Checking PM2 using…<br />
[2024-11-25 08:44:02.426] [INFO]  updatenotification: [PM2] You are not using pm<br />
2<br />
[2024-11-25 08:44:02.494] [INFO]  Calendar-Fetcher: Broadcasting 13 events from<br />
<a href="https://ics.calendarlabs.com/76/mm3137/US_Holidays.ics" target="_blank" rel="noopener noreferrer nofollow ugc">https://ics.calendarlabs.com/76/mm3137/US_Holidays.ics</a>.<br />
[2024-11-25 08:44:02.502] [INFO]  Newsfeed-Fetcher: Broadcasting 26 items.<br />
[2024-11-25 08:44:34.436] [LOG]   Use existing calendarfetcher for url: https://<br />
<a href="http://ics.calendarlabs.com/76/mm3137/US_Holidays.ics" target="_blank" rel="noopener noreferrer nofollow ugc">ics.calendarlabs.com/76/mm3137/US_Holidays.ics</a><br />
[2024-11-25 08:44:34.437] [INFO]  Calendar-Fetcher: Broadcasting 13 events from<br />
<a href="https://ics.calendarlabs.com/76/mm3137/US_Holidays.ics" target="_blank" rel="noopener noreferrer nofollow ugc">https://ics.calendarlabs.com/76/mm3137/US_Holidays.ics</a>.<br />
[2024-11-25 08:44:34.442] [LOG]   Use existing newsfetcher for url: <a href="https://rss" target="_blank" rel="noopener noreferrer nofollow ugc">https://rss</a>.<br />
<a href="http://nytimes.com/services/xml/rss/nyt/HomePage.xml" target="_blank" rel="noopener noreferrer nofollow ugc">nytimes.com/services/xml/rss/nyt/HomePage.xml</a><br />
[2024-11-25 08:44:34.442] [INFO]  Newsfeed-Fetcher: Broadcasting 26 items.<br />
[2024-11-25 08:44:34.443] [INFO]  updatenotification: Updater Class Loaded!<br />
[2024-11-25 08:44:34.443] [INFO]  updatenotification: Checking PM2 using…<br />
[2024-11-25 08:44:34.449] [INFO]  updatenotification: [PM2] You are not using pm<br />
2<br />
[2024-11-25 08:44:34.529] [INFO]  Newsfeed-Fetcher: Broadcasting 26 items.<br />
[2024-11-25 08:44:34.541] [INFO]  Calendar-Fetcher: Broadcasting 13 events from<br />
<a href="https://ics.calendarlabs.com/76/mm3137/US_Holidays.ics" target="_blank" rel="noopener noreferrer nofollow ugc">https://ics.calendarlabs.com/76/mm3137/US_Holidays.ics</a>.</p>
<p dir="auto">You can see the timestamps jump from   08:44:02  (first run) to   08:44:34  - after I closed MM and it restarted on its own.<br />
So far the only way I found to stop this loop is to click on the Bash window and type Ctrl-C, which gives me this and closes the mirror:</p>
<p dir="auto"><em>(path to my username)</em>\MagicMirror\node_modules\electron\dist\electron.exe exited with signal SIGINT</p>
<p dir="auto">Any ideas what the problem is?</p>
]]></description><link>https://forum.magicmirror.builders/topic/19167/auto-restart-after-quitting</link><generator>RSS for Node</generator><lastBuildDate>Thu, 16 Jul 2026 07:20:37 GMT</lastBuildDate><atom:link href="https://forum.magicmirror.builders/topic/19167.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 25 Nov 2024 15:19:41 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Auto-restart after quitting on Mon, 25 Nov 2024 16:17:38 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/cpcode" aria-label="Profile: cpcode">@<bdi>cpcode</bdi></a> well, a script or pm2 with a script…</p>
<p dir="auto">I’ve never heard of MM restarting if you use npm start and select close or use ctrl-q</p>
]]></description><link>https://forum.magicmirror.builders/post/121543</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/121543</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Mon, 25 Nov 2024 16:17:38 GMT</pubDate></item><item><title><![CDATA[Reply to Auto-restart after quitting on Mon, 25 Nov 2024 16:16:11 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 open the Git Bash console, go to the MagicMirror folder, and type npm start<br />
No flags or scripts. Is there a better way?</p>
]]></description><link>https://forum.magicmirror.builders/post/121542</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/121542</guid><dc:creator><![CDATA[cpcode]]></dc:creator><pubDate>Mon, 25 Nov 2024 16:16:11 GMT</pubDate></item><item><title><![CDATA[Reply to Auto-restart after quitting on Mon, 25 Nov 2024 16:08:06 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/cpcode" aria-label="Profile: cpcode">@<bdi>cpcode</bdi></a> can you show me how you start it?  is there a bash script you created?</p>
]]></description><link>https://forum.magicmirror.builders/post/121541</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/121541</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Mon, 25 Nov 2024 16:08:06 GMT</pubDate></item><item><title><![CDATA[Reply to Auto-restart after quitting on Mon, 25 Nov 2024 15:56:19 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’m not using pm2 - I didn’t install it and the log I posted above has a row that says ‘You are not using pm2’.  Is there a similar thing that would keep rebooting my mirror?</p>
]]></description><link>https://forum.magicmirror.builders/post/121540</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/121540</guid><dc:creator><![CDATA[cpcode]]></dc:creator><pubDate>Mon, 25 Nov 2024 15:56:19 GMT</pubDate></item><item><title><![CDATA[Reply to Auto-restart after quitting on Mon, 25 Nov 2024 15:44:28 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/cpcode" aria-label="Profile: cpcode">@<bdi>cpcode</bdi></a> do you use pm2 to autostart MM at boot?</p>
<p dir="auto">if so, pm2’s JOB is to keep the app running… if it crashes, it is restarted…</p>
<p dir="auto">so, after you minimize (instead of close)<br />
open a terminal window and do</p>
<p dir="auto">pm2 status<br />
then<br />
pm2 stop x<br />
where x is the name or number of the row the app is on</p>
<p dir="auto">then to restart without rebooting<br />
pm2 start x</p>
]]></description><link>https://forum.magicmirror.builders/post/121539</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/121539</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Mon, 25 Nov 2024 15:44:28 GMT</pubDate></item></channel></rss>