By Keith Mitnick on Friday, 25 March 2016
Category: General

How to upgrade munkireport-php using a Git clone

NOTE:  You should edit your config.php and set Migrations to TRUE before following these instructions.  This will ensure your database gets migrated if upgrading from an older version of munkireport-php.

If you installed munkireport-php using munki in a box, then it was installed via a Git clone.

The easiest way to update it is to checkout the latest master, then do a pull.  This will keep your database and config.php file untouched.

You need to be in your web root folder.  In this example, I’m using OS X Server.  The web root folder is located at:  /Library/Server/Web/Data/Sites/Default.

Launch Terminal and go to the web root folder:  cd /Library/Server/Web/Data/Sites/Defau

NOTE:  If you installed munkireport-php using munki in a box, your default path will look similar to:

/Library/Server/Web/Data/Sites/Default/munkireport-php


Once there, enter the following:


git checkout master

Then enter:

git pull

This will clone all the latests updates for munkireport-php to your server but will NOT overwrite your database or config.php file.

Leave Comments