A couple of months ago, I was trying to connect my Bitbucket server to an LDAP server on my network. This was just a test as I had never set up an LDAP server before this so I was trying to see what the process was like. I forgot to delete the LDAP connection and now when I try to log in to my Bitbucket server with the admin account I created during the initial install, it won't let me log in and has the error "Remote Authentication server is unavailable. Please try again later."
Doing my own research, I realize that i may have put my LDAP Authentication above the Internal User Directory which I assume is why it's trying to use the LDAP authentication over an internal account. I confirmed this by trying the Lockout Recovery solution found here: https://confluence.atlassian.com/bitbucketserver/lockout-recovery-process-776640158.html#:~:text=Start%20Bitbucket%20manually%20by%20running,Repair%20your%20configuration.
When running the start-bitbucket.bat file, the command prompt titled "Bitbucket Server" never continues after a certain point. However, with this command prompt open, I started the Atlassian Bitbucket service and tried to login with both the recovery_admin and my bitbucket admin account and I was able to capture the authentication log using LDAP in the command prompt.
I also would like to point out that I do have a Jira server as well and I used to have an Application Link pointed to the Bitbucket server. However, the Bitbucket server's IP address changed, so I edited the Application Link to the correct IP address and I still wasn't able to login incase that was what was causing the issue as found here: https://community.atlassian.com/t5/Bitbucket-questions/The-remote-authentication-server-is-not-available-Please-try/qaq-p/611224 but did not work.
The other solution i tried was accessing my Postgre SQL database and running
update cwd_directory set active='T' where id=32769;
found here: https://confluence.atlassian.com/bitbucketserverkb/cannot-login-to-bitbucket-server-using-external-user-account-after-moving-jira-crowd-server-779171395.html
This did not work either as it said "active" is not a column in "cwd_directory".
If all else fails, I will have to install a new Bitbucket instance from scratch and figure out a way to migrate the repositories to the new server instance which I would like to try and avoid.