I follow these steps (link) to migrate bitbucket. I installed the new instance of bitbucket in the new machine copying the old bitbucket home and creating a new temp schema.
After that, I changed the connection string in bitbucket.properties to the database previously moved, but when I try to log in, an error appear: "The remote authentication server is not available. Please try again later". It's like bitbucket trying to log in with the older server. Any idea to solve it?