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
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Piotr Plewa
Published Dec 27, 2017 in Bitbucket

Recipe: Deploying AWS Lambda functions with Bitbucket Pipelines

Bitbucket Pipelines helps me manage and automate a number of serverless deployments to AWS Lambda and this is how I do it. I'm building Node.js Lambda functions using node-lambda&nbsp...

1,758 views 1 5
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