Upgrade to 3.5.17 (interim step to 4.2) from 3.4.6 - fails during LDAP validation

We are trying to upgrade to 4.2 from 3.4.6. I'm just starting the 3.5.17 part of the upgrade. I've copied our atlassian-user.xml and osuser.xml to the ../classes/ directory

Also, we duplicated our production into a dev environment. BUT - the production DB was mysql 5.1, the dev DB is mysql 5.5 - I did a dump and restore into that. That seems to be fine (i just randomly looked thru the db tables)

The following is an excerpt from the file. I've attached atlassian0user.xml

2012-08-09 12:29:31,722 ERROR main confluence.user.migration.LdapRepositoryConfigurationMigrator validateOptionalDistinguishedName Property securityPrincipal is not a valid distinguished name: Failed to parse DN; nested exception is org.springframework.ldap.core.TokenMgrError: Lexical error at line 1, column 9. Encountered: @ (64), after :

2012-08-09 12:29:31,723 INFO main confluence.user.migration.AtlassianUserMigrator validate validated repository ldapRepository with com.atlassian.confluence.user.migration.LdapRepositoryConfigurationMigrator@4631ca2b

2012-08-09 12:29:31,723 INFO main confluence.user.migration.AtlassianUserMigrator validate validated repository hibernateRepository with com.atlassian.confluence.user.migration.HibernateRepositoryConfigurationMigrator@6ecff10d

2012-08-09 12:29:31,747 ERROR main atlassian.confluence.upgrade.UpgradeLauncherServletContextListener contextInitialized Upgrade failed, application will not start: Upgrade task com.atlassian.confluence.upgrade.upgradetask.AtlassianUserToEmbeddedCrowdConfigurationUpgradeTask@264ab70a failed during the VALIDATION phase

com.atlassian.confluence.upgrade.UpgradeException: Upgrade task com.atlassian.confluence.upgrade.upgradetask.AtlassianUserToEmbeddedCrowdConfigurationUpgradeTask@264ab70a failed during the VALIDATION phase

at com.atlassian.confluence.upgrade.AbstractUpgradeManager.executeUpgradeStep(AbstractUpgradeManager.java:205)

at com.atlassian.confluence.upgrade.AbstractUpgradeManager.validateUpgradeTasks(AbstractUpgradeManager.java:140)

at com.atlassian.confluence.upgrade.AbstractUpgradeManager.upgrade(AbstractUpgradeManager.java:70)

at com.atlassian.confluence.upgrade.impl.DefaultUpgradeManager.upgrade(DefaultUpgradeManager.java:140)

at com.atlassian.confluence.upgrade.UpgradeLauncherServletContextListener.contextInitialized(UpgradeLauncherServletContextListener.java:28)

at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4205)

at org.apache.catalina.core.StandardContext.start(StandardContext.java:4704)

at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)

at org.apache.catalina.core.StandardHost.start(StandardHost.java:840)

at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)

at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463)

at org.apache.catalina.core.StandardService.start(StandardService.java:525)

at org.apache.catalina.core.StandardServer.start(StandardServer.java:754)

at org.apache.catalina.startup.Catalina.start(Catalina.java:595)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

at java.lang.reflect.Method.invoke(Method.java:597)

at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)

at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)

2012-08-09 12:29:31,752 ERROR main atlassian.confluence.upgrade.UpgradeLauncherServletContextListener contextInitialized 1 errors were encountered during upgrade:

2012-08-09 12:29:31,753 ERROR main atlassian.confluence.upgrade.UpgradeLaunch

1 answer

1 accepted

What does the following line look like in your atlassian-user.xml file:

<securityPrincipal>cn=Administrator,cn=Users,dc=XXXX,dc=com</securityPrincipal>

Based on the error you mat have some incorrect information on that line.
Also, look and see if you have "securityPrincipal" listed any where else in that file.

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Jul 10, 2018 in Confluence

We want to see the templates you've created in Confluence!

Hi Community, Jessica here from the Confluence Product Marketing team!  July’s community challenge is all about sharing pictures  — and as an extension of our first post on what ...

902 views 23 12
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you