grouper-users - RE: [grouper-users] upgrading to 2.4
Subject: Grouper Users - Open Discussion List
List archive
- From: "Hyzer, Chris" <>
- To: Ben Beecher <>
- Cc: " Mailing List" <>
- Subject: RE: [grouper-users] upgrading to 2.4
- Date: Wed, 3 Apr 2019 12:59:54 +0000
Are you sure you pointed the upgrader to the right spot? I think the WS might live somewhere else? look in apache config and see where it is linking to
From: Ben Beecher <>
Hi Chris, I was able to get past that error by copying the old patches to /var/grouper/installGrouper2.3/tarballs/patches/ I have another question for you. I used the Grouper upgrader to upgrade the api and ui modules. While upgrading the ws it reverted all patches and then it got this error:
> Upgrading WS jars > Exception in thread "main" java.lang.RuntimeException: Why does jar directory not exist? > /var/grouper/installGrouper2.3/tarballs/grouper.ws-2.4.0/grouper-ws/build/dist/grouper-ws/WEB-INF/lib
I created the last two subdirectories manually (WEB-INF/lib) and then I ran the upgrader again. I got a different error this time:
Upgrading WS jars Upgraded 0 jar files from: /var/grouper/installGrouper2.3/tarballs/grouper.ws-2.4.0/grouper-ws/build/dist/grouper-ws/WEB-INF/lib to: /var/grouper/installGrouper2.3/grouper.ws-2.3.0/grouper-ws/build/dist/grouper-ws/WEB-INF/lib
################################## Upgrading WS files Upgrading files from: /var/grouper/installGrouper2.3/tarballs/grouper.ws-2.4.0/grouper-ws/build/dist/grouper-ws/ to: /var/grouper/installGrouper2.3/grouper.ws-2.3.0/grouper-ws/build/dist/grouper-ws/ ignoring paths: WEB-INF/bin/gsh.sh, WEB-INF/bin/gsh.bat, WEB-INF/lib, WEB-INF/bin/gsh, WEB-INF/web.xml, WEB-INF/classes Compared 0 files and found 0 adds and 0 updates Backing up: /var/grouper/installGrouper2.3/grouper.ws-2.3.0/grouper-ws/build/dist/grouper-ws/WEB-INF/bin/gsh.bat to: /var/grouper/installGrouper2.3/tarballs/bak_WS_2019_03_26_21_06_36_798/WEB-INF/bin/gsh.bat Copying new file: /var/grouper/installGrouper2.3/tarballs/grouper.ws-2.4.0/grouper-ws/build/dist/grouper-ws/WEB-INF/bin/gsh.bat to: /var/grouper/installGrouper2.3/grouper.ws-2.3.0/grouper-ws/build/dist/grouper-ws/WEB-INF/bin/gsh.bat Exception in thread "main" java.lang.RuntimeException: java.io.FileNotFoundException: Source '/var/grouper/installGrouper2.3/tarballs/grouper.ws-2.4.0/grouper-ws/build/dist/grouper-ws/WEB-INF/bin/gsh.bat' does not exist at edu.internet2.middleware.grouperInstaller.util.GrouperInstallerUtils.copyFile(GrouperInstallerUtils.java:10550) at edu.internet2.middleware.grouperInstaller.GrouperInstaller.backupAndCopyFile(GrouperInstaller.java:6168) at edu.internet2.middleware.grouperInstaller.GrouperInstaller.upgradeWs(GrouperInstaller.java:13434) at edu.internet2.middleware.grouperInstaller.GrouperInstaller.access$5800(GrouperInstaller.java:84) at edu.internet2.middleware.grouperInstaller.GrouperInstaller$AppToUpgrade$4.upgradeApp(GrouperInstaller.java:6900) at edu.internet2.middleware.grouperInstaller.GrouperInstaller.mainUpgradeLogic(GrouperInstaller.java:4720) at edu.internet2.middleware.grouperInstaller.GrouperInstaller.access$600(GrouperInstaller.java:84) at edu.internet2.middleware.grouperInstaller.GrouperInstaller$GrouperInstallerMainFunction$3.logic(GrouperInstaller.java:1516) at edu.internet2.middleware.grouperInstaller.GrouperInstaller.mainLogic(GrouperInstaller.java:1728) at edu.internet2.middleware.grouperInstaller.GrouperInstaller.main(GrouperInstaller.java:561) Caused by: java.io.FileNotFoundException: Source '/var/grouper/installGrouper2.3/tarballs/grouper.ws-2.4.0/grouper-ws/build/dist/grouper-ws/WEB-INF/bin/gsh.bat' does not exist at edu.internet2.middleware.grouperInstaller.util.GrouperInstallerUtils.copyFile(GrouperInstallerUtils.java:10530) ... 9 more
I see the new version of gsh.bat in the ui directory so perhaps I don't need to update the gsh.bat in the ws directory.
$ ls -l /var/grouper/installGrouper2.3/grouper.ui-2.3.0/dist/grouper/WEB-INF/bin/gsh.bat -rwxr-xr-x. 1 idmserv idmserv 4174 Mar 26 20:46 /var/grouper/installGrouper2.3/grouper.ui-2.3.0/dist/grouper/WEB-INF/bin/gsh.bat Ben
On Wed, Mar 20, 2019 at 9:39 AM Hyzer, Chris <> wrote:
|
- Re: [grouper-users] upgrading to 2.4, Ben Beecher, 04/02/2019
- RE: [grouper-users] upgrading to 2.4, Hyzer, Chris, 04/03/2019
- Re: [grouper-users] upgrading to 2.4, Ben Beecher, 04/15/2019
- RE: [grouper-users] upgrading to 2.4, Redman, Chad, 04/16/2019
- Re: [grouper-users] upgrading to 2.4, Baron Fujimoto, 04/16/2019
- RE: [grouper-users] upgrading to 2.4, Redman, Chad, 04/16/2019
- Re: [grouper-users] upgrading to 2.4, Ben Beecher, 04/25/2019
- RE: [grouper-users] upgrading to 2.4, Redman, Chad, 04/16/2019
- Re: [grouper-users] upgrading to 2.4, Baron Fujimoto, 04/16/2019
- RE: [grouper-users] upgrading to 2.4, Redman, Chad, 04/16/2019
- Re: [grouper-users] upgrading to 2.4, Ben Beecher, 04/15/2019
- RE: [grouper-users] upgrading to 2.4, Hyzer, Chris, 04/03/2019
Archive powered by MHonArc 2.6.19.