<?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[How to upgrade a Linux &quot;server&quot; with minimal modules?]]></title><description><![CDATA[<p dir="auto">I’ve been using MM for a number of years in a couple of different forms. For the most part, I did what everyone else does and I ran it standalone on a RPi. After having some issues with the RPi hardware and older software causing lock-up’s, I moved to more of a “client-server” setup where the server pieces was installed and running on a linux client (headless) and my local RPi would launch a browser session to connect.</p>
<p dir="auto">I now find myself in the situation where I would very much like to upgrade the server-side component, but I don’t see a clear directive on the steps I should consider. Attempting to use <a class="plugin-mentions-user plugin-mentions-a" href="/user/sdetweil" aria-label="Profile: sdetweil">@<bdi>sdetweil</bdi></a> 's upgrade script results in errors about wrong platform and such, so that’s a no-go.</p>
<p dir="auto">I’ve tried a couple of other npm type updates but they leave the system in a completely unstable state and I end up having to just revert back to a previous snapshot and restart the server to its former state.</p>
<p dir="auto">Any general suggestions of where to start?</p>
]]></description><link>https://forum.magicmirror.builders/topic/20268/how-to-upgrade-a-linux-server-with-minimal-modules</link><generator>RSS for Node</generator><lastBuildDate>Tue, 09 Jun 2026 20:09:47 GMT</lastBuildDate><atom:link href="https://forum.magicmirror.builders/topic/20268.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 09 Jun 2026 16:45:48 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to How to upgrade a Linux &quot;server&quot; with minimal modules? on Tue, 09 Jun 2026 18:02:43 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/ember1205" aria-label="Profile: ember1205">@<bdi>ember1205</bdi></a> understand… please advise your results when you can</p>
]]></description><link>https://forum.magicmirror.builders/post/131365</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/131365</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Tue, 09 Jun 2026 18:02:43 GMT</pubDate></item><item><title><![CDATA[Reply to How to upgrade a Linux &quot;server&quot; with minimal modules? on Tue, 09 Jun 2026 17:58: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> I’ll have to try again a little later today maybe… I had to revert the snapshot (removing the module updates) to get it running again.</p>
]]></description><link>https://forum.magicmirror.builders/post/131364</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/131364</guid><dc:creator><![CDATA[ember1205]]></dc:creator><pubDate>Tue, 09 Jun 2026 17:58:59 GMT</pubDate></item><item><title><![CDATA[Reply to How to upgrade a Linux &quot;server&quot; with minimal modules? on Tue, 09 Jun 2026 17:55:07 GMT]]></title><description><![CDATA[<blockquote>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/ember1205" aria-label="Profile: ember1205">@<bdi>ember1205</bdi></a> <a href="/post/131359">said</a>:</p>
<p dir="auto">package-lock.json<br />
package.json</p>
</blockquote>
<p dir="auto">erase those and git pull again</p>
]]></description><link>https://forum.magicmirror.builders/post/131362</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/131362</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Tue, 09 Jun 2026 17:55:07 GMT</pubDate></item><item><title><![CDATA[Reply to How to upgrade a Linux &quot;server&quot; with minimal modules? on Tue, 09 Jun 2026 17:43:17 GMT]]></title><description><![CDATA[<p dir="auto">Update…</p>
<p dir="auto">Updating the modules crashes the server. So, I’m going to have to get the main server updated… I had to revert to a prior snapshot to get the MM server running again.</p>
]]></description><link>https://forum.magicmirror.builders/post/131360</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/131360</guid><dc:creator><![CDATA[ember1205]]></dc:creator><pubDate>Tue, 09 Jun 2026 17:43:17 GMT</pubDate></item><item><title><![CDATA[Reply to How to upgrade a Linux &quot;server&quot; with minimal modules? on Tue, 09 Jun 2026 17:38:48 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 running (currently) on opensuse Leap 15.6. I will be updating in the not-too-distant future to Leap 16.0.</p>
<p dir="auto">In looking at the installed packages, Node.js lists “22.22.0” as the package but “22.15.1” as the installed version. So…</p>
<pre><code>zypper ref ; zypper up
</code></pre>
<p dir="auto">Let it install all of the pertinent updates… Reboot (new kernel was part of the updates)… Everything is back online. Checking the installed software list now shows Node.js as “22.22.0”.</p>
<p dir="auto">Leap 16.0 will allow me to go to Node.js 24, but that would be an undertaking for later today or later this week (depending on what time I might have elsewhere).</p>
<p dir="auto">Updating the modules went fine (overall). This is what a git pull in the main MM directory shows me:</p>
<pre><code>From https://github.com/MichMich/MagicMirror
   3dbe8bfbb..fb41d24ef  master     -&gt; origin/master
   ec80b2508..e747db16d  develop    -&gt; origin/develop
 * [new tag]             v2.1.3     -&gt; v2.1.3
 * [new tag]             v2.14.0    -&gt; v2.14.0
 * [new tag]             v2.15.0    -&gt; v2.15.0
 * [new tag]             v2.16.0    -&gt; v2.16.0
 * [new tag]             v2.17.0    -&gt; v2.17.0
 * [new tag]             v2.17.1    -&gt; v2.17.1
 * [new tag]             v2.18.0    -&gt; v2.18.0
 * [new tag]             v2.19.0    -&gt; v2.19.0
 * [new tag]             v2.2.1     -&gt; v2.2.1
 * [new tag]             v2.20.0    -&gt; v2.20.0
 * [new tag]             v2.21.0    -&gt; v2.21.0
 * [new tag]             v2.22.0    -&gt; v2.22.0
 * [new tag]             v2.23.0    -&gt; v2.23.0
 * [new tag]             v2.24.0    -&gt; v2.24.0
 * [new tag]             v2.25.0    -&gt; v2.25.0
 * [new tag]             v2.26.0    -&gt; v2.26.0
 * [new tag]             v2.27.0    -&gt; v2.27.0
 * [new tag]             v2.28.0    -&gt; v2.28.0
 * [new tag]             v2.29.0    -&gt; v2.29.0
 * [new tag]             v2.30.0    -&gt; v2.30.0
 * [new tag]             v2.31.0    -&gt; v2.31.0
 * [new tag]             v2.32.0    -&gt; v2.32.0
 * [new tag]             v2.33.0    -&gt; v2.33.0
 * [new tag]             v2.34.0    -&gt; v2.34.0
 * [new tag]             v2.35.0    -&gt; v2.35.0
 * [new tag]             v2.36.0    -&gt; v2.36.0
Updating 3dbe8bfbb..fb41d24ef
error: Your local changes to the following files would be overwritten by merge:
        package-lock.json
        package.json
Please commit your changes or stash them before you merge.
Aborting

</code></pre>
]]></description><link>https://forum.magicmirror.builders/post/131359</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/131359</guid><dc:creator><![CDATA[ember1205]]></dc:creator><pubDate>Tue, 09 Jun 2026 17:38:48 GMT</pubDate></item><item><title><![CDATA[Reply to How to upgrade a Linux &quot;server&quot; with minimal modules? on Tue, 09 Jun 2026 17:25:37 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/ember1205" aria-label="Profile: ember1205">@<bdi>ember1205</bdi></a> upgrade of the core code is</p>
<pre><code>cd  MagicMirror_folder
git pull
npm install
</code></pre>
<p dir="auto">if it will run… needs at least node 22.22.1</p>
<p dir="auto">let me know how I can help</p>
<p dir="auto">you can fall back to a prior version by switching to one of the earlier releases, thru the git tag we created.<br />
if you try the upgrade (manual) and it fails and want to try this, let me know i’ll provide the commands needed</p>
]]></description><link>https://forum.magicmirror.builders/post/131358</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/131358</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Tue, 09 Jun 2026 17:25:37 GMT</pubDate></item><item><title><![CDATA[Reply to How to upgrade a Linux &quot;server&quot; with minimal modules? on Tue, 09 Jun 2026 17:08:44 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/ember1205" aria-label="Profile: ember1205">@<bdi>ember1205</bdi></a> you can attempt to upgrade modules…</p>
<p dir="auto">each is separate</p>
<p dir="auto">cd module_folder<br />
git pull<br />
if successful, npm install</p>
<p dir="auto">restart mm… to load the new modules…</p>
<p dir="auto">only a few have latest as dependencies… which would force all the above work</p>
]]></description><link>https://forum.magicmirror.builders/post/131357</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/131357</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Tue, 09 Jun 2026 17:08:44 GMT</pubDate></item><item><title><![CDATA[Reply to How to upgrade a Linux &quot;server&quot; with minimal modules? on Tue, 09 Jun 2026 17:10:39 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/ember1205" aria-label="Profile: ember1205">@<bdi>ember1205</bdi></a> the difficulty is that the core has been kept up to date, and it requires new system parts that require new system parts…</p>
<p dir="auto">you MUST upgrade nodejs if not on node 22<br />
upgrading on older systems fails,  the next node upgrade, 24 or above, drops support for 32bit systems completely… we are holding off as long as we can…  but the clock is ticking…</p>
<p dir="auto">my install and upgrade scripts enforce the systems path… if they fail now, there is no manual way to get there from where you are… (without rebuild)</p>
<p dir="auto">and if you use my installer script, its a copy/paste… not a lot of work</p>
<p dir="auto">make the backup regardless</p>
]]></description><link>https://forum.magicmirror.builders/post/131356</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/131356</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Tue, 09 Jun 2026 17:10:39 GMT</pubDate></item><item><title><![CDATA[Reply to How to upgrade a Linux &quot;server&quot; with minimal modules? on Tue, 09 Jun 2026 17:02:32 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> Thanks for the response.</p>
<p dir="auto">I’m familiar with the different options that come with a new install and would be ok with having to DO a new install if that’s the only way to get upgrades completed. I guess I’m wondering if there’s a simpler way to upgrade the one or two modules that I have and get the core MM upgraded as well without having to start from scratch with the configuration and such. This instance is server only (there’s nothing attached to any sort of output here, and I don’t even run MM as the client any more - it’s a linux shell with its own GUI, auto-starts firefox in kiosk mode, and the page is set to always launch the mirror address).</p>
<p dir="auto">I’m not even concerned with how to back everything up because my installation is actually fairly simple. And I’m not actually looking to change environments - I’ve already done that from a short while back. This is all entirely for the server side which is a linux guest running on a XCP-NG virtualization host.</p>
]]></description><link>https://forum.magicmirror.builders/post/131355</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/131355</guid><dc:creator><![CDATA[ember1205]]></dc:creator><pubDate>Tue, 09 Jun 2026 17:02:32 GMT</pubDate></item><item><title><![CDATA[Reply to How to upgrade a Linux &quot;server&quot; with minimal modules? on Tue, 09 Jun 2026 17:01:18 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/ember1205" aria-label="Profile: ember1205">@<bdi>ember1205</bdi></a> I recommend</p>
<p dir="auto">make a backup, store to github<br />
make a new SD card, latest OS<br />
install  MM, verify it starts (full service, UI etc)<br />
run restore from github  to restore your configuration and modules…<br />
restart and verify</p>
<p dir="auto">old system is untouched</p>
]]></description><link>https://forum.magicmirror.builders/post/131354</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/131354</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Tue, 09 Jun 2026 17:01:18 GMT</pubDate></item><item><title><![CDATA[Reply to How to upgrade a Linux &quot;server&quot; with minimal modules? on Tue, 09 Jun 2026 16:58:51 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/ember1205" aria-label="Profile: ember1205">@<bdi>ember1205</bdi></a> by default, install puts down all the code, with three different start options</p>
<p dir="auto">// server only - probably what you have now<br />
npm run server</p>
<p dir="auto">// npm start, npm run start , npm run start:x11, npm run start:wayland (last two in latest releases)<br />
// launch UI, thru embedded electron browser or  browser on system thru my browser over server setup<br />
npm run start</p>
<p dir="auto">// or client<br />
npm run client</p>
<p dir="auto">the latest releases will need a new OS, and new JS, and a new …</p>
<p dir="auto">one thing you can use to move between environments, is my backup/restore scripts.<br />
<a href="https://github.com/sdetweil/MagicMirror-backup-restore" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/sdetweil/MagicMirror-backup-restore</a></p>
<p dir="auto">which backup the config.js, custom.css (and any other files related)<br />
and the list of modules installed…  NOT the BINARY</p>
<p dir="auto">this backup can be placed on github, so you don’t have to store it on the local machine<br />
storing with git, also allows you to keep track of changes/versions of your setup</p>
<p dir="auto">because it is NOT a binary, you can use it to transition to new SD cards, or new systems (pi-&gt;minipc…etc)<br />
backup here, restore there<br />
restore assumes MM is installed and runnable…</p>
<p dir="auto">as an example<br />
backup now, save to github (still free today)<br />
make new sd card,<br />
boot<br />
install MM<br />
then run restore to put saved config and modules on the new system</p>
<p dir="auto">you can run the backup/restore by copy/pasting the links and adding parms if need be (like push to repo, not default)</p>
<p dir="auto">in the meantime, you can just change the start command from run server to run start  to start the MM ui on the same machine (needs a head of course)</p>
<p dir="auto">ps. you cannot upgrade ONE feature and not others… its all or nothing</p>
<p dir="auto">we ALWAYS start the server, and sometimes start the UI depending on the command used<br />
but the files are all one instance at the same version</p>
]]></description><link>https://forum.magicmirror.builders/post/131353</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/131353</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Tue, 09 Jun 2026 16:58:51 GMT</pubDate></item></channel></rss>