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

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

This widget could not be displayed.

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

 

This widget could not be displayed.

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.

Have followed every step but the problem persists.

This widget could not be displayed.

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.
This widget could not be displayed.

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.

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.

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

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';

[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)

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

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
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Published Tuesday in Confluence

Add-on evaluation with confluence templates

Atlassian market place contains number of Apps/Addons which improves the capability of out of the box Atlassian products. It is good to follow a plugin evaluation process before install add-ons. So t...

85 views 12 6
Read article

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