Read the statement by Michael Teeuw here.
MMM-CalendarExt3Agenda doesn't work on fresh restored install
-
Good morning,
just restored my mirror with restore scripts from Sam (@sdetweil ).
Unfortunately MMM-CalendarExt3Agenda doesn’t show up.
I’ve just installed the calendar fix but this doesn’t help:pi@MagicMirrorPi5:~/MagicMirror $ git switch _fix_clipping error: Your local changes to the following files would be overwritten by checkout: package-lock.json package.json Please commit your changes or stash them before you switch branches. Aborting pi@MagicMirrorPi5:~/MagicMirror $ rm package-lock.json pi@MagicMirrorPi5:~/MagicMirror $ git switch _fix_clipping error: Your local changes to the following files would be overwritten by checkout: package.json Please commit your changes or stash them before you switch branches. Aborting pi@MagicMirrorPi5:~/MagicMirror $ mv package.json package.json.old pi@MagicMirrorPi5:~/MagicMirror $ git switch _fix_clipping Switched to branch '_fix_clipping' pi@MagicMirrorPi5:~/MagicMirror $ npm run install-mm > magicmirror@2.31.0-develop install-mm > npm install --no-audit --no-fund --no-update-notifier --only=prod --omit=dev > magicmirror@2.31.0-develop postinstall > npm run install-vendor && npm run install-fonts && echo "MagicMirror² installation finished successfully! > " > magicmirror@2.31.0-develop install-vendor > echo "Installing vendor files ... > " && cd vendor && npm install --loglevel=error --no-audit --no-fund --no-update-notifier Installing vendor files ... up to date in 369ms > magicmirror@2.31.0-develop install-fonts > echo "Installing fonts ... > " && cd fonts && npm install --loglevel=error --no-audit --no-fund --no-update-notifier Installing fonts ... up to date in 400ms MagicMirror² installation finished successfully! > magicmirror@2.31.0-develop prepare > [ -f node_modules/.bin/husky ] && husky || echo no husky installed. no husky installed. added 1 package, removed 99 packages, and changed 186 packages in 19s
I’ve searched logs and found an error:
Cannot GET /modules/MMM-CalendarExt3Agenda/CX3_Shared/CX3_shared.mjs
which is true - this directory “CX3_Shared” is empty on my restored version.
on github the CX3_Shared directory is linked elsewhere - this is might the reason for not re-installing it correctly…Git pull in $HOME/MagicMirror/modules/MMM-CalendarExt3Agenda doesn’t help either.
What can I do to get it up and running?Thanks for any hint!
Ralf -
@rkorell can you look at the restore.log for the processing on cx3agenda
go to that module folder and do
npm installtrying to decide if an npm install is required
this module has no dependencies
but it does have a submodule which needs to be installedi will fix the tests in restore
-
-
@rkorell ~/MagicMirror/installers/restore.log
-
@sdetweil :-)
nmp install DOES the trick!
(should have come to my mind !!!)
pi@MagicMirrorPi5:~/MagicMirror/modules/MMM-CalendarExt3Agenda $ npm install > mmm-calendarext3agenda@1.4.6 postinstall > git submodule update --init --recursive Submodule 'CX3_Shared' (https://github.com/MMRIZE/CX3_Shared) registered for path 'CX3_Shared' Cloning into '/home/pi/MagicMirror/modules/MMM-CalendarExt3Agenda/CX3_Shared'... Submodule path 'CX3_Shared': checked out '0b390e2770866533464c81e5b26ff366e9695344' up to date, audited 1 package in 1s found 0 vulnerabilities
Thanks!
Calendar is present, again!
Nice!Now all I’m missing is MMM-Pir :-)
Just frickling around but cannot get this git-cloned from backup-repository …thanks a LOT!
Ralf -
-
@rkorell pushed fix for restore script to check for postinstall task as well as dependencies
the new 3rd party list uses package.json as a documentation vehicle…
but that doesn’t mean npm install is required… try not to do work that isn’t required and not consume disk space for no reason… -
@rkorell said in MMM-CalendarExt3Agenda doesn't work on fresh restored install:
Just frickling around but cannot get this git-cloned from backup-repository …
yes, I only save the LINK to the module repo, which doesn’t exist anymoreyou can’t binary back it up either, as there are OS level dependencies
I produce a warning in the output (and log file) that the url is not available
in both backup and restore… -
@sdetweil said in MMM-CalendarExt3Agenda doesn't work on fresh restored install:
you can’t binary back it up either, as there are OS level dependencies
I’ve “solved” it with my tar.gz archive.
put all of the working copy in it, extract im MagicMirror/modules and ran npm install in MMM-Pir …Now I’m looking around how to get xandr fixed, because now MMM-Pir increase the screen resolution to maximum which is not desired …
-
@rkorell said in MMM-CalendarExt3Agenda doesn't work on fresh restored install:
I’ve “solved” it with my tar.gz archive.
yeh, what about the other 200+ users?? SO much fun
-
@sdetweil despite getting it “run” it doesn’t work properly :-(
I’m looking around but seems to be hard …