<?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[MM shuts down after an hour]]></title><description><![CDATA[<p dir="auto">Hi!</p>
<p dir="auto">This might be a stupid noob question and possibly in the wrong part of the forum, but I’m going nuts here. Until now, I’ve been running my MM every day, flawlessly for three years.</p>
<p dir="auto">I run MM on a dedicated RPi3B, through “Raspberry Pi OS with desktop”, now on version 5.15. Ever since the last upgrade of the MM software (2.22.0?), the MM stops running after an hour or so. Sometimes I get the black screen, sometimes it reverts to what looks like a login screen. On reboot, MM runs again. For an hour or so.</p>
<p dir="auto">To troubleshoot, I have</p>
<ul>
<li>gotten a new SD card,</li>
<li>I have tried wiping the card and reinstalling Pi OS and MM three times,</li>
<li>I have disabled screen blanking, and</li>
<li>I have tried installing xscreensaver and disabling it through the Pi OS,</li>
<li>I have checked that all my modules have the Node Helper,<br />
all with with no luck.</li>
</ul>
<p dir="auto">Of course all modules are updated.</p>
<p dir="auto">What happened simultaneously is that I have great trouble accessing the Pi through SSH (PuTTY), but I’ve narrowed that issue down to a poorly working WiFi unit  in the Pi. Therefore it’s difficult for me to access logs. I can, but I need to run a long cable. The Wifi works well enough to support updating the modules during use.</p>
<p dir="auto">Modules I use:<br />
MMM-Skolmaten<br />
MMM-Tibber<br />
MMM-NetworkScanner<br />
MMM-Remote-Control<br />
MMM-Netatmo<br />
MMM-ResRobot</p>
<p dir="auto">Any pointers would be helpful. If you need me to upload logs, please tell me how to do that, step by step …</p>
<p dir="auto">Thanks!</p>
]]></description><link>https://forum.magicmirror.builders/topic/17574/mm-shuts-down-after-an-hour</link><generator>RSS for Node</generator><lastBuildDate>Sat, 11 Jul 2026 05:54:52 GMT</lastBuildDate><atom:link href="https://forum.magicmirror.builders/topic/17574.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 25 Jan 2023 00:49:12 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to MM shuts down after an hour on Sat, 28 Jan 2023 01:31:48 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/lazershrimp" aria-label="Profile: Lazershrimp">@<bdi>Lazershrimp</bdi></a> awesome detective work!!</p>
]]></description><link>https://forum.magicmirror.builders/post/107584</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/107584</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Sat, 28 Jan 2023 01:31:48 GMT</pubDate></item><item><title><![CDATA[Reply to MM shuts down after an hour on Sat, 28 Jan 2023 01:24:45 GMT]]></title><description><![CDATA[<p dir="auto">MM has been running flawlessly for &gt;24h now, with assistance of a LAN cable. I consider the issue solved. Have ordered a wifi usb dongle as a more permanent solution. I consider this issue solved.</p>
]]></description><link>https://forum.magicmirror.builders/post/107583</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/107583</guid><dc:creator><![CDATA[Lazershrimp]]></dc:creator><pubDate>Sat, 28 Jan 2023 01:24:45 GMT</pubDate></item><item><title><![CDATA[Reply to MM shuts down after an hour on Thu, 26 Jan 2023 21:52:33 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/lazershrimp" aria-label="Profile: Lazershrimp">@<bdi>Lazershrimp</bdi></a> dodgie wifi creates dodgie data, which crashes all kind of apps</p>
]]></description><link>https://forum.magicmirror.builders/post/107575</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/107575</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Thu, 26 Jan 2023 21:52:33 GMT</pubDate></item><item><title><![CDATA[Reply to MM shuts down after an hour on Thu, 26 Jan 2023 21:15:27 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/107570">MM shuts down after an hour</a>:</p>
<blockquote>
<p dir="auto">I only have one more question<br />
does it shutdown if MagicMirror is not running?</p>
</blockquote>
<p dir="auto">Thanks for your patience, Sam.</p>
<p dir="auto">Haven’t actually tried not running the MM, since it autostarts. And I don’t have a mouse/keyboard attached to the mirror setup. Good question though.</p>
<p dir="auto">But - I think I might actually have figured out what the problem is! I pulled out a long ethernet cable to hardwire the Pi to internet. And - it’s been running for three hours straight now. Thinking that this might actually be a hardware issue.</p>
<p dir="auto">If it still runs tomorrow morning, I will call this a faulty Wifi circuit issue. Strange though, that it would coincide with the software update.</p>
<p dir="auto">What do you you think? Could a dodgy Wifi crash the MM app?</p>
]]></description><link>https://forum.magicmirror.builders/post/107574</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/107574</guid><dc:creator><![CDATA[Lazershrimp]]></dc:creator><pubDate>Thu, 26 Jan 2023 21:15:27 GMT</pubDate></item><item><title><![CDATA[Reply to MM shuts down after an hour on Thu, 26 Jan 2023 18:05:48 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/lazershrimp" aria-label="Profile: Lazershrimp">@<bdi>Lazershrimp</bdi></a> I only have one more question</p>
<p dir="auto">does it shutdown if MagicMirror is not running?</p>
]]></description><link>https://forum.magicmirror.builders/post/107570</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/107570</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Thu, 26 Jan 2023 18:05:48 GMT</pubDate></item><item><title><![CDATA[Reply to MM shuts down after an hour on Thu, 26 Jan 2023 17:55:51 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 am having trouble following you, but that would most likely be due to my poor understanding of programming and its terminology.</p>
<p dir="auto">You say</p>
<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/107566">MM shuts down after an hour</a>:</p>
<blockquote>
<p dir="auto">look at the messages put out from npm start<br />
if you see<br />
cannot find module xxxx<br />
then this mm module has the problem</p>
</blockquote>
<p dir="auto">… I don’t even understand what you mean by “messages put out from npm start”. Is that the “start screen” for MM, the one that appears if you have a say an error in your config file?</p>
<p dir="auto">However, I’m thinking that’s not the issue here. As I mentioned, I did follow your guide “fix for black screen in 2.16 …”, and the output was normal. Also, I don’t always get black screens, sometimes it’s a login screen.</p>
<p dir="auto">The screensaveroff script didn’t help either. MM still shuts down after a while. It’s not always after an hour, seems to vary. Earlier today it had shut down after 39 mins, now it’s been running for over 40 mins.</p>
<p dir="auto">Again, I’m sorry for my bad skills at this. Any help would be much appreciated!</p>
]]></description><link>https://forum.magicmirror.builders/post/107569</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/107569</guid><dc:creator><![CDATA[Lazershrimp]]></dc:creator><pubDate>Thu, 26 Jan 2023 17:55:51 GMT</pubDate></item><item><title><![CDATA[Reply to MM shuts down after an hour on Thu, 26 Jan 2023 14:42:21 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/lazershrimp" aria-label="Profile: Lazershrimp">@<bdi>Lazershrimp</bdi></a> you are wrong</p>
<p dir="auto">if you have a black screen</p>
<p dir="auto">you look at the messages put out from npm start</p>
<p dir="auto">if you see</p>
<p dir="auto">cannot find module xxxx</p>
<p dir="auto">then this mm module has the problem</p>
<p dir="auto">the fix is to install the missing library (called module in the message,) IN  the mm module folder</p>
<p dir="auto">NOW as part of the fix process we want the file put in the right place  NOT in the MagicMirror folder.</p>
<p dir="auto">to DO THAT , the mm module MUST supply a package.json file</p>
<p dir="auto">this is where the ls command comes in to the fix process</p>
<p dir="auto">it it already exists, cool, do the npm install for the missing library</p>
<p dir="auto">if it does NOT exist,   create it it with the npm init -y command<br />
AND then do the npm install for the missing library.</p>
<p dir="auto">but, the 1st step is to identify the missing library from the message output.<br />
if that is NOT the problem, then the rest of the instructions don’t matter</p>
<p dir="auto">there are.multiple libraries that could cause the problem, that’s why I have to read the messages to determine which ones are needed</p>
]]></description><link>https://forum.magicmirror.builders/post/107566</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/107566</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Thu, 26 Jan 2023 14:42:21 GMT</pubDate></item><item><title><![CDATA[Reply to MM shuts down after an hour on Thu, 26 Jan 2023 14:22:53 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/107564">MM shuts down after an hour</a>:</p>
<blockquote>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/lazershrimp" aria-label="Profile: Lazershrimp">@<bdi>Lazershrimp</bdi></a> you are not checking for package.json, except to apply the fix<br />
the fix is to<br />
npm install  xxxx<br />
where xxx is the missing library as found in the log error messages</p>
</blockquote>
<p dir="auto">This I don’t understand. You write in “fix for black screen in 2.16 and later” that some MM modules used libraries, which are now removed.</p>
<p dir="auto">By navigating to the module folder and running “ls package.json”, I am checking whether the module contains this file or not, yes? If it does not, the fix is to install it by typing “npm init -y”</p>
<p dir="auto">But since my modules all seem to contain the package.json, I’m guessing that this is not what causes my problem.</p>
<p dir="auto">Or am I wrong?</p>
]]></description><link>https://forum.magicmirror.builders/post/107565</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/107565</guid><dc:creator><![CDATA[Lazershrimp]]></dc:creator><pubDate>Thu, 26 Jan 2023 14:22:53 GMT</pubDate></item><item><title><![CDATA[Reply to MM shuts down after an hour on Thu, 26 Jan 2023 14:04:29 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/lazershrimp" aria-label="Profile: Lazershrimp">@<bdi>Lazershrimp</bdi></a> you are not checking for package.json, except to apply the fix</p>
<p dir="auto">the fix is to</p>
<p dir="auto">npm install  xxxx</p>
<p dir="auto">where xxx is the missing library as found in the log error messages</p>
]]></description><link>https://forum.magicmirror.builders/post/107564</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/107564</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Thu, 26 Jan 2023 14:04:29 GMT</pubDate></item><item><title><![CDATA[Reply to MM shuts down after an hour on Thu, 26 Jan 2023 13:38:38 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/107545">MM shuts down after an hour</a>:</p>
<blockquote>
<p dir="auto">or from a terminal or ssh window, run my screensaveroff script from<br />
<a href="https://github.com/sdetweil/MagicMirror_scripts" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/sdetweil/MagicMirror_scripts</a><br />
next to the last thing listed on the page, copy/paste the one line</p>
</blockquote>
<p dir="auto">Thanks, I am now trying the screensaveroff script. Will have to wait for an hour to see if it works.</p>
<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/107560">MM shuts down after an hour</a>:</p>
<blockquote>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/jasondreher" aria-label="Profile: jasondreher">@<bdi>jasondreher</bdi></a> that module suffers from this<br />
<a href="https://forum.magicmirror.builders/topic/15778/fix-for-black-screen-in-2-16-and-later?page=1">https://forum.magicmirror.builders/topic/15778/fix-for-black-screen-in-2-16-and-later?page=1</a></p>
</blockquote>
<p dir="auto">I have checked my modules for the package.json files, all good</p>
]]></description><link>https://forum.magicmirror.builders/post/107563</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/107563</guid><dc:creator><![CDATA[Lazershrimp]]></dc:creator><pubDate>Thu, 26 Jan 2023 13:38:38 GMT</pubDate></item><item><title><![CDATA[Reply to MM shuts down after an hour on Wed, 25 Jan 2023 23:59:40 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/jasondreher" aria-label="Profile: jasondreher">@<bdi>jasondreher</bdi></a> that module suffers from this</p>
<p dir="auto"><a href="https://forum.magicmirror.builders/topic/15778/fix-for-black-screen-in-2-16-and-later?page=1">https://forum.magicmirror.builders/topic/15778/fix-for-black-screen-in-2-16-and-later?page=1</a></p>
]]></description><link>https://forum.magicmirror.builders/post/107560</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/107560</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Wed, 25 Jan 2023 23:59:40 GMT</pubDate></item><item><title><![CDATA[Reply to MM shuts down after an hour on Wed, 25 Jan 2023 23:46: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><br />
<a href="https://github.com/scottcl88/MMM-DynamicWeather" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/scottcl88/MMM-DynamicWeather</a></p>
<p dir="auto">Once I removed this module I had no issues.</p>
]]></description><link>https://forum.magicmirror.builders/post/107559</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/107559</guid><dc:creator><![CDATA[jasondreher]]></dc:creator><pubDate>Wed, 25 Jan 2023 23:46:59 GMT</pubDate></item><item><title><![CDATA[Reply to MM shuts down after an hour on Wed, 25 Jan 2023 16:49:59 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/jasondreher" aria-label="Profile: jasondreher">@<bdi>jasondreher</bdi></a> can u tell me about that module?  I like to keep track of troubles users experience</p>
]]></description><link>https://forum.magicmirror.builders/post/107547</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/107547</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Wed, 25 Jan 2023 16:49:59 GMT</pubDate></item><item><title><![CDATA[Reply to MM shuts down after an hour on Wed, 25 Jan 2023 16:24:25 GMT]]></title><description><![CDATA[<p dir="auto">I had a similar issue, the screen would go black after an hour or so (never the login screen just always went black). On of my modules was not compatible with the upgrade. Once I removed that module all was well.</p>
]]></description><link>https://forum.magicmirror.builders/post/107546</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/107546</guid><dc:creator><![CDATA[jasondreher]]></dc:creator><pubDate>Wed, 25 Jan 2023 16:24:25 GMT</pubDate></item><item><title><![CDATA[Reply to MM shuts down after an hour on Wed, 25 Jan 2023 13:29:28 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/lazershrimp" aria-label="Profile: Lazershrimp">@<bdi>Lazershrimp</bdi></a> can u minimize mm ctrl-m and use the preferences (top left menu)<br />
to see if blank screen was turned back on?</p>
<p dir="auto">or from a terminal or ssh window, run my screensaveroff script from</p>
<p dir="auto"><a href="https://github.com/sdetweil/MagicMirror_scripts" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/sdetweil/MagicMirror_scripts</a></p>
<p dir="auto">next to the last thing listed on the page, copy/paste the one line</p>
]]></description><link>https://forum.magicmirror.builders/post/107545</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/107545</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Wed, 25 Jan 2023 13:29:28 GMT</pubDate></item><item><title><![CDATA[Reply to MM shuts down after an hour on Wed, 25 Jan 2023 11:37: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> Yes, I use PM2 to start MM. If you by base OS mean RPi OS, then yes.</p>
]]></description><link>https://forum.magicmirror.builders/post/107544</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/107544</guid><dc:creator><![CDATA[Lazershrimp]]></dc:creator><pubDate>Wed, 25 Jan 2023 11:37:26 GMT</pubDate></item><item><title><![CDATA[Reply to MM shuts down after an hour on Wed, 25 Jan 2023 01:15:42 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/lazershrimp" aria-label="Profile: Lazershrimp">@<bdi>Lazershrimp</bdi></a> how do you start mm?</p>
<pre><code>npm start
pm2
</code></pre>
<p dir="auto">did u upgrade the base os?</p>
]]></description><link>https://forum.magicmirror.builders/post/107540</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/107540</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Wed, 25 Jan 2023 01:15:42 GMT</pubDate></item></channel></rss>