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

    Fogupdater.sh "Attempting Download Failed" for all mirrors

    Scheduled Pinned Locked Moved Solved
    FOG Problems
    4
    14
    2.7k
    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.
    • L
      lmioperations
      last edited by

      Server
      • FOG Version: 1.3.5
      • OS: Ubuntu 16.04.2 LTS
      Client
      • Service Version:
      • OS:
      Description

      I’m currently logged into my server as “local-admin” (an admin account I created) and I did sudo -i to get to a root prompt. I searched the entire server for “fogupdater.sh” and found it located here: /root/fog_1.3.5/utils/FOGUpdater, so I navigated to that directory. I then typed ./fogupdater.sh to update my server. Here was the output:

      Running FOG Version: 1.3.5
         ***************************************************************
         *                         ** Notice **                        *
         ***************************************************************
         *                                                             *
         * Your FOG server may go offline during this upgrade process! *
         *                                                             *
         ***************************************************************
       * Checking latest version.....................................Done
      Latest FOG Version: {"stable":"1.4.4"}
         You are not running the latest stable version
       * Preparing to upgrade
       * Attempting to download latest stable to /opt/
       * Trying mirror http://internap.dl.sourceforge.net/sourceforge/freeghost/
       * Attempting Download.........................................Failed
       * Trying mirror http://voxel.dl.sourceforge.net/sourceforge/freeghost/
       * Attempting Download.........................................Failed
       * Trying mirror http://kent.dl.sourceforge.net/sourceforge/freeghost/
       * Attempting Download.........................................Failed
       * Trying mirror http://heanet.dl.sourceforge.net/sourceforge/freeghost/
       * Attempting Download.........................................Failed
         Failed to download current file
      

      I verified I can ping sourceforge.net from my server, and that there are no firewall rules in place that would be blocking my access to the outside world (that I know of…).

      What am I missing here?

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

        I don’t know when/if that scrept got updated. Afaik barely, if at all since 1.2

        Recommended ways of updating are use SVN, git or download the compressed file.

        I recommend git

        https://wiki.fogproject.org/wiki/index.php?title=Installation#Git

        1 Reply Last reply Reply Quote 1
        • L
          lmioperations
          last edited by

          Thanks for the info Quazz. When I read the info from the link you posted, it looks like it doesn’t update to the latest stable release, but instead updates to the latest bleeding-edge/development version. Am I just misreading the info there?

          Also, are there any “gotchas!” I should be aware of? I see that ./installfog.sh is part of the update process. Won’t that script overwrite or blow away some of my current configuration?

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

            I have been keeping up dated on the scripts, but this is one of those “nice to have scripts” but it’s ultimately more upkeep that I feel isn’t worth it as it’s much simpler to install using the git/svn methods if you’re trying to keep updated.

            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
            • Q
              Quazz Moderator @lmioperations
              last edited by Quazz

              @lmioperations installfog.sh takes into account current installations and simply updates to the newest version without changing any settings or the like.

              You can substitute dev-branch for master

              1 Reply Last reply Reply Quote 1
              • L
                lmioperations
                last edited by

                Thanks for the info Tom. Can you confirm answers for the questions that I asked Quazz?

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

                  @lmioperations As @quazz stated, the only thing the “updater script” does different from the installfog.sh from a repository is download the data, extract it, cd into it, and run the installfog.sh

                  FOG automatically updates itself if it’s already been installed. Nothing will be “blown away”

                  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 1
                  • L
                    lmioperations
                    last edited by lmioperations

                    Thanks for the info guys - I didn’t see Quazz’s reply before I asked; sorry 'bout that :-S

                    1 Reply Last reply Reply Quote 0
                    • L
                      lmioperations
                      last edited by

                      I don’t have a “fogproject” folder under “/root”. Am I supposed to create it? The wiki doesn’t specifically say…

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

                        @lmioperations If you are following the wiki when you run the git command that directory will be created for you.

                        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 1
                        • L
                          lmioperations
                          last edited by

                          Ah, my bad. I thought that, since I already have FOG installed, I was supposed to skip to the section called “Update to the latest”. I didn’t realize I still have to do the initial checkout and installation. Thanks for confirming George!

                          george1421G 1 Reply Last reply Reply Quote 0
                          • L
                            lmioperations
                            last edited by

                            Prior to starting this thread, I was nervous about the install (based on the horror stories I was seeing in various communities online; including this one).

                            Thanks again for the quick responses and info guys! The update went real smooth and everything is functioning exactly as expected!

                            This thread can be marked as “solved” : )

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

                              @lmioperations Well now you are set for the next update (lurking around the corner very soon). You will now return to the /root/fogproject and do a git pull and then run the installer again to freshen your installed image.

                              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 1
                              • george1421G
                                george1421 Moderator @lmioperations
                                last edited by

                                @lmioperations said in Fogupdater.sh "Attempting Download Failed" for all mirrors:

                                I was nervous about the install (based on the horror stories I was seeing in various communities online

                                Well that concerns me a bit there are negative posts out there. Yes there can be problems (especially when the linux distro changes stuff without notice), but that is why we are here in the fog project to help IT admins deploy FOG and help identify issues when they come up. FOG IS insanely complex using multiple other open source technologies. Its a delicate dance to keep everything in step.

                                Glad you have it 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 1
                                • 1 / 1
                                • First post
                                  Last post

                                137

                                Online

                                12.0k

                                Users

                                17.3k

                                Topics

                                155.2k

                                Posts
                                Copyright © 2012-2024 FOG Project