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

Adding needed repository Failed!

Scheduled Pinned Locked Moved Solved
FOG Problems
7
21
8.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.
  • F
    FlareImp
    last edited by Nov 24, 2015, 3:09 PM

    Hello!

    I am currently trying to install the latest svn version of fog but every time I run the installer it says “adding needed repository failed”. The weird part is, if I take the fog server to one of my other locations the install runs through without a problem. I am just not able to get the fresh install/upgrade to work at the one site. Also, we do not use a proxy at any of our sites. Any help would be much appreciated.

    Ubuntu 14.0.4
    Fog SVN 5469

    C 1 Reply Last reply Nov 24, 2015, 3:39 PM Reply Quote 0
    • C
      ch3i Moderator @FlareImp
      last edited by Nov 24, 2015, 3:39 PM

      @FlareImp Hi, installation using root access ? (sudo)

      1 Reply Last reply Reply Quote 0
      • S
        Sebastian Roth Moderator
        last edited by Nov 24, 2015, 5:13 PM

        See here: https://forums.fogproject.org/topic/6058/trunk-update-failing

        Especially try adding the repo by hand and see what error it gives: add-apt-repository -y ppa:ondrej/php5-5.6

        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 0
        • W
          Wayne Workman
          last edited by Nov 24, 2015, 5:23 PM

          This post is deleted!
          1 Reply Last reply Reply Quote 0
          • T
            Tom Elliott
            last edited by Nov 24, 2015, 5:41 PM

            Check that your date and time match that of the server.

            Quickest I could suggest is to run:

            sudo ntpdate pool.ntp.org

            Then run:

            sudo add-apt-repository -y ppa:ondrej/php5-5.6

            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

            F 1 Reply Last reply Dec 2, 2015, 6:44 PM Reply Quote 2
            • T
              Tom Elliott
              last edited by Nov 25, 2015, 4:22 PM

              Any update?

              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 0
              • F
                FlareImp @Tom Elliott
                last edited by Dec 2, 2015, 6:44 PM

                @Tom-Elliott After running “sudo add-apt-repository -y ppa:ondrej/php5-5.6” I get this message:
                Cannot add PPA: ‘ppa:ondrej/php5-5.6’.

                W T 2 Replies Last reply Dec 2, 2015, 6:49 PM Reply Quote 0
                • W
                  Wayne Workman @FlareImp
                  last edited by Dec 2, 2015, 6:49 PM

                  @FlareImp I know youve already said you are not behind a proxy… but I must say that this smells a whole lot like you’re behind a proxy… Can you confirm?

                  F 1 Reply Last reply Dec 2, 2015, 7:45 PM Reply Quote 0
                  • T
                    Tom Elliott @FlareImp
                    last edited by Dec 2, 2015, 6:50 PM

                    @FlareImp Sounds to me like it could be “time” on the server as well.

                    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

                    F 1 Reply Last reply Dec 2, 2015, 7:46 PM Reply Quote 0
                    • F
                      FlareImp @Wayne Workman
                      last edited by Dec 2, 2015, 7:45 PM

                      My network admin suggested that our content filter may be screwing with something in the script if it’s trying to access a site out on the web. Our filter system is manually configured for each site so that may explain why I can run the install.sh file at every site with no problems except at this one
                      .

                      S G W 3 Replies Last reply Dec 2, 2015, 8:18 PM Reply Quote 0
                      • F
                        FlareImp @Tom Elliott
                        last edited by Dec 2, 2015, 7:46 PM

                        @Tom-Elliott Time is correct.

                        1 Reply Last reply Reply Quote 0
                        • S
                          Sebastian Roth Moderator @FlareImp
                          last edited by Dec 2, 2015, 8:18 PM

                          @FlareImp So what does this mean? Did you find the issue causing this. Seams like this is not something we can fix.

                          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 0
                          • Q
                            Quazz Moderator
                            last edited by Quazz Dec 3, 2015, 3:11 AM Dec 3, 2015, 9:10 AM

                            This post is deleted!
                            1 Reply Last reply Reply Quote 0
                            • G
                              george1421 Moderator @FlareImp
                              last edited by george1421 Dec 3, 2015, 3:27 AM Dec 3, 2015, 9:24 AM

                              @FlareImp said:

                              My network admin suggested that our content filter may be screwing with something in the script if it’s trying to access a site out on the web.

                              This makes me think you do have a transparent proxy server/content filter enabled at this site. If you could white list sourceforge.net that should allow the installer to pull the client and kernel images.

                              [Edit] rereading your OP you will need to enable more than just sourceforge, since the installer reaches out to your linux distribution’s archives to bring in any missing packages. It may be easier to while list the FOG server’s IP address for a short time until you have it updated. [/Edit]

                              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!

                              F 1 Reply Last reply Dec 3, 2015, 3:01 PM Reply Quote 1
                              • F
                                FlareImp @george1421
                                last edited by Dec 3, 2015, 3:01 PM

                                @george1421 Thanks for the suggestions, I will speak with our ISP about white listing. I’ll let you know what I turn up.

                                G 1 Reply Last reply Dec 3, 2015, 4:31 PM Reply Quote 0
                                • G
                                  george1421 Moderator @FlareImp
                                  last edited by Dec 3, 2015, 4:31 PM

                                  @FlareImp Just be aware, it is more than just sourceforge.net. (If I wasn’t clear in my previous posts. You need access to a bunch of sites for your OS, so it would be easier to white list the fog server IP address instead of the remote sites)

                                  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!

                                  F 1 Reply Last reply Dec 3, 2015, 4:53 PM Reply Quote 1
                                  • F
                                    FlareImp @george1421
                                    last edited by Dec 3, 2015, 4:53 PM

                                    @george1421 Got ya, I will see if we can do that. Thanks!

                                    1 Reply Last reply Reply Quote 0
                                    • W
                                      Wayne Workman @FlareImp
                                      last edited by Dec 3, 2015, 5:12 PM

                                      @FlareImp said:

                                      My network admin suggested that our content filter …

                                      https://en.wikipedia.org/wiki/Proxy_server said:

                                      A content-filtering web proxy server provides administrative control over the content that may be relayed in one or both directions through the proxy. It is commonly used in both commercial and non-commercial organizations (especially schools) to ensure that Internet usage conforms to acceptable use policy.

                                      You are behind a proxy.

                                      1 Reply Last reply Reply Quote 0
                                      • F
                                        FlareImp
                                        last edited by Dec 4, 2015, 2:42 PM

                                        White listing the Fog server and Storage Nodes fixed the problem. Everything is installing correctly now. Thank you so much!!!

                                        The only thing I am noticing now is that the time stamps on my Replicator Logs are incorrect. Is that an easy fix?

                                        Thanks,

                                        W 1 Reply Last reply Dec 4, 2015, 2:50 PM Reply Quote 1
                                        • W
                                          Wayne Workman @FlareImp
                                          last edited by Dec 4, 2015, 2:50 PM

                                          @FlareImp Thread marked as solved.

                                          For the time stamps, make sure your Fog web interface is set to the correct time zone inside FOG Config -> Fog Settings -> General settings

                                          and after that’s set right, check the server time itself with the date command and see what it says. Maybe set your server to stay synchronized with an NTP server in your environment? There are a lot of materials on the net for how to do that. It’s really easy in RHEL/Fedora/CentOS

                                          F 1 Reply Last reply Dec 4, 2015, 2:56 PM Reply Quote 1
                                          • 1
                                          • 2
                                          • 1 / 2
                                          • First post
                                            Last post

                                          151

                                          Online

                                          12.0k

                                          Users

                                          17.3k

                                          Topics

                                          155.2k

                                          Posts
                                          Copyright © 2012-2024 FOG Project