Donate to support Ukraine's independence.

Updating Munki Web Admin on 10.9 Mavericks Server

If your a fan and a user of MUNKI then you know what a great product it is and what community is behind it. Its backed by some of the largest companies around *(Disney, Google, etc..) and has consistently worked with all versions of OSX that have been around since Munki was created. The Munki client and admin tools requires Python 2.5 or higher with Objective-C Python bindings, which is included by default in Mac OS X. Munki is supported on Leopard through Mavericks.

Many third party utilities have been created to work along side Munki to augment the ability to manage inventory and other aspects of Munki such as software reporting, software licensing escrow, and machine tracking. One of the best utilities has been Munki Web Admin. A great walkthrough can be found on setting up Munki Web Admin on an OSX Server here but very little documentation exists on how to update your current installation to run effectively on Mavericks.

If your like me then you have updated your Mavericks server only to find that your old instance of Munki Web Admin no longer works. To fix this you must update your django and other components that make Munki Web Admin run.

Upgrading an existing install is not too difficult if you are using virtualenv and git (as recommended), Here’s what I did to upgrade my production instance:

cd into the virtualenv directory containing Munki Web Admin

cd /Volumes/munki/munkiwebadmin_env/

Activate the virtualenv (requires bash shell):

source bin/activate

Stop the MWA server process. In my case, it’s run via launchd

launchctl unload /Library/LaunchDaemons/com.googlecode.munki.munkiwebadmin.plist

Upgrade django

pip install django==1.5.1 --upgrade

Upgrade django-wsgiserver

pip install django-wsgiserver==0.8.0beta --upgrade

Change into the munkiwebadmin dir

cd munki

Use git to update munkiwebadmin

git pull

Optional — you may want to edit to avoid some deprecation warnings:

  1. Comment out or remove the ADMIN_MEDIA_PREFIX line.
  2. Replace the entire LOGGING section with the one from the (upgraded)

If you are not using django-wsgiserver, you may need to collect static files (doing this is harmless if you don’t actually need it):

python collectstatic

Make sure your database tables are updated:

python syncdb

Restart MunkiWebAdmin (again, in my case, using launchd)

launchctl load /Library/LaunchDaemons/com.googlecode.munki.munkiwebadmin.plist

Hopefully your upgrade process won’t be too different. One of the gotchas that I found to be a little daunting was that my launch daemon had to be re-chowned in order to be loaded properly.

sudo chown root /Library/LaunchDaemons/com.googlecode.munki.munkiwebadmin.plist

Once done I could restart my system and have it automatically launch!

Are You Getting Quality Mac Support From Your PC MSP?

We have assisted many businesses in implementing MDMs, developing custom security policies and procedures, and redesigning their networks.The list goes on and on. Contact us today and see how we can help you too.

Contact Sales

Drop us a line.

We are a remote and fully distributed, Nationwide Apple focused MSP serving Washington DC, Philadelphia, New York, Chicago, San Francisco, San Diego & more.

We focus on providing top notch Mac Support for small to mid-sized businesses. Contact us, and learn how we can help your company.

Full Name
Your email address
Phone Number
Company Name
How many Mac's & PC's do you have?
How many employees do you have?
Where are you located?
What challenges are you facing?

© Grove Technologies is a registered service mark trademark of Grove Technologies. Privacy Policy | Terms of Service. Cookie Preferences