Closed justinreimer closed 1 year ago
Here is my upgrade log if that helps upgrade.log
Not sure if this is just an issue with pm2, or if the magic mirror update is incomplete and causing startup to fail.
Ok, looks like npm has removed the option of --only=prod..
i fixed the scripts.. try again
also, you ONLY run upgrade when moving between MM versions (a new release every 90 days) ...
correct, install is new.. from nothing..
so rename the MagicMirror folder or delete it
to 'upgrade' the current release , use force instead of apply
Yep, running the upgrade script with force
worked. Had to remove and reinstall the electron
node module as well, but seems to be working now. Thanks
can u post the installers/upgrade.log
electron has troubles sometimes, not sure why
Yep
thanks they really messed up the options syntax..
fixed the scripts again
No problem. Thanks for the quick updates
fixed again
My magic mirror project seems to have stopped working after running the upgrade script. Bellow is the list of steps I've taken so far.
ran
bash -c "$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/upgrade-script.sh)"
ran
bash -c "$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/upgrade-script.sh)" apply
ran
pm2 stop MagicMirror
ran
bash -c "$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/upgrade-script.sh)" apply
againhung at line
npm WARN invalid config only="prod --omit=dev --no-audit --no-fund --no-update-notifier" set in command line options npm WARN invalid config Must be one of: null, prod, production
Eventuall had to end process
ran
pm2 restart MagicMirror
mirror no longer starts up
ran
bash -c "$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/upgrade-script.sh)" apply
againtried to start from scratch by running install script
bash -c "$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/raspberry.sh)"