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 Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

2,772 views 11 18
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot