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.

    2318 commits behind...

    Scheduled Pinned Locked Moved Solved Troubleshooting
    17 Posts 8 Posters 10.1k Views 7 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.
    • S
      savona
      last edited by yawns

      I recently installed MM with docker using this image:

      https://github.com/bastilimbach/docker-MagicMirror

      It ran fine for a couple of days then yesterday I received this meesage:

      MagicMirror2 update available.
      The current installation is 2318 commits behind on the master branch.

      My current version is:

      grep version package.json 
      "version": "2.5.0"
      

      I have done a lot of searching. I have read that there is a cron job that updates the image for docker, but I have rebuilt several times and still no luck and I don’t see any changes on the docker git.

      I have tried git pull and get error after error.

      error: Your local changes to the following files would be overwritten by merge:
      	package-lock.json
      	vendor/package-lock.json
      Please commit your changes or stash them before you merge.
      error: The following untracked working tree files would be overwritten by merge:
      	modules/default/clock/clock_screenshot.png
      	modules/default/compliments/compliments_screenshot.png
      	modules/default/currentweather/weather_screenshot.png
      	modules/default/newsfeed/newsfeed_screenshot.png
      	modules/default/weather/README.md
      	modules/default/weather/current.njk
      	modules/default/weather/current.png
      	modules/default/weather/forecast.njk
      	modules/default/weather/forecast.png
      	modules/default/weather/providers/README.md
      	modules/default/weather/providers/darksky.js
      	modules/default/weather/providers/openweathermap.js
      	modules/default/weather/weather.css
      	modules/default/weather/weather.js
      	modules/default/weather/weatherobject.js
      	modules/default/weather/weatherprovider.js
      	modules/default/weatherforecast/forecast_screenshot.png
      Please move or remove them before you merge.
      Aborting
      

      Any help?

      D idoodlerI 2 Replies Last reply
      Reply Quote 0
      • D
        dazza120 @savona
        last edited by

        @savona rename those folders then got pull, then you can delete once MM is working on the new version

        S 1 Reply Last reply
        Reply Quote 0
        • S
          savona @dazza120
          last edited by savona

          @dazza120 But then if I rebuild the docker container wouldn’t it just put me back 2318 commits?

          UPDATE: Yes, I rebuilt the docker container and it reverted right back.

          S 1 Reply Last reply
          Reply Quote 0
          • S
            savona @savona
            last edited by

            @bastilimbach Any help?

            B 1 Reply Last reply
            Reply Quote 0
            • B
              bhepler Module Developer @savona
              last edited by

              @savona - Would it make sense to build from image, rename the git files, pull, update and then upload the fixed image as a PR?

              S 1 Reply Last reply
              Reply Quote 0
              • S
                savona @bhepler
                last edited by

                @bhepler maybe.

                but I saw that the originator of the docker image said it was updated daily with a cronjob on this post:

                https://forum.magicmirror.builders/topic/5316/automatic-docker-build/2

                1 Reply Last reply
                Reply Quote 0
                • idoodlerI
                  idoodler Module Developer @savona
                  last edited by

                  @savona Both package-lock.json can just be deleted. Did you intentionally change the files in the default directory?

                  S 1 Reply Last reply
                  Reply Quote 0
                  • S
                    savona @idoodler
                    last edited by

                    @idoodler No I did not change the default directory at all. That is why this is so odd to me.

                    idoodlerI 1 Reply Last reply
                    Reply Quote 0
                    • R
                      rummyr
                      last edited by

                      I got a message saying my MM was out of date, so I pulled the new docker image and now have the 2318 message also.

                      The top of my CHANGELOG.md reads “## [2.5.0] - 2018-10-01”
                      Though the “image date” as reported by Portainer is “Created 2019-01-01 15:08:22”

                      Do we need to wait for bastilimbach?

                      1 Reply Last reply
                      Reply Quote 0
                      • idoodlerI
                        idoodler Module Developer @savona
                        last edited by

                        @savona OK, you may have a corrupt git directory then. You may try to clone it again.

                        1 Reply Last reply
                        Reply Quote 0
                        • S
                          savona
                          last edited by

                          I just blew away the docker image and did a new pull and it is fixed and on 2.6.0.

                          grep version package.json

                          “version”: “2.6.0”,

                          1 Reply Last reply
                          Reply Quote 2
                          • T
                            Thelonius
                            last edited by

                            I was able to proceed past this error by using the command ‘git stash’. This worked for two Magic Mirrors.

                            1 Reply Last reply
                            Reply Quote 0
                            • CyruS1337C
                              CyruS1337 Project Sponsor
                              last edited by

                              Hello everybody

                              I have three MagicMirrors in use. On two mirrors he shows me that I’m 2318 and 124 behind the master respectively.

                              If I enter git pull in the MagicMirror folder, error occurs

                              Aktualisiere 6db61b4..de57daa
                              error: Ihre lokalen Änderungen in den folgenden Dateien würden durch den Merge
                              überschrieben werden:
                                      package-lock.json
                                      vendor/package-lock.json
                              Bitte committen oder stashen Sie Ihre Änderungen, bevor sie mergen.
                              Abbruch
                              
                              

                              What do I have to do to bring the MagicMirror up to date?

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

                                you can erase those two files, then git pull again

                                Sam

                                How to add modules

                                learning how to use browser developers window for css changes

                                1 Reply Last reply
                                Reply Quote 0
                                • CyruS1337C
                                  CyruS1337 Project Sponsor
                                  last edited by

                                  @sdetweil said in 2318 commits behind...:

                                  you can erase those two files, then git pull again

                                  Ok, can you tell me how to delete and reload? Sorry, but unfortunately I do not understand so much of the matter :(

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

                                    @cyrus1337

                                    rm package-lock.json
                                    rm vendor/package-lock.json 
                                    

                                    then

                                    git pull
                                    

                                    as before
                                    then probably reinstall npm modules

                                    from MagicMirror folder

                                    npm install
                                    

                                    Sam

                                    How to add modules

                                    learning how to use browser developers window for css changes

                                    1 Reply Last reply
                                    Reply Quote 1
                                    • CyruS1337C
                                      CyruS1337 Project Sponsor
                                      last edited by

                                      @sdetweil said in 2318 commits behind...:

                                      rm package-lock.json
                                      rm vendor/package-lock.json

                                      Thank you for your quick help. Everything works :)

                                      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