Update FOG Server to the newest Version – Step-By-Step

If you have followed my previous Tutorial on How to Install FOG Server on Ubuntu 16.04, you probably want to Update FOG Server to the newest Version at some point. Gladly, the process is really easy and fast, thanks to GIT. I’ll guide you through, let’s get started.

Step 1 – Installing GIT

If you haven’t already, we first need to install GIT.

sudo apt-get update && sudo apt-get install git

Upgrade FOG Server

Step 2 – Cloning the Installer & Update FOG Server

Now we are going to clone the installer using GIT again, after that we run the installer script.

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

Upgrade FOG Server

 

Next, you get a short overview and you need to confirm that the update will be applied.

Upgrade FOG Server

 

Now, this process can take a while, as FOG goes over each package and updates it.

 

Step 3 – Updating the Database

Before the update finishes, you eventually get prompted to update your database. To do this, follow the link below, leave the command line prompt open until you have updated your Database. Note that it is not always necessary to update the Database, depending from which version you are upgrading.

Navigate to http://IPofYourFOGServer/fog/management

You are greeted with the Update Window. Click on Install. Backup your Database as recommended, or not, at your own risk.

Upgrade FOG Server

After you have done all the steps, you are greeted with the newest version of FOG Server.

Upgrade FOG Server

 

Wrapping Up Update FOG Server

There you have it. The installer makes it really easy to upgrade now. I use FOG Server for a long time now and I am really satisfied with how reliable it is. I just use it as a VM and it allows me to manage all my Images without ever having an issue. Of course, most bigger Windows Shops use SCCM, but for a free solution, FOG is great!

One thought on “Update FOG Server to the newest Version – Step-By-Step

  • July 15, 2019 at 9:39 am
    Permalink

    Thanks for this. But do we really need to clone the entire fogproject.git installer all over again? . . . If so, must we delete the original version and start over? Or can we not just update changed files in the repo with a git pull?

    Reply

Tell us what you think!

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: