From dfa5a7a439c51e69139506d3a52b0520363f2a5d Mon Sep 17 00:00:00 2001 From: Matthew Helmke Date: Thu, 25 Jan 2018 06:45:57 -0600 Subject: [PATCH] KEYCLOAK-6118 upgrading EAP adapters via RPM --- upgrading/topics/upgrade_adapters.adoc | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/upgrading/topics/upgrade_adapters.adoc b/upgrading/topics/upgrade_adapters.adoc index 4af4a67aba..15360ee955 100644 --- a/upgrading/topics/upgrade_adapters.adoc +++ b/upgrading/topics/upgrade_adapters.adoc @@ -20,12 +20,36 @@ to preserve compatibility with older client adapters. More details are available [[_upgrade_eap_adapter]] == Upgrading the EAP Adapter +ifeval::[{project_product}==true] + +If you originally installed the adapter using a downloaded archive, to upgrade the {appserver_name} adapter, complete the following steps: + +. Download the new adapter archive. +. Remove the previous adapter modules by deleting the `{appserver_dirref}/modules/system/add-ons/keycloak/` directory. +. Unzip the downloaded archive into {appserver_dirref}. + +If you originally installed the adapter using RPM, to upgrade the adapter, complete the following steps: + +. Use Yum to uninstall any adapters you currently have installed. +. Use Yum to upgrade the {project_name} server. + +[source,bash,options="nowrap"] +---- +yum update +---- + +. Use Yum to install the new version of any adapters you require. +endif::[] + +ifeval::[{project_community}==true] + To upgrade the {appserver_name} adapter, complete the following steps: . Download the new adapter archive. . Remove the previous adapter modules by deleting the `{appserver_dirref}/modules/system/add-ons/keycloak/` directory. . Unzip the downloaded archive into {appserver_dirref}. +endif::[] [[_upgrade_js_adapter]] == Upgrading the JavaScript Adapter