Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How to reestablish crowd connection from confluence ?

Benoit Bordigoni September 23, 2013

Hi,

I recently upgraded JIRA to a 25 users license. Confluence was configured to get users from JIRA using the crowd connection (I think).

As a result more than 10 users exists in confluence (witch I don't need by the way). As a result no confluence users are able to use write an article (shame).

I remove those users from confluence-users group : no effects. I deactivated them : no effects as well, more important they were deactivated in JIRA.

Then, I got pissed, lack of sleep didn't help : decided to configure Jira to remove the link with confluence and recreate users in Confluence : FAIL. Of course, now I have no users in confluence, when I ask for a forgotten password (maybe an admin user would have survived, how knows?) here is what I get :

com.atlassian.crowd.exception.runtime.OperationFailedException: com.atlassian.crowd.exception.InvalidAuthenticationException: Application failed to authenticate

at com.atlassian.crowd.embedded.core.CrowdServiceImpl.updateUserCredential(CrowdServiceImpl.java:383)

caused by: com.atlassian.crowd.exception.InvalidAuthenticationException: Application failed to authenticate
at com.atlassian.crowd.integration.rest.service.RestExecutor$MethodExecutor.throwError(RestExecutor.java:490)

Pretty logical...

I configure a crowd connection in JIRA for confluence, but don't even remember how it was set up in the first place, with what I read in your documentation makes me think I did it from Confluence, that would explain a lot, I cut the rop the wrong end...

Help !

Desperately,

Benoit

3 answers

1 accepted

0 votes
Answer accepted
Theinvisibleman
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
September 23, 2013

Hi Benoit,

I think the first thing that you would have to do would be to create an admin inside your Confluence Internal Directory. From there, you should be able to login using the internal admin, and configure your users. You can view how to create a new internal admin from this documentation - Restoring Passwords To Recover Admin User Rights.

I would recommend that you refer to the section 'If No Local Administrator Exists', and then start working from there. Of course, since this would include modifications in your database, I would highly recommend that you first create backups of your Confluence and database before performing any changes.

0 votes
Benoit Bordigoni September 23, 2013

I have set up the integration 'back', everything is back to normal, as if page kept user id or something and Anonymous acted like a fallback user or disalocated/removed users.

Unfortunatly that did'nt my very first problem (that in my opinion is a bug) : user not belonging to any confluence group should be counted as users in confluence, even to read articles.

Is there a way to import (some) users from Jira (whilst keeping their id) into confleunce, so I can remove Crowd integration and keeping my users ?

0 votes
Benoit Bordigoni September 23, 2013

Thanks a lot Joe!

I can now access confluence, no need to create an admin user the old one was still active...

My question was a trick question, it hides another one. How to get users from Jira (10+), but not be bothered by this excess of users, because now the connexion does not work between confluence and Jira and all my pages are written by Anonymous.

I assume that creating local users with same login won't do the trick...

Thanks again.

Benoit

Theinvisibleman
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
September 23, 2013

Hi Benoit,

Hmm, well, assuming that all of your Confluence users are actually from JIRA, then I fear that as you have disabled the user integration between the two instances, Confluence can no longer find the users, hence have decided to name them as 'Anonymous'.

One thing that I am curious about, however, is this : Are the pages stated as created by 'Anonymous'? Is there any traces of the previous usernames left?

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events