Forums

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

Creating a staging environment

Karl Pfeil March 27, 2018

In the documentation Creating a staging environment for upgrading Confluence - under #3 Replicate Confluence - step #5 Start Confluence with the following .. where do you edit?

-Datlassian.notifications.disabled=true
-Datlassian.mail.senddisabled=true 

 Also under #3 Replicate Confluence - My current confluence is a VM, VMware with a Simplivity host. If I were do a restore from a backup turn off the current and power on the restored VM - different name. Could I just edit the confluence-init. properties and the confluence.cfg.xml, edited the base URL, license will be the same, and check system information. Would this work? Of course I would have backed up the DB and restored with another name. But I would still need to stop the send notification from my first question.

1 answer

0 votes
Jobin Kuruvilla [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.
March 27, 2018

Check out https://confluence.atlassian.com/doc/configuring-system-properties-168002854.html on how to give the additional properties on startup.

I didn't fully get the second part of the question but, yes, you can edit the base url to point to the new url.

Karl Pfeil March 28, 2018

So ad just add it - See last two lines: does this need to be at the end? - ${CATALINA_OPTS}

# Set the JVM arguments used to start Confluence. For a description of the options, see
# http://www.oracle.com/technetwork/java/javase/tech/vmoptions-jsp-140102.html
CATALINA_OPTS="-XX:-PrintGCDetails -XX:+PrintGCDateStamps -XX:-PrintTenuringDistribution ${CATALINA_OPTS}"
CATALINA_OPTS="-Xloggc:$LOGBASEABS/logs/gc-`date +%F_%H-%M-%S`.log -XX:+UseGCLogFileRotation -XX:NumberOfGCLogFiles=5 -XX:GCLogFileSize=2M ${CATALINA_OPTS}"
CATALINA_OPTS="-XX:G1ReservePercent=20 ${CATALINA_OPTS}"
CATALINA_OPTS="-Djava.awt.headless=true ${CATALINA_OPTS}"
CATALINA_OPTS="-Datlassian.plugins.enable.wait=300 ${CATALINA_OPTS}"
CATALINA_OPTS="-Xms1024m -Xmx1024m -XX:+UseG1GC ${CATALINA_OPTS}"
CATALINA_OPTS="-Datlassian.notifications.disabled=true"
CATALINA_OPTS="-Datlassian.mail.senddisabled=true"

Jobin Kuruvilla [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.
March 28, 2018

Something like this:

CATALINA_OPTS="-Datlassian.notifications.disabled=true -Datlassian.mail.senddisabled=true ${CATALINA_OPTS}"
Karl Pfeil March 28, 2018

Thanks. Now the next step #6 - Head to http://localhost:<port> does not seem to work. I must be missing something?

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events