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

I'm in need of a little guidance

Scheduled Pinned Locked Moved Unsolved Troubleshooting
5 Posts 3 Posters 588 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.
  • E Offline
    earnestrichards
    last edited by Oct 12, 2021, 5:14 PM

    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.

    K S 2 Replies Last reply Oct 12, 2021, 5:26 PM Reply Quote 0
    • K Offline
      karsten13 @earnestrichards
      last edited by Oct 12, 2021, 5:26 PM

      @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 Oct 12, 2021, 6:34 PM Oct 12, 2021, 5:31 PM

        @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

        E 1 Reply Last reply Oct 12, 2021, 6:33 PM Reply Quote 0
        • E Offline
          earnestrichards @sdetweil
          last edited by Oct 12, 2021, 6:33 PM

          @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 Oct 12, 2021, 6:35 PM Reply Quote 1
          • S Offline
            sdetweil @earnestrichards
            last edited by Oct 12, 2021, 6:35 PM

            @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
            1 / 1
            • First post
              4/5
              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