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.

    error: Pulling is not possible because you have unmerged files.

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    39 Posts 2 Posters 15.6k 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.
    • S Offline
      sdetweil @DazTypeR
      last edited by

      @DazTypeR cool, can u try that one more time (without apply) to see if I fixed the line 159 problem

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      1 Reply Last reply Reply Quote 0
      • D Offline
        DazTypeR
        last edited by

        Just ran it again without the extra logging and a block of the output shows this…

        saving custom.css
        upgrading from version 2.9.0 to 2.9.0
        fetching latest revisions
        bash: line 159: On branch master: command not found
        there are 28 local files that are different than the master repo

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

          @DazTypeR can I beg one more try?

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          1 Reply Last reply Reply Quote 0
          • D Offline
            DazTypeR
            last edited by

            saving custom.css
            upgrading from version 2.9.0 to 2.9.0
            fetching latest revisions
            bash: line 154: [: missing `]’
            MagicMirror git fetch failed
            restoring custom.css

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

              @DazTypeR one last time

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              1 Reply Last reply Reply Quote 0
              • D Offline
                DazTypeR
                last edited by

                Nearly…

                saving custom.css
                upgrading from version 2.9.0 to 2.9.0
                fetching latest revisions
                bash: line 161: On branch master: command not found
                there are 28 local files that are different than the master repo

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

                  @DazTypeR ok, last time… hard to see the side effects

                  $(git status 2>&1) >>$logfile
                  

                  that means execute the git status command , and THEN execute the results of THAT , and pass THOSE results to the log

                  what I wanted was

                  git status 2>&1 >>$logfile
                  

                  exec the git status command, and pass ITS results to the log

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  1 Reply Last reply Reply Quote 0
                  • D Offline
                    DazTypeR
                    last edited by

                    OK nice one, that has come back with no errors or anything. :)

                    Guessing I am correct in replying N to the question regarding lock.json files needed to be saved, I have no idea if I need them or not - lol?

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

                      @DazTypeR u should have seen a message

                      	any *-lock.json files do not need to be saved
                      

                      Sam

                      How to add modules

                      learning how to use browser developers window for css changes

                      1 Reply Last reply Reply Quote 0
                      • D Offline
                        DazTypeR
                        last edited by

                        Of course, sorry, my bad, I did read that.

                        So am I OK to run this now with the apply option and it should update me to 2.9.0?

                        Also, on the slim chance this mucks up, I backed up my SD card prioe to doing all this, guess I will be OK to just reflash the card with that backup image?

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

                          @DazTypeR yes, go ahead… good strategy. backup… never hurts…

                          thanks for all your help !!

                          my main computer boot drive is starting to fail…

                          time for a hard drive switch later today!

                          Sam

                          How to add modules

                          learning how to use browser developers window for css changes

                          1 Reply Last reply Reply Quote 0
                          • D Offline
                            DazTypeR
                            last edited by

                            OK, so I ran the script with the apply option and it said something about the versions are the same and just finished.

                            Did all the test we do earlier pull down version 2.9.0 and that is what your installer is seeing?

                            Just rebooted the Pi in case and when the Magic Mirror booted up it still said there was an update needed.

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

                              @DazTypeR change apply to force

                              this was in case u had some failure part way thru…and had to restart

                              Sam

                              How to add modules

                              learning how to use browser developers window for css changes

                              1 Reply Last reply Reply Quote 0
                              • D Offline
                                DazTypeR
                                last edited by

                                OK done that, it ran, threw out no errors that I could see, so rebooted the Pi using sudo reboot and it all booted back up OK but the Magic Mirror still says there is an update?

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

                                  @DazTypeR show me the ~/MagicMirror/installers/upgrade.log

                                  if u can’t post (please use the markdown code block) email to me, same userid as here on gmail

                                  Sam

                                  How to add modules

                                  learning how to use browser developers window for css changes

                                  1 Reply Last reply Reply Quote 0
                                  • D Offline
                                    DazTypeR
                                    last edited by

                                    Just VI it abd this is all that appeared on my screen…

                                    Upgrade started - Sat Nov 2 15:10:57 GMT 2019
                                    doing test run = true
                                    downloading dumpactivemodules script

                                    saving custom.css
                                    not english or locale not set, set git alias
                                    remote name = origin
                                    upgrading from version 2.9.0 to 2.9.0
                                    fetching latest revisions
                                    current branch = master
                                    there are 28 local files that are different than the master repo

                                    .eslintrc.json
                                    .gitignore
                                    .travis.yml
                                    CHANGELOG.md
                                    LICENSE.md
                                    installers/raspberry.sh
                                    js/main.js
                                    modules/default/calendar/vendor/ical.js/node-ical.js
                                    modules/default/clock/clock.js
                                    modules/default/currentweather/currentweather.js
                                    modules/default/newsfeed/newsfeed.js
                                    modules/default/updatenotification/node_helper.js
                                    modules/default/updatenotification/updatenotification.js
                                    modules/default/weather/providers/darksky.js
                                    modules/default/weather/providers/openweathermap.js
                                    modules/default/weather/providers/ukmetoffice.js
                                    modules/default/weather/providers/weathergov.js
                                    modules/default/weather/weather.js
                                    modules/default/weather/weatherprovider.js
                                    modules/default/weatherforecast/weatherforecast.js
                                    package.json
                                    run-start.sh
                                    tests/e2e/vendor_spec.js
                                    translations/en.json
                                    translations/es.json
                                    translations/translations.js
                                    vendor/package-lock.json
                                    package-lock.json

                                    save/restore files selection = n
                                    “upgrade.log” 3423 lines, 162303 characters

                                    Not sure what you mean by markdown code block, sorry, like In say, still new to this.

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

                                      @DazTypeR said in error: Pulling is not possible because you have unmerged files.:

                                      doing test run = true

                                      nothing changes in test_run mode

                                      must use apply or force parms to get changes put on

                                      code block,

                                      paste text, select it all (pasted), then hit the </> button above the entry box

                                      Sam

                                      How to add modules

                                      learning how to use browser developers window for css changes

                                      1 Reply Last reply Reply Quote 0
                                      • D Offline
                                        DazTypeR
                                        last edited by

                                        HI matey, I ran this command…

                                        bash -c “$(curl -sL https://www.dropbox.com/s/lxzwyzohg61sppu/upgrade-script.sh?dl=0)” force

                                        so not sure why it said test run = Y.

                                        My son has a swim gala now so got to shoot, I will get the contents of the log to you, do I just VI it or is there another way to get it to you?

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

                                          @DazTypeR email to same userid as here on gmail

                                          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
                                          • 2
                                          • 2 / 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