Open Directory fails to migrate with Lion Server upgrade
I had a completly up-to-date version of Snow Leopard with a master Open Directory instance.
Somewhere through the Lion Server installion I was told that some services had failed to be configured (yellow warning triangle).
Once the system was rebooted, I found that I only had an local user directory with an Administrator account. Apparently it had remembered by password for this account as I could log in. I attempted to create a new Open Directory master with various tools, but each time this fails. The included Server tool tells me that the machine is already configured for Open Directory and won't let me start over. That would be fair enough if I could get to whatever it thinks in the existing configuration.
I downloaded the remote server tools and tried those. The Open Directory service is shown as not running, and the only thing you can do is attempt to change the configuration to "master" or one of the other two. Trying to recreate a master here causes an error that the networking isn't configured properly (failed to resolve a hostname). As far as I can tell the basic networking is set up just fine (though this machine's DNS service isn't running, but that's OK).
So, I don't know how to go forward to recover my old Snow Leopard Open Directory database, and I can't start over with a new database. Instead, for now, I have created new local accounts and had this reconnect with the local home directories on the machine. This worked fine (though I had to chown the contents of a few home directories to resync with user IDs).
Hopefully my Lion installation is OK besides this issue with OD. My wikis and other things seem to be working fine. Still, it's not great for one's confidence when (AFAIK) an ordinary non-hacked or customised Snow Leopard server doesn't migrate properly to the new version.
Maybe someone has some clues that might yet help me to get my old OD database back, and indeed allow the new Lion OD service to run again?
PowerMac, Mac OS X (10.7)