...
Code Block |
---|
Do you want to 'install' a new installation of grouper, 'upgrade' an existing installation or 'patch' an existing installation (enter: 'install', 'upgrade', 'patch' or blank for the default) [install]: patch Enter in a Grouper temp directory to download tarballs (note: better if no spaces or special chars) [C:\app\grouperInstallerTarballDir]: What do you want to patch? api, ui, ws, or psp? [psp]: ui Where is the grouper UI installed? [C:\app\grouper_2_2_1_installer\grouper.ui-2.2.1\dist\grouper]: What do you want to do with patches (install, revert, status)? [install]: revert ################ Checking patch grouper_v2_2_1_ui_patch_0 Patch: grouper_v2_2_1_ui_patch_0: was applied on: 2014/12/18 09:32:45 Downloading from URL: http://software.internet2.edu/grouper/release/2.2.1/patches/grouper_v2_2_1_ui_patch_0.tar.gz to file: C:\app\grouperInstallerTarballDir\grouper_v2_2_1_ui_patch_0.tar.gz Unzipping: C:\app\grouperInstallerTarballDir\grouper_v2_2_1_ui_patch_0.tar.gz Expanding: C:\app\grouperInstallerTarballDir\grouper_v2_2_1_ui_patch_0.tar Patch grouper_v2_2_1_ui_patch_0 is low risk, is not a security patch This patch fixes GRP-1080: browse folders refresh button only works in chrome, not other browsers Would you like to revert patch grouper_v2_2_1_ui_patch_0 (t|f)? [f]: t Reverting file: C:\app\grouper_2_2_1_installer\grouper.ui-2.2.1\dist\grouper\WEB-INF\grouperUi2\index\index.jsp Patch successfully reverted: grouper_v2_2_1_ui_patch_0 - set property: grouper_v2_2_1_ui_patch_0.date from: 2014/12/18 09:32:45 to: 2014/12/18 09:46:49 - set property: grouper_v2_2_1_ui_patch_0.state from: applied to: reverted ################ Checking patch grouper_v2_2_1_ui_patch_1 Patch: grouper_v2_2_1_ui_patch_1: was applied on: 2014/12/18 09:32:52 Downloading from URL: http://software.internet2.edu/grouper/release/2.2.1/patches/grouper_v2_2_1_ui_patch_1.tar.gz to file: C:\app\grouperInstallerTarballDir\grouper_v2_2_1_ui_patch_1.tar.gz Unzipping: C:\app\grouperInstallerTarballDir\grouper_v2_2_1_ui_patch_1.tar.gz Expanding: C:\app\grouperInstallerTarballDir\grouper_v2_2_1_ui_patch_1.tar Patch grouper_v2_2_1_ui_patch_1 is low risk, is not a security patch This patch fixes GRP-1082: grouper paging tag2 has one word not externalized Would you like to revert patch grouper_v2_2_1_ui_patch_1 (t|f)? [f]: t This patch requires all processes that user Grouper to be stopped. Please stop these processes if they are running and press <enter> to continue... Reverting (deleting) file: C:\app\grouper_2_2_1_installer\grouper.ui-2.2.1\dist\grouper\WEB-INF\classes\edu\internet2\middleware\grouper\ui\tags\GrouperPagingTag2.class Reverting (deleting) file: C:\app\grouper_2_2_1_installer\grouper.ui-2.2.1\dist\grouper\WEB-INF\classes\edu\internet2\middleware\grouper\ui\tags\GrouperPagingTag2.java Reverting file: C:\app\grouper_2_2_1_installer\grouper.ui-2.2.1\dist\grouper\WEB-INF\classes\grouperText\grouper.text.en.us.base.properties Patch successfully reverted: grouper_v2_2_1_ui_patch_1 - set property: grouper_v2_2_1_ui_patch_1.date from: 2014/12/18 09:32:52 to: 2014/12/18 09:46:58 - set property: grouper_v2_2_1_ui_patch_1.state from: applied to: reverted ################ Checking patch grouper_v2_2_1_ui_patch_2 Patch: grouper_v2_2_1_ui_patch_2: was applied on: 2014/12/18 09:32:56 Downloading from URL: http://software.internet2.edu/grouper/release/2.2.1/patches/grouper_v2_2_1_ui_patch_2.tar.gz to file: C:\app\grouperInstallerTarballDir\grouper_v2_2_1_ui_patch_2.tar.gz Unzipping: C:\app\grouperInstallerTarballDir\grouper_v2_2_1_ui_patch_2.tar.gz Expanding: C:\app\grouperInstallerTarballDir\grouper_v2_2_1_ui_patch_2.tar Patch grouper_v2_2_1_ui_patch_2 is low risk, is not a security patch This patch fixes GRP-1086: extra system out print in ui Would you like to revert patch grouper_v2_2_1_ui_patch_2 (t|f)? [f]: t Reverting (deleting) file: C:\app\grouper_2_2_1_installer\grouper.ui-2.2.1\dist\grouper\WEB-INF\classes\edu\internet2\middleware\grouperClient\config\GrouperUiTextConfig$1.class Reverting (deleting) file: C:\app\grouper_2_2_1_installer\grouper.ui-2.2.1\dist\grouper\WEB-INF\classes\edu\internet2\middleware\grouperClient\config\GrouperUiTextConfig.class Reverting (deleting) file: C:\app\grouper_2_2_1_installer\grouper.ui-2.2.1\dist\grouper\WEB-INF\classes\edu\internet2\middleware\grouperClient\config\GrouperUiTextConfig.java Patch successfully reverted: grouper_v2_2_1_ui_patch_2 - set property: grouper_v2_2_1_ui_patch_2.date from: 2014/12/18 09:32:56 to: 2014/12/18 09:47:12 - set property: grouper_v2_2_1_ui_patch_2.state from: applied to: reverted ################ Checking patch grouper_v2_2_1_ui_patch_3 Patch: grouper_v2_2_1_ui_patch_3: was applied on: 2014/12/18 09:33:00 Downloading from URL: http://software.internet2.edu/grouper/release/2.2.1/patches/grouper_v2_2_1_ui_patch_3.tar.gz to file: C:\app\grouperInstallerTarballDir\grouper_v2_2_1_ui_patch_3.tar.gz Unzipping: C:\app\grouperInstallerTarballDir\grouper_v2_2_1_ui_patch_3.tar.gz Expanding: C:\app\grouperInstallerTarballDir\grouper_v2_2_1_ui_patch_3.tar Patch grouper_v2_2_1_ui_patch_3 is low risk, is not a security patch This patch fixes GRP-1083: cannot set enabled/disabled dates in ui Would you like to revert patch grouper_v2_2_1_ui_patch_3 (t|f)? [f]: t Reverting (deleting) file: C:\app\grouper_2_2_1_installer\grouper.ui-2.2.1\dist\grouper\WEB-INF\classes\edu\internet2\middleware\grouper\Group$1.class Reverting (deleting) file: C:\app\grouper_2_2_1_installer\grouper.ui-2.2.1\dist\grouper\WEB-INF\classes\edu\internet2\middleware\grouper\Group$10.class Reverting (deleting) file: C:\app\grouper_2_2_1_installer\grouper.ui-2.2.1\dist\grouper\WEB-INF\classes\edu\internet2\middleware\grouper\Group$11.class Reverting (deleting) file: C:\app\grouper_2_2_1_installer\grouper.ui-2.2.1\dist\grouper\WEB-INF\classes\edu\internet2\middleware\grouper\Group$12.class Reverting (deleting) file: C:\app\grouper_2_2_1_installer\grouper.ui-2.2.1\dist\grouper\WEB-INF\classes\edu\internet2\middleware\grouper\Group$13.class Reverting (deleting) file: C:\app\grouper_2_2_1_installer\grouper.ui-2.2.1\dist\grouper\WEB-INF\classes\edu\internet2\middleware\grouper\Group$14.class Reverting (deleting) file: C:\app\grouper_2_2_1_installer\grouper.ui-2.2.1\dist\grouper\WEB-INF\classes\edu\internet2\middleware\grouper\Group$15.class Reverting (deleting) file: C:\app\grouper_2_2_1_installer\grouper.ui-2.2.1\dist\grouper\WEB-INF\classes\edu\internet2\middleware\grouper\Group$16.class Reverting (deleting) file: C:\app\grouper_2_2_1_installer\grouper.ui-2.2.1\dist\grouper\WEB-INF\classes\edu\internet2\middleware\grouper\Group$17.class Reverting (deleting) file: C:\app\grouper_2_2_1_installer\grouper.ui-2.2.1\dist\grouper\WEB-INF\classes\edu\internet2\middleware\grouper\Group$18.class Reverting (deleting) file: C:\app\grouper_2_2_1_installer\grouper.ui-2.2.1\dist\grouper\WEB-INF\classes\edu\internet2\middleware\grouper\Group$19.class Reverting (deleting) file: C:\app\grouper_2_2_1_installer\grouper.ui-2.2.1\dist\grouper\WEB-INF\classes\edu\internet2\middleware\grouper\Group$2.class Reverting (deleting) file: C:\app\grouper_2_2_1_installer\grouper.ui-2.2.1\dist\grouper\WEB-INF\classes\edu\internet2\middleware\grouper\Group$20.class Reverting (deleting) file: C:\app\grouper_2_2_1_installer\grouper.ui-2.2.1\dist\grouper\WEB-INF\classes\edu\internet2\middleware\grouper\Group$21$1.class Reverting (deleting) file: C:\app\grouper_2_2_1_installer\grouper.ui-2.2.1\dist\grouper\WEB-INF\classes\edu\internet2\middleware\grouper\Group$21.class Reverting (deleting) file: C:\app\grouper_2_2_1_installer\grouper.ui-2.2.1\dist\grouper\WEB-INF\classes\edu\internet2\middleware\grouper\Group$22.class Reverting (deleting) file: C:\app\grouper_2_2_1_installer\grouper.ui-2.2.1\dist\grouper\WEB-INF\classes\edu\internet2\middleware\grouper\Group$3.class Reverting (deleting) file: C:\app\grouper_2_2_1_installer\grouper.ui-2.2.1\dist\grouper\WEB-INF\classes\edu\internet2\middleware\grouper\Group$4.class Reverting (deleting) file: C:\app\grouper_2_2_1_installer\grouper.ui-2.2.1\dist\grouper\WEB-INF\classes\edu\internet2\middleware\grouper\Group$5.class Reverting (deleting) file: C:\app\grouper_2_2_1_installer\grouper.ui-2.2.1\dist\grouper\WEB-INF\classes\edu\internet2\middleware\grouper\Group$6.class Reverting (deleting) file: C:\app\grouper_2_2_1_installer\grouper.ui-2.2.1\dist\grouper\WEB-INF\classes\edu\internet2\middleware\grouper\Group$7.class Reverting (deleting) file: C:\app\grouper_2_2_1_installer\grouper.ui-2.2.1\dist\grouper\WEB-INF\classes\edu\internet2\middleware\grouper\Group$8.class Reverting (deleting) file: C:\app\grouper_2_2_1_installer\grouper.ui-2.2.1\dist\grouper\WEB-INF\classes\edu\internet2\middleware\grouper\Group$9.class Reverting (deleting) file: C:\app\grouper_2_2_1_installer\grouper.ui-2.2.1\dist\grouper\WEB-INF\classes\edu\internet2\middleware\grouper\Group.class Reverting (deleting) file: C:\app\grouper_2_2_1_installer\grouper.ui-2.2.1\dist\grouper\WEB-INF\classes\edu\internet2\middleware\grouper\Group.java Patch successfully reverted: grouper_v2_2_1_ui_patch_3 - set property: grouper_v2_2_1_ui_patch_3.date from: 2014/12/18 09:33:00 to: 2014/12/18 09:47:16 - set property: grouper_v2_2_1_ui_patch_3.state from: applied to: reverted ################ Checking patch grouper_v2_2_1_ui_patch_4 Patch: grouper_v2_2_1_ui_patch_4: was applied on: 2014/12/18 09:33:08 Downloading from URL: http://software.internet2.edu/grouper/release/2.2.1/patches/grouper_v2_2_1_ui_patch_4.tar.gz to file: C:\app\grouperInstallerTarballDir\grouper_v2_2_1_ui_patch_4.tar.gz Unzipping: C:\app\grouperInstallerTarballDir\grouper_v2_2_1_ui_patch_4.tar.gz Expanding: C:\app\grouperInstallerTarballDir\grouper_v2_2_1_ui_patch_4.tar Patch grouper_v2_2_1_ui_patch_4 is low risk, is not a security patch This patch fixes GRP-1087: edit membership page shows large H as icon in title Would you like to revert patch grouper_v2_2_1_ui_patch_4 (t|f)? [f]: t Reverting file: C:\app\grouper_2_2_1_installer\grouper.ui-2.2.1\dist\grouper\WEB-INF\grouperUi2\membership\editMembership.jsp Reverting file: C:\app\grouper_2_2_1_installer\grouper.ui-2.2.1\dist\grouper\WEB-INF\grouperUi2\membership\traceAttributeDefPrivileges.jsp Reverting file: C:\app\grouper_2_2_1_installer\grouper.ui-2.2.1\dist\grouper\WEB-INF\grouperUi2\membership\traceMembership.jsp Reverting file: C:\app\grouper_2_2_1_installer\grouper.ui-2.2.1\dist\grouper\WEB-INF\grouperUi2\membership\tracePrivileges.jsp Reverting file: C:\app\grouper_2_2_1_installer\grouper.ui-2.2.1\dist\grouper\WEB-INF\grouperUi2\membership\traceStemPrivileges.jsp Patch successfully reverted: grouper_v2_2_1_ui_patch_4 - set property: grouper_v2_2_1_ui_patch_4.date from: 2014/12/18 09:33:08 to: 2014/12/18 09:47:18 - set property: grouper_v2_2_1_ui_patch_4.state from: applied to: reverted ################ Checking patch grouper_v2_2_1_ui_patch_5 Patch: grouper_v2_2_1_ui_patch_5: was applied on: 2014/12/18 09:33:13 Downloading from URL: http://software.internet2.edu/grouper/release/2.2.1/patches/grouper_v2_2_1_ui_patch_5.tar.gz to file: C:\app\grouperInstallerTarballDir\grouper_v2_2_1_ui_patch_5.tar.gz Unzipping: C:\app\grouperInstallerTarballDir\grouper_v2_2_1_ui_patch_5.tar.gz Expanding: C:\app\grouperInstallerTarballDir\grouper_v2_2_1_ui_patch_5.tar Patch grouper_v2_2_1_ui_patch_5 is low risk, is not a security patch This patch fixes GRP-1088: attribute def left menu link throws error Would you like to revert patch grouper_v2_2_1_ui_patch_5 (t|f)? [f]: t Reverting file: C:\app\grouper_2_2_1_installer\grouper.ui-2.2.1\dist\grouper\grouperExternal\public\assets\js\grouperUi.js Patch successfully reverted: grouper_v2_2_1_ui_patch_5 - set property: grouper_v2_2_1_ui_patch_5.date from: 2014/12/18 09:33:13 to: 2014/12/18 09:47:19 - set property: grouper_v2_2_1_ui_patch_5.state from: applied to: reverted ################ Checking patch grouper_v2_2_1_ui_patch_6 Patch doesnt exist yet (not an error): http://software.internet2.edu/grouper/release/2.2.1/patches/grouper_v2_2_1_ui_patch_6.tar.gz ################ Checking patch grouper_v2_2_1_api_patch_0 Patch: grouper_v2_2_1_api_patch_0: was applied on: 2014/12/18 09:32:08 Downloading from URL: http://software.internet2.edu/grouper/release/2.2.1/patches/grouper_v2_2_1_api_patch_0.tar.gz to file: C:\app\grouperInstallerTarballDir\grouper_v2_2_1_api_patch_0.tar.gz Unzipping: C:\app\grouperInstallerTarballDir\grouper_v2_2_1_api_patch_0.tar.gz Expanding: C:\app\grouperInstallerTarballDir\grouper_v2_2_1_api_patch_0.tar Patch grouper_v2_2_1_api_patch_0 is low risk, is not a security patch This patch fixes GRP-1095: hibernate exception handling masked original exception if roll Would you like to revert patch grouper_v2_2_1_api_patch_0 (t|f)? [f]: t Reverting (deleting) file: C:\app\grouper_2_2_1_installer\grouper.ui-2.2.1\dist\grouper\WEB-INF\classes\edu\internet2\middleware\grouper\hibernate\HibernateSession.class Reverting (deleting) file: C:\app\grouper_2_2_1_installer\grouper.ui-2.2.1\dist\grouper\WEB-INF\classes\edu\internet2\middleware\grouper\hibernate\HibernateSession.java Patch successfully reverted: grouper_v2_2_1_api_patch_0 - set property: grouper_v2_2_1_api_patch_0.date from: 2014/12/18 09:32:08 to: 2014/12/18 09:47:21 - set property: grouper_v2_2_1_api_patch_0.state from: applied to: reverted ################ Checking patch grouper_v2_2_1_api_patch_1 Patch doesnt exist yet (not an error): http://software.internet2.edu/grouper/release/2.2.1/patches/grouper_v2_2_1_api_patch_1.tar.gz |
sdf
What if patch doesnt work do to edited files?
If you are installing a patch and it wont install because a file is not what it expects:
Code Block |
---|
Cannot apply patch since this patch file:
/apps/grouper/grouper-2.2.1/patches/grouper_v2_2_1_ui_patch_6/old/files/WEB-INF/grouperUi2/index/index.jsp
is not the same as what the patch expects:
/apps/GMS/WEB-INF/grouperUi2/index/index.jsp
|
You can do this:
Backup the file that cannot be patched /apps/GMS/WEB-INF/grouperUi2/index/index.jsp
Copy the file it expects: /apps/grouper/grouper-2.2.1/patches/grouper_v2_2_1_ui_patch_6/old/files/WEB-INF/grouperUi2/index/index.jsp
On top of: /apps/GMS/WEB-INF/grouperUi2/index/index.jsp
Then try to install the patch again… diff the backup with the new and put back in your manual edits
Patch structure
Note, patches for modules should not contain files from other modules, e.g. do not have API files in a UI patch
...