Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

I have migrated BitBucket Server to another server and it hangs at Migrating home directory

David Head May 29, 2018

I have set the database password in bitbucket.properties. The line looks like this:

sqlserver://localhost:1433;databaseName=BitBucket;
jdbc.user=sajdbc.password=

I'm not sure which user the sajbdc user translates to so I'm not sure which password to use.

2 answers

0 votes
David Head May 29, 2018

Hi Yogesh,

Oops, wrong panel - sorry.

Dave

0 votes
Yogesh Mude
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 29, 2018

Hi @David Head

Here you need to provide the Database username and password which you have been provided while creating Database.

David Head May 29, 2018

Hi Yogesh,

Thanks for the response. However, I'm still a bit confused. I created the database myself in SQL Server Management Studio (actually, i moved it from the other server), and the username and password didn't match what was in the old bitbucket.properties file at all. Further, I never have created or seen the sajdbc username in any context other than this file. I tried changing the username and password in the file to what I see in Management Studio, but then I get a message that BitBucket can't access the database.

Dave

Yogesh Mude
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 29, 2018

HI @David Head

In application data dir bitbucket.properties file only contains the database details once you migrated bitbucket server to another server before starting the bitbucket server you need to change the database details.

Stop the bitbucket server then check the database details in your SQL server and then try to change in the properties file then start it.

David Head May 31, 2018

Hello Yogesh,

Thanks for your suggestions. The problem turned out to be a corrupted bitbucket.properties file. The name and password were merged together. The file came from the previous BitBucket installation, but somehow didn't make it over intact.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events