RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login
    Please do not post a support request without first reading and following the advice in https://retropie.org.uk/forum/topic/3/read-this-first

    Update Retropie Script failed, need credentials?

    Scheduled Pinned Locked Moved Help and Support
    script updateupdate
    18 Posts 5 Posters 1.3k Views
    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.
    • M
      marcoabm
      last edited by

      reading your error, i think that git starts to need user/password authentication to download this update. Do you have an account on github?

      1 Reply Last reply Reply Quote 0
      • I
        InfinityBeing
        last edited by

        Even if you do make or have an account, what's the next step?

        1 Reply Last reply Reply Quote 0
        • mituM
          mitu Global Moderator
          last edited by

          Updating should not ask for a Github account. Have you done any modifications to any of the files in the RetroPie-Setup folder ?

          magicflyM 1 Reply Last reply Reply Quote 0
          • magicflyM
            magicfly @mitu
            last edited by

            @mitu Hi all! Yes I have GIT credentials..but i don't know how to tell them to Retropie to use them.
            Btw, i didn't modify any files inside the retropie. Fortunately i made a backup before that release..maybe i'll try later.
            Thanks everybody!

            1 Reply Last reply Reply Quote 0
            • BuZzB
              BuZz administrators
              last edited by BuZz

              Please cd to Retropie-Setup folder from terminal and do a git pull and post all output. And also output of git status

              I know how to fix this, but I'd like to see the cause.

              To help us help you - please make sure you read the sticky topics before posting - https://retropie.org.uk/forum/topic/3/read-this-first

              magicflyM 1 Reply Last reply Reply Quote 0
              • I
                InfinityBeing
                last edited by

                I ended up reformatting and starting from scratch. Now the only issue I have is trying to figure out why Cave Story has two entries (Cave Story.sh, and the folder CaveStory holding Doukutsu.exe), and how to hide the folder from ES. The game runs fine, but I don't want an entry that is completely unnecessary.

                mituM 1 Reply Last reply Reply Quote 0
                • mituM
                  mitu Global Moderator @InfinityBeing
                  last edited by mitu

                  @InfinityBeing Post you EmulationStation system configuration file:

                  • check \\retropie\configs\all\emulationstation\es_systems.cfg, it might not exist
                  • /etc/emulationstation/es_systems.cfg

                  Get the file and post its contents on pastebin.com.

                  What image are you using to install ?

                  I 1 Reply Last reply Reply Quote 0
                  • I
                    InfinityBeing @mitu
                    last edited by

                    @mitu I'm not installing anything, I've already installed everything and it runs fine. Like I said, there are 3 entries in my Ports when there are actually only two ports i've installed: VVVVVV and Cave Story. The latter has two entries because one is reading the .sh file, and the other is scanning the folder which has the .exe inside of it. How do I hide the folder with the .exe from view in the ports menu on ES?

                    1 Reply Last reply Reply Quote 0
                    • mituM
                      mitu Global Moderator
                      last edited by

                      Again, which image are you using to install ? RetroPie's default image doesn't exhibit this problem.

                      I 1 Reply Last reply Reply Quote 0
                      • magicflyM
                        magicfly @BuZz
                        last edited by magicfly

                        @BuZz Hi, sorry for the late answer...i've been a bit busy on these days... this is what i get, i hope it's usefull:

                        from the git pull
                        remote: Enumerating objects: 22, done.
                        remote: Counting objects: 100% (22/22), done.
                        remote: Compressing objects: 100% (10/10), done.
                        remote: Total 22 (delta 14), reused 19 (delta 12), pack-reused 0
                        Unpacking objects: 100% (22/22), done.
                        From https://github.com/RetroPie/RetroPie-Setup
                        d737e15a..618cc844 master -> origin/master

                        *** Please tell me who you are.

                        Run

                        git config --global user.email "you@example.com"
                        git config --global user.name "Your Name"

                        to set your account's default identity.
                        Omit --global to set the identity only in this repository.

                        fatal: unable to auto-detect email address (got 'pi@retropie.(none)')

                        from the git status
                        On branch master
                        Your branch and 'origin/master' have diverged,
                        and have 1 and 7 different commits each, respectively.
                        (use "git pull" to merge the remote branch into yours)
                        Untracked files:
                        (use "git add <file>..." to include in what will be committed)

                            scriptmodules/supplementary/bluetooth/bluezutils.pyc
                        

                        nothing added to commit but untracked files present (use "git add" to track)

                        Thanks!!

                        edit: this is what i get now
                        5245b032-5b6d-4555-a0ad-9f5ff83f88d2-immagine.png

                        1 Reply Last reply Reply Quote 0
                        • mituM
                          mitu Global Moderator
                          last edited by

                          Run git reset --hard origin/master from the RetroPie-Setup folder and try again updating.

                          BuZzB 1 Reply Last reply Reply Quote 0
                          • BuZzB
                            BuZz administrators
                            last edited by

                            What's the output of git log -n 1 - ? Once you've done that you can do

                            git checkout master; git reset --hard origin/master which should sort it.

                            To help us help you - please make sure you read the sticky topics before posting - https://retropie.org.uk/forum/topic/3/read-this-first

                            1 Reply Last reply Reply Quote 0
                            • BuZzB
                              BuZz administrators @mitu
                              last edited by

                              @mitu I'd like to get the log info first. I was wondering if this may be due to them checking out that commit before it was squashed and force pushed.

                              To help us help you - please make sure you read the sticky topics before posting - https://retropie.org.uk/forum/topic/3/read-this-first

                              magicflyM 1 Reply Last reply Reply Quote 1
                              • magicflyM
                                magicfly @BuZz
                                last edited by magicfly

                                @BuZz said in Update Retropie Script failed, need credentials?:

                                @mitu I'd like to get the log info first. I was wondering if this may be due to them checking out that commit before it was squashed and force pushed.

                                this is what i get from git log -n 1

                                Author: cmitu 31816814+cmitu@users.noreply.github.com
                                Date: Tue Mar 24 04:55:31 2020 +0000

                                setup: add back the question for the install/update dialog
                                

                                and then:

                                git checkout master; git reset --hard origin/master
                                scriptmodules/admin/setup.sh: needs merge
                                error: you need to resolve your current index first
                                HEAD is now at 618cc844 lr-flycast - disable link time optimisation due to segfault with it enabled.

                                BuZzB 1 Reply Last reply Reply Quote 0
                                • BuZzB
                                  BuZz administrators @magicfly
                                  last edited by BuZz

                                  @magicfly try git merge --abort first.

                                  Thanks for the info btw. You don't need to run the git log again.

                                  To help us help you - please make sure you read the sticky topics before posting - https://retropie.org.uk/forum/topic/3/read-this-first

                                  1 Reply Last reply Reply Quote 0
                                  • I
                                    InfinityBeing @mitu
                                    last edited by

                                    @mitu Like i said on the other post, literally 4.1.5, the one on the site. You are asking unrelated questions

                                    mituM 1 Reply Last reply Reply Quote 0
                                    • mituM
                                      mitu Global Moderator @InfinityBeing
                                      last edited by

                                      @InfinityBeing I think your posts are unrelated to this topic. Please don't post here - you already have your own topic.
                                      Sorry for the noise on the topic @BuZz, @magicfly.

                                      1 Reply Last reply Reply Quote 0
                                      • First post
                                        Last post

                                      Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.

                                      Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.