Upgrade Nintex K2 4.7 or Nintex K2 Five 5.x to Nintex Automation 5.x
Use the Setup Manager to upgrade your Nintex K2 4.7 or Nintex K2 Five environment to Nintex Automation. The Setup Manager installs and upgrades the tools you need to design, deploy, and use the product features. You use the same installer to configure, modify, remove and update Nintex Automation.
- See Upgrading to Nintex K2 Five for more information about what you need to know before, during, and after upgrading, behavioral changes, considerations, frequently asked questions and more.
- You may need to disable antivirus software before you install or upgrade the product. Some antivirus software may cause blocking or performance issues when running the product installation.
When upgrading or performing maintenance on your environment, first:
- Ensure there are no dependency issues in your solutions. See Dependency Checking for information about dependencies and how to resolve dependency issues.
- Backup your database
- Create a checkpoint (snapshot) if the product is running in a virtual environment
- When creating a new environment for purposes of testing, it is best practice to create a new environment and not clone an existing environment as cloning an environment can cause unexpected behavior
This allows you to revert the environment in case of a failed upgrade.
Please note the following important considerations before running Setup Manager:
If you have installed the Nintex K2 Five (5.5) November 2021 CU, and you use the Update option, the current installation's system files revert to the original versions and the Setup Manager may cause an error. For more information see the section Version Conflict warning.
- When upgrading, the /Identity realm is automatically created and configured to use the same issuers as the primary/default SmartForms runtime site. If you have multiple runtime sites which makes use of different issuers, you need to make sure that the /identity realm has all the relevant issuers selected based on the combination of all runtime sites.
- The Setup Manager detects your installation and identifies the components installed on the machine. It then upgrades each supported component while maintaining your configuration.
- If you have Nintex K2 for SharePoint 2013 in SharePoint 2010 mode, Nintex K2 for Visual Studio 2012, or Nintex K2 for Reporting Services installed, you must first uninstall these components before upgrading to Nintex Automation (5.x). See Removing legacy components for more information on how to do this.
- Nintex K2 4.7 used the C:\Program Files (x86)\ folder by default and this installation location is maintained during an upgrade. A clean installation of the product uses the C:\Program Files\ folder by default.
-
Site Configuration: In Nintex Automation , all web properties and services, Management, Designer, SmartForms runtime, Identity) are installed in an IIS site called Sites. When upgrading your Nintex K2 4.7 environment, the installer preserves your existing IIS configuration of your sites. When reconfiguring the environment after upgrade, the existing configuration is also preserved. If you would rather have a single Site, select the new site option in the installer or create a new site in IIS and select it when installing.
- You need a new Nintex Automation license key to install, which you can get on the Nintex Customer Central Portal.
- After the Setup Manager is finished, AppDeployment.exe runs to add the new version of the Nintex K2 for SharePoint app to your app catalog.
- You cannot deploy packages you created with K2 Package and Deployment on previous versions of K2 to your upgraded Nintex Automation environment. You must recreate the packages after upgrading to Nintex Automation.
If there are any Database Triggers defined for the product tables in the K2 database, ensure that the triggers are dropped when performing upgrades. If they are not dropped (or only disabled) during the upgrade process, errors occur. For example, you can use the following command:
DROP TRIGGER [Identity].[TG_Identity_PreventDeletion] GO
You can query triggers in the database with the following script:
SELECT
sysobjects.name AS trigger_name
,USER_NAME(sysobjects.uid) AS trigger_owner
,s.name AS table_schema
,OBJECT_NAME(parent_obj) AS table_name
,OBJECTPROPERTY( id, 'ExecIsUpdateTrigger') AS isupdate
,OBJECTPROPERTY( id, 'ExecIsDeleteTrigger') AS isdelete
,OBJECTPROPERTY( id, 'ExecIsInsertTrigger') AS isinsert
,OBJECTPROPERTY( id, 'ExecIsAfterTrigger') AS isafter
,OBJECTPROPERTY( id, 'ExecIsInsteadOfTrigger') AS isinsteadof
,OBJECTPROPERTY(id, 'ExecIsTriggerDisabled') AS [disabled]
FROM sysobjects
INNER JOIN sysusers
ON sysobjects.uid = sysusers.uid
INNER JOIN sys.tables t
ON sysobjects.parent_obj = t.object_id
INNER JOIN sys.schemas s
ON t.schema_id = s.schema_id
WHERE sysobjects.type = 'TR'
Upgrade Path
Upgrading | Installation |
---|---|
New system (no Nintex Automation) |
|
Any of the Nintex K2/Nintex Automation versions can be upgraded to Nintex Automation (5.8): Upgrading Nintex K2 blackpearl (4.7) or Nintex K2 Five versions (5.0), (5.1), (5.2), (5.3), (5.4), and (5.5) to Nintex Automation (5.8) is not supported. With Nintex Automation (5.8), you must upgrade from a previous version to at least Nintex K2 Five (5.6) or Nintex Automation (5.7) before upgrading to the latest version of Nintex Automation.
|
|
Using the Setup Manager to upgrade
The provided App differs from another App with the same version and product ID
To solve this issue in case you want to redeploy the app, you can clear the SharePoint recycle bin by following the steps in this article: SharePoint 2013 App Development - Troubleshooting: Provided App differs from another app with the same version and product ID
- The Setup Manager displays the version check page.
If there is a discrepancy between the latest version available and the version of the Setup Manager, the following text is shown:
This may not be the latest version available. Please make sure you have downloaded the latest version to ensure that you are up to date with the latest updates.
Click Next to continue. - The Setup Manager detects the components installed on the machine and displays them.
If there are missing requirements, a page which contains details is displayed. Fulfill the requirement and click Refresh to confirm each requirement is satisfied, then Next to continue. - As the service account registers a new service as part of the update, the Additional Input Required page requires you to enter the service account password.
- Click the Allow the installer to modify connections box, to allow the system the validate the connection string.
- The update begins and progress is displayed.
- After the update, the Configuration Analysis tool runs.
- When the components are updated and the analysis tool is done, the Finished page is shown with a link to the update log file. There is also a check box to start the Nintex K2 for SharePoint App Deployment. Click Finish to close the Update Manager. Once the Setup Manager is complete, the Nintex K2 Five for SharePoint App Deployment Wizard will start if you checked the box. If you are using Nintex K2 for SharePoint on a different machine, you must run the Setup Manager on that machine too.
Removing legacy components
If the Setup Manager detects legacy components that are not allowed in Nintex Automation, like Nintex K2 for SharePoint 2013 in SharePoint 2010 mode, Nintex K2 for Visual Studio 2012, or Nintex K2 for Reporting Services, you see a red icon with this information.
When you click the Cancel button, you will see an Info screen that asks if you want to launch the Setup Manager to allow you to uninstall the unsupported components. To remove the unsupported components, select the Modify option, then remove them from the component selection. Finish the wizard, then restart the Setup Manager to update your environment.
When updating components | Run the Setup Manager from the newly downloaded installation package of the latest version of product. |
When removing an installed component | Run the Setup Manager from the folder that product is installed too. By default, that folder is C:\Program files (x86)\K2\Setup\SourceCode.SetupManager.exe |
Update the Nintex K2 for SharePoint app after the Setup Manager finished the app deployment |
|
Modifying an Updated Environment
To modify a system updated to the latest version of the product, take the following steps:
- Run the Setup Manager and choose the Modify option.
- In the tree view, select the components that need to be modified.
- Follow the pages and complete the installation.
- After all the above steps have been completed successfully, run the Setup Manager to update the newly-added components to the latest version.