Cannot login to backup Jira instance


I copied (virtual Machine) my Jira 5.1.1 instance to a testserver which has no access to the Active Directory.
The problem is, I only have users in JIRA which use "Delegate LDAP Authentication", so I'm not able to login to the JIRA instance. Is there a workaround available?
I have access to the Database, so probably I can manually create a local Admin User!

Or do I have to create a local admin user first and redo the export/copy of the installation

Hope somebody can help!

2 answers

1 accepted

Thanks for the quick help

You could restore the local adminsitrator in JIRA by following this documentation. Please do backup your JIRA database for safety purpose. In addition to that, you might need to also run the following query, but please make sure there's no other directory that has 0 as directory_position as its value.

updatecwd_directory setdirectory_position = 0 whereid = 1;

Hope it helps.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Tuesday in Jira

Looking for anyone who made the switch to Data Center

The Jira Marketing team is putting together an ebook on migrating to Data Center. We're looking for pro tips on how you staffed your project team and organized your Proof of Concept. Share yo...

34 views 0 2
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