<?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[Update script not updating]]></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 used the scripts you provide but I’m having some issues and want to get some clarification so I don’t break the MM I just got running yesterday.</p>
<p dir="auto">First script is a run through but with no changes being applied<br />
Second script is same as first script but with  <code>apply</code> attached to end of script which will update any modules or core components that are out of date is how I understand.  Is that accurate?</p>
<p dir="auto">Also, what are ramifications of answering <code>n</code> to question below?<br />
I know what the <a href="http://mm.sh" target="_blank" rel="noopener noreferrer nofollow ugc">mm.sh</a> issue is and I caused it but it doesn’t cause any functional problems.</p>
<p dir="auto"><code>installers/mm.sh</code><br />
<code> modules/default/calendar/calendar.js</code><br />
<code>do you want to save these files for later   (Y/n)?</code></p>
<p dir="auto">I ran the second <code>apply</code> script but  it doesn’t seem to be doing anything.  I am getting a notification in top banner for update to <code>MMM-Jast</code> but it is not being found by the scripts.<br />
Shouldn’t <code>calendar.js</code> have been repaired?  Shouldn’t it have picked up  the MMM-Jast out of date?</p>
]]></description><link>https://forum.magicmirror.builders/topic/16772/update-script-not-updating</link><generator>RSS for Node</generator><lastBuildDate>Sun, 13 Sep 2026 02:58:20 GMT</lastBuildDate><atom:link href="https://forum.magicmirror.builders/topic/16772.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 17 May 2022 18:20:52 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Update script not updating on Thu, 19 May 2022 16:48:31 GMT]]></title><description><![CDATA[<p dir="auto">@strawberry-3-141 but thats not true</p>
<p dir="auto">on intel I get one version<br />
on arm (32bit) I get a diffferent version<br />
on arm (64bit) I get a different version<br />
on aarch64 i get a different version</p>
<p dir="auto">especially if there is a binary…  and who knows what is buried under there</p>
]]></description><link>https://forum.magicmirror.builders/post/101935</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/101935</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Thu, 19 May 2022 16:48:31 GMT</pubDate></item><item><title><![CDATA[Reply to Update script not updating on Thu, 19 May 2022 16:33:21 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> the hardware might be different but at least the code and dependencies are the same which increases the chances to reproduce and fix the issue</p>
]]></description><link>https://forum.magicmirror.builders/post/101934</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/101934</guid><dc:creator><![CDATA[strawberry 3.141]]></dc:creator><pubDate>Thu, 19 May 2022 16:33:21 GMT</pubDate></item><item><title><![CDATA[Reply to Update script not updating on Wed, 18 May 2022 11:36:25 GMT]]></title><description><![CDATA[<p dir="auto">@strawberry-3-141 however. not everyone runs the same platform as used during test, so  all the parts change.</p>
]]></description><link>https://forum.magicmirror.builders/post/101916</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/101916</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Wed, 18 May 2022 11:36:25 GMT</pubDate></item><item><title><![CDATA[Reply to Update script not updating on Wed, 18 May 2022 06:22:09 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> actually the opposite is true, everyone should ship a lock file with its repository to ensure you will get the exact same dependencies that were tested with and not something newer which can introduce issues.</p>
<p dir="auto">But if you just run <code>npm install</code> npm will update the lock file. So the effect is like not shipping a lock file at all.</p>
<p dir="auto">Instead, you should use <code>npm ci</code> if there is a lock file <a href="https://docs.npmjs.com/cli/v8/commands/npm-ci" target="_blank" rel="noopener noreferrer nofollow ugc">https://docs.npmjs.com/cli/v8/commands/npm-ci</a>. This makes sure that you have exactly the same dependencies no matter if there is a newer version available.</p>
]]></description><link>https://forum.magicmirror.builders/post/101915</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/101915</guid><dc:creator><![CDATA[strawberry 3.141]]></dc:creator><pubDate>Wed, 18 May 2022 06:22:09 GMT</pubDate></item><item><title><![CDATA[Reply to Update script not updating on Tue, 17 May 2022 20:30:38 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/ankonaskiff17" aria-label="Profile: ankonaskiff17">@<bdi>ankonaskiff17</bdi></a> yes…  no one should ship a package-lock.json as part of their release</p>
<p dir="auto">this is only used by testing systems to make sure the environment is exact</p>
]]></description><link>https://forum.magicmirror.builders/post/101910</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/101910</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Tue, 17 May 2022 20:30:38 GMT</pubDate></item><item><title><![CDATA[Reply to Update script not updating on Tue, 17 May 2022 20:00:25 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> That is standard/typical of how to update a module?</p>
<p dir="auto">Resolved notification</p>
]]></description><link>https://forum.magicmirror.builders/post/101909</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/101909</guid><dc:creator><![CDATA[ankonaskiff17]]></dc:creator><pubDate>Tue, 17 May 2022 20:00:25 GMT</pubDate></item><item><title><![CDATA[Reply to Update script not updating on Tue, 17 May 2022 19:53:47 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/ankonaskiff17" aria-label="Profile: ankonaskiff17">@<bdi>ankonaskiff17</bdi></a> yeh, erase package-lock.json<br />
then git pull, npm install will update that file again</p>
]]></description><link>https://forum.magicmirror.builders/post/101908</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/101908</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Tue, 17 May 2022 19:53:47 GMT</pubDate></item><item><title><![CDATA[Reply to Update script not updating on Tue, 17 May 2022 19:51:06 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 found a different module with update instructions and did <code>git pull</code> in MMM-Jast but <code>git pull</code> yielded the following</p>
<p dir="auto"><code>From https://github.com/jalibu/MMM-Jast</code><br />
<code> 5a5f781..8b771b6  main       -&gt; origin/main</code><br />
<code> * [new tag]         v2.6.3     -&gt; v2.6.3</code><br />
<code>Updating 5a5f781..8b771b6</code><br />
<code>error: Your local changes to the following files would be overwritten by merge:</code><br />
<code>package-lock.json</code><br />
<code>Please commit your changes or stash them before you merge.</code><br />
<code>Aborting</code><br />
<code>pi@mirror:~/MagicMirror/modules/MMM-Jast $</code></p>
]]></description><link>https://forum.magicmirror.builders/post/101907</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/101907</guid><dc:creator><![CDATA[ankonaskiff17]]></dc:creator><pubDate>Tue, 17 May 2022 19:51:06 GMT</pubDate></item><item><title><![CDATA[Reply to Update script not updating on Tue, 17 May 2022 19:30:18 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/ankonaskiff17" aria-label="Profile: ankonaskiff17">@<bdi>ankonaskiff17</bdi></a> so  in general, modules update with</p>
<pre><code>cd ~/MagicMirror/modules/module_folder
git pull
</code></pre>
<p dir="auto">and if the module has a package.json, then</p>
<pre><code>npm install
</code></pre>
<p dir="auto">also in the module folder</p>
]]></description><link>https://forum.magicmirror.builders/post/101906</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/101906</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Tue, 17 May 2022 19:30:18 GMT</pubDate></item><item><title><![CDATA[Reply to Update script not updating on Tue, 17 May 2022 19:05:36 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> First thing I did with the MMM-Jast notification was to look if there was a section in the Readme about updating module but I think it was triggered externally.</p>
<p dir="auto">On Github the dates are older but there is this at very top, How do I address that?</p>
<p dir="auto"><img src="/assets/uploads/files/1652814306063-dependency.jpg" alt="dependency.jpg" class=" img-fluid img-markdown" /></p>
]]></description><link>https://forum.magicmirror.builders/post/101905</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/101905</guid><dc:creator><![CDATA[ankonaskiff17]]></dc:creator><pubDate>Tue, 17 May 2022 19:05:36 GMT</pubDate></item><item><title><![CDATA[Reply to Update script not updating on Tue, 17 May 2022 18:39:01 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/ankonaskiff17" aria-label="Profile: ankonaskiff17">@<bdi>ankonaskiff17</bdi></a> and the upgrade ONLY  works if the mm versions are different</p>
<p dir="auto">if u are on 2.19, and current is 2.19, then nothing to do.   you can ‘force’ it do do the apply, by using force as the parm instead of apply.  this was added for the case where someone started a manual upgrade, but got stuck…</p>
<p dir="auto">but again, the script does not upgrade modules.</p>
]]></description><link>https://forum.magicmirror.builders/post/101904</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/101904</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Tue, 17 May 2022 18:39:01 GMT</pubDate></item><item><title><![CDATA[Reply to Update script not updating on Tue, 17 May 2022 18:31:09 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/ankonaskiff17" aria-label="Profile: ankonaskiff17">@<bdi>ankonaskiff17</bdi></a> update only does the base mm, no add on modules. those have their own procedures.</p>
<p dir="auto">on calendar, in either case the calendar.js of the base should have been restored, and then the update applied.</p>
<p dir="auto">if u still think there is an issue, email me the installers/upgrade.log</p>
<p dir="auto">same userid at gmail</p>
]]></description><link>https://forum.magicmirror.builders/post/101903</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/101903</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Tue, 17 May 2022 18:31:09 GMT</pubDate></item></channel></rss>