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
Community showcase
Published Aug 21, 2018 in Bitbucket

Branch Management with Bitbucket

As a project manager, I have discovered that different developers want to bring their previous branching method with them when they join the team. Some developers are used to performing individual wo...

2,298 views 9 12
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