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-GoogleCalendar reports 2 commits behind but I can't resolve them.

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    8 Posts 2 Posters 58 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
      reilley
      last edited by

      A couple of weeks ago, MagicMirror started displaying a message that the MMM-GoogleCalendar module is behind by two commits, but I’ve git-pulled and installed, merged as required, and ran the npm install but it’s still showing as being behind. I ran npm audit fix and two moderate issues appear, but not sure how to fix them. I’ve installed the latest GAXIOS version as suggested but no joy.

      Any ideas?

      IMG_5758.JPG IMG_5759.JPG IMG_5760.JPG

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

        @reilley I just did the git pull on my installation

        git pull
        remote: Enumerating objects: 58, done.
        remote: Counting objects: 100% (36/36), done.
        remote: Compressing objects: 100% (14/14), done.
        remote: Total 58 (delta 25), reused 27 (delta 22), pack-reused 22 (from 1)
        Unpacking objects: 100% (58/58), 205.78 KiB | 1.34 MiB/s, done.
        From https://github.com/randomBrainstormer/MMM-GoogleCalendar
           8679522..faf438e  main       -> origin/main
         * [new tag]         v1.2.7     -> v1.2.7
         * [new tag]         v1.2.5     -> v1.2.5
         * [new tag]         v1.2.6     -> v1.2.6
        Updating 8679522..faf438e
        Fast-forward
         .github/workflows/version-bump.yml   |  55 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
         MMM-GoogleCalendar.js                | 108 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++----
         __tests__/MMM-GoogleCalendar.test.js | 102 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
         node_helper.js                       |  49 +++++++++++++++++++++++++++++++++++++++++++++++--
         package-lock.json                    |   4 ++--
         package.json                         |   2 +-
         translations/en.json                 |   3 ++-
         7 files changed, 313 insertions(+), 10 deletions(-)
         create mode 100644 .github/workflows/version-bump.yml
        sam@sams:~/MagicMirror.2.36.dev/modules/MMM-GoogleCalendar$ npm install 
        
        up to date, audited 383 packages in 2s
        
        65 packages are looking for funding
          run `npm fund` for details
        
        12 vulnerabilities (8 moderate, 4 high)
        
        To address issues that do not require attention, run:
          npm audit fix
        
        To address all issues (including breaking changes), run:
          npm audit fix --force
        
        Run `npm audit` for details.
        
        

        and updatenotification does not report being behind

        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
          reilley @sdetweil
          last edited by

          @sdetweil - Hi Sam! Surprisingly, the error may not show up for a while after you make changes and restart.

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

            @reilley what MagicMirror version are you on? There was a bug fixed when scanning for changes

            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
              reilley @sdetweil
              last edited by

              @sdetweil said:

              @reilley what MagicMirror version are you on? There was a bug fixed when scanning for changes

              Version 2.34.0

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

                @reilley ok, the fix came in on 2.36 I think

                Do this for a quick test

                Stop MagicMirror
                If using pm2 to launch, then

                pm2 stop all
                

                Then

                cd ~/MagicMirror 
                npm start >somefile.txt 2>&1
                

                Wait 30 seconds after MagicMirror is up, then
                ctrl-q on the MagicMirror screen

                Now back at terminal window

                nano somefile.txt
                

                ctrl-w
                updaten
                Hit enter

                Will scroll to location, repeat ctrl-w enter,
                Should come to status of git search the repo and repo error

                Ctrl-x to exit nano

                If using pm2 to Launch MagicMirror

                pm2 status
                

                Then

                pm2 start xx
                

                Where xx is the name or number on the row of the app to start
                Typically MagicMirror or 0

                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
                  reilley @sdetweil
                  last edited by

                  @sdetweil - I don’t use PM2, but I went ahead and replicated the steps you suggested to create that some file.txt log file and the appropriate searches. The only thing of note I saw was an error about MMM-CalendarExt3 not having permission to enter objects. Not sure if that would have any bearing on the MMM-GoogleCalendar module. Image attached.

                  By the way, I tried git pull to update MagicMirror, but being told I can’t fast-forward for some reason.

                  IMG_5762.JPG

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

                    @reilley insufficient permissions on git
                    Sounds like you might have used

                    sudo git clone 
                    

                    Otherwise, this is a sign of sd card troubles coming soon

                    this permissions trouble could also explain the module update problems

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

                    1 Reply Last reply Reply Quote 0

                    Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                    Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                    With your input, this post could be even better 💗

                    Register Login
                    • 1 / 1
                    • 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