Upgrading from a Previous Version

The Squore installation package can be used to upgrade an existing Squore installation from Squore 2012-A-SP6.

When an installation is upgraded, the following happens:

Warning

  • Folders inside the installation directory are deleted during an upgrade, including the default tmp, data, cluster and backup folders. Before you attempt to upgrade Squore, run a full backup of your data (and move it outside <INSTALLDIR>) using the provided backup scripts described in the section called “Backing-Up the Squore Installation”

  • On Linux, if you used the -x and/or -s parameters in your initial installation or if you manually edited the value of shared memory or java Xmx parameters after installing, you must pass -x and/or -s on the command line for the upgrade as well, as they are not read from the previous installation. For more details on install options, refer to install(1).

  • The file postgresql.conf in your database cluster is patched during the upgrade process. If you have modified it manually, create a backup copy before upgrading and verify that the migrated file still contains your modifications.

  • Ensure that the server and the database are shut down before continuing.

On Windows

Follow these steps to upgrade your Windows installation.

  1. Run the Windows installer.

  2. Click the Next > button to get to the Licence Agreement screen.

  3. Click the Next > button to get to the Destination Folder screen.

  4. Browse for the folder containing the old installation and click the Next > button.

  5. On the Upgrade Choice screen, select Override to delete the existing installation and start from scratch (all your data is lost) or Upgrade to upgrade your existing installation to the new version, then click the Next > button.

    The Upgrade Choice screen

  6. Wait while the installer retrieves the settings to apply to the upgrade and displays them on the Summary screen, and click Install.

    The Summary screen

  7. Wait for the upgrade process to complete and close the wizard by clicking on Finish.

    The Installation Complete screen

On Linux

Follow these steps to upgrade your Linux installation.

  1. Download the Linux installation package.

  2. Extract the archive by running the command:

    cd /tmp

    /usr/bin/tar xjf squore-server-linux-*.tar.bz2

  3. Run the upgrade by executing:

    cd /tmp/squore-server/bin

    ./install [options...] -U /path/to/old/installation