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
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Julia Dillon
Posted Tuesday in Jira

Tell us how your team runs on Jira!

Hey Atlassian Community! Today we are launching a bunch of customer stories about the amazing work teams, like Dropbox and Twilio, are doing with Jira. You can check out the stories here. The thi...

172 views 1 17
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