dypost20 ...
just spent a couple hours going through a bunch of wipeDB.sh and 80-devicemgrcommon.sh commands that did not work
I stumbled across your post only after I found it. I think the version I'm running may be newer than yours? My folder paths are:
/Applications/Server.app/Contents/ServerRoot/System/Library/ServerSetup/CommonEx tras/PostgreSQLExtras $ ls -la
total 0
drwxr-xr-x 4 root wheel 136 Mar 12 20:40 .
drwxr-xr-x 35 root wheel 1190 Mar 12 20:40 ..
-rwxr-xr-x 1 root wheel 117 Mar 12 19:46 create_caldavd_db.sh
-rwxr-xr-x 1 root wheel 433 Mar 12 19:46 create_devicemgr_db.sh
I'm putting this here for others:
I ran the following:
**WARNING** this will reset your calendars, profile manager, and possibly a whole bunch of data on your server. Make sure you know what you're doing and have adequate backups.
cd /Library/Server/PostgreSQL\ For\ Server\ Services/
mv Socket SocketOLD
ln -s /private/var/pgsql_socket/ Socket
serveradmin stop postgres
serveradmin start postgres
Then
/Applications/Server.app/Contents/ServerRoot/System/Library/ServerSetup/CommonEx tras/PostgreSQLExtras/create_devicemgr_db.sh
/Applications/Server.app/Contents/ServerRoot/System/Library/ServerSetup/CommonEx tras/PostgreSQLExtras/create_caldavd_db.sh
Then
/Applications/Server.app/Contents/ServerRoot/System/Library/ServerSetup/CommonEx tras/80-devicemgrcommon.sh
Then
/Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backend/wipeDB. sh