Upgrade to Server 2.2 Broke Profile Manager
After upgrading to Server 2.2, the profile manager started showing the "Error Reading Settings" message.
In the error logs I'm seeing tons of database migration errors.
Dec 7 07:02:06 home.veenendaal.co ProfileManager[1402]: Retry #3 of database migration...
Dec 7 07:02:07 home.veenendaal.co ProfileManager[1402]: Retry #4 of database migration...
Dec 7 07:02:09 home.veenendaal.co ProfileManager[1402]: devicemgrd: Terminating on unhandled exception Rake command failed with 256 at /Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/webserver/devi cemgrd:276:in `Rake'
/Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/webserver /devicemgrd:230:in `SetupRails'
/Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/webserver /devicemgrd:158:in `Run'
/Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/webserver /devicemgrd:851
Dec 7 07:02:09 home com.apple.launchd[1] (com.apple.devicemanager[1402]): Exited with code: 1
I tried to restart the profile manager database, but keep getting this error when I run "/Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backend/wipeD B.sh"
/usr/bin/rake:31
Couldn't create database for {"encoding"=>"UTF8", "host"=>"/Library/Server/PostgreSQL For Server Services/Socket", "username"=>"_devicemgr", "pool"=>5, "database"=>"device_management", "adapter"=>"postgresql"}
devicemgr:state = "STARTING"
Apple TV (3rd generation), OS X Mountain Lion (10.8.2)