Read the statement by Michael Teeuw here.
Update troubles. Again.
-
-
@bdream said in Update troubles. Again.:
link text
This seems like a great feature that would prevent a lot of issues. I don’t think it will help me in my current predicament, though, since I already updated according to the readme.
-
The v2.20.0 announcement said
https://forum.magicmirror.builders/topic/11899/v2-10-0Please update using the following command: git pull && npm install.
Note that one has to be in the MagicMirror directory before issuing these commands (
cd ~/MagicMirror
).The README.md shows 2 commands, see:
https://github.com/MichMich/MagicMirror/blob/master/README.md#updatingNot a sign of just an single
git pull
anywhere.Anyway, I would suggest you to try the commands from the first post in this topic:
https://forum.magicmirror.builders/topic/10859/new-update-upgrade-script-ready-for-testing?page=1
The only note would be that it is advised to stop MM (e.g. usingpm2 stop mm
).Success.
-
@evroom my apologies…I DID use both. After rebooting again, I now get “line 66: electron not found.”
-
@uatuba the update posting says
git pull & npm install
did you do the npm install part? in the MagicMirror folder?
the new distribution needs dependencies (libraries) newer than previously installed.
so you have to redo npm install to update themif u ran the script from the new updater topic, please post the contents of
MagicMirror/installers/upgrade.log
-
@uatuba
No need to apologize, but you were asked to supply the exact steps taken.
Agit pull
followed bynpm install
in the MM homedir will most likely solve your electron error message.
If not, the upgrade script from Sam will solve it or at least will provide with some info to check for.