importing Apple Wiki - error 27 when running wikiadmin command
Apple's solution was to connect the old server via 'target disk mode' to the new server and use Migration Assistant when initially setting up the new server, before creating any accounts, etc, to import all server data over.

Then when opening the latest Server app on the new server it'll successfully import in the wiki.

https://support.apple.com/en-us/HT207034