<?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[The correct way to update a module]]></title><description><![CDATA[<p dir="auto">I’ve had the notification on the top bar saying there’s an update to my MMM-calendarExt3 module, that the current installation is 2 commits behind the main branch.</p>
<p dir="auto">What is the correct way of dealing with this?</p>
<p dir="auto">It may seem a daft question however…<br />
The last time I had an update the issues off the back of it - when the update ran into issues and failed part way - and the entire MM stopped working and some kind people on here rescued me from the point of binning the whole setup.<br />
Cheers.</p>
<p dir="auto">sdetweil  edit: change topic name</p>
]]></description><link>https://forum.magicmirror.builders/topic/17820/the-correct-way-to-update-a-module</link><generator>RSS for Node</generator><lastBuildDate>Wed, 17 Jun 2026 22:15:50 GMT</lastBuildDate><atom:link href="https://forum.magicmirror.builders/topic/17820.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 31 May 2023 18:22:20 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to The correct way to update a module on Sun, 11 Jun 2023 10:50:16 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/jmac" aria-label="Profile: JMac">@<bdi>JMac</bdi></a> not /modules</p>
<p dir="auto">/ at the front means root</p>
<p dir="auto">you want ~/MagicMirror/modules/MMM-CalendarExt3</p>
<p dir="auto">~ at the front means current users home folder</p>
<p dir="auto">if you are in the MagicMirror folder, then</p>
<p dir="auto">cd modules</p>
<p dir="auto">will move the current folder the the ~/MagicMirror/modules folder</p>
]]></description><link>https://forum.magicmirror.builders/post/109759</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/109759</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Sun, 11 Jun 2023 10:50:16 GMT</pubDate></item><item><title><![CDATA[Reply to The correct way to update a module on Sun, 11 Jun 2023 09:43:00 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/mmrize" aria-label="Profile: MMRIZE">@<bdi>MMRIZE</bdi></a>  When I cd MagicMirror I get into that directory<br />
but the /modules/MMM-CalendarExt3 says it isn’t recognised.</p>
]]></description><link>https://forum.magicmirror.builders/post/109758</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/109758</guid><dc:creator><![CDATA[JMac]]></dc:creator><pubDate>Sun, 11 Jun 2023 09:43:00 GMT</pubDate></item><item><title><![CDATA[Reply to The correct way to update a module on Thu, 01 Jun 2023 11:29:43 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/mmrize" aria-label="Profile: MMRIZE">@<bdi>MMRIZE</bdi></a> ah…</p>
]]></description><link>https://forum.magicmirror.builders/post/109595</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/109595</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Thu, 01 Jun 2023 11:29:43 GMT</pubDate></item><item><title><![CDATA[Reply to The correct way to update a module on Thu, 01 Jun 2023 05:06:42 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 />
I did already, so most cases it will work unless missing ‘npm install’</p>
]]></description><link>https://forum.magicmirror.builders/post/109594</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/109594</guid><dc:creator><![CDATA[MMRIZE]]></dc:creator><pubDate>Thu, 01 Jun 2023 05:06:42 GMT</pubDate></item><item><title><![CDATA[Reply to The correct way to update a module on Thu, 01 Jun 2023 00:27:59 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/mmrize" aria-label="Profile: MMRIZE">@<bdi>MMRIZE</bdi></a> you should add a postinstall npm task and check that and do the git commands</p>
]]></description><link>https://forum.magicmirror.builders/post/109593</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/109593</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Thu, 01 Jun 2023 00:27:59 GMT</pubDate></item><item><title><![CDATA[Reply to The correct way to update a module on Thu, 01 Jun 2023 00:01:21 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/jmac" aria-label="Profile: JMac">@<bdi>JMac</bdi></a></p>
<pre><code class="language-sh">cd &lt;YOUR_MM_DIRECTORY&gt;/modules/MMM-CalendarExt3
git pull
npm install
</code></pre>
<p dir="auto">When you meet some error message about <code>CX3_Shared</code>, try this also there.</p>
<pre><code class="language-sh">git submodule update --init --recursive
</code></pre>
]]></description><link>https://forum.magicmirror.builders/post/109592</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/109592</guid><dc:creator><![CDATA[MMRIZE]]></dc:creator><pubDate>Thu, 01 Jun 2023 00:01:21 GMT</pubDate></item><item><title><![CDATA[Reply to The correct way to update a module on Wed, 31 May 2023 18:35:32 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/jmac" aria-label="Profile: JMac">@<bdi>JMac</bdi></a> in this case, if you’re that close, it’s a simple <code>git pull</code> in your module directory, then restart.</p>
<p dir="auto">as a force of habit, I run <code>git pull</code> then <code>npm install</code> on every update, just to make sure everything loads, then restart.</p>
<p dir="auto">Likely, the reason it didn’t work before was a slight change to the code introduced in 1.2.0 - MMRize  took duplicate code out of all his CX3 modules, and made a single file for them all - you had to install that code via the documentation here: <a href="https://github.com/MMRIZE/MMM-CalendarExt3Agenda#update-to-120" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/MMRIZE/MMM-CalendarExt3Agenda#update-to-120</a></p>
<p dir="auto">I missed it too…</p>
]]></description><link>https://forum.magicmirror.builders/post/109591</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/109591</guid><dc:creator><![CDATA[BKeyport]]></dc:creator><pubDate>Wed, 31 May 2023 18:35:32 GMT</pubDate></item></channel></rss>