Category Archives: Apple

Mac Server Update Breaks Profile Manager

Profile Manager 3.2.1 Error – Symptoms

With the recent “Shellshock” exploit floating around, I just went through my servers to get them all up to date. I updated my Mac OS X Mavericks Server to 3.2.1. In doing this update – it actually broke my profile manager with an error:

We're sorry, but something went wrong. We've been notified about this issue and we'll take a look at it shortly.
We’re sorry, but something went wrong. We’ve been notified about this issue and we’ll take a look at it shortly.

I also received other errors with Profile Manager:
syntaxerror json parse error unrecognized token '>' ok profile manager
Profile manager 3.2.1 was also giving 500 Server errors and in general just would work. I could get to the login screen – but was unable to actually log in. It would redirect to the above error page. More or less, profile manager was completely broken – and I didn’t have a backup to restore to.

After some digging around – it appears that something goes haywire in the upgrade process.  (Like you didn’t already know that! :D)

Profile Manager 3.2.1 Error – The Fix

If you are having the same problems as I posted above, all you need to do to fix Profile Manager 3.2.1 errors is the following.

  1. Run the command:
    sudo psql -U _devicemgr -d devicemgr_v2m0 -h /Library/Server/ProfileManager/Config/var/PostgreSQL -c "UPDATE auto_join_profiles SET usage_log = NULL"
  2. Run the command:
    sudo /Applications/

The first command clears out the usage log in the PostgreSQL database. All I can figure is there is something in that Log that the migrateDB command does not like. Once you reset that log – you are then able to successfully migrate the database. You may get one more error page – but just hit the reload button and it will actually load the page after.

AppleTVs losing connection on Cisco Wireless Controller


Recently, I saw an issue with AppleTVs disconnecting from our Cisco Wireless Network. No matter what we did, the AppleTV would just lose its IP Address and Wireless Signal. This was actually happening at two separate location- both had a Cisco Wireless Controller. After about 60 seconds – the AppleTV would connect again. Then, after a very short amount of time, it would disconnect again.

The AppleTV would work just fine with a wired connection and it worked using an old Airport Extreme Basestation.

The Fix

The Apple TVs were tripping the IP Theft or IP Reuse Client Exclusion Policy on the Cisco Wireless Controller. If you have access to your wireless controller – you can search the “Most Recent Traps” section for excluded clients. This fix will only work if you see the mac addresses for your AppleTVs in this log and it should say excluded next to it.

Apple TV IP Excluded


All of our Apple TVs were being excluded for some reason due to that policy. There was also a rule that would unexclude after 60 seconds – which is why the AppleTV wireless connection would work and then disconnect.

Unchecking the IP Theft or IP Reuse setting under Security -> Wireless Protection Policies -> Client Exclusion Policies has solved this issue for us.