You can make a difference in the Apple Support Community!

When you sign up with your Apple Account, you can provide valuable feedback to other community members by upvoting helpful replies and User Tips.

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

Profile manager issues

Hi, since the Big Sur update we have issues with Profile Manager. We can log on to the web (servername/profilemanager) but it's blank. When we first got this issue we could sometimes access it but it's been worse and worse. Now we've not been able to access it for about a week. We've tried several restarts, done all updates available and connected with new tokens to School manager and VPP.

We can see the MDM server is connecting to School manager but updates are few. (On ASM settings page). We're running on a Mac Mini (2018) i7 with 16GB ram.


In activity manager we got postgres running 100% on 1 thread most of the time with _devicemgr as user.


We've tried to manually delete tasks but can't clear completed tasks. (Don't know if this is the issue or not) using this: sudo -u _devicemgr psql -U _devicemgr -d devicemgr_v2m0 -h /Library/Server/ProfileManager/Config/var/PostgreSQL-12 -c "DELETE FROM library_item_tasks WHERE completed_at IS NOT NULL"


We can clear the active tasks successfully.


The system log is full of these:

(com.apple.mdworker.shared.0B000000-0400-0000-0000-000000000000[3416]): Service exited due to SIGKILL | sent by mds[96]


Don't know what to look for or try anymore. Any tips or suggestions are appreciated.

Posted on Apr 27, 2021 2:53 AM

Reply
Question marked as Top-ranking reply

Posted on Apr 27, 2021 4:04 AM

Tried to run the command again with profile manager off. It deleted 18000+ tasks and it took about an hour. Amazed this is not automated by the software itself.


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

Similar questions

1 reply
Question marked as Top-ranking reply

Apr 27, 2021 4:04 AM in response to SebNV

Tried to run the command again with profile manager off. It deleted 18000+ tasks and it took about an hour. Amazed this is not automated by the software itself.


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

Profile manager issues

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