Updating Fog Server 1.x.x



  • Hello,

    I am curious on the easiest way to update to the latest version of the Fog master branch. I reviewed another forum discussion here, but I am a bit confused since I don’t work in Linux frequently…Can I just rerun the installation:

    sudo -i
    cd /root
    git clone https://github.com/FOGProject/fogproject.git
    cd /root/fogproject/bin
    ./installfog.sh
    

    or can I just copy the “upgrade to the latest trunk” method found here, and just replace “dev-branch” with “master” as shown below:

    cd /root/fogproject
    git checkout master
    git pull
    cd bin
    ./installfog.sh
    

    Any suggestions for a novice like me would be much appreciated!


  • Moderator

    @nerdstburns said in Updating Fog Server 1.x.x:

    will I have problems updating to a stable version if I have 1.5.9RC2?

    No you will not have issue the only thing you will need to do to switch back is this

    git checkout master
    git pull
    cd bin
    ./installfog.sh
    

    The current 1.5.9RC2 is very stable and there will (probably) be no (true) difference between 1.5.9RC2 and 1.5.9 GA other than the name change.



  • @george1421 will I have problems updating to a stable version if I have 1.5.9RC2? I followed the steps on the Wiki to download the stable version on another server and it gave me 1.5.9RC2. Also, just to confirm, is this what you are suggesting:

    cd /root/fogproject
    git pull
    cd bin
    ./installfog.sh
    

    Thanks for your help!


  • Moderator

    The answer is it depends.

    Your first solution downloads the installer files from the git repository.

    Your second solution refreshes (updates any changed files) the installer files from the git repository.

    So you would do the first step to download and and install FOG initially and then when a new release of fog comes out (newer than what you downloaded in step 1) you do the git pull and then rerun the installer.

    Now the command of checkout master and check out dev-branch are special commands because the installer directory can contain multiple versions of FOG. It just so happens the very latest version of FOG is in the dev-branch (1.5.9RC2). That version will be 1.5.9 GA once the developers get back from summer break.


Log in to reply
 

276
Online

7.4k
Users

14.5k
Topics

136.5k
Posts