Hello JIRA Users,
I am trying to apply the JIRA license contents in an automated way without manually inputting it from the First time JIRA setup within the UI once JIRA is started.
Is there a way to apply the license file in the JIRA home directory - which file name /location etc will this file be saved at. Where exactly is the license key stored within JIRA.
-G
To correct C. Faysal:
select id from propertyentry where property_key = 'License20';
Now you can update the property, just replace the placeholders:
update propertytext set propertyvalue = #{license_key} where id = #{jira_license_prop_id};
Thank you! This helped me so much when my JIRA didn't want to run after an upgrade to 6.2.1 :-)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I've not seen Jira install the licence as a file. But you can poke it into the database.
(Sadly I can't remember where, it's been a while since I scripted it into a failover system - I'm pretty sure it's one of the propertyentry rows, but I'm not certain)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The only way I have been able to achieve this is by doing the entire install one time, say on a test box (including clicking around the wui) to obtain the fully formed response.varfile and to populate all of the needed XML files. Then I just wrote a bash script which performs the very same install using that "response.varfile" along with a copy the "dbconfig.xml" which was previously created.
Perform install w/response.varfile
Stop jira
Copy over dbconfig.xml to "jira data" directory
Verify permissions
Restart jira.
$!BOOM
With that that formula I am able to kickstart a fully usable jira box without touching the keyboard. I will note that this method "may" cause issues with licensing down the road, but if you are in a heavy dev-env which may involve flipping these installs like hotcakes then this might work for you.
Still working on combing this w/ the ~/bin/config.sh to setup https out the gate.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
here you go:
update propertytext set propertyvalue = '$jira_license' where ID = '10021'"
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.