SOLVED Upgrade 1.5.7 to 1.5.9


  • Hello folks,

    I see multiple topics but none that are straight forward clear.
    We use FOG at by business when doing large deployments. Currently the version we have standing for a while is 1.5.7 and have several different images archived away and quite the inventory of hosts. Nothing really been customized because most machines get sent out to clients and never see the FOG server again unless they return to us for repair or a re-image.

    What is the proper upgrade method here?? We did not install via the git method. Just downloaded the zip and ran the script in bin folder (at least from what I know cause I wasn’t the one that did the original install). Do I just download the 1.5.9 version of FOG and run the install script again?

    Thanks in advance!

  • Moderator

    @racera4 said in Upgrade 1.5.7 to 1.5.9:

    Do I just download the 1.5.9 version of FOG and run the install script again?

    If you want to use the tarball method yes. Your fog server will need internet access when the script is rerun just to ensure all of the required modules are installed. Once the script is done if necessary you can remove internet access.

    When you rerun the installer a second time, I will use all of the settings selected when fog was just installed so the upgrade is pretty simple. Just remember there are two steps to installing. The console installer will stop half way through and ask you to load a web page to update the database. Once that is done go back to the console and press enter to complete the setup. You can rerun the installer 1 or 100 times it will not break the running system. Sometime if the FOG admin gets settings out of alignment we will ask them to rerun the installer to fix the alignment issue.

    I do recommend the git method for the simple fact as you can switch the installer to the dev branch to get fixes from the whole number releases. Meaning the tarball will bet a 1.5.9, but the git dev branch is at 1.5.9.<something> that includes fixes from 1.5.9. If you used the git method updating the installer package would be as simple as changing to the installer folder directory and issue a git pull the install files would be upgraded to 1.5.9 then you would just rerun the installer. I prefer the git method myself, but the tarball works just as well.

    Of course with any upgrade make sure you have adequate backups of your FOG server just in case…


  • @george1421 Thanks for your reply.

    Out of all the replies on updating FOG all of them refer to the git method, and never a clear answer on the tarball/zip method. So thank you for that. Looks like my original install my boss did was from the tarball so I’ll stick to that for now. Thanks again!

  • Moderator

    @racera4 said in Upgrade 1.5.7 to 1.5.9:

    Do I just download the 1.5.9 version of FOG and run the install script again?

    If you want to use the tarball method yes. Your fog server will need internet access when the script is rerun just to ensure all of the required modules are installed. Once the script is done if necessary you can remove internet access.

    When you rerun the installer a second time, I will use all of the settings selected when fog was just installed so the upgrade is pretty simple. Just remember there are two steps to installing. The console installer will stop half way through and ask you to load a web page to update the database. Once that is done go back to the console and press enter to complete the setup. You can rerun the installer 1 or 100 times it will not break the running system. Sometime if the FOG admin gets settings out of alignment we will ask them to rerun the installer to fix the alignment issue.

    I do recommend the git method for the simple fact as you can switch the installer to the dev branch to get fixes from the whole number releases. Meaning the tarball will bet a 1.5.9, but the git dev branch is at 1.5.9.<something> that includes fixes from 1.5.9. If you used the git method updating the installer package would be as simple as changing to the installer folder directory and issue a git pull the install files would be upgraded to 1.5.9 then you would just rerun the installer. I prefer the git method myself, but the tarball works just as well.

    Of course with any upgrade make sure you have adequate backups of your FOG server just in case…

320
Online

8.8k
Users

15.5k
Topics

144.5k
Posts