How do I remove double users when they are not visible in the admin panel?

Yannick De Coster November 27, 2014

One of our users (Alex) shows up 5 times when you try to assign a task to him in Confluence with '@[username]'. His account however is only registered once in the admin panel. How do I fix this?

Schermafbeelding 2014-11-28 om 10.23.46.pngSchermafbeelding 2014-11-28 om 10.24.18.png

4 answers

1 vote
Deividi Luvison
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
December 3, 2014

In that case can you please open a case on support.atlassian.com for further investigation?

Thanks and Regards,
David| The Engineer that like Windows for realsies.
1 vote
Deividi Luvison
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
December 2, 2014

Ok, Let's try a rebuild from your plugins from scratch:

  1. Backup your production database and application directories (<Confluence Home>\<Confluence INSTALL>) or take a vm snapshot if both the app and database are in the same server.
  2. Review step 1 (backups, backups and more backups).
  3. Take note of all your third party add ons.
  4. Shutdown Confluence.
  5. Delete the following directories.
  6. <confluence-home>/bundled-plugins folder
  7. <confluence-home>/plugins-cache folder
  8. <confluence-home>/plugins-osgi-cache folder
  9. <confluence-home>/plugins-temp folder.
  10. Run the command "delete from PLUGINDATA;" against your Confluence database.
  11. Now run "UPDATE BANDANA SET BANDANAVALUE='<map/>' WHERE BANDANAKEY='plugin.manager.state.Map';"
  12. Also delete the directories described in the rebuild index from scratch guide.
  13. Start Confluence.
  14. Go to Confluence Admin > Content Indexing.
  15. Rebuild the index trough the UI.
  16. Check for the behaviour again.

The idea behind this procedure is to delete all the plugins from scratch so we confirm that there are no corruptions with confluence bundle plugins.

If after this the addition users vanish, re install your third party plugins and disable the following plugins (since those got enabled due the UPDATE statement):

If it fails you can restore your backups, again I would prefer to mount a staging environment since you might get a downtime while checking this smile.

Let me know how it goes.
Thanks and Regards,
David| The Engineer that like Windows for realsies.
Yannick De Coster December 2, 2014

Have followed every step but the problem persists.

1 vote
Deividi Luvison
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
November 28, 2014

Hey Yannic,

That could be some corruption in your confluence index, could you please try following below guide and see if the problem goes away:

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

tks,

David

 

0 votes
Yannick De Coster November 28, 2014

Hi Deividi,

I first tried the rebuild option in the admin panel but no success.

Then followed the steps 'rebuilding the content indices from scratch' but we have no index directory so I could not remove it smile

Any other ideas?

Thanks,

 

Y.

Deividi Luvison
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
November 28, 2014

Ok, now that is really strange, you should have a index directory because even if you remove it, confluence would recreate this directory, please go to the Confluence Admin > System Information. Check what path is described next to *Confluence Home* variable. If in that directory there is no index folder send us a screenshot please, else try the procedure I posted.

Yannick De Coster November 30, 2014

Ok, found the index directory and deleted it. After rebuild, no luck: still 5 Alexes...

Deividi Luvison
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
December 2, 2014

Interesting, can you run the below select and post me the output? select u.user_name, u.active, d.directory_name from cwd_user u inner join cwd_directory d on d.id = u.directory_id where u.user_name = 'iLex';

Yannick De Coster December 2, 2014

[confluence]> select u.user_name, u.active, d.directory_name from cwd_user u inner join cwd_directory d on d.id = u.directory_id where u.user_name = 'iLex'; +-----------+--------+-------------------------------+ | user_name | active | directory_name | +-----------+--------+-------------------------------+ | iLex | T | Confluence Internal Directory | +-----------+--------+-------------------------------+ 1 row in set (0.00 sec)

Deividi Luvison
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
December 2, 2014

There is one last thing we can try (last resort), do you have a test instance (prod clone) available?

Yannick De Coster December 2, 2014

We are not running a mirrored environment. What would be your suggestion? We can always make a back-up before attempting anything crazy =)

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events