Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

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

Scott Beeson
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 1, 2015

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 15:41:48.0971NULLcom.atlassian.crowd.directory.RemoteCrowdDirectorycom.atlassian.crowd.directory.remotecrowddirectoryCROWD
360450Confluence Internal Directoryconfluence internal directory2015-05-27 10:05:10.1802015-06-29 15:40:25.3501Confluence default internal directorycom.atlassian.crowd.directory.InternalDirectorycom.atlassian.crowd.directory.internaldirectoryINTERNAL

 

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 15:44:35.6031NULLcom.atlassian.crowd.directory.InternalDirectorycom.atlassian.crowd.directory.internaldirectoryINTERNAL0

2 answers

1 vote
Siddheshwar mhetre
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 1, 2015

Hi,

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.

regards,

Siddheshwar.

Scott Beeson
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 1, 2015

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

Scott Beeson
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 1, 2015

Updated original question with more information.

Scott Beeson
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 1, 2015

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

Siddheshwar mhetre
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 1, 2015

Thanks for more info, You can restore your admin password by using the following link. https://confluence.atlassian.com/display/DOC/Restoring+Passwords+To+Recover+Admin+User+Rights This link helps you to restore you password from database.

Scott Beeson
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 2, 2015

Siddheshwar could you post that as an answer?

0 votes
Guilherme V.
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
July 2, 2015

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
TAGS
AUG Leaders

Atlassian Community Events