Hi,
I am trying to automate the installation of Jira using puppet. I am writing a custom module. The plan is to reinstall Jira unattened using, response.varfile. Currently the database won't be touched. Just make sure that if any file is missing, reinstall Jira. My understanding was that once you reinstall Jira and restore dbconfig.xml, jira will be restored, But that is not the case. It is still asking for the database setup through the following page, http://localhost:8080/secure/SetupMode!default.jspa
Is it possible to skip the setup wizard after the database restore and directly logon to the Jira instance and see the projects earlier created?
Please let me know if there is a solution for this.
Thanks
Hi,
I see that you are looking to automate a restoration process of Jira. It is true that the database settings Jira has are kept within the $JIRAHOME/dbconfig.xml. However a fresh installation of Jira won't automatically know where the $JIRAHOME/ directory is.
Take a look at the Jira Server Important directories and files for some more information on this topic. From that page:
<jira-application-dir>/atlassian-jira/WEB-INF/classes/jira-application.properties
This file tells Jira where to find the Jira application home directory.
Be aware that your Jira home directory defined in this file can be overridden. See Setting your Jira application home directory for more information.
When Jira starts up, if the application.properties defines the $JIRAHOME directory, and that directory has a dbconfig.xml file with a Jira database, then Jira can startup directly with that data. But if the database is empty, dbconfig.xml is missing, or $JIRAHOME is not defined, then yes Jira will start the setup wizard instead.
I hope this helps.
Andy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.