On a recently installed confluence server (V6.7.1 on Linux) I can no more login as admin.
I get the login screen, enter userID/password, and I get once again the login screen.
The credentials are checked, as I see an error message if I enter an invalid password.
I have already tried:
- reset the password
- restart confluence
- restart the server
There are no log entries in confluence or catalina log.
Jean,
Can you try to login with the local user by using this article:
That will allow you to recover access even if there's an issue going on with your user directory.
By the way, can you confirm what you use for your user directory? Is it the local Confluence one or are you using something else, like Jira's directory, Crowd, LDAP, etc.?
Shannon
Thank you Shannon for the fast response.
My password is validated, as another password generates an error message.
We have a local user directory (essentially for the administrators) and the company LDAP as user directories. The admin I am using is a local user.
Jean
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I have tried the recovery mode described in your reference. The result was the same.
Reading the reference you indicated I remembered that we tried (in vain) to implement a JIRA user server for our confluence server (item 3 in your page: "You're using an external directory or Jira for user management, have disabled the built in user management, and your external directory is not currently available. ")
Then I deleted the confluence server in the "JIRA user server" list. Still not better.
Finally I wanted to delete the configuration for the user server on the confluence server but couldn't find where this is stored. I grepped the installation directory and a DB dump.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Jean,
You can use step 3 of the older document to put your internal directory in first position:
For the issue where it keeps sending you back to your login page, could you try to clear your cookies and see if you still have the issue? Please also try it in Incognito Mode.
Shannon
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Shannon,
I followed Steps 1 to 3 of the indicated page, and on the way noticed that:
Now the tables look ok (see below), but I still cannot login. I fill in admin/admin and I am again returned to the login screen.
confluencedb=> select d.id, d.directory_name, m.list_index from cwd_directory d join cwd_app_dir_mapping m on d.id=m.directory_id;
id | directory_name | list_index
---------+-------------------------------+------------
98305 | Confluence Internal Directory | 0
2883586 | g02.fujitsu.local | 1
(2 rows)
confluencedb=> select id, directory_name, active from cwd_directory where id = 98305;
id | directory_name | active
-------+-------------------------------+--------
98305 | Confluence Internal Directory | T
(1 row)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Jean,
The behavior you are reporting now does not sound like a bad username and password, but rather, the issue described in Login Screen Loops Back To Login Screen With No Error When Using Correct Username And Password
The resolutions are included in Login Screen Loops Back To Login Screen With No Error When Using Correct Username And Password.
Cause one
- Clear your browsers cache and reconnect to Confluence.
Cause two
- Ensure there are no software firewalls blocking Confluence and the cookie
JSESSIONID
.
Cause three
- Change the context path of the different Atlassian products so that they are no longer using the same context path, see Logging into another Atlassian application logs me out of Confluence for more information.
I look forward to hearing whether any of those suggestions work for your case.
Thanks,
Ann
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Cause one was the right hint, but it was more complicated than that.
We are using reverse proxying from a common server to a confluence and a Jira server behind the firewall. Because an add-on application on the Jira server wants to read the JSESSIONID cookie we had used the ProxyPassReverseCookiePath directive. When I looked at the JSESSIONID from confluence I saw that it contained the path we had set for Jira.
Now confluence is working again.
Thank you for your support!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Happy to hear Confluence is working again!
I appreciate your circling back to the thread to let the Community know the answer.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.