Authentication failed error getting for Bitbucket internal directory user

Our Bitbucket Version is 4.9.1


After migrating Bitbucket from windows to linux, when we tried to login the console using Bitbucket internal directory user, we are getting authentication failed.



We are sure that the account which is created was a bitbucket internal direcory user only and same we can login with the PROD one now also.


How we can resolve this issue in Linux setup

1 answer

Hi! Did you give that user the right permissions as per Migrating Bitbucket Server to another server:

Make sure you have created a user in Bitbucket Server (not in your external user directory) that has System Administrator global permissions so as to avoid being locked out of Bitbucket Server in case the new server does not have access to your external user directory.

As you're already getting the error, that might not be useful now, but is good to keep it in mind for future migrations. In your case, I'd recommend you to follow Lockout recovery process.

Let us know if this helped you!

Best regards,


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...

24,105 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