MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.

    MMM-CalendarExt3Agenda doesn't work on fresh restored install

    Scheduled Pinned Locked Moved Solved Troubleshooting
    11 Posts 2 Posters 372 Views 2 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • R Offline
      rkorell
      last edited by

      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

      S 1 Reply Last reply Reply Quote 0
      • S Offline
        sdetweil @rkorell
        last edited by

        @rkorell can you look at the restore.log for the processing on cx3agenda

        go to that module folder and do
        npm install

        trying to decide if an npm install is required
        this module has no dependencies
        but it does have a submodule which needs to be installed

        i will fix the tests in restore

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        R 1 Reply Last reply Reply Quote 0
        • R Offline
          rkorell @sdetweil
          last edited by

          @sdetweil Did not find a restore.log file …
          But in this post I listed a copy of screen output during restore.

          it stated “restoring MMM-CalendarExt3Agenda” without engaging npm install …

          Will give npm install a try…

          Thanks!
          Ralf

          S 1 Reply Last reply Reply Quote 0
          • S Offline
            sdetweil @rkorell
            last edited by sdetweil

            @rkorell ~/MagicMirror/installers/restore.log

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            R 1 Reply Last reply Reply Quote 0
            • R Offline
              rkorell @sdetweil
              last edited by

              @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

              S 2 Replies Last reply Reply Quote 0
              • R rkorell has marked this topic as solved on
              • S Offline
                sdetweil @rkorell
                last edited by

                @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…

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                1 Reply Last reply Reply Quote 1
                • S Offline
                  sdetweil @rkorell
                  last edited by

                  @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 anymore

                  you 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…

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  R 1 Reply Last reply Reply Quote 0
                  • R Offline
                    rkorell @sdetweil
                    last edited by

                    @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 …

                    S 1 Reply Last reply Reply Quote 0
                    • S Offline
                      sdetweil @rkorell
                      last edited by

                      @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

                      Sam

                      How to add modules

                      learning how to use browser developers window for css changes

                      R 1 Reply Last reply Reply Quote 0
                      • R Offline
                        rkorell @sdetweil
                        last edited by

                        @sdetweil despite getting it “run” it doesn’t work properly :-(
                        I’m looking around but seems to be hard …

                        S 1 Reply Last reply Reply Quote 0
                        • 1
                        • 2
                        • 1 / 2
                        • First post
                          Last post
                        Enjoying MagicMirror? Please consider a donation!
                        MagicMirror created by Michael Teeuw.
                        Forum managed by Sam, technical setup by Karsten.
                        This forum is using NodeBB as its core | Contributors
                        Contact | Privacy Policy