Forums

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

Can not find bitbucket server.xml file?!

Alexander Danilenko April 2, 2019

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

1 vote
Amith Mathur {Appfire}
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.
April 2, 2019

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

0 votes
Tobias Plagge
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!
July 23, 2019

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?

0 votes
Baztheman June 10, 2019

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

Suggest an answer

Log in or Sign up to answer
TAGS
atlassian, team ’25 europe, virtual access, catch team 25 virtually, anytime anywhere, hybrid event, atlassian conference, atlassian learning, ai teamwork, remote attendance, digital access pass, keynote livestream, product announcements, community events

Register for free Team '25 Europe digital access

Get your free all-access digital pass and don’t miss groundbreaking announcements, brand new features and product updates, insight-packed sessions, and exclusive digital content.

Sign up
AUG Leaders

Upcoming Jira Events