Geocortex Essentials Upgrading

Upgrading installs the same components in the same location as the existing installation.

If your Geocortex system has two or more servers and you are upgrading from a version of Essentials that is older than 4.6, your current deployment environment may require infrastructure changes. The Knowledge Base article Start Here: Upgrading to Geocortex Analytics 1.1 or Geocortex Essentials 4.6 describes the supported deployment scenarios and provides instructions for upgrading your current deployment to a supported deployment.

Note that this Knowledge Base article also applies to upgrading to newer versions than Analytics 1.1 and Essentials 4.6. Specifically:

If your Geocortex system has only one server, you can follow the instructions in this documentation to perform the upgrade.

If you are upgrading Essentials from version 4.3.x or 4.4.x directly to 4.7, the collaboration feature does not work as intended. To avoid this situation, you need to upgrade first to Essentials 4.5 and then to Essentials 4.7.

Geocortex Essentials is not engineered to automatically upgrade load-balanced deployments. Manual steps may be required to upgrade Essentials in a load-balanced, multi-server environment. If you need help upgrading a multi-server deployment, contact Geocortex Support. The time required to complete the upgrade depends on the complexity of your environment. Please ensure that you have adequate Support hours available.

Geocortex Core 3.1 and newer offer a number of benefits over older versions of Core. Upgrading to Essentials 4.6 or newer automatically upgrades to Core 3.1 or newer. However, if you want to continue to run an older version of Essentials, you can upgrade to Core 3.1 or newer without upgrading Essentials.

Upgrading Essentials and the HTML5 Viewer

You can upgrade Essentials and the HTML5 Viewer independently—you can upgrade only Essentials, or only the Viewer, or both Essentials and the Viewer. To use certain features, you may have to upgrade both Essentials and the viewers.

For best results, we recommend upgrading both Essentials and the HTML5 Viewer.

To find out the Essentials version that Geocortex Viewer for HTML5 2.12 works with best, see the Geocortex Essentials Requirements in the Geocortex Viewer for HTML5 documentation.

If you customized the viewer by modifying its CSS files, be sure to back up the files before upgrading to version 2.10 or newer. Customized viewer CSS files should be located in a Resources\Styles\Custom directory to ensure that they are not overwritten during an upgrade. For more detailed information, see Customizing the Viewer in the Shells module description in the Geocortex Viewer for HTML5 Help.

Upgrade Essentials

To upgrade Essentials, you run the installer for the version that you want to upgrade to. The installer will detect your existing installation and offer to perform an upgrade instead of a new installation.

After the installer finishes, you must run the Post Installer. This allows the Post Installer to update the web configuration.

Usually you do not have to restart the server after upgrading. In rare cases, you may have to restart the server for the upgrade to complete.

To upgrade Essentials:

Step 1: Before You Begin

  1. Download the Essentials installer for the version of Essentials that you want to upgrade to.

    For instructions, see Download Geocortex Essentials.

  2. Read Essentials Versions that Require Additional Steps to find out if you need to perform any additional steps before you begin the upgrade. Perform any additional steps that must be done before you begin the upgrade.

Step 2: Run the Essentials Installer

If you are upgrading from Essentials versions 4.3.x, 4.4.x, or 4.5.x, the installer may encounter a permissions error which stops the upgrade from completing. To fix this, reset IIS. For more information and instructions on resetting IIS, see Insufficient Privileges Error when Upgrading Essentials 4.3.x, 4.4.x, or 4.5.x.

  1. Run the Essentials installer.

    The installer is Geocortex Essentials [version].msi, where [version] is the version of Essentials that you want to upgrade to.

    The Geocortex Essentials Setup Wizard launches. The Welcome panel indicates that the installer will upgrade the existing installation of Essentials.

    Welcome panel with message about upgrading

  2. If you want to upgrade a named instance of Essentials:

    1. Click Options.

    2. Select Upgrade an existing instance of Geocortex Essentials.

    3. Select the instance that you want to upgrade from the drop-down list.

    4. Click Next.

      The installer restarts with its window title containing the name of the instance to upgrade in brackets.

  3. Click Next.

  4. Read the license agreement.

  5. If you agree to the terms, select the I accept the terms in the License Agreement checkbox and click Next.

  6. Click Install.

  7. When the installer completes, make sure the Launch Post Installation Configuration checkbox is selected, and then click Finish.

    You must run the Post Installer and click Finish at least once after upgrading Essentials.

Step 3: Configure the Post Installer

The Post Installer performs a number of different functions, including updating IIS and upgrading Geocortex Core. If you are upgrading from a version of Essentials that is older than 4.6, the Post Installer will launch the Geocortex Core installer to get some information about your server.

If you are upgrading from a version of Essentials that is older than 4.6 and your Geocortex system has two or more servers, you should be following the upgrade instructions in the Knowledge Base article Start Here: Upgrading to Geocortex Analytics 1.1 or Geocortex Essentials 4.6. The following instructions apply only to single-server deployments.

  1. If you are upgrading from a version of Essentials that is older than 4.6:

    The Core installer launches.

    1. Click Next on the Core installer's Welcome panel.

      The Configure Cluster Information panel opens.

      Configure Cluster Information panel in the Geocortex Core installer

    2. Make sure I want to create a new cluster is selected.

      Even though you only have one server, the server must be in a cluster. The Cluster Name box shows the name of the cluster. You cannot change the cluster name during the Core upgrade.

    3. Enter a secret into the Shared Secret box.

      The secret can contain letters and numbers.

      Keep a record of the cluster name and shared secret. If you ever add another server to your system, you will need to know the cluster name and shared secret to join the new server to the cluster. The secret acts as a password.

    4. Click Next.

    5. Click Install.

    6. When the Core installer completes, click Finish.

      The Post Installer opens.

  2. In the Post Installer, click Finish.

  3. Follow the instructions to close the Post Installer.

Step 4: Perform Additional Steps

  1. Continue at Essentials Versions that Require Additional Steps.

    Usually, your custom files such as sites, viewers, and projects, are upwardly compatible—after you upgrade the software, the old files still work. Occasionally, improvements to the software break upward compatibility. In this case, you may have to perform some additional steps to complete the upgrade.

Essentials Versions that Require Additional Steps

Depending on the version that you are upgrading from, you may have to perform one or more additional steps when you upgrade Essentials. For example, you may have to update a feature's configuration to make the feature work in the new version of Essentials, or you may have to manually update the IIS configuration so Essentials can take advantage of improvements to IIS. For some versions, you do not have to perform any additional steps.

The list below lists the versions of Essentials that may require additional steps when you upgrade to Essentials 4.11. Scan the list to determine which steps apply to you, if any. To find out more about a step, click the link. Note that you may have to perform more than one of the steps in the list.

Upgrading from the following versions may require additional steps:

See also...

Insufficient Privileges Error when Upgrading Essentials 4.3.x, 4.4.x, or 4.5.x

Upgrade Essentials from a Version that is Older than 4.6

If you use Instant Search and you upgraded from Essentials 4.5.x or older, your Instant Search index has been deleted. To continue to use Instant Search, you must rebuild the index. For instructions, see Build the Instant Search Index.

Upgrade Essentials from a Version that is Older than 4.5

In versions prior to Essentials 4.5, related table data automatically appeared in the HTML5 Viewer. As of Essentials 4.5, you can now explicitly choose which tables of a map service to include. By default, when a map service is added to a map, all of its tables are included. However, for existing map services, you must manually add the tables.

To add a table to an existing map service:

  1. In Manager, edit the site that you want to configure, and then click Map in the side panel.

  2. Edit the map service that contains the table.

  3. Click the Add/Remove Tables tab.

  4. To include one or more tables, select the tables in the Excluded Tables column, and then click the » button.

    To exclude one or more tables, select the tables in the Included Tables column, and then click the « button.

    To select multiple tables, hold the Ctrl key down while selecting tables.

  5. Click Submit Layer Changes.

For more information, see ArcGIS Tables.

Upgrade Essentials from a Version that is Older than 4.3

Starting in Essentials 4.3, Date Picker form items in workflows return a System.Nullable<System.DateTime> result, instead of a System.DateTime. If you have older workflows that use System.DateTime output arguments for Date Pickers, the workflows will continue to work as before, as long as you do not modify the form in Workflow Designer. Modifying the form changes the output argument's type to System.Nullable<System.DateTime>. You may have to update your workflow to work with the new output type.

To prevent future problems, you may want to update all your forms and workflows to use System.Nullable<System.DateTime> Date Picker results. This saves you from having to remember to do it later, when you change a form.

Upgrade Essentials from a Version that is Older than 4.2

If you are upgrading from a version of Essentials that is older than 4.2, there are several additional steps that you must take:

Upgrade Essentials from a Version that is Older than 3.15

Depending on the upgrade history of your Essentials installation, upgrading may overwrite the Essentials REST and Manager Web.config files. If you are upgrading from a version that is older than 3.15, you will have to make backups of the old Web.config files and then manually copy your changes to the new Web.config files after upgrading. If you are upgrading from Essentials 3.15 or newer, the installer is capable of automatically carrying forward modifications from the old Web.config files to the new Web.config files.

To manually upgrade your Web.config files:

Step 1: Back Up the Web.config Files

You must do this before you upgrade Essentials.

  1. If you are upgrading from a version of Essentials that is older than 3.15, and you have modified one or both of the Web.config files, make backups of the modified files.

    The Web.config files are:

Step 2: Carry Forward your Web.config Customization

Do this after you upgrade Essentials.

  1. Run a text editor as an administrator.

  2. Open the backup copy of the Web.config file and the upgraded version of the Web.config file in the text editor.

  3. Copy your modifications from the backup file to the corresponding position in the upgraded file.

  4. Save the upgraded file.

  5. Repeat these steps for the other Web.config file, if it also has modifications that you want to carry forward.

Upgrade Essentials from a Version that is Older than 3.6

Before version 3.6, all Essentials web applications ran in 32-bit application pools in Classic mode. Upgrading Essentials does not update the application pools. If you upgrade from a version of Essentials that is older than 3.6, we recommend that you use 64‑bit Integrated application pools unless you have a specific reason to use some other mode.

Upgrade Essentials from Version 3.x

If you have one or more 3.x sites that are secured, you must take additional steps to carry forward your security configuration. For instructions, see the Geocortex Knowledge Base article "Upgrade Security in Essentials from 3.x to 4.x".

Insufficient Privileges Error when Upgrading Essentials 4.3.x, 4.4.x, or 4.5.x

If you are upgrading from Essentials versions 4.3.x, 4.4.x, or 4.5.x, the installer may encounter a permissions error which stops the upgrade from completing. The installer displays a dialog that contains this text:

The installer has insufficient privileges to access this directory: [path to your REST\bin folder]. The installation cannot continue.

If you click Cancel, your Essentials instance is not upgraded and is rolled back to its previous state. You may still be unable to access the REST\bin folder—when you browse to the folder in the file system, it cannot be accessed, and the permissions cannot be changed.

If you experience this issue, you can regain access to the REST\bin folder by resetting Internet Information Services (IIS). After resetting IIS, retry upgrading.

Reset IIS

To reset IIS:

  1. Open the Windows Command Prompt as an administrator.

    1. Press WINDOWS + S and search for "CMD".

    2. Right-click Command Prompt.

    3. Choose Run as Administrator from the context menu.

  2. Enter iisreset at the prompt.

    IIS attempts to stop and restart itself.

Upgrade to Core 3.1 or Newer Without Upgrading Essentials

We recommend that you upgrade your Geocortex Core version to 3.1 or newer to take advantage of its new features. Upgrading to Essentials 4.6 or newer automatically upgrades Core to 3.1 or newer. If you want to keep an older version of Essentials, you can upgrade Core without upgrading the Essentials instance that uses it.

The process of updating Geocortex Core differs depending on the version of Geocortex Essentials that you are using currently. It is easier to upgrade Core if you are using Essentials 4.6 than it is to upgrade Core if the version of Essentials is 4.4 or 4.5. The reason for this is that the 4.4 and 4.5 versions of Core require that you run the Geocortex Essentials Legacy Version Compatibility Tool in order to update key files needed to make Essentials compatible with the new Core.

Upgrade to Core 3.1 or Newer but Keep Essentials 4.6

If you use Analytics:

  1. On the server with Essentials, install or update the Analytics Hub or Agent.

    The installation or update automatically updates the existing Core installation and nothing further is required.

If you do not use Analytics:

  1. Install Geocortex Essentials 4.7 alongside the old version of Essentials on the server.

    Geocortex Core is automatically updated to version 3.1 during this installation.

    Do NOT upgrade Essentials. Install the new version beside the old.

  2. Uninstall Essentials 4.7.

Upgrade to Core 3.1 or Newer but Keep Essentials 4.4 or 4.5

If you use Analytics:

  1. On the server with Essentials, install or update the Analytics Hub or Agent.

    The installation or update automatically updates the existing Core installation.

  2. Run the Geocortex Essentials Legacy Version Compatibility Tool for each instance of Essentials that is older than 4.6 on the server.

If you do not use Analytics: 

  1. Install Geocortex Essentials 4.7 alongside the old version of Essentials on the server.

    Geocortex Core is automatically updated to version 3.1 during the installation.

    Do NOT upgrade Essentials. Install the new version beside the old.

  2. Run the Geocortex Essentials Legacy Version Compatibility Tool for each instance of Essentials that is older than 4.6 on the server.

  3. Uninstall Essentials 4.7.

See also...

Viewer Upgrading

© 2019 Latitude Geographics Group Ltd. All Rights Reserved.

Documentation Version 4.11