Forums

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

Change bitbucket's base URL

boudewijne
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!
August 21, 2019

Hi guys

 

Recently I updated my bitbucket5  server to bitbucket 6.5.1 and also changed the domainname from atlassian.domain1.nl to atlassian.domain2.nl  .

Jira and Confluence went along fine after reconfiguring the user server... but bitbucket still redirects me to the old domain.

Bitbucket mentions a base url mismatch, and I changed the base URL in the settings to the new URL. Afterwards I restarted bitbucket. This did not help, bitbucket still redirects me to atlassian.domain1.nl instead of atlassian.domain2.nl.

 

I also had a look in my bitbucket directory:

 

root@atlassian: 6.5.1# grep domain1.nl * -rin

returns no results.

I also changed it in the database, like mentioned in https://community.atlassian.com/t5/Bitbucket-questions/Change-Bitbucket-base-url-when-restoring-DIY-backup/qaq-p/690825

 

bitbucket=# select * from app_property;
prop_key | prop_value
---------------------------+---------------------------------------------------------------------------------
instance.application.mode | default
server.id | BHJW-GLLC-7ADT-T27R
instance.home | /var/atlassian/application-data/bitbucket/shared
setup.completed | true
last.os | LINUX
license | <ZIP>
logging.debug.enabled | true
profiling.enabled | false
last.licensed.user.count | 2
instance.name | Bitbucket
instance.url | https://atlassian.domain2.nl/bitbucket
locale | en_US
server.tz | Europe/Amsterdam
(13 rows)

 

 

What should I do next?

1 answer

1 accepted

1 vote
Answer accepted
boudewijne
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!
August 21, 2019

Nevermind, changing it in /var/atlassian/application-data/bitbucket/shared/bitbucket.properties resolved the issue.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events