Unattended installation

If you've previously installed JIRA using the Windows or Linux installer, you can use a configuration file from your existing JIRA installation ( response.varfile ) to re-install JIRA in unattended mode, no user input required.

This can be useful when you have installed JIRA on a test server and are ready to install on your production server with the same configuration. 

Good to know

  • The response.varfile file contains the options specified during the installation wizard steps of your previous JIRA installation. Don't uninstall your previous JIRA installation until after you've copied this file to your new install location.
  • If you decide to modify the response.varfile file, make sure all directory paths specified are absolute, for example, sys.installationDir=C\:\‌\Program Files\\Atlassian\‌\jira  
    (Windows) or sys.installationDir=/opt/atlassian/jira (Linux). 

    Unattended installations will fail the file contains relative directory paths.  

Install a JIRA application in unattended mode

  1. Download the appropriate installer for your operating system.
     
  2. Copy <installation-directory>/.install4j/response.varfile from your existing JIRA installation to where you downloaded the installer. 
     
  3. In command prompt or terminal change directory (cd) to where you downloaded the installer. 
     

  4. Run the following command to install JIRA:

    Windows
    > atlassian-jira-software-X.X.X-x64.exe -q -varfile response.varfile
    Linux
     $ atlassian-jira-software-X.X.X-x64.bin -q -varfile response.varfile


    Where jira-software.X.X.X is the JIRA version you downloaded. 

    -q instructs the installer to run in unattended mode (quietly).  -varfile specifies the location and name of the configuration file containing the options used by the installer.  
     

  5. JIRA will start automatically once the silent installation finishes. 
     

Finally, head to http://localhost:<port> to finish setting up JIRA. 

See the Set up a JIRA application section on Installing JIRA applications on Windows or Installing JIRA applications on Linux for more info. 

Was this helpful?

Thanks for your feedback!

Why was this unhelpful?

Have a question about this article?

See questions about this article

Powered by Confluence and Scroll Viewport