Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Can not find bitbucket server.xml file?!

I have Debian 9 as my OS. I have jira installed and running on my system. i have installed bitbucket by using ./atlassian-bitbucket-6.1.3-x64.bin command. I wanted to enable ssl connection for bitbucket however i can not find server.xml . As far as i can understand full path to this file should look like this:

/var/atlassian/application-data/bitbucket/shared/server.xml

Here is the listing of this directory:

root@mail:/var/atlassian/application-data/bitbucket/shared# ls -la
total 28
drwxr-xr-x 6 atlbitbucket atlbitbucket 4096 апр 3 02:28 .
drwxr-xr-x 11 atlbitbucket atlbitbucket 4096 апр 3 03:20 ..
drwxr-xr-x 4 atlbitbucket atlbitbucket 4096 апр 3 01:10 config
drwxr-xr-x 8 atlbitbucket atlbitbucket 4096 апр 3 02:28 data
-rw-r--r-- 1 atlbitbucket atlbitbucket 23 апр 3 02:28 .lock
drwxr-xr-x 3 atlbitbucket atlbitbucket 4096 апр 3 01:10 plugins
drwxr-xr-x 4 atlbitbucket atlbitbucket 4096 апр 3 01:09 search
root@mail:/var/atlassian/application-data/bitbucket/shared#

root@mail:/var/atlassian/application-data/bitbucket/shared# ls -la config/
total 16
drwxr-xr-x 4 atlbitbucket atlbitbucket 4096 апр 3 01:10 .
drwxr-xr-x 6 atlbitbucket atlbitbucket 4096 апр 3 02:28 ..
drwxr-xr-x 3 atlbitbucket atlbitbucket 4096 апр 3 03:23 git
drwxr-xr-x 2 atlbitbucket atlbitbucket 4096 апр 3 01:12 upgrades
root@mail:/var/atlassian/application-data/bitbucket/shared#

Would you please tell me why i can not find server.xml configuration f9le?

 

3 answers

Hi @Alexander Danilenko

If you are installing it for the first time then you need to update it in the bitbucket.properties file located at <Bitbucket home directory>/shared/ folder. 

Please review these links for the same and you can configure the SSL for the Bitbucket instance. 

Thanks,
Amith Mathur

Hi, 

I have installed Bitbucket (BB) for the first time by using the .bin package. Seems like a user "atlbitbucket" and /var/atlassian/application-data are being created. Originally, I have created a user "bitbucket" for the initial tar.gz installation but failed and i dont think it is being used anymore.

I am trying to change the default port to 80 and I cannot find server.xml or bitbucket.properties anywhere.

Please help.

Thank you.

Barry

 

root@bitbucket:~# ls -la /var/atlassian/application-data/bitbucket/shared/

total 28

drwxr-xr-x  6 atlbitbucket atlbitbucket 4096 Jun  7 13:36 .

drwxr-xr-x 12 atlbitbucket atlbitbucket 4096 Jun 10 11:45 ..

drwxr-xr-x  5 atlbitbucket atlbitbucket 4096 Jun  7 13:30 config

drwxr-xr-x  8 atlbitbucket atlbitbucket 4096 Jun  7 13:36 data

-rw-r--r--  1 atlbitbucket atlbitbucket   15 Jun  7 13:36 .lock

drwxr-xr-x  3 atlbitbucket atlbitbucket 4096 Jun  7 13:30 plugins

drwxr-xr-x  4 atlbitbucket atlbitbucket 4096 Jun  7 13:30 search

root@bitbucket:~# ls -la /opt/bitbucket/shared

total 24

drwxrwxr-x  6 bitbucket bitbucket 4096 Jun  7 12:37 .

drwxr-xr-x 14 bitbucket bitbucket 4096 Jun  7 13:30 ..

drwxrwxr-x  5 bitbucket bitbucket 4096 Jun  6 14:41 config

drwxrwxr-x  8 bitbucket bitbucket 4096 Jun  7 12:37 data

drwxrwxr-x  3 bitbucket bitbucket 4096 Jun  6 14:40 plugins

drwxrwxr-x  4 bitbucket bitbucket 4096 Jun  6 14:40 search

root@bitbucket:~# ls -la /opt/atlassian/bitbucket/6.3.2/

total 96

drwxr-xr-x 11 atlbitbucket atlbitbucket  4096 Jun  7 13:29  .

drwxr-xr-x  3 root         root          4096 Jun  7 13:29  ..

drwxr-xr-x  7 atlbitbucket atlbitbucket  4096 Jun  7 13:29  app

drwxr-xr-x  2 atlbitbucket atlbitbucket  4096 Jun  7 13:29  bin

drwxr-xr-x  8 atlbitbucket atlbitbucket  4096 Jun  7 13:29  elasticsearch

drwxr-xr-x  3 atlbitbucket atlbitbucket  4096 Jun  7 13:30  .install4j

-rw-r--r--  1 atlbitbucket atlbitbucket   127 Jun  5 01:36 'Launch Bitbucket in browser.url'

drwxr-xr-x  3 atlbitbucket atlbitbucket  4096 Jun  7 13:29  lib

drwxr-xr-x  2 atlbitbucket atlbitbucket 49152 Jun  7 13:29  licenses

drwx------  2 atlbitbucket atlbitbucket  4096 Jun  7 13:29  logs

-rw-r--r--  1 atlbitbucket atlbitbucket  2601 Jun  5 01:36  README.txt

drwx------  2 atlbitbucket atlbitbucket  4096 Jun  7 13:29  temp

drwx------  2 atlbitbucket atlbitbucket  4096 Jun  7 13:29  work

Hello friends,

i have a same problem.
I have fresh install BitBucket and I cannot find the server.xml .
I use the default installation directory /var/atlassian/application-data/product

Is there already a solution?

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Jira Software

How to create Jira issus from Excel file?

When to use CSV importer When managing your processes in Jira, there are many occasions where you need to create a lot of tasks. Creating them one by one will cost you a lot of time and effort and i...

4,349 views 22 31
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you