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.

    I'm in need of a little guidance

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    5 Posts 3 Posters 631 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.
    • earnestrichardsE Offline
      earnestrichards
      last edited by

      I tried to do the update to the current version v2.17.1 just now.

      I’m getting a message on the terminal saying that there are changes not staged for commit. The files listed are:

      fonts/package-lock.json
      package-lock.json
      vendor/package-lock.json

      I don’t think I’ve done anything to any of those files.

      karsten13K S 2 Replies Last reply Reply Quote 0
      • karsten13K Offline
        karsten13 @earnestrichards
        last edited by

        @earnestrichards

        in this case execute git reset --hard in the mm folder, after this updating should work. But in general be careful with this command, it resets all changes done in a git repo …

        1 Reply Last reply Reply Quote 0
        • S Offline
          sdetweil @earnestrichards
          last edited by sdetweil

          @earnestrichards use my upgrade script… it will ask you if u want to save those (n) and handle it…

          see https://github.com/sdetweil/MagicMirror_scripts

          note that upgrade is a two step process…

          once to test (without changing anything) so u get an idea of what is coming and can resolve it
          and once to DO the upgrade

          it also goes thru each module that may have dependencies and refreshes the connection with MM version (does NOT upgrade module itself)

          in general I recommend NEVER doing reset --hard, if u have a problem, resolve it, rather than stomping all over everything

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          earnestrichardsE 1 Reply Last reply Reply Quote 0
          • earnestrichardsE Offline
            earnestrichards @sdetweil
            last edited by

            @sdetweil said in I'm in need of a little guidance:

            https://github.com/sdetweil/MagicMirror_scripts

            Thanks. That was by far the easiest, pain-free upgrade I’ve ever just sat back and watched!

            S 1 Reply Last reply Reply Quote 1
            • S Offline
              sdetweil @earnestrichards
              last edited by

              @earnestrichards cool… glad it worked out… and another thing, I write a log of the actions, so you can look back at it, or if there is a problem…

              ~/MagicMirror/installers/upgrade.log

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              1 Reply Last reply Reply Quote 0
              • 1 / 1
              • First post
                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