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:
360449 | Remote JIRA Directory | remote jira directory | 2015-05-27 10:05:09.397 | 2015-06-29 15:41:48.097 | 1 | NULL | com.atlassian.crowd.directory.RemoteCrowdDirectory | com.atlassian.crowd.directory.remotecrowddirectory | CROWD |
360450 | Confluence Internal Directory | confluence internal directory | 2015-05-27 10:05:10.180 | 2015-06-29 15:40:25.350 | 1 | Confluence default internal directory | com.atlassian.crowd.directory.InternalDirectory | com.atlassian.crowd.directory.internaldirectory | INTERNAL |
And here is my JIRA cwd_directory table (JIRA does work, I can login fine)
1 | JIRA Internal Directory | jira internal directory | 2013-02-28 11:57:51.307 | 2015-06-29 15:44:35.603 | 1 | NULL | com.atlassian.crowd.directory.InternalDirectory | com.atlassian.crowd.directory.internaldirectory | INTERNAL | 0 |
Hi,
You can try the following steps to enable the Directory
Run the following SQL:
UPDATE cwd_directory SET active = 'T' ; |
The value of 'T' may need to be changed to match the 'true' value in your database. The above is for PostgreSQL.
regards,
Siddheshwar.
It's MSSQL. I tried setting it to 1 and that didn't fix the issue.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Updated original question with more information.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I just tried T out of desperation. Still can't login.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Siddheshwar could you post that as an answer?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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:
And add these groups into your Jira's user.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.