• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    (SVN) Adding needed repository... Failed!

    Scheduled Pinned Locked Moved Solved
    FOG Problems
    7
    24
    10.3k
    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.
    • J
      jmeyer
      last edited by

      Hello,

      I keep having the “* Adding needed repository…Failed!” error.

      I have check everything I changed about proxy since we upgraded our system but I must miss something somewhere.

      What does the script use to do this ? Maybe I set proxy for this before and forgot to update it ?
      Where can I find log about this “failure” ?

      Thank you.

      1 Reply Last reply Reply Quote 0
      • Q
        Quazz Moderator
        last edited by

        What happens when you do sudo add-apt-repository?

        If it says it’s not installed, then do the following:

        sudo apt-get install software-properties-common python-software-properties

        If it is installed, it’s most likely a proxy issue.

        1 Reply Last reply Reply Quote 0
        • george1421G
          george1421 Moderator
          last edited by george1421

          Ok from what I understand your fog server is behind a proxy server, right?

          If that is the case you need to set (export) the environment variables to define your proxy server. Also you will need to update the settings in /etc/wgetrc (if you forget this you will not get the kernels and inits).

          As I see you are using svn then you probably have the proxy servers set in /etc/subversion/servers

          Here is what I have exported in /etc/bashrc

          export http_proxy=http://<proxy_server_ip>:<proxy_server_port>
          export https_proxy=http://<proxy_server_ip>:<proxy_server_port>
          export ftp_proxy=http://<proxy_server_ip>:<proxy_server_port>
          export no_proxy=<fog_server_ip>

          You didn’t happen to mention what OS you are using here for rhel based (rpm/yum) you need to update /etc/yum.conf with your proxy server setting too.

          Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!

          J 2 Replies Last reply Reply Quote 1
          • J
            jmeyer @george1421
            last edited by

            @george1421 We removed proxy but I had to set the previous one a bit everywhere.
            I have unset http_proxy, check bashrc.

            1 Reply Last reply Reply Quote 0
            • Wayne WorkmanW
              Wayne Workman
              last edited by

              Is there anyway to just whitelist the fog server’s IP to have unfiltered access?

              Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!
              Daily Clean Installation Results:
              https://fogtesting.fogproject.us/
              FOG Reporting:
              https://fog-external-reporting-results.fogproject.us/

              J 1 Reply Last reply Reply Quote 0
              • J
                jmeyer @george1421
                last edited by

                @george1421 It just say that it need repository to work.

                1 Reply Last reply Reply Quote 0
                • J
                  jmeyer @Wayne Workman
                  last edited by

                  @Wayne-Workman It has full web acces on new firewall.

                  1 Reply Last reply Reply Quote 0
                  • george1421G
                    george1421 Moderator
                    last edited by george1421

                    Ok just so we are clear.

                    What OS are you using for your FOG server?
                    What SVN are you trying to install?
                    What version are you trying to upgrade from?

                    Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!

                    J 1 Reply Last reply Reply Quote 0
                    • J
                      jmeyer @george1421
                      last edited by jmeyer

                      @george1421 Ubuntu Server 14.04 LTS and I just downloaded the last SVN version perfectly. I want to update rev 4730.

                      george1421G 1 Reply Last reply Reply Quote 0
                      • george1421G
                        george1421 Moderator @jmeyer
                        last edited by

                        @jmeyer Ok so then lets try something simiple.

                        apt-get install wget

                        I know that wget is installed, I want to see that the installer tells you it is already there.

                        Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!

                        J 1 Reply Last reply Reply Quote 0
                        • J
                          jmeyer @george1421
                          last edited by

                          @george1421 said:

                          apt-get install wget

                          Nothing to install or update.

                          george1421G 1 Reply Last reply Reply Quote 0
                          • george1421G
                            george1421 Moderator @jmeyer
                            last edited by

                            @jmeyer ok then your updater probably knows how to find the internet (thinking that you missed telling apt-get do not use proxy).

                            I wonder if there is an install log somewhere that will give us a clue to what its missing. I do remember that there was an issue a few weeks ago about a php module not being found. But I don’t call how we found that it was missing.

                            Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!

                            J 2 Replies Last reply Reply Quote 0
                            • J
                              jmeyer @george1421
                              last edited by jmeyer

                              @george1421 Just found proxy in ~/.bashrc
                              I run install again.

                              Wayne WorkmanW 1 Reply Last reply Reply Quote 1
                              • J
                                jmeyer @george1421
                                last edited by jmeyer

                                @george1421 Was this !! But needed a reboot after.

                                Thank you very much to all of you. 😄

                                1 Reply Last reply Reply Quote 1
                                • george1421G
                                  george1421 Moderator
                                  last edited by

                                  Well that’s one win for the day. Good going…

                                  Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!

                                  1 Reply Last reply Reply Quote 0
                                  • Wayne WorkmanW
                                    Wayne Workman @jmeyer
                                    last edited by

                                    @jmeyer Exactly what did you change?

                                    Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!
                                    Daily Clean Installation Results:
                                    https://fogtesting.fogproject.us/
                                    FOG Reporting:
                                    https://fog-external-reporting-results.fogproject.us/

                                    1 Reply Last reply Reply Quote 0
                                    • Tom ElliottT
                                      Tom Elliott
                                      last edited by

                                      He had proxy data (after they removed proxy information from their environment) in his .bashrc file. He rebooted because once he edited the .bashrc file, he didn’t re-source the environment. Rebooting works fine, but really was unneccessary.

                                      Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                                      Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                                      Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                                      1 Reply Last reply Reply Quote 2
                                      • ManofValorM
                                        ManofValor
                                        last edited by ManofValor

                                        I am getting the same error trying to upgrade to 1.3.0 beta and we are not behind a proxy. I’ve tried many, if not all , the suggestions and nothing yet. I am very new to ubuntu and even more to fog. What else can I do?

                                        Q 1 Reply Last reply Reply Quote 0
                                        • J
                                          Joe Schmitt Senior Developer
                                          last edited by

                                          @ManofValor what version of ubuntu are you running? Did you get 1.3.0 beta from git or svn?

                                          Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                                          ManofValorM 1 Reply Last reply Reply Quote 0
                                          • Q
                                            Quazz Moderator @ManofValor
                                            last edited by

                                            @ManofValor What Ubuntu version do you have?

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

                                            155

                                            Online

                                            12.0k

                                            Users

                                            17.3k

                                            Topics

                                            155.2k

                                            Posts
                                            Copyright © 2012-2024 FOG Project