2023:Upgrading Grooper to a New Version

From Grooper Wiki

This article is about an older version of Grooper.

Information may be out of date and UI elements may have changed.

202520242023202220212.90

So you're ready to upgrade?

About

!!

IMPORTANT!! NEW GROOPER ARCITECTURE DETECTED - PROJECTS

Projects are a new way of organizing Grooper resources in the node tree. After upgrading, all your resources will work as they did before, but their organization will shift from certain parts of the node tree to a Project named "Project 1". You may choose to move resources out of this Project and into new Projects or you can choose to keep everything in "Project 1". For more information and guidance, refer to the links below:

  • Project - This is the full Projects article. It has general information about what Projects are and how to use them.
  • Projects and Upgrading to 2023 - This contains specific guidance around upgrading from an older version of Grooper to version 2023, how to navigate the new Project architecture, and how to move from "Project 1" to new Projects.

Upgrading to 2023 is now easier than ever. You can upgrade directly from version 2.72, 2.80, 2.90, 2021, or 2022 to version 2023 (For upgrading from versions older than 2.72, you must upgrade to 2.72 before upgrading to 2023).

The upgrade process is essentially four steps:

  1. Stop any Grooper services.
  2. Uninstall the older version of Grooper.
  3. Install the newer version of Grooper.
  4. Upgrade Grooper Repositories from the older version to the newer.

This article instructs users on how to perform simple upgrades. The instructions in this article outline the basic steps for all upgrades.


However, depending on your Grooper install, your upgrade process may be more involved.

  • If you are running scripts in your environment to customize Grooper's functionality, you may need to update the associated scripting code and Object Libraries, as some code objects may have been altered or obsoleted or their names may have changed.
    • If present, make sure you re-compile all Object Libraries after the upgrade.
    • Custom scripts are not guaranteed to work without changes upon upgrading to a new major version of Grooper.
  • If you are running custom reports polling the Grooper database, you may need to update the report query, as Grooper's database tables may have changed.
  • If you are using expressions in your Batch Processes, IP Profiles, Data Models or Import/Export Mappings, please verify all expressions are working as intended as some as some code objects may have been altered or obsoleted or their names may have changed.
  • If you are moving across multiple major versions, it's likely Grooper's architecture has changed more than if upgrading from one major version to the next. Your solution design may not be taking advantage of newly added features in newer versions.
    • In all cases, you should take some time to test your Grooper system after an upgrade to ensure everything is working as expected. When upgrading across multiple major versions, please take extra care to do so.

How To Perform a Simple Upgrade

FYI

If you are upgrading from version 2.72, 2.80 or 2.90, 2021, or 2022 to 2023, you may upgrade directly to version 2023. However, if you are upgrading from version 2.70 (or older) to 2023, you must first upgrade to version 2.72, and then upgrade to version 2023.

IMPORTANT!!! DON'T FORGET TO BACKUP YOUR REPOS

You should always perform a complete backup of your Grooper Repository's file store and database before upgrading to any newer Grooper version.

  • If, for whatever reason, something goes wrong during the upgrade process and your file store and/or database is corrupted, you could loose critical components, such as your Batch Processes, Content Models, or document files for any Test or Production Batches.
  • Performing a backup will ensure you have something to revert to in the rare cases where the upgrade does improperly overwrite existing database values or files in your file store.


For information how to backup and restore your Grooper database and file store, please visit the article below:

Before You Begin: Backup and Validate Your Grooper Repository

You should always perform a complete backup of your Grooper Repository's file store and database before upgrading to any newer Grooper version. If, for whatever reason, something goes wrong during the upgrade process and your file store and/or database is corrupted, you could loose critical components, such as your Batch Processes, Content Models, or document files for any Test or Production Batches. Performing a backup will ensure you have something to revert to in the rare cases where the upgrade does improperly overwrite existing database values or files in your file store.

For information how to backup and restore your Grooper database and file store, please visit the article below:

How to Validate a Grooper Repository

While not strictly necessary, the Grooper developers strongly encourage you perform validation on your Grooper Repository before upgrading from and older version to a newer version of Grooper. Improperly configured nodes can cause unexpected issues during upgrade. Validating your repository helps catch these configuration issues to avoid configuration related problems when upgrading the objects in your existing repository to the newer versions of those objects.

For example, a Data Type with its Local Extractor set to Pattern Match but with no pattern set is an issue. If this is left unconfigured, validation will catch the configuration error.

  1. You can see that we do not have this Pattern Match fully configured.
  2. On this Data Type we see we have an error.

  1. If we right-click on the Project object...
  2. ... and click on "Validate Branch"...
  3. ... a window will pop up showing us the validation error. We will need to correct this before upgrading.

!!

It is recommended that you validate your ENTIRE repository before upgrading to a new version of Grooper. However, validation CANNOT be performed at the Root Node in the web client. You MUST open the thick client in order to fully validate your repository.

To validate your Grooper Repository and catch configuration errors like the one described above perform the following steps:

  1. In Grooper Design Studio, select the root of the repository's Node Tree in the Tree View window.

  1. Select "Tools" from the toolbar.
  2. Select "Validate Branch..."
  3. This will bring up the "Validate Branch" window.
  4. Click the "Validate" button.
  5. Grooper will check every object in your repository for any property configuration errors. Any object with configuration errors will be listed here.
    • By choosing the validate the root, you validate all descendent branches. In other words, the whole repo.
  6. You may select any object in the list and click the "Go To Item" button to go to that object and resolve the configuration error, if you so choose.

Step 1: Stop Services

Before uninstalling your current version of Grooper, you will need to stop all services currently running in Grooper Config. This will help avoid potential errors regarding the services connected to your repositories.

  1. Open Grooper Config and click "Edit Services".

  1. If you have any services running they will be listed with a green dot to the left side.
  2. You can select each individual service and click "stop" or you can just click "Stop All".

  1. Once a service is stopped, the dot to the left of the service name should turn red.

Very rarely, a Grooper service will not uninstall properly when you uninstall a Grooper service service. Or, a user may delete a Grooper Repository connection or purge a Grooper Repository without uninstalling services first.

This can make it appear as though a duplicate or "ghost" Windows service is installed without being listed in GCC (or Grooper Config before version 2024).


If this does occur, you will need to manually delete the service. If you know the name of the service instance (something like Grooper.ServiceTypeName.##) you need to delete, you can use the following command lines to stop the service (if necessary) and manually delete it.

SC STOP Grooper.ServiceTypeName.##
SC DELETE Grooper.ServiceTypeName.##

OR

You can delete the service from the Windows Registry Editor, using the following steps:

  1. Open the Registry Editor (regedit.exe)
  2. Navigate to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services.
  3. Select the key of the service you want to delete.
    • Grooper services will always be named something like Grooper.ServiceTypeName.##
  4. From the "Edit" menu select "Delete.
  5. You will be prompted "Are you sure you want to delete this Key?". Click Yes.
  6. Exit the Registry Editor.

Step 2: Uninstall the Current Version of Grooper

The first thing you need to do is uninstall the current version of Grooper before installing the new version. This can be done in a number of ways, such as uninstalling from your settings menu.

REMINDER!! BACK UP YOUR GROOPER REPOSITORY BEFORE UNINSTALLING!

You should always perform a complete backup of your Grooper Repository's file store and database before upgrading to any newer Grooper version.

If, for whatever reason, something goes wrong during the upgrade process and your file store and/or database is corrupted, you could lose critical components, such as your Batch Processes, Content Models, or document files for any Test or Production Batches.

Performing a backup will ensure you have something to revert to in the rare cases where the upgrade does improperly overwrite existing database values or files in your file store.

For information how to backup and restore your Grooper database and filestore, please visit this article.


  1. Open your Windows Settings and click on "Apps".

  1. Scroll down through your list of apps until you find the Grooper application. Click on the app.
  2. When it expands, click on "Uninstall".

  1. A small window may pop up to confirm you wish to uninstall the app. Click "Uninstall".

  1. Wait for the application to be uninstalled.

Step 3: Install the New Grooper Version

If you have not done so, you will need to download the current installer file from Grooper xChange. Zip archives containing the installer files can be found in the "Downloads and Resources" section, linked bellow

Once downloaded, unzip the installer file, open the "Setup" executable file and follow the onscreen instructions to install the current Grooper version. If you need more help, you can find the full Grooper installation instructions by following the link below:

Additional Guidance for Web Client Deployments

  • If you are upgrading the Grooper web client, you must also uninstall the Grooper Web Client application on your web server and install the newer version.
    • It is also considered best practice to stop the Grooper app pool in IIS before uninstalling the Grooper Web Client application.
  • After upgrading the Grooper web server, if you have remote scan workstations with Grooper Desktop installed, you will also need to uninstall Grooper Desktop and install the newer version on each workstation.

Step 4: Upgrade Grooper Repositories from Grooper Config

After installing Grooper 2023, open Grooper Config to upgrade the previous versions of Grooper Repositories to 2023.

FYI

Major versions of Grooper change the Grooper Database in meaningful ways. These changes to the database must be reflected by upgrading the Grooper Repository. For major version upgrades (For example, 2.80 to 2021 or 2021 to 2023), all Grooper Repositories configured on an older version must be upgraded in order to connect to them to Grooper.

For minor version upgrades (For example, 2.90.0001 to 2.90.0002) you do not need to upgrade each Grooper Repository. No major changes are made to the Grooper Database, and you can skip this step.

However, you should still always uninstall the old version of Grooper before installing the new version, even when upgrading to a new minor version.

When upgrading from a version older than 2021 to version 2021 or later, you'll notice the Grooper Config application's UI has changed. Previously, Grooper Repository connections were listed in a grid. Now, we will need to get into the Repositories configuration window to upgrade the previous versions of the Grooper Repositories to the new versions.


  1. Select the Repositories property.
  2. Click the ellipsis button at the end of the property.

Currently, Grooper version 2023 is installed on this machine. As seen here, in Grooper Config, we have two Grooper Repository connections: one named "okcstrpa01_001" and the other "okcstrpa01_002".

  • The Grooper Repository named "okcstrpa01_001" is a networked repository. Its status is listed as "Ok" because it has already been updated to Grooper 2023. This repository's version matches the version of Grooper installed on this machine.
  • The Grooper Repository named "okcstrpa01_002" is another networked repository. Its status is listed as "Needs Upgrade" because it has not been updated to Grooper 2023 yet.

After upgrading to Grooper 2023 you will need to upgrade all previous repositories to 2023.

  1. To upgrade a Grooper Repository, select the repository that needs upgrading.
  2. Click the "Upgrade..." button in the upper toolbar.

  1. An "Upgrade" window will appear. Click the "Execute" button to confirm the upgrade.

  1. You will be prompted to execute a Version Upgrader. Click "Execute" to start the upgrader.

  1. When the upgrader is finished, click "Ok".
    • In instances where you are upgrading multiple versions of Grooper (i.e. 2.80 to 2021) you must run each Version Upgrader sequentially. For example, in our case, we had to execute the Version 2021 to 2022 Upgrader first, followed by the Version 2022 to 2023 Upgrader. Repeat steps 6. and 7. for each version of Grooper you are needing to upgrade.

  1. After the upgrade is complete, click the "Test Connection.." button to ensure you're now property connected to the upgraded database.
  2. If successful, a message box will pop up confirming your connection. Click Ok.

  1. You will see the upgraded Grooper Repository's Status change from "NeedsUpgrade" to "Ok".
  2. Click the "Ok" button to exit the Repositories window.

  1. Click the "Save" button in the main screen of Grooper Config to complete the upgrade.

Congratulations! You've upgraded Grooper.

IMPORTANT - If present, make sure you compile all Object Libraries after the upgrade.

IMPORTANT - The devs also strongly recommend that you perform validation on your repository after upgrading.

  • Object Libraries should be compiled before validating your repository to ensure best results.