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
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
Next, you get a short overview and you need to confirm that the update will be applied.
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.
After you have done all the steps, you are greeted with the newest version of 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!