Skip to content

Commit 81d6091

Browse files
authored
Feature/add instructions to resolve breaking changes (#168)
* added re-publish packages section * added note to steps * updated format of notes * added notes for deleting the old applications * using the new file in the upgrade gateway section * added same instructions to multi server * broken down further * added instruction for repeat steps 1-3 * not needed for this section * only relevant for multi node * : missing from syntax * needed full stops * typo * no longer shared as there are differences
1 parent 8efbed9 commit 81d6091

File tree

2 files changed

+47
-0
lines changed

2 files changed

+47
-0
lines changed

content/en/docs/2024.9/Guides/upgrade-cortex/2024.7-to-2024.9/multiple-server-with-ha/upgrade-web-application-server/upgrade-gateway.md

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,36 @@ This guide describes how to upgrade {{% ctx %}} Gateway from 2024.7 to 2024.9. P
1717

1818
{{< section "/upgrade/2024.9/upgrade-web-application-server/run-gateway-script.md" >}}
1919

20+
## Republish Packages
21+
{{< alert type="note" title="Note" >}} This only needs to happen for upgrading to this release version as breaking changes were introduced as part of the cleanup of the NServiceBus endpoint and RabbitMQ queues.{{< /alert >}}
22+
1. Log in to Gateway with a user that has the `Admin` role.
23+
1. Click on the `Admin` charm, then `Packages`.
24+
1. In the `Package Definitions` grid, select `Is Published` filter option on the `Is Published` column to show all published packages.
25+
1. For each published package version:
26+
* Select the package.
27+
* Click `Unpublish` at the bottom of the `Definition` tab and click `Unpublish` on the confirmation pop-up dialog. A success message should appear. If it doesn't it means that there is a problem with the configuration in the `web.config` file for {{% ctx %}} Gateway, or the Application Services aren't healthy
28+
* Click `Create New Version` then click `Save` and wait for the new version to be created.
29+
* Click `Publish`. A success message should appear. If it doesn't it means that there is a problem with the configuration in the `web.config` file for {{% ctx %}} Gateway, or the Application Services aren't healthy.
30+
* Sometimes the list of published packages in the `Package Definitions` grid disappears. To fix, set the `Is Published` filter in the `Package Definitions` grid to blank option and then set the filter to `Is Published` option again to show all published packages.
31+
32+
## Delete Old Execution Services
33+
{{< alert type="note" title="Note" >}} This only needs to happen for upgrading to this release version as breaking changes were introduced as part of the cleanup of the NServiceBus endpoint and RabbitMQ queues.{{< /alert >}}
34+
35+
1. Open a web browser.
36+
1. Navigate to `https://server.domain.com:9080/Explorer`, where `server.domain.com` is the fully qualified domain name of one of the application servers. Replace `9080` with new `httpGatewayEndpointPort` value if it was changed during configuration of the original installation.
37+
1. Expand `Cluster` then `Applications` then `Cortex.Innovation.Execution`.
38+
1. For all old execution applications:
39+
* Click on the drop down menu and select `Delete Application`. Confirm application deletion by following the on-screen instructions.
40+
* Give this a few minutes. If the application does not delete:
41+
* Expand `Nodes`
42+
* For each node:
43+
* Expand the node and select the application that matches the engine version number of the application that is being attempted to be deleted.
44+
* Expand each level up to and including `Code Packages`.
45+
* Click on the drop down menu for `Code` and select `Restart`. Confirm application restart by following the on-screen instructions.
46+
* Give this a few minutes. Once all nodes have been restarted the application should be deleted and disappear from the list of applications.
47+
48+
Repeat the above instructions for the `Flow Debugger`. In step 2 `server.domain.com` is the fully qualified domain name of the web application server.
49+
2050
## Preserve installation files
2151

2252
{{< section "/preserve-installation-files.md" >}}

content/en/docs/2024.9/Guides/upgrade-cortex/2024.7-to-2024.9/single-server-without-ha/upgrade-web-application-server.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,23 @@ This guide describes how to upgrade {{% ctx %}} Gateway from 2024.7 to 2024.9. P
2626

2727
{{< section "/upgrade/2024.9/upgrade-web-application-server/run-gateway-script.md" >}}
2828

29+
## Delete Old Execution Service
30+
{{< alert type="note" title="Note" >}} This only needs to happen for upgrading to this release version as breaking changes were introduced as part of the cleanup of the NServiceBus endpoint and RabbitMQ queues.{{< /alert >}}
31+
32+
1. Open a web browser.
33+
1. Navigate to `https://server.domain.com:9080/Explorer`, where `server.domain.com` is the fully qualified domain name of the server. Replace `9080` with new `httpGatewayEndpointPort` value if it was changed during configuration of the original installation.
34+
1. Expand `Cluster` then `Applications` then `Cortex.Innovation.Execution`.
35+
1. For all old execution applications:
36+
* Click on the drop down menu and select `Delete Application`. Confirm application deletion by following the on-screen instructions.
37+
* Give this a few minutes. If the application does not delete:
38+
* Expand `Nodes`
39+
* For each node:
40+
* Expand the node and select the application that matches the engine version number of the application that is being attempted to be deleted.
41+
* Expand each level up to and including `Code Packages`.
42+
* Click on the drop down menu for `Code` and select `Restart`. Confirm application restart by following the on-screen instructions.
43+
* Give this a few minutes. Once all nodes have been restarted the application should be deleted and disappear from the list of applications.
44+
45+
2946
## Preserve installation files
3047

3148
{{< section "/preserve-installation-files.md" >}}

0 commit comments

Comments
 (0)