Confluence - administrator locked out

I'm just using Confluence casually at home for some practice for my work set up.

I logged out the other day, and when I tried to log back in it doesn't recognise my user/password.

I'm damn sure the password is correct, but something's definitely not working. Don't have a mail client set up so can't email myself the password, etc - and neglected to set someone else up as admin to fix it for me. Yes, I'm an idiot.

Is there any way to either:

Reset the administrator

or

Reset the admin password?

2 answers

1 accepted

This widget could not be displayed.

Just to specify the queries you'd need to run in order to change the administrator password:

select u.id, u.user_name, u.active from cwd_user u
join cwd_membership m on u.id=m.child_user_id join cwd_group g on m.parent_id=g.id join cwd_directory d on d.id=g.directory_id
where g.group_name = 'confluence-administrators' and d.directory_name='Confluence Internal Directory';

With this query, You'll get the admin IDs. Then you can change the admin password with the next query:

update cwd_user set credential =
'x61Ey612Kl2gpFL56FT9weDnpSo4AV8j8+qx2AuTHdRyY036xxzTTrw10Wq3+4qQyB+XURPWx1ONxp3Y3pB37A=='
where id=<id from Stage 1>;

Hope that helps!

Rodrigo

Thanks to you both!

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Monday 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...

431 views 4 6
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