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
Published Jan 08, 2019 in Jira

How to Jira for designers

I’m a designer on the Jira team. For a long time, I’ve fielded questions from other designers about how they should be using Jira Software with their design team. I’ve also heard feedback from other ...

918 views 3 9
Read article

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