How to reestablish crowd connection from confluence ?

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 vote
Joe Wai Tye Atlassian Team Sep 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.

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

Joe Wai Tye Atlassian Team Sep 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?

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 ?

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Tuesday in Confluence

We want to see the templates you've created in Confluence!

Hi Community, Jessica here from the Confluence Product Marketing team!  July’s community challenge is all about sharing pictures  — and as an extension of our first post on what ...

420 views 18 9
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