Read the statement by Michael Teeuw here.
MMM-PublicTransportHafas - Error when loading - DeparturFetcher.mjs
-
@Vulan12354 how did you upgrade MagicMirror?
-
@p1lspeda on my upgrade script, can you show me the ~/MagicMirror/installers/upgrade.log
or tell me the command you used
-
@sdetweil
I removed the entire MagicMirror directory before reinstalling MM.
I didn’t make a backup, so I cannot provide the log. Sorry.For updating I tried
bash -c "$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/upgrade-script.sh)"
and
bash -c "$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/upgrade-script.sh)" apply
and the fresh install was achieved by using
bash -c "$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/raspberry.sh)"
-
@p1lspeda great thanks…
only THIS one DOES the upgrade
bash -c "$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/upgrade-script.sh)" apply
BUT, if you did a git pull manually then the local code would be at the new/current version
and I would abort, as you are ALREADY at the current level…THEN you have to do
bash -c "$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/upgrade-script.sh)" force
cause I won’t let you upgrade OVER the same release accidentally
~/MagicMirror/installers/upgrade.log is created and updated in all cases.
so we can tell what happenedif it didn’t seem to work, I want to know… and get the log,
even if you decide to abort and start overthese scripts are very conservative… I do NOT want to destroy your running MM system
-
@sdetweil
good to know for the future. Thanks.
I was unaware of the “force” parameter, that’s why I never tried it. -
@p1lspeda i do not publish force, as i do not want people to use it willy nilly.
danger…
-
It looks like it is working now, but at the moment the module cant get any information about the bus schedule. But the MagicMirror is starting without any error message.
Thank you for your patience.
I will wait till monday, and tell you all if its working now or not.
-
Hey together,
it is working now.
The last bug was a known issue.Thanks all for helping to fix my problem!