<?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[Problem with updating to 2.10.0 from 2.9.0 using update script]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">so I’m quitte fresh user and I installed 2.9.0 version just few days ago, started doing some config edits and suddenly I got update info on my mirror today, cool</p>
<p dir="auto">So I went to <a href="https://github.com/MichMich/MagicMirror/blob/master/README.md#updating" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/MichMich/MagicMirror/blob/master/README.md#updating</a> for update steps, done first (dry/test run) and failed on actual update which resulted with</p>
<p dir="auto"><code>error: The following untracked working tree files would be overwritten by merge: 	installers/dumpactivemodules.js Please move or remove them before you merge. Aborting Updating 500147e..b595cdd you should examine and resolve them</code></p>
<p dir="auto">Well, I’ve done full backup of my directory so I assumed that I can risk deletion of <code>installers/dumpactivemodules.js</code>, so I did</p>
<p dir="auto"><code>rm ~/MagicMirror/installers/dumpactivemodules.js</code></p>
<p dir="auto">and run update script again</p>
<p dir="auto"><code>bash -c "$(curl -sL https://raw.githubusercontent.com/MichMich/MagicMirror/master/installers/upgrade-script.sh)" apply</code></p>
<p dir="auto">but it resulted with the same error <code>The following untracked working tree files would be overwritten by merge: 	installers/dumpactivemodules.js </code></p>
<p dir="auto">So obviously something is wrong with update script as far as I can tell, I changed almost nothing in my MM, only config + I started doing some custom CSS so nothing out of ordinary IMO</p>
]]></description><link>https://forum.magicmirror.builders/topic/11912/problem-with-updating-to-2-10-0-from-2-9-0-using-update-script</link><generator>RSS for Node</generator><lastBuildDate>Sun, 19 Jul 2026 18:36:32 GMT</lastBuildDate><atom:link href="https://forum.magicmirror.builders/topic/11912.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 02 Jan 2020 17:05:17 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Problem with updating to 2.10.0 from 2.9.0 using update script on Thu, 02 Jan 2020 19:36:55 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/outlying" aria-label="Profile: outlying">@<bdi>outlying</bdi></a> save your magicmirror config.js at least!</p>
]]></description><link>https://forum.magicmirror.builders/post/67035</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/67035</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Thu, 02 Jan 2020 19:36:55 GMT</pubDate></item><item><title><![CDATA[Reply to Problem with updating to 2.10.0 from 2.9.0 using update script on Thu, 02 Jan 2020 19:31:56 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 appreciate your fast responses :-) it’s really inspiring, but it would be way easier for me to set it up again in a matter of few minutes instead of trying to figure out what went wrong</p>
<p dir="auto">Right now I have lock on dpkg files</p>
<pre><code>sudo apt-get install npm
E: Could not get lock /var/lib/dpkg/lock-frontend - open (11: Resource temporarily unavailable)
E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), is another process using it?
</code></pre>
<p dir="auto">So it all messed up :-/ this is very fresh setup so I really don’t mind purging it</p>
]]></description><link>https://forum.magicmirror.builders/post/67033</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/67033</guid><dc:creator><![CDATA[outlying]]></dc:creator><pubDate>Thu, 02 Jan 2020 19:31:56 GMT</pubDate></item><item><title><![CDATA[Reply to Problem with updating to 2.10.0 from 2.9.0 using update script on Thu, 02 Jan 2020 19:30:21 GMT]]></title><description><![CDATA[<p dir="auto">sorry to use the same topic. I have also trouble with the update to 2.10.0. The update script works, but I still have the notification that there is an update for MM. But the update log ends with “Upgrade ended - Do Jan  2 20:24:45 CET 2020”.</p>
]]></description><link>https://forum.magicmirror.builders/post/67032</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/67032</guid><dc:creator><![CDATA[ChrizZz]]></dc:creator><pubDate>Thu, 02 Jan 2020 19:30:21 GMT</pubDate></item><item><title><![CDATA[Reply to Problem with updating to 2.10.0 from 2.9.0 using update script on Thu, 02 Jan 2020 19:28:11 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/outlying" aria-label="Profile: outlying">@<bdi>outlying</bdi></a> weird… sudo apt-get install npm<br />
then sudo npm i -g npm to get latest</p>
<p dir="auto">node -v<br />
and<br />
npm -v<br />
to verify  levels</p>
]]></description><link>https://forum.magicmirror.builders/post/67031</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/67031</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Thu, 02 Jan 2020 19:28:11 GMT</pubDate></item><item><title><![CDATA[Reply to Problem with updating to 2.10.0 from 2.9.0 using update script on Thu, 02 Jan 2020 19:27:29 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’ve done it right away it but it’s not there anymore, somehow it’s messed up</p>
]]></description><link>https://forum.magicmirror.builders/post/67030</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/67030</guid><dc:creator><![CDATA[outlying]]></dc:creator><pubDate>Thu, 02 Jan 2020 19:27:29 GMT</pubDate></item><item><title><![CDATA[Reply to Problem with updating to 2.10.0 from 2.9.0 using update script on Thu, 02 Jan 2020 19:21:16 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/outlying" aria-label="Profile: outlying">@<bdi>outlying</bdi></a> close that terminal window and reopen it, npm should not have been removed…</p>
]]></description><link>https://forum.magicmirror.builders/post/67029</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/67029</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Thu, 02 Jan 2020 19:21:16 GMT</pubDate></item><item><title><![CDATA[Reply to Problem with updating to 2.10.0 from 2.9.0 using update script on Thu, 02 Jan 2020 19:20:15 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 don’t know how to respond in that case, ofc I have to had it installed earlier in order for MM to work, but right now it seems system is not seeing it, only <code>bash: npm: command not found</code> sooooo … I think since it’s fresh install I will reinstall everything</p>
]]></description><link>https://forum.magicmirror.builders/post/67028</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/67028</guid><dc:creator><![CDATA[outlying]]></dc:creator><pubDate>Thu, 02 Jan 2020 19:20:15 GMT</pubDate></item><item><title><![CDATA[Reply to Problem with updating to 2.10.0 from 2.9.0 using update script on Thu, 02 Jan 2020 19:18:27 GMT]]></title><description><![CDATA[<p dir="auto">this is what my MM/installers/upgrade.log says</p>
<pre><code>Upgrade started - Thu Jan  2 06:29:19 CST 2020
system is Linux raspberrypi4 4.19.75-v7l+ #1270 SMP Tue Sep 24 18:51:41 BST 2019 armv7l GNU/Linux
the os is Distributor ID: Raspbian Description: Raspbian GNU/Linux 10 (buster) Release: 10 Codename: buster
user requested to apply changes
doing test run = false

saving custom.css
remote name = origin
upgrading from version 2.9.0 to 2.10.0
fetching latest revisions
git fetch rc=0
current branch = master
On branch master
Your branch is behind 'origin/master' by 2832 commits, and can be fast-forwarded.
  (use "git pull" to update your local branch)

Changes to be committed:
  (use "git reset HEAD &lt;file&gt;..." to unstage)

	deleted:    css/custom.css

Changes not staged for commit:
  (use "git add &lt;file&gt;..." to update what will be committed)
  (use "git checkout -- &lt;file&gt;..." to discard changes in working directory)

	modified:   package-lock.json
	modified:   package.json

Untracked files:
  (use "git add &lt;file&gt;..." to include in what will be committed)

	0
	css/save_custom.css
	somefile

there are 2 local files that are different than the master repo

   package-lock.json
   package.json

save/restore files selection = n
restoring package-lock.json from repo
restoring package.json from repo
test merge result rc='' , if empty, no conflicts
executing merge, apply specified
merge result rc= 0
 Updating 500147e..b595cdd Fast-forward  .gitignore                                         
    6 -  .snyk                                              
   14 -  .travis.yml                                        
    8 +-  CHANGELOG.md                                       
   28 +-  README.md                                          
   17 +-  config/config.js.sample                            
    7 +-  css/custom.css                                     
   14 -  installers/dumpactivemodules.js                    
   15 +  installers/fixuppm2.sh                             
  183 +  installers/raspberry.sh                            
  560 ++-  installers/screensaveroff.sh                       
  101 +  installers/upgrade-script.sh                       
  361 ++  js/app.js                                          
    6 +  js/main.js                                         
   17 +-  .../node_helper/index.js =&gt; js/node_helper.js      
    2 +-  js/server.js                                       
    2 +-  modules/default/calendar/calendar.js               
    1 +  modules/default/calendar/calendarfetcher.js        
    7 +-  modules/default/calendar/debug.js                  
    4 +-  modules/default/compliments/compliments.js         
   39 +-  modules/default/weatherforecast/weatherforecast.js 
    4 +-  package-lock.json                                  
 4187 +++++++++++---------  package.json                                       
   17 +-  run-start.sh                                       
   64 +-  tests/e2e/modules/weather_spec.js                  
  138 +-  tests/e2e/vendor_spec.js                           
    5 +-  untrack-css.sh                                     
    2 +-  vendor/package-lock.json                           
    2 +-  28 files changed, 3648 insertions(+), 2163 deletions(-)  delete mode 100644 .snyk  delete mode 100644 css/custom.css  
create mode 100644 installers/dumpactivemodules.js  
create mode 100755 installers/fixuppm2.sh  
mode change 100644 =&gt; 100755 installers/raspberry.sh  
create mode 100755 installers/screensaveroff.sh  
create mode 100755 installers/upgrade-script.sh  rename modules/node_modules/node_helper/index.js =&gt; js/node_helper.js (98%)  
mode change 100644 =&gt; 100755 run-start.sh
processor architecture is armv7l
updating MagicMirror runtime, please wait
</code></pre>
]]></description><link>https://forum.magicmirror.builders/post/67027</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/67027</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Thu, 02 Jan 2020 19:18:27 GMT</pubDate></item><item><title><![CDATA[Reply to Problem with updating to 2.10.0 from 2.9.0 using update script on Thu, 02 Jan 2020 19:14:54 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/outlying" aria-label="Profile: outlying">@<bdi>outlying</bdi></a> but npm had to be installed before… I just use it</p>
<p dir="auto">that line 244 is npm install</p>
<p dir="auto">and I don’t know where the 'apply: ’ came from</p>
]]></description><link>https://forum.magicmirror.builders/post/67026</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/67026</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Thu, 02 Jan 2020 19:14:54 GMT</pubDate></item><item><title><![CDATA[Reply to Problem with updating to 2.10.0 from 2.9.0 using update script on Thu, 02 Jan 2020 19:11:37 GMT]]></title><description><![CDATA[<p dir="auto">Oh, my bad, I just deleted file <code>rm ~/MagicMirror/installers/dumpactivemodules.js</code></p>
<p dir="auto">and I did run update script, with result</p>
<pre><code>the log will be /home/pi/MagicMirror/installers/upgrade.log
No LSB modules are available.
doing test run = false
update log will be in /home/pi/MagicMirror/installers/upgrade.log

saving custom.css
upgrading from version 2.9.0 to 2.10.0
fetching latest revisions
updating MagicMirror runtime, please wait
apply: line 244: npm: command not found
no modules found needing npm refresh
restoring custom.css
</code></pre>
<p dir="auto">So I restarted <code>pm2 restart mm</code> but now MM is in error, according to <code>pm2 status</code></p>
<hr />
<p dir="auto">Running standard <code>pm2 start mm.sh</code> does not start MM anymore, it just go to <code>errored status</code></p>
]]></description><link>https://forum.magicmirror.builders/post/67025</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/67025</guid><dc:creator><![CDATA[outlying]]></dc:creator><pubDate>Thu, 02 Jan 2020 19:11:37 GMT</pubDate></item><item><title><![CDATA[Reply to Problem with updating to 2.10.0 from 2.9.0 using update script on Thu, 02 Jan 2020 19:08:23 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> u need to erase the ~/MagicMirror/installers/dumpactivemodules.js file…</p>
<p dir="auto">then run the updated script.</p>
<p dir="auto">sorry, forgot that</p>
]]></description><link>https://forum.magicmirror.builders/post/67024</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/67024</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Thu, 02 Jan 2020 19:08:23 GMT</pubDate></item><item><title><![CDATA[Reply to Problem with updating to 2.10.0 from 2.9.0 using update script on Thu, 02 Jan 2020 19:06:17 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/outlying" aria-label="Profile: outlying">@<bdi>outlying</bdi></a> show me the log file, ~/MagicMirror/installers/upgrade.log</p>
]]></description><link>https://forum.magicmirror.builders/post/67023</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/67023</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Thu, 02 Jan 2020 19:06:17 GMT</pubDate></item><item><title><![CDATA[Reply to Problem with updating to 2.10.0 from 2.9.0 using update script on Thu, 02 Jan 2020 19:05:28 GMT]]></title><description><![CDATA[<p dir="auto">Unluckily scripts under 1st post</p>
<p dir="auto"><a href="https://forum.magicmirror.builders/topic/10859/new-update-upgrade-script-ready-for-testing/1">https://forum.magicmirror.builders/topic/10859/new-update-upgrade-script-ready-for-testing/1</a></p>
<p dir="auto">have the same issue at the ones I already tried, I’m not sure if I should go through whole thread, I admit I didn’t</p>
]]></description><link>https://forum.magicmirror.builders/post/67022</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/67022</guid><dc:creator><![CDATA[outlying]]></dc:creator><pubDate>Thu, 02 Jan 2020 19:05:28 GMT</pubDate></item><item><title><![CDATA[Reply to Problem with updating to 2.10.0 from 2.9.0 using update script on Thu, 02 Jan 2020 17:30:28 GMT]]></title><description><![CDATA[<p dir="auto">yeh, a bug got thru … i have a temporary updated script</p>
<p dir="auto">see here.<br />
<a href="https://forum.magicmirror.builders/topic/10859/new-update-upgrade-script-ready-for-testing">https://forum.magicmirror.builders/topic/10859/new-update-upgrade-script-ready-for-testing</a></p>
<p dir="auto">also posted after Mich’s topic of the version update yesterday…<br />
<a href="https://forum.magicmirror.builders/topic/11899/v2-10-0">https://forum.magicmirror.builders/topic/11899/v2-10-0</a></p>
]]></description><link>https://forum.magicmirror.builders/post/67016</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/67016</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Thu, 02 Jan 2020 17:30:28 GMT</pubDate></item></channel></rss>