User missing from Crowd group when viewed through Stash

We have a stash server (2.5) set up with a authentication directory from crowd. It is mostly working fine but in once case we have a user who is a member of various groups (stash-admin, stash-users, etc..) but when we look at those groups in the stash interface, she isn't there. But when we look at her user properties (admin/users/view), we see the expected groups listed in the groups TAB. This doesn't seem to be a problem for other users. Any idea what the cause could be?

3 answers

1 accepted

Support recomend that I create a second crowd directory entry in Stash with the same settings as the first, and then reorder the directories so the new one is first. Doing this seems to have fixed the issue.

Ok, after some more investigation, I see that I am getting some warnings in the log like this

2013-09-10 06:29:46,613 WARN [scheduler_Worker-7] c.a.c.d.DbCachingRemoteChangeOperations remote username [ trice ] casing differs from local username [ TRice ]. User details will be kept updated, but the username cannot be updated

Which means that at some point some of the usernames were capitalized, and then they were changed to lowercase in the crowd directory. It seems that every user that I have a warning like this about is also not showing up in their assigned groups. So the new question is, how do I fix this? How do I remove all of the local info about the user from Stash, and then re-sync the directory?

Hi Chris,

This seems to be the same symptom of this bug in JIRA, in this bug there's a suggested workaround, this can possibly work for Stash as well.


Hi Chris,

If the suggested workaround doesn't fix the problem, or in any case, you may want to raise a support ticket so we can help you further.



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 Jun 12, 2018 in Bitbucket

Do you use any Atlassian products for your personal projects?

After spinning my wheels trying to get organized enough to write a book for National Novel Writing Month (NaNoWriMo) I took my affinity for Atlassian products from my work life and decided to tr...

25,674 views 26 12
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