MacOS Server Profile Manager slow to push changes

mac-osx-server

DNS is fine and I can see in the logs that the server is talking to the laptops but changes sit as 'pending' for a couple of hours before successfully pushing to the machines.

In the Service Helper log I have this

[2017/01/30 08:47:50.518] Building missing profile caches failed! (2)

In /Library/Logs/ProfileManager/profilemanager.log I have this

[2017/01/30 08:47:50.320] E: ProfileCacheBuilder: Exception caught Couldn't find DataFile with ID=1:
/Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backend/app/models/profile.rb:178:in `generate_profile_cache'
/Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backend/app/models/profile.rb:301:in `update_profile_cache'
/Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backend/app/models/profile.rb:151:in `update_one_profile_cache'
/Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backend/lib/profile_cache_builder.rb:26:in `block in run'
/Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backend/lib/profile_cache_builder.rb:26:in `run'
/Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backend/lib/profile_cache_builder.rb:36:in `<top (required)>'

Any help would be greatly appreciated.

Best Answer

In every case I've personally seen, those type of issues are related to hardware being not supported or overworked.

I would suggest reviewing this guide by Apple where you can clearly see the limitations and expectations of what OSX Server, in today's market, is meant to run. I saw log entries like yours, while trying to run about 300 users in combination with several others "services" on a single Mac mini, and if you read the above carefully, you'll see that the mini's are only spec'd for a single service each (well, basically).

If this doesn't help please comment back with much more specific hardware info, and number of users, etc., and I can update the answer, and we can all gladly further troubleshoot!