• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
MagicMirror Forum
  • Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.

Problem with updating to 2.10.0 from 2.9.0 using update script

Scheduled Pinned Locked Moved Unsolved Troubleshooting
15 Posts 3 Posters 4.3k Views 3 Watching
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    sdetweil @outlying
    last edited by Jan 2, 2020, 7:14 PM

    @outlying but npm had to be installed before… I just use it

    that line 244 is npm install

    and I don’t know where the 'apply: ’ came from

    Sam

    How to add modules

    learning how to use browser developers window for css changes

    1 Reply Last reply Reply Quote 0
    • S Offline
      sdetweil
      last edited by Jan 2, 2020, 7:18 PM

      this is what my MM/installers/upgrade.log says

      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 <file>..." to unstage)
      
      	deleted:    css/custom.css
      
      Changes not staged for commit:
        (use "git add <file>..." to update what will be committed)
        (use "git checkout -- <file>..." to discard changes in working directory)
      
      	modified:   package-lock.json
      	modified:   package.json
      
      Untracked files:
        (use "git add <file>..." 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 => 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 => 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 => js/node_helper.js (98%)  
      mode change 100644 => 100755 run-start.sh
      processor architecture is armv7l
      updating MagicMirror runtime, please wait
      

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      1 Reply Last reply Reply Quote 0
      • O Offline
        outlying
        last edited by Jan 2, 2020, 7:20 PM

        @sdetweil 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 bash: npm: command not found sooooo … I think since it’s fresh install I will reinstall everything

        S 1 Reply Last reply Jan 2, 2020, 7:21 PM Reply Quote 0
        • S Offline
          sdetweil @outlying
          last edited by Jan 2, 2020, 7:21 PM

          @outlying close that terminal window and reopen it, npm should not have been removed…

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          O 1 Reply Last reply Jan 2, 2020, 7:26 PM Reply Quote 0
          • O Offline
            outlying @sdetweil
            last edited by outlying Jan 2, 2020, 7:27 PM Jan 2, 2020, 7:26 PM

            @sdetweil I’ve done it right away it but it’s not there anymore, somehow it’s messed up

            S 1 Reply Last reply Jan 2, 2020, 7:28 PM Reply Quote 0
            • S Offline
              sdetweil @outlying
              last edited by Jan 2, 2020, 7:28 PM

              @outlying weird… sudo apt-get install npm
              then sudo npm i -g npm to get latest

              node -v
              and
              npm -v
              to verify levels

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              1 Reply Last reply Reply Quote 0
              • C Offline
                ChrizZz
                last edited by Jan 2, 2020, 7:30 PM

                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”.

                1 Reply Last reply Reply Quote 1
                • O Offline
                  outlying
                  last edited by Jan 2, 2020, 7:31 PM

                  @sdetweil 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

                  Right now I have lock on dpkg files

                  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?
                  

                  So it all messed up :-/ this is very fresh setup so I really don’t mind purging it

                  S 1 Reply Last reply Jan 2, 2020, 7:36 PM Reply Quote 0
                  • S Offline
                    sdetweil @outlying
                    last edited by Jan 2, 2020, 7:36 PM

                    @outlying save your magicmirror config.js at least!

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

                    1 Reply Last reply Reply Quote 0
                    • 1
                    • 2
                    • 2 / 2
                    2 / 2
                    • First post
                      11/15
                      Last post
                    Enjoying MagicMirror? Please consider a donation!
                    MagicMirror created by Michael Teeuw.
                    Forum managed by Sam, technical setup by Karsten.
                    This forum is using NodeBB as its core | Contributors
                    Contact | Privacy Policy