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

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

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

How to change Jira 7.11 base URL without web interface after cloning VM?

I am running Jira Server 7.11 on Linux in Amazon with MySQL. The webserver and database are running on separate EC2 instances.

The production deployment of Jira server runs on the URL https://jira.mydomain.net and I want to clone it into a test deployment that runs on the URL https://jira-beta.mydomain.net .

In preparing to test the upgrade process, I created AMI images of the webserver instance and the DB instance, and spun up new instances based on these images. The database comes up fine; tomcat on the webserver comes up and connects to the database after editing /opt/var/atlassian/application-data/jira/dbconfig.xml to reflect the new database location/IP.

Upon startup, the test instance still appears to be trying to connect to itself at "https://jira.mydomain.net" as reported in /opt/atlassian/jira/logs/catalina.out - but this times out, as expected (thankfully). The web interface is, of course, unavailable.

How do I convince this newly cloned Jira deployment that its base URL is actually https://jira-beta.mydomain.net?

1 answer

1 accepted

1 vote
Answer accepted
update propertystring, propertyentry set propertystring.propertyvalue = 'https://jira-bet.mydomain.net' where propertystring.ID = propertyentry.ID and propertyentry.PROPERTY_KEY = 'jira.baseurl';

is how you do it in on-prem Jira. 

Success! Thank you. Is this referenced anywhere in the Jira documentation?

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
TAGS

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