MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord

    UNSOLVED I'm in need of a little guidance

    Troubleshooting
    3
    5
    226
    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.
    • earnestrichards
      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.

      karsten13 S 2 Replies Last reply Reply Quote 0
      • karsten13
        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
          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

          Create a working config
          How to add modules

          earnestrichards 1 Reply Last reply Reply Quote 0
          • earnestrichards
            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
              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

              Create a working config
              How to add modules

              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 Paul-Vincent Roll and Rodrigo Ramírez Norambuena.
              This forum is using NodeBB as its core | Contributors
              Contact | Privacy Policy