Just a heads up: On March 24, 2025, starting at 4:30pm CDT / 19:30 UTC, the site will be undergoing scheduled maintenance for a few hours. During this time, the site might be unavailable for a short while. Thanks for your patience.

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

Update Confluence License using REST

Arnab Roy July 12, 2017

Hello Folks,

Could any of you have idea on how can we get the license key updated while confluence is freshly installed on a standalone server?

I'm planning to do it using PowerShell.

If it helps, can we add the license key directly to 'confluence.cfg.xml' to skip GUI configuration steps?

 

1 answer

1 vote
thais
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
March 13, 2018

Hi, Arnab,

From what I could gather, you'd like to update the licence key directly to 'confluence.cfg.xml' as a way to skip configuration steps. Is that correct?

We suggest you do not do it for this purpose, as basically manually change the license directly in confluence.cfg.xml should be used for reasons such as upgrades are failing, the license is corrupted and cannot be changed in the Confluence UI.

From How to change the Confluence License in confluence.cfg.xml, please note that some versions of Confluence do not even require a hashed license. In these versions, you simply need to edit the confluence.license.messageproperty.

In order to know if your version needs the hash, you can check whether the line <property name="atlassian.license.hash" is present in the confluence.cfg.xml

Cheers!

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events