Most users are not showing up under People Directory. Any ideas why?

Confluence 3.5.13

A few weeks/months ago I had to rebuild the content indices from scratch to resolve another issue. Last week a user pointed out that when they go to Browse > People Directory they only see a handful of users (only 20 showing up out of the 1,000 + we have). I verified this and it appears only new users are showing up under People Directory and none of the existing users. I am not sure if the rebuild of indices is related and cannot determine at what point only new users started appearing. All users show up in admin > users, all users can still log in and post, etc.

Is this People Directory data stored in the /index folder? If so do you know what file it is stored in so I can copy the old one back over?

FYI - I did make a copy of the plugin directory and place it the new index folder.

3 answers

This widget could not be displayed.

Jon,

The contents of the people directory is partially stored in the index folder. However, performing a reindex from scratch would be the operation that rebuilds that information.

I don't think that trying to copy back the directory from your old index is the correct course of action here.

You may be suffering from the following bug.

https://jira.atlassian.com/browse/CONF-6404

It states that users that have not logged in do not show up in the people directory. I would have a user that is not showing up in the people direcotry log in and see if they appear in Confluence.

Please let us know how that works

Daniel,

Thanks for the help. I did see this article before I posted my question (should have mentioned that). For some reason only new users show up it isn't whether they have logged in or not. For example, I don't even show up but one strange thing is the admin account does (which is not a new account). I know of about 10 users that log on every day (Help Desk) to reset passwords and only one of them show.

After further research my statement about only new accounts showing up is wrong. New accounts do show up but a handful of older accounts show up to. Here is a random sampling of a few accounts.

Date Acct Created > Last Logon

10/11 > 11/13
10/11 > never
8/14 > 11/8
5/26 > 12/5

I thought maybe this was our problem:

For external user management LDAP/Jira Users do not show up in the people directory even after logging in. They show up only after editing their profile. Only then a Personal Info Object is created which is included in the index.

I have edited my profile and had a few others and they are not showing up.

Thanks,

Jon

Jon,

Sorry for the delay in getting back to you. I was thinking you may want to try rebuilding the content inxed from scratch.

https://confluence.atlassian.com/display/CONFKB/Rebuild+the+Content+Indices+from+Scratch

If the problem is limited to new users your index may have been damaged somewhere along the way and current indexing tasks might be held up. If you remove and recreate the index you may be able to circumvent this possible corruption.

Please keep us up to date.

I believe this problem started the last time we rebuilt the indices from scratch to fix a community bubbles issue. However, I don't think the problem was reported for several months (as most users don't use that function). I will have to get that approved and scheduled since it takes away the recently updated macros and sets them to nothing. It also clears out the dashboard. I will keep you posted.

Also, the help desk has reported new users added to LAM (our LDAP software used for the wiki) are no longer coming over to the wiki. They add the new user in LAM and the wiki for non-workers that do not have a employee ID. Maybe this is all related?

I am going to try a few fixes tonight, if I have no success I will look into the LAM/wiki issue and look into scheduling the rebuilding indices.

Once again, thanks for the help! I was unable to get it to work after my fixes attempt and possibly it isn't an index problem? When I make our LDAP (OpenLDAP (Read/Write)) the first choice under user directories I cannot even create a user. However when I make Confluence Internal Directory the first choice the users I create will save and show up under browse > People Directory. I am now starting to think it is an LDAP problem and will research it further. Once again I will keep you all posted.

FYI: Here is the error I get when OpenLDAP is number one on user directories:

The following error(s) occurred:

Failed to create the user 'asdf'. Check your server logs for more information.

1. New LDAP users are not populating over to the wiki so our Help Desk creats a LDAP account and a wiki account.

2. The test under edit shows sucessful so I am unsure what the problem is...

This widget could not be displayed.

Hi, can you try to go to Confluence Administration and clear the user cache? https://confluence.atlassian.com/display/DOC/Cache+Statistics. It should be the Crowd caches. It could be a corrupted cache.

If you are using external LDAP etc also try to resync the users manually from the user directory.

This widget could not be displayed.

Harry,

Thanks for the info and sorry for the delay in the reply. I have tried this solution without success. I have flushed all Crowd caches, all LDAP caches and resynced the user directory (several times trying different flushes). I am going to bounce the servers and services Thursday night and try to manually resync the users. I will keep you posted.

Thanks,

Jon

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted yesterday in Confluence

Why start from scratch? Introducing four new templates for Confluence Cloud

Hi my Community friends!  For those who don't know me, I'm a product marketer on the Confluence Cloud team - nice to meet you! For those of you who do, you know that I've been all up in your Co...

208 views 2 4
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