• 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 29.4k 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.
  • S Offline
    sdetweil @minomit
    last edited by sdetweil Apr 2, 2020, 1:02 PM Apr 2, 2020, 12:59 PM

    @minomit said in Update MMM:

    doing test run = true

    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…
    

    I built it to TEST first… and not just blindly apply… give u a chance to figure out what to do…

    Sam

    How to add modules

    learning how to use browser developers window for css changes

    S 1 Reply Last reply Apr 2, 2020, 1:01 PM Reply Quote 0
    • S Offline
      sdetweil @sdetweil
      last edited by sdetweil Apr 2, 2020, 1:02 PM Apr 2, 2020, 1:01 PM

      @minomit

      notice it highlights a file u might want to look out for

      modules/default/compliments/compliments.js

      did u change this? if so, your changes might be lost

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      M 1 Reply Last reply Apr 2, 2020, 1:23 PM Reply Quote 0
      • M Offline
        minomit @sdetweil
        last edited by Apr 2, 2020, 1:23 PM

        @sdetweil yes, I tried to put the original file too, same problem

        S 1 Reply Last reply Apr 2, 2020, 1:25 PM Reply Quote 0
        • S Offline
          sdetweil @minomit
          last edited by Apr 2, 2020, 1:25 PM

          @minomit which ‘same problem’

          if u want the original file back

          cd ~/MagicMirror
          git checkout modules/default/compliments/compliments.js
          

          did u do this

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

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          1 Reply Last reply Reply Quote 0
          • M Offline
            minomit
            last edited by Apr 2, 2020, 2:43 PM

            ok ok, perfect thanks

            1 Reply Last reply Reply Quote 0
            • Z Offline
              Zinkeler
              last edited by Apr 3, 2020, 6:18 AM

              Hello,
              after update “npm run start” works, but how can i stop MM ? “npm run stop” did not work.
              Thx

              S 1 Reply Last reply Apr 3, 2020, 11:28 AM Reply Quote 0
              • S Offline
                sdetweil @Zinkeler
                last edited by Apr 3, 2020, 11:28 AM

                @Zinkeler typically is npm start, then ctrl-c will stop it… if you use pm2, them pm2 start 0, and pm2 stop 0

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                Z 1 Reply Last reply Apr 3, 2020, 12:22 PM Reply Quote 0
                • Z Offline
                  Zinkeler @sdetweil
                  last edited by Apr 3, 2020, 12:22 PM

                  @sdetweil thx, it works

                  1 Reply Last reply Reply Quote 1
                  • S Offline
                    Stoffbeuteluwe Project Sponsor @sdetweil
                    last edited by Apr 3, 2020, 2:44 PM

                    @sdetweil Hi, Sam I used you script …it works fine and very easy to upgrade.
                    Thank you very much for your work :folded_hands_medium-light_skin_tone:

                    T 1 Reply Last reply Apr 4, 2020, 1:42 PM Reply Quote 2
                    • T Offline
                      thedoorsfanatic @Stoffbeuteluwe
                      last edited by Apr 4, 2020, 1:42 PM

                      @Stoffbeuteluwe
                      Same for me, keep up the good work @sdetweil!

                      My Smart Mirror YouTube playlist: https://www.youtube.com/playlist?list=PL9Iv_4Mvy6o2tnvdhNBstVWNefgUP9ELp

                      1 Reply Last reply Reply Quote 0
                      • 1
                      • 2
                      • 3
                      • 4
                      • 5
                      • 6
                      • 7
                      • 8
                      • 7 / 8
                      7 / 8
                      • First post
                        70/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