Upgrade to K2 Five (5.4) is taking a very long time

  • 16 February 2021
  • 0 replies
  • 128 views

Userlevel 1
Badge +7

Issue

Upgrading to K2 Five (5.4) is taking hours to complete. Looking at the InstallerTrace logs, it seems the installer is taking a long time to deploy .kspx packages.

 

Resolution

During installation and upgrade, the installer will deploy a number of packages. These packages include SmartObjects, Views and Forms that comes with K2 out of the box. When deploying Views and Forms, there is a remote notification feature in K2 that will notify the web frontend when a form or view is checked out. This takes up additional time for each form or view deployed, and is not needed during installation or upgrade.

 

To turn this feature off, perform the following before you start the upgrade:

  1. Go to [install folder]Host ServerBin, and edit SourceCode.Forms.Runtime.config
  2. Look for the following line:

    <add key="Forms.RemoteCacheNotification.Enabled" value="true" />
  3. Change the value from true to false:

    <add key="Forms.RemoteCacheNotification.Enabled" value="false" />​
  4.  Save the changes
  5. Restart your K2 service

Once you have disabled the remote notification feature, run the K2 Five (5.4) installer to perform the upgrade. Please make sure to download the latest version of the installer from Nintex Customer Central.

 

Once you have completed the upgrade, perform an IIRESET on your web server, edit SourceCode.Forms.Runtime.config again, turn the "Forms. RemoteCacheNotification.Enabled" back to "true" and restart your K2 service.

 


0 replies

Be the first to reply!

Reply