[opencms-dev] OpenCms migration 6.2.1 to 9.5.2: error during OpenCms database import
Schliemann, Kai
K.Schliemann at comundus.com
Thu Aug 11 19:49:53 CEST 2016
Hi list,
did anyone of you ever get the following error message, when importing resources and users with OpenCms Database import:
Importiere Benutzer abcd ... Fehler org.opencms.main.CmsIllegalArgumentException: Error importing user with the following properties: name = "a9a0ee4a-5f99-11e6-8e7d-005056890620", firstname = "abcd", lastname = "Martin", email = "abcd", flags = "martin.abcd at test.de<mailto:martin.abcd at test.de>", dateCreated = "Jan 1, 1970 at 1:00 AM", additionalInfos = "1/1/70 1:00 AM".
at org.opencms.main.CmsIllegalArgumentException.createException(CmsIllegalArgumentException.java:73)
at org.opencms.db.CmsDbContext.throwException(CmsDbContext.java:336)
at org.opencms.db.CmsDbContext.report(CmsDbContext.java:286)
at org.opencms.db.CmsSecurityManager.importUser(CmsSecurityManager.java:3270)
at org.opencms.file.CmsObject.importUser(CmsObject.java:1975)
at org.opencms.importexport.A_CmsImport.importUser(A_CmsImport.java:821)
at org.opencms.importexport.CmsImportVersion4.importUser(CmsImportVersion4.java:206)
at org.opencms.importexport.A_CmsImport.importUsers(A_CmsImport.java:946)
at org.opencms.importexport.CmsImportVersion4.importData(CmsImportVersion4.java:160)
at org.opencms.importexport.CmsImport.importData(CmsImport.java:113)
at org.opencms.importexport.CmsVfsImportExportHandler.importData(CmsVfsImportExportHandler.java:198)
at org.opencms.importexport.CmsImportExportManager.importData(CmsImportExportManager.java:729)
at org.opencms.workplace.threads.CmsDatabaseImportThread.run(CmsDatabaseImportThread.java:90)
Caused by: org.opencms.main.CmsIllegalArgumentException: The user name is used by the LDAP server. To create a user with the given name, please use the Synchronization tool.
at org.opencms.ocee.ldap.CmsLdapUserDriver.createUser(CmsLdapUserDriver.java:278)
at org.opencms.ocee.cache.CmsUserCache.createUser(CmsUserCache.java:177)
at org.opencms.db.CmsDriverManager.importUser(CmsDriverManager.java:5013)
at org.opencms.db.CmsSecurityManager.importUser(CmsSecurityManager.java:3257)
... 9 more
Fehler org.opencms.importexport.CmsImportExportException: Error importing user "abcd".
at org.opencms.importexport.A_CmsImport.importUser(A_CmsImport.java:867)
at org.opencms.importexport.CmsImportVersion4.importUser(CmsImportVersion4.java:206)
at org.opencms.importexport.A_CmsImport.importUsers(A_CmsImport.java:946)
at org.opencms.importexport.CmsImportVersion4.importData(CmsImportVersion4.java:160)
at org.opencms.importexport.CmsImport.importData(CmsImport.java:113)
at org.opencms.importexport.CmsVfsImportExportHandler.importData(CmsVfsImportExportHandler.java:198)
at org.opencms.importexport.CmsImportExportManager.importData(CmsImportExportManager.java:729)
at org.opencms.workplace.threads.CmsDatabaseImportThread.run(CmsDatabaseImportThread.java:90)
Caused by: org.opencms.main.CmsIllegalArgumentException: Error importing user with the following properties: name = "a9a0ee4a-5f99-11e6-8e7d-005056890620", firstname = "abcd", lastname = "Martin", email = "abcd", flags = "martin.abcd at test.de<mailto:martin.abcd at test.de>", dateCreated = "Jan 1, 1970 at 1:00 AM", additionalInfos = "1/1/70 1:00 AM".
at org.opencms.main.CmsIllegalArgumentException.createException(CmsIllegalArgumentException.java:73)
at org.opencms.db.CmsDbContext.throwException(CmsDbContext.java:336)
at org.opencms.db.CmsDbContext.report(CmsDbContext.java:286)
at org.opencms.db.CmsSecurityManager.importUser(CmsSecurityManager.java:3270)
at org.opencms.file.CmsObject.importUser(CmsObject.java:1975)
at org.opencms.importexport.A_CmsImport.importUser(A_CmsImport.java:821)
... 7 more
Caused by: org.opencms.main.CmsIllegalArgumentException: The user name is used by the LDAP server. To create a user with the given name, please use the Synchronization tool.
at org.opencms.ocee.ldap.CmsLdapUserDriver.createUser(CmsLdapUserDriver.java:278)
at org.opencms.ocee.cache.CmsUserCache.createUser(CmsUserCache.java:177)
at org.opencms.db.CmsDriverManager.importUser(CmsDriverManager.java:5013)
at org.opencms.db.CmsSecurityManager.importUser(CmsSecurityManager.java:3257)
... 9 more
Some users can be imported flawlessly but it stops at the point (see above).
Anybody an idea?
Best regards
Kai
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20160811/91816d9b/attachment.htm>
More information about the opencms-dev
mailing list