How to determine the installed K2 software version, updates and fix packs

  • 15 February 2022
  • 0 replies
  • 2754 views

Userlevel 5
Badge +20
 

How to determine the installed K2 software version, Cumulative Updates, and Fix Packs for K2 Platform Classic and K2 Five 

To determine which Version, Cumulative Updates and Fix Packs of K2 Platform or K2 Cloud are installed on your K2 environment, see KB003537.

You may need to verify which version of K2 Platform Classic or K2 Five 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, and how to determine the version of K2 installed on a particular machine.

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.

 

 

Approach K2 Version
Using the About Dialog
  • K2 Platform Classic (5.4) and later
Using Windows Programs and Features
  • K2 Platform Classic (5.4) and later
  • K2 Five 5.0 and later
Using the autodiscover/autodiscover endpoint
  • K2 Platform Classic (5.4) and later
  • K2 Five 5.0 and later
Using the autodiscover/updates endpoint
  • K2 Platform Classic (5.4) and later
  • K2 Five 5.0 and later
Using  a SQL query
  • K2 Platform Classic (5.4) and later
  • K2 Five 5.1 or earlier
  • K2 blackpearl 4.7
Using the Control Panel to determine Client Tools
  • K2 Platform Classic (5.4) and later
  • K2 Five 5.0 and later
  • K2 blackpearl 4.7

 

Using the About Dialog to determine what version/update a K2 Platform Classic environment is using

Use the About Dialog in K2 Designer to determine the current version of K2 Platform Classic in your environment. You can also view and copy a list of previously installed versions and fix packs, and download the list as a CSV file. See the About Dialog topic for more information on how to use the feature.

Using Windows' Programs and Features to determine which version, Cumulative Update or Fix Pack is currently installed

K2 Platform Classic and K2 Five environments may be updated by your organization's K2 administration team. If necessary, you can determine which version of K2 Platform Classic or 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)

Using the autodiscover/autodiscover endpoint to determine what version of K2 Platform Classic or K2 Five is installed

In K2 Platform Classic and K2 Five 5.0 or later, you can also determine which version of K2 Platform Classic or 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 Platform Classic or 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.

Using the autodiscover/updates endpoint to determine which Fix Packs have been applied

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

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

    1. Using a web browser, browse to the following URL for your K2 Platform Classic or K2 Five environment (Note: you will need to replace the value of [environmentname] with the appropriate value of your K2 Platform Classic or 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 Platform Classic or 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

Using a SQL Query to determine which Fix Packs have been applied (K2 Platform Classic, K2 Five 5.1 or earlier, or K2 4.7

To determine which Cumulative Updates and Fix Packs have been installed in your K2 environment if you are using a version of K2 Platform Classic,  K2 Five prior to K2 Five 5.1 or K2 4.7, 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.

Using Control Panel to determine what version of K2 Platform Classic and K2 Five Client Tools is installed

K2 Client Tools are only available on K2 environments that have been upgraded from K2 blackpearl 4.7. 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.

 


0 replies

Be the first to reply!

Reply