You may need to verify which version of K2 is installed on a particular machine in a K2 environment, or which Cumulative Updates and Fix Packs have been applied in a K2 environment. This article describes how to determine which Cumulative Updates or Fix Packs have been installed in a K2 environment, and how to determine the version of K2 installed on a particular machine.

Version/Build numbers and version release history

For information on build numbers, versions, updates, Cumulative Updates and release dates, please refer to the KB article KB001421: K2 Product Releases and Build Numbers. That article also contains links to the release notes for each release.

All machines where K2 components are installed should have the same version of the K2 components installed. For more information, please refer to the KB article KB000426: All K2 components must be the same release version.

K2 Cloud

Determining what version/update a K2 Cloud environment is using

K2 Cloud environments are updated by K2's Cloud Operations team, and your K2 administrator should receive communications from the operations team that describe when an environment will be updated. If necessary, there are two ways in which you can determine which version/update of K2 Cloud is applied to your K2 Cloud environment: you can log a support ticket with K2, or you can query your environment's values as follows:

  1. Using a web browser, browse to the following URL for your K2 Cloud environment (Note: you will need to replace the value of [environmentname] with the appropriate value of your K2 Cloud environment)
    https://[environmentname]/autodiscover/autodiscover
  2. In the resulting XML that is returned, locate the item ServerVersion and make note of the Value (the value will likely be something like 5.1003.1000.0) . This is the Build Number for the Version/Update of K2 that is installed in your K2 Cloud environment.
  3. Using the KB article KB001421: K2 Product Releases and Build Numbers, compare the build number you obtained in step 2 to the build number listed in the table, This should allow you to determine the version or update of K2 Cloud that is installed in your environment.

Determining which Fix Packs have been applied to a K2 Cloud environment

The autodiscover/updates endpoint used in this section is only available in K2 Cloud Update 5 or later

K2 Cloud environments are frequently updated with Fix Packs, applied by K2's Cloud Operations team. If necessary, you can determine which Fix Packs have been applied to your K2 Cloud environment as follows:

  1. Using a web browser, browse to the following URL for your K2 Cloud environment (Note: you will need to replace the value of [environmentname] with the appropriate value of your K2 Cloud environment)
    https://[environmentname]/autodiscover/updates
  2. In the resulting XML that is returned, review the various ServerUpdate entries returned. These will list (in descending order) the Fix Packs that have been applied to the environment, along with the date on which the update was applied.
  3. You can use the What's New page in the K2 Cloud User Guide to determine what has been fixed or enhanced in the Fix packs applied to your environment.
By default, the https://[environmentname]/autodiscover/updates service will return the last 5 updates/fix packs that have been applied to the environment. You can instruct the service to return more results by adding a parameter with the number of items to return, like this (this example assumes you wanted at most 10 entries returned; adjust the value 10 in the example to the value of your choice):
https://[environmentname]/autodiscover/updates?top=10

K2 Five

Determining which version, Cumulative Update or Fix Pack is currently installed

K2 Five environments may be updated by your organization's K2 administration team. If necessary, you can determine which version of K2 Five, Cumulative Update or Fix Pack is currently installed in your environment by launching the Programs and Features tool in Windows' Control Panel, and looking at the version numbers associated with the installed K2 components.  You can use the KB article KB001421: K2 Product Releases and Build Numbers, to determine the installed product version/cumulative update/fix pack based on the version number displayed in the Programs and Features tool.  The screenshots below illustrate some sample values for different installations of K2 Five 5.1.

Prior to K2 Five 5.1, installing Cumulative Updates and Fix Packs do not change the installed version number. If you need to determine the CU/FP installed in a K2 Five 5.0 environment, use the SQL query approach described below.

Example: K2 5.1 (No Fix Pack Installed, version is 5.0002.1000.x)

Example: K2 5.1 (With Fix Pack 1 installed, , version is 5.0002.1001.x)

Determining which Fix Packs have been applied to a K2 Five (5.2 or later) environment with the autodiscover/updates endpoint

The autodiscover/updates endpoint used in this section is only available in K2 Five 5.2 or later

If necessary, you can determine which Fix Packs have been applied to your K2 Five (version 5.2 or later) environment as follows:

  1. Using a web browser, browse to the following URL for your K2 Five environment (Note: you will need to replace the value of [environmentname] with the appropriate value of your K2 Five environment)
    https://[environmentname]/autodiscover/updates
  2. In the resulting XML that is returned, review the various ServerUpdate entries returned. These will list (in descending order) the Fix Packs that have been applied to the environment, along with the date on which the update was applied.
  3. You can use the Release Notes for your version of K2 Five to determine what has been fixed or enhanced in the Fix packs applied to your environment.
By default, the https://[environmentname]/autodiscover/updates service will return the last 5 updates/fix packs that have been applied to the environment. You can instruct the service to return more results by adding a parameter with the number of items to return, like this (this example assumes you wanted at most 10 entries returned; adjust the value 10 in the example to the value of your choice):
https://[environmentname]/autodiscover/updates?top=10

Determining which Fix Packs have been applied to a K2 Five (5.1 or earlier) environment with a SQL query

To determine which Cumulative Updates and Fix Packs have been installed in your K2 environment if you are using a version of K2 Five prior to K2 Five 5.1, you can execute the following SQL query against the K2 database. (Do not make any data, definition or security modifications in the K2 database unless instructed to do so by K2 Support. The query below only reads data from one table in the K2 database.)

SELECT * FROM [HostServer].[UpdateHistory]
Installing a Cumulative Update or Fix Pack creates/updates the UpdateHistory table in the database. If the query returns no data or errors because the table does not exist, no Cumulative Updates or Fix Packs have been installed in that environment yet.

Determining what version of K2 Five is installed with the autodiscover/autodiscover endpoint

In K2 Five 5.0 or later, you can also determine which version of K2 Five is installed on a K2 server by querying the autodiscover endpoint for your environment as follows:

  1. Using a web browser, browse to the following URL for your K2 Five environment (Note: you will need to replace the value of [environmentname] with the appropriate value of your K2 Five environment)
    https://[environmentname]/autodiscover/autodiscover
  2. In the resulting XML that is returned, locate the item ServerVersion and make note of the Value (the value will likely be something like 5.0001.1000.x) . This is the Build Number for the Version of K2 that is installed in your K2 environment.
  3. Using the KB article KB001421: K2 Product Releases and Build Numbers, compare the build number you obtained in step 2 to the build number listed in the table, This should allow you to determine the version of K2 is installed in your environment.
  4. (Alternatively, you can use use the approaches described below to determine what version of K2 is installed)

For machines where K2 components have been installed (such as workstations with K2 Studio components or servers with K2 server components), you can use the Windows Control Panel's Programs section to determine the installed version. How you get to Programs and Features may differ between operating systems.

Windows Server 2016

  1. Open Control Panel from the Start Menu
  2. Click Programs
  3. Determine the build number for the K2 components in question, displayed in the Version column
  4. Use the tables in KB001421: K2 Product Releases and Build Numbers to match the build number to the release version.

Windows Server 2012 and Windows Server 2008

  1. Open Control Panel from the Start Menu and then click Programs and Features
  2. Determine the build number for the K2 components in question, displayed in the Version column
  3. Use the tables in KB001421: K2 Product Releases and Build Numbers to match the build number to the release version.