Help configuring bitbucket.properties

Stephanie Polito
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
February 5, 2018

I'm having issues configuring the bitbucket.properties file.  After performing a database migration from the evaluation DB to our MSSQL server, no shared\bitbucket.properties file nor a shared directory were created.

I attempted to create the file and shared folder myself, changing the owner to the atlbitbucket user account.  The problem is after restarting the bitbucket service, this file is not being used.  None of the configuration properties I enter are loaded.

I'm just trying to get bitbucket working over SSL, but cannot get the changes entered into the Atlassian\Bitbucket\5.7.0\shared\bitbucket.properties file to load.  Is there something I'm missing?

4 answers

0 votes
shan224
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
April 11, 2018

Fixed! I accidentally created the bitbucket.properties as a text file and the .txt extension was invisible. 

After removing the .txt extension, it worked fine

0 votes
shan224
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
April 11, 2018

I am having a similar issue with configuring SSL via the bitbucket.properties file.

I created bitbucket.properties file in shared/, however Bitbucket does not appear to be reading the file. Even with the below properties, bitbucket is still accessible via port 7990 after restarting the server

I am running the bitbucket server 5.9.1 on Windows 10. 

bitbucket.properties contents


server.context-path=/bitbucket
server.port=7443 # Jira is using 8443
server.secure=true
server.scheme=https
server.ssl.enabled=true
server.ssl.client-auth=want
server.ssl.protocol=TLSv1.2
server.ssl.key-store="path to my keystore"
server.ssl.key-store-password="mypass"
server.ssl.key-password="mypass"
server.require-ssl=true

 

0 votes
Stephanie Polito
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
February 6, 2018

Atlassian\Bitbucket\5.7.0\bin\set-bitbucket-home.sh

Seems the home directory is actually Atlassian\ApplicationData\Bitbucket

0 votes
Nic Brough -Adaptavist-
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.
February 5, 2018

You say no "shared" directories were created.  As this is a migration, I would not expect them to be created, but either moved or copied from the originals.  Could you explain what you "migrated"?

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events