Hi,
I have the following error when trying to import data from Jira v3.13.5 in Jira v4.4.3:
You cannot access JIRA at present.
An error occurred performing JIRA upgrade task |
2012-07-18 20:18:48 | error |
JIRA is unable to migrate the User Directory configuration because the osuser.xml file does not contain a recognised configuration. |
In logs, I can see the following:
... /secure/SetupImport.jspa: Upgrade error JIRA is unable to migrate the User Directory configuration because the osuser.xml file does not contain a recognised configuration<br>Please see http://docs.atlassian.com/jira/docs-044/Upgrading+Jira for details.
My osuser.xml file contains the following:
<!-- osuser.xml autogenerated by user 'admin' on 24/juin/10 for JIRA 3.13.5
-->
<opensymphony-user>
<authenticator class="com.opensymphony.user.authenticator.SmartAuthenticator"/>
<provider class="com.opensymphony.user.provider.ldap.LDAPCredentialsProvider">
<property name="java.naming.factory.initial">com.sun.jndi.ldap.LdapCtxFactory</property>
<property name="java.naming.provider.url">ldap://myldap.mydomain.com:389</property>
<property name="searchBase">ou=People,dc=xxx,dc=com</property>
<property name="uidSearchName">uid</property>
<property name="java.naming.security.principal">uid=jirsystem,ou=people,dc=xxx,dc=com</property>
<property name="java.naming.security.credentials">xxx</property>
<property name="exclusive-access">true</property>
</provider>
</opensymphony-user>
Can somebody shed some light on it?
Thanks!
Please try with the following OSuser.xml
<!-- osuser.xml autogenerated by user 'admin' on 24/juin/10 for JIRA 3.13.5 --> <opensymphony-user> <authenticator class="com.opensymphony.user.authenticator.SmartAuthenticator"/> <provider class="com.opensymphony.user.provider.ldap.LDAPCredentialsProvider"> <property name="java.naming.factory.initial">com.sun.jndi.ldap.LdapCtxFactory</property> <property name="java.naming.provider.url">ldap://ctlqldap.xxx.com:389</property> <property name="searchBase">ou=People,dc=xxx,dc=com</property> <property name="uidSearchName">uid</property> <property name="java.naming.security.principal">uid=jirsystem,ou=people,dc=xxx,dc=com</property> <property name="java.naming.security.credentials">xxx</property> <property name="exclusive-access">true</property> </provider> <provider class="com.atlassian.jira.user.osuser.JiraOFBizCredentialsProvider"> <property name="exclusive-access">true</property> </provider> <provider class="com.atlassian.jira.user.osuser.JiraOFBizProfileProvider"> <property name="exclusive-access">true</property> </provider> <provider class="com.atlassian.jira.user.osuser.JiraOFBizAccessProvider"> <property name="exclusive-access">true</property> </provider> </opensymphony-user>
Let me know how it goes.
Cheers,
Septa Cahyadiputra
My pleasure :).
Really great to hear that it finally worked on your end. It seems that the internal repositories need to included during the upgrade process.
Cheers,
Septa Cahyadiputra
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It works!
So the right combination is to have Jira v4.4.4 and a osuser.xml that define several providers :)
Thank you!!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi there,
Just want to inform you that we have proceed to create a bug report here:
https://jira.atlassian.com/browse/JRA-29071
and update the previously given knowledge base to include your issue:
https://confluence.atlassian.com/display/JIRAKB/JIRA+Upgrade+Fails+due+to+osuser.xml+configuration
Cheers,
Septa Cahyadiputra
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi there,
Judging from your stack trace, it seems that you are encountering a known bug which is resolved in 4.4.4
https://jira.atlassian.com/browse/JRA-24161
However this bug root cause is due to multiple repositories configured on your OSuser.xml, which based on the provided osuser.xml content does not seems to be the case on your end.
Just for sanity check, could you please try to upgrade to 4.4.4 and see if the problem persist.
Hope it helps.
Cheers,
Septa Cahyadiputra
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
thanks for your answer. I get the exact same message with 4.4.4.
Obviously, with the same osuser.xml as before
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi there,
Sorry to hear that. Just to confirm again, may I know if you have multiple directories configured on your OSuser.xml
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Unfortunately, no:
<!-- osuser.xml autogenerated by user 'admin' on 24/juin/10 for JIRA 3.13.5 --> <opensymphony-user> <authenticator class="com.opensymphony.user.authenticator.SmartAuthenticator"/> <provider class="com.opensymphony.user.provider.ldap.LDAPCredentialsProvider"> <property name="java.naming.factory.initial">com.sun.jndi.ldap.LdapCtxFactory</property> <property name="java.naming.provider.url">ldap://ctlqldap.xxx.com:389</property> <property name="searchBase">ou=People,dc=xxx,dc=com</property> <property name="uidSearchName">uid</property> <property name="java.naming.security.principal">uid=jirsystem,ou=people,dc=xxx,dc=com</property> <property name="java.naming.security.credentials">xxx</property> <property name="exclusive-access">true</property> </provider> </opensymphony-user>
Is it possible to run jira in a "more verbose" mode, ie to get more info in logs? Or to get the sources and debug it? Or anything else that may lead to a better understand on what is going on?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.