I’ve migrating OpenFire 3.6.0a from one Linux server to another, and attempted to use the user import/export plugin to migrate user data.
The export action worked ok on the old server, but the import action failed on the new server (running the very same OpenFire and plugin versions), with the following message:
“The import file does not match the user schema.”
Both servers are using the (same) LDAP directory to authenticate users.
It appears that the export feature is in trouble: it generates an invalid XML file in this environment (LDAP server), where the entry is generated twice for each user entry:
once with the username (as documented in the user import/export plugin in case of an LDAP environment)
once with an empty content ()
The latter is probably breaking the XML schema, and make the import fail.
A quick workaround is to edit the XML file, search and replace “” with an empty string, and restart the importation.