Want to highlight a helpful answer? Upvote!

Did someone help you, or did an answer or User Tip resolve your issue? Upvote by selecting the upvote arrow. Your feedback helps others! Learn more about when to upvote >

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Profile Manager web UI crashes when trying to add apps to the dock

Hi guys,

first post so be gentle!


I'm running OS X server on 10.8.2 on a new Mac Pro with 8GB RAM. It's a school environment, Cisco switching and all running well so far except.... whenever I log into the profile manager web UI to configure a dock payload to control the apps available to students an error is generated:


User uploaded file


No amount of reloading the page - restarting profile manager or even restarting the server clears this and as a consequence I can't manage apps in the dock. I've spent hours googling this issue and found nothing at all on it. The fact that any decent OS X server documentation is next to non-existent doesn't help matters either. Has anyone else come across this issue or have any suggestions as to a possible solution?


Thanks in advance,

Rob.

Mac Pro, OS X Mountain Lion (10.8.2), OS X Server

Posted on Sep 22, 2012 3:45 AM

Reply
13 replies

Jan 11, 2013 4:09 PM in response to R6BikeMonkey

I had this issue as well, but I was able to resolve it by changing the permissions on one of my 3rd party apps installed on the server. The top level permissions on the example.app were fine, but when I dove down into the Contents folder of the application I found the Framework folder was rwx------ or 700. The files contained below that were all 700 as well. I then "chmod -R 755 example.app and then I was able to bring up the list of applications in the Dock and Restriction categories in Profile Manager immediately.


I think it errors because ruby is running as the user _devicemgr which is not contained in the group wheel. When the process goes to retrieve the list of applications it crashes when it is unable to read every file in the Application folder. The others class of every application must be set to read and execute.

Jan 18, 2013 10:13 AM in response to jamauai

I did not need to change any of the Apple Application permissions. My issue was defeinitely caused by a permission problem. I went one by one deleting all my third party applications and after each application was deleted I refreshed the Profile Manager (PM) web page completely. This forces PM to rebuild the list of Applications. After I was finally able to bring up the list off Apps in PM I reinstalled the app I just deleted and right away PM crashed when it tried to list the applications. I then researched that specific application and found the permission problem.


bezzoh did you recursively apply permissions to all your 3rd party apps and not just the top level?

Sep 13, 2013 11:22 AM in response to PleaseandThankYou

As I posted just now on the link jamauai posted (thanks!!):


I tried the permission fix but it did not work.


I tried disabling Spotlight which makes the crash error go away and show the list of apps.. but the crash is still happening in the background (check Console). Also, my app is an Applescript and it is not listed.


I'm tempted to implement 10.8 WGM for just this one policy...


chris

Sep 13, 2013 11:46 AM in response to cdenesha

I havent found a way to get applescript apps to show so I just add them as a folder/document and just put the whole path to the app in and they show up near the trash.......


I have found that if you just put the apps in the trash that are "third party" they will load. only problem is if the app your trying to get in the dock is the app that is causing it to crash. You could use the above solution for those apps tho if you do not mind them to the right of the dock break.

Profile Manager web UI crashes when trying to add apps to the dock

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.