• 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

      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

      ch3iC 1 Reply Last reply Reply Quote 0
      • ch3iC
        ch3i Moderator @FlareImp
        last edited by

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

        1 Reply Last reply Reply Quote 0
        • S
          Sebastian Roth Moderator
          last edited by

          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
          • Wayne WorkmanW
            Wayne Workman
            last edited by

            This post is deleted!
            1 Reply Last reply Reply Quote 0
            • Tom ElliottT
              Tom Elliott
              last edited by

              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 Reply Quote 2
              • Tom ElliottT
                Tom Elliott
                last edited by

                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

                  @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’.

                  Wayne WorkmanW Tom ElliottT 2 Replies Last reply Reply Quote 0
                  • Wayne WorkmanW
                    Wayne Workman @FlareImp
                    last edited by

                    @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 Reply Quote 0
                    • Tom ElliottT
                      Tom Elliott @FlareImp
                      last edited by

                      @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 Reply Quote 0
                      • F
                        FlareImp @Wayne Workman
                        last edited by

                        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 george1421G Wayne WorkmanW 3 Replies Last reply Reply Quote 0
                        • F
                          FlareImp @Tom Elliott
                          last edited by

                          @Tom-Elliott Time is correct.

                          1 Reply Last reply Reply Quote 0
                          • S
                            Sebastian Roth Moderator @FlareImp
                            last edited by

                            @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

                              This post is deleted!
                              1 Reply Last reply Reply Quote 0
                              • george1421G
                                george1421 Moderator @FlareImp
                                last edited by george1421

                                @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 Reply Quote 1
                                • F
                                  FlareImp @george1421
                                  last edited by

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

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

                                    @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 Reply Quote 1
                                    • F
                                      FlareImp @george1421
                                      last edited by

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

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

                                        @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

                                          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,

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

                                            @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 Reply Quote 1
                                            • 1
                                            • 2
                                            • 1 / 2
                                            • First post
                                              Last post

                                            204

                                            Online

                                            12.0k

                                            Users

                                            17.3k

                                            Topics

                                            155.2k

                                            Posts
                                            Copyright © 2012-2024 FOG Project