Hello Team,
Recently my bitbucket DB's connection (I.P.) has been updated and I had not update the new IP until recently I tried to access bitbucket again and I got this error message (see below). Is there any way I can go back and update the new DB IP?
Error message.....:
The following problem occurred, which prevents Atlassian Bitbucket from starting:
Hi Joe,
If the address of the database server needs to be changed, you can update the jdbc.url in bitbucket.properties (see https://confluence.atlassian.com/bitbucketserver/bitbucket-server-config-properties-776640155.html) and restart Bitbucket Server.
Cheers,
Christian
Premier Support Engineer
Atlassian
do you have any examples on bitbucket.properties file I can follow? I don't have bitbucket.properties or maybe I can't find it. when I look at the example from the URL you provided I found jdbc.url but unsure what is the proper format I should code it in. Thank you~
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Joe,
bitbucket.properties should be located in <BitbucketHome>/shared - unless you're using the internal database instead of an external database (which it doesn't sound like you do) you will have the file there.
Cheers,
Christian
Premier Support Engineer
Atlassian
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Christian,
Thanks. I just tried to create the bitbucket.properties file and included a link like "jdbc.url=jdbc:sqlserver://210.184.xx.xxx;instanceName=MSSQLSERVER;databaseName=bitbucket;"
and I got this message:
Atlassian Bitbucket - Fatal Error
The following problem occurred, which prevents Atlassian Bitbucket from starting:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Did you put in the credentials and driver type as well?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Nic,
It resolved my issue by adding the credentials and drive type. Thank you both Christian and Nic.
Just to conclude what I've done to make it work:
I did some further research online and found this examples:
https://confluence.atlassian.com/bitbucketserverkb/connecting-to-named-instances-in-sql-server-from-bitbucket-server-779171681.html (This is useful as well)
https://confluence.atlassian.com/bitbucketserver/bitbucket-server-config-properties-776640155.html?_ga=2.99877975.894723510.1521771847-964212039.1448591858 (I followed this link provided by Christian)
1) I created a file (bitbucket.properties (without extension) ) under the home path of bitbucket: C:\Atlassian\ApplicationData\Bitbucket\shared
2) Then added the following 4 lines
jdbc.driver=com.microsoft.sqlserver.jdbc.SQLServerDriver
jdbc.url=jdbc:sqlserver://xxx.xxx.xxx.xx;instanceName=MSSQLSERVER;databaseName=bitbucket;
jdbc.user=bitbucketuser
jdbc.password=bitbucketuser
3) stopped bitbucket server
4) started bitbucket server
Hope this help whoever I can...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.