Read the statement by Michael Teeuw here.
I'm in need of a little guidance
-
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.jsonI don’t think I’ve done anything to any of those files.
-
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 … -
@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 upgradeit 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
-
@sdetweil said in I'm in need of a little guidance:
Thanks. That was by far the easiest, pain-free upgrade I’ve ever just sat back and watched!
-
@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