Running the Spotfire Server upgrade tool silently

As an alternative to running the upgrade tool interactively, you can run it silently using the command line.

Note: If Spotfire Server is set up to authenticate with the Spotfire database using Windows Integrated Authentication, it is important that you run the upgrade tool as the same user that Spotfire Server authenticates as. Otherwise, the upgrade tool will not be able to authenticate with the database.

Prerequisites

  • You have installed the new version of Spotfire Server.
  • You have a working backup of your Spotfire database.
  • If you are using LDAPS, and if the CA certificate is not included in the cacert file by default, you must import the CA certificate used to issue the LDAP server's certificate before running the upgrade tool. See Configuring LDAP.

Procedure

  1. Go to the following directory: <new version Spotfire Server install dir>/tools/upgrade.
  2. Open the silent.properties file in a text editor or XML editor.
  3. Follow the instructions in the file and specify the values of the parameters.
    The from parameter is the only parameter that you are required to specify.
  4. Save the silent.properties file.
  5. Open a command line.
  6. To see the parameters that the upgrade tool will use, do one of the following:
    • On Windows, type upgradetool.bat --h.
    • On Linux, type upgradetool.sh --h.
    The parameters are listed on the command line. Review the list of parameters and specify any that are applicable for your server.
  7. To run the upgrade tool silently, do one of the following:
    • On Windows, type upgradetool.bat --silent silent.properties.
    • On Linux, type upgradetool.sh --silent silent.properties.
  8. Press Enter.
    The upgrade tool runs silently.

What to do next

Start Spotfire Server