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

Update MMM

Scheduled Pinned Locked Moved Solved Troubleshooting
75 Posts 8 Posters 28.9k Views 9 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.
  • P Offline
    Peter Leemon @sdetweil
    last edited by Apr 2, 2020, 1:32 AM

    @sdetweil run the first script?

    S 1 Reply Last reply Apr 2, 2020, 1:33 AM Reply Quote 0
    • S Away
      sdetweil @Peter Leemon
      last edited by sdetweil Apr 2, 2020, 1:38 AM Apr 2, 2020, 1:33 AM

      @Peter-Leemon

      upgrade-script.sh will do the git pull and npm install, and refresh npm setup for any modules that might need it
      it should handle all the work… and give you a trial run of all that…
      
      only applying changes if u request them
      
      give it a try this works on Mac as well
      
      bash -c "$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/upgrade-script.sh)"
      no changes are made to the local repo or the working copy
      
      if you WANT to actually apply the changes do
      
      bash -c "$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/upgrade-script.sh)" apply
      there is a log file (upgrade.log) in the MagicMirror/installers folder…
      

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      P 1 Reply Last reply Apr 2, 2020, 1:34 AM Reply Quote 0
      • P Offline
        Peter Leemon @sdetweil
        last edited by Apr 2, 2020, 1:34 AM

        @sdetweil said in Update MMM:

        bash -c “$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/upgrade-script.sh)”

        sorry a noob here do i run this in terminal?

        S 1 Reply Last reply Apr 2, 2020, 1:35 AM Reply Quote 0
        • S Away
          sdetweil @Peter Leemon
          last edited by Apr 2, 2020, 1:35 AM

          @Peter-Leemon yes, stop MM first of course

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          1 Reply Last reply Reply Quote 0
          • P Offline
            Peter Leemon
            last edited by Apr 2, 2020, 1:37 AM

            when I paste bash -c “$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/upgrade-script.sh) i get no such file or directory

            S 1 Reply Last reply Apr 2, 2020, 1:39 AM Reply Quote 0
            • S Away
              sdetweil @Peter Leemon
              last edited by sdetweil Apr 2, 2020, 1:39 AM Apr 2, 2020, 1:39 AM

              @Peter-Leemon dang forum, change the " to wrong character… copy/paste it again

              need the trailing quote too

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              1 Reply Last reply Reply Quote 0
              • P Offline
                Peter Leemon
                last edited by Apr 2, 2020, 1:42 AM

                pi@raspberrypi:~ $ bash -c “$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/upgrade-script.sh)”
                the log will be /home/pi/MagicMirror/installers/upgrade.log
                No LSB modules are available.
                doing test run = true
                update log will be in /home/pi/MagicMirror/installers/upgrade.log

                upgrading from version 2.10.1 to 2.11.0
                fetching latest revisions
                there are 3 local files that are different than the master repo

                modules/default/calendar/calendar.js
                modules/default/compliments/compliments.js
                package-lock.json

                any *-lock.json files do not need to be saved
                do you want to save these files for later (Y/n)?y
                processing dependency changes for active modules with package.json files

                processing for module MMM-NOAA3 please wait

                skipped processing for MMM-NOAA3, doing test run
                processing complete for module MMM-NOAA3

                processing for module MMM-EARTH please wait

                skipped processing for MMM-EARTH, doing test run
                processing complete for module MMM-EARTH

                processing for module MMM-GooglePhotos please wait

                skipped processing for MMM-GooglePhotos, doing test run
                processing complete for module MMM-GooglePhotos

                test run, restoring files stashed
                pi@raspberrypi:~ $

                Is this correct?

                S 1 Reply Last reply Apr 2, 2020, 2:02 AM Reply Quote 0
                • S Away
                  sdetweil @Peter Leemon
                  last edited by Apr 2, 2020, 2:02 AM

                  @Peter-Leemon said in Update MMM:

                  doing test run = true

                  yes, now add ‘apply’’

                  no changes are made to the local repo or the working copy
                  
                  if you WANT to actually apply the changes do
                  
                  bash -c "$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/upgrade-script.sh)" apply
                  

                  BUT

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

                  modules/default/calendar/calendar.js
                  modules/default/compliments/compliments.js
                  package-lock.json

                  any *-lock.json files do not need to be saved

                  I assume u might want to save those changed files…

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  1 Reply Last reply Reply Quote 0
                  • P Offline
                    Peter Leemon
                    last edited by Apr 2, 2020, 3:07 AM

                    yes that worked thank you, just have figure out how to update google photos to update now.

                    1 Reply Last reply Reply Quote 0
                    • P Offline
                      Peter Leemon
                      last edited by Peter Leemon Apr 2, 2020, 3:20 AM Apr 2, 2020, 3:18 AM

                      have just done a git pull and npm install in MMM-GooglePhotos module now the MM has a black screen everything else is working just no images showing
                      ?

                      S 1 Reply Last reply Apr 2, 2020, 4:09 AM Reply Quote 0
                      • 1
                      • 2
                      • 3
                      • 4
                      • 5
                      • 6
                      • 7
                      • 8
                      • 5 / 8
                      5 / 8
                      • First post
                        47/75
                        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