Apple Event: May 7th at 7 am PT

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

OS X Server 3.0.1 Completed Tasks Error

Everytime I click on completed tasks in profile manager, I get the error message "A Server Error has Occurred" and am told to reload the page, but it keeps doing the same thing. I am not able to view my competed tasks. Is anyone seeing this same issue or have a solution?


Thank you.

Mac mini, OS X Server

Posted on Nov 18, 2013 6:31 AM

Reply
5 replies

Nov 19, 2013 12:48 PM in response to mdstorm

Be very careful using TRUNCATE in the Server 3 Profile Manager database. Due to the rules for cascading truncation and foreign key references, you can very easily truncate tables you had no intention of truncating. (Learned that one the hard way myself. 😉)


This command will (safely) clear all the completed tasks:


sudo psql -U _devicemgr -d devicemgr_v2m0 -h /Library/Server/ProfileManager/Config/var/PostgreSQL -c "DELETE FROM library_item_tasks WHERE completed_at IS NOT NULL"


Leave off the WHERE clause to delete all tasks safely.

OS X Server 3.0.1 Completed Tasks Error

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