Fogupdater.sh "Attempting Download Failed" for all mirrors



  • 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?


  • Moderator

    @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


  • Moderator

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



  • 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” : )



  • 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!


  • Moderator

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



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



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


  • Senior Developer

    @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”



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


  • Moderator

    @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


  • Senior Developer

    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.



  • 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?


  • Moderator

    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


Log in to reply
 

489
Online

39006
Users

10720
Topics

101778
Posts

Looks like your connection to FOG Project was lost, please wait while we try to reconnect.