• Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
  • 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 Dec 10, 2015, 11:03 AM

    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 Dec 10, 2015, 11:14 AM

      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
      • G
        george1421 Moderator
        last edited by george1421 Dec 10, 2015, 5:24 AM Dec 10, 2015, 11:22 AM

        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 Dec 10, 2015, 4:56 PM Reply Quote 1
        • J
          jmeyer @george1421
          last edited by Dec 10, 2015, 4:56 PM

          @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
          • W
            Wayne Workman
            last edited by Dec 10, 2015, 4:58 PM

            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 Dec 10, 2015, 5:00 PM Reply Quote 0
            • J
              jmeyer @george1421
              last edited by Dec 10, 2015, 4:58 PM

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

              1 Reply Last reply Reply Quote 0
              • J
                jmeyer @Wayne Workman
                last edited by Dec 10, 2015, 5:00 PM

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

                1 Reply Last reply Reply Quote 0
                • G
                  george1421 Moderator
                  last edited by george1421 Dec 10, 2015, 11:03 AM Dec 10, 2015, 5:02 PM

                  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 Dec 10, 2015, 5:03 PM Reply Quote 0
                  • J
                    jmeyer @george1421
                    last edited by jmeyer Dec 10, 2015, 11:06 AM Dec 10, 2015, 5:03 PM

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

                    G 1 Reply Last reply Dec 10, 2015, 5:04 PM Reply Quote 0
                    • G
                      george1421 Moderator @jmeyer
                      last edited by Dec 10, 2015, 5:04 PM

                      @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 Dec 10, 2015, 5:05 PM Reply Quote 0
                      • J
                        jmeyer @george1421
                        last edited by Dec 10, 2015, 5:05 PM

                        @george1421 said:

                        apt-get install wget

                        Nothing to install or update.

                        G 1 Reply Last reply Dec 10, 2015, 5:06 PM Reply Quote 0
                        • G
                          george1421 Moderator @jmeyer
                          last edited by Dec 10, 2015, 5:06 PM

                          @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 Dec 10, 2015, 5:10 PM Reply Quote 0
                          • J
                            jmeyer @george1421
                            last edited by jmeyer Dec 10, 2015, 11:16 AM Dec 10, 2015, 5:10 PM

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

                            W 1 Reply Last reply Dec 10, 2015, 6:02 PM Reply Quote 1
                            • J
                              jmeyer @george1421
                              last edited by jmeyer Dec 10, 2015, 11:20 AM Dec 10, 2015, 5:15 PM

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

                              Thank you very much to all of you. 😄

                              1 Reply Last reply Reply Quote 1
                              • G
                                george1421 Moderator
                                last edited by Dec 10, 2015, 5:57 PM

                                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
                                • W
                                  Wayne Workman @jmeyer
                                  last edited by Dec 10, 2015, 6:02 PM

                                  @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 Dec 10, 2015, 6:14 PM

                                    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 Jan 7, 2016, 9:28 AM Jan 7, 2016, 3:27 PM

                                      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 Jan 7, 2016, 6:06 PM Reply Quote 0
                                      • J
                                        Joe Schmitt Senior Developer
                                        last edited by Jan 7, 2016, 5:55 PM

                                        @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 Jan 7, 2016, 6:37 PM Reply Quote 0
                                        • Q
                                          Quazz Moderator @ManofValor
                                          last edited by Jan 7, 2016, 6:06 PM

                                          @ManofValor What Ubuntu version do you have?

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

                                          185

                                          Online

                                          12.0k

                                          Users

                                          17.3k

                                          Topics

                                          155.2k

                                          Posts
                                          Copyright © 2012-2024 FOG Project