Access inaccessible Confluence instance? (I disabled the internal user directory)

So I set Confluence to use the JIRA user directory.  I then disabled the confluence user directory.  Everything was fine until my cookie expired.  Now I can't login to Confluence with my admin account or any other account.

Here is what my Confluence cwd_directory table looks like currently:


360449Remote JIRA Directoryremote jira directory2015-05-27 10:05:09.3972015-06-29
360450Confluence Internal Directoryconfluence internal directory2015-05-27 10:05:10.1802015-06-29 15:40:25.3501Confluence default internal


And here is my JIRA cwd_directory table (JIRA does work, I can login fine)

1JIRA Internal Directoryjira internal directory2013-02-28 11:57:51.3072015-06-29

2 answers


You can try the following steps to enable the Directory

  1. Use a native client to connect to your database
  2. Run the following SQL:


    UPDATE cwd_directory SET active = 'T';


    information The value of 'T' may need to be changed to match the 'true' value in your database. The above is for PostgreSQL.

  3. Restart Confluence and all the user directories will be enabled.



It's MSSQL. I tried setting it to 1 and that didn't fix the issue.

Updated original question with more information.

I just tried T out of desperation. Still can't login.

Thanks for more info, You can restore your admin password by using the following link. This link helps you to restore you password from database.

Siddheshwar could you post that as an answer?

0 votes

Hi Scott, after executing the query that  Siddheshwar commented, you have to restart your Confluence's service.


You can also create the following groups into Jira:

  • confluence-user
  • confluence-administrator

And add these groups into your Jira's user.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Feb 06, 2019 in Confluence

Try out the new editing experience

Hi team, I’m Avinoam, a product manager on Confluence Cloud, and today I’m really excited to let the Community know that all customers can now try out the new editing experience and see some of the ...

783 views 33 5
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