Page History
In most cases, upgrading an existing instance of SHRINE is a relatively quick process. Exceptions to this rule include older versions of SHRINE that contained substantial changes to configuration files and other portions of the file structure. The instructions here specifically describe an upgrade path from SHRINE 1.20 or 1.21 to SHRINE 1.22.46. For instructions on upgrading to SHRINE 1.20, check the child pages underneath the "Archived Upgrade Instructions" section.
- WARNING: Networks will not be able to run a mix of 1.21 and 1.22.46. Nodes running SHRINE 1.22.4 will 6 will not trust messages sent by a node running SHRINE 1.21 or earlier, or vice versa. SHRINE 1.22.4 6 signs and verifies using the Cryptographic Message Syntax (CMS) standard instead of custom code.
...
Upgrade to JDK 8 and Tomcat 8
SHRINE 1.22.4 6 was tested only with JDK 8 and Tomcat 8. Future versions of SHRINE will require JDK 8 and Tomcat 8.
...
Next, we will retrieve the new SHRINE webapp from the HMS Sonatype Nexus server at: https://repo.open.med.harvard.edu/nexus/content/groups/public/net/shrine/shrine-war/1.22.46/. From there, download shrine-war-1.22.46.war to the webapps/ directory on the SHRINE server and rename it to shrine.war.
...
Code Block | ||||
---|---|---|---|---|
| ||||
$ cd /opt/shrine/tomcat/webapps $ wget https://repo.open.med.harvard.edu/nexus/content/groups/public/net/shrine/shrine-war/1.22.46/shrine-war-1.22.46.war -O shrine.war |
Deploy New steward.war
Much like shrine.war, the SHRINE Data Steward can be found on the HMS Sonatype Nexus server at https://repo.open.med.harvard.edu/nexus/content/groups/public/net/shrine/steward/1.22.46/. From there, download steward-1.22.46.war to the webapps/ directory on the SHRINE server and rename it to steward.war.
...
Code Block | ||||
---|---|---|---|---|
| ||||
$ cd /opt/shrine/tomcat/webapps $ wget https://repo.open.med.harvard.edu/nexus/content/groups/public/net/shrine/steward/1.22.46/steward-1.22.46.war -O steward.war |
Deploy New shrine-proxy.war
Like other SHRINE artifacts, the SHRINE proxy can be found on the HMS Sonatype Nexus server at https://repo.open.med.harvard.edu/nexus/content/groups/public/net/shrine/shrine-proxy/1.22.46/. From there, download shrine-proxy-1.22.46.war to the webapps/ directory on the SHRINE server and rename it to shrine-proxy.war.
...
Code Block | ||||
---|---|---|---|---|
| ||||
$ cd /opt/shrine/tomcat/webapps $ wget https://repo.open.med.harvard.edu/nexus/content/groups/public/net/shrine/shrine-proxy/1.22.46/shrine-proxy-1.22.46.war -O shrine-proxy.war |
Deploy New SHRINE Webclient
The SHRINE webclient can be found on the HMS Sonatype Nexus server at https://repo.open.med.harvard.edu/nexus/content/groups/public/net/shrine/shrine-webclient/1.22.46/. From there, download shrine-webclient-1.22.46-dist.zip file to the webapps/ directory on the SHRINE server and rename it to shrine-webclient.zip. Then, unzip the shrine-webclient.zip file.
...
Code Block | ||||
---|---|---|---|---|
| ||||
$ cd /opt/shrine/tomcat/webapps $ wget https://repo.open.med.harvard.edu/nexus/content/groups/public/net/shrine/shrine-webclient/1.22.46/shrine-webclient-1.22.46-dist.zip -O shrine-webclient.zip $ unzip shrine-webclient.zip |
...
Like other SHRINE artifacts, the SHRINE Dashboard can be found on the HMS Sonatype Nexus server at https://repo.open.med.harvard.edu/nexus/content/groups/public/net/shrine/dashboard-war/1.22.46/. From there, download dashboard-war-1.22.46.war to the webapps/ directory on the SHRINE server and rename it to shrine-dashboard.war.
...
Code Block | ||||
---|---|---|---|---|
| ||||
$ cd /opt/shrine/tomcat/webapps $ wget https://repo.open.med.harvard.edu/nexus/content/groups/public/net/shrine/dashboard-war/1.22.46/dashboard-war-1.22.46.war -O shrine-dashboard.war |
...
Like other SHRINE artifacts, the SHRINE Node Metadata Service can be found on the HMS Sonatype Nexus server at https://repo.open.med.harvard.edu/nexus/content/groups/public/net/shrine/meta-war/1.22.46/. From there, download meta-war-1.22.46.war to the webapps/ directory on the SHRINE server and rename it to shrine-meta.war.
...
Code Block | ||||
---|---|---|---|---|
| ||||
$ cd /opt/shrine/tomcat/webapps $ wget https://repo.open.med.harvard.edu/nexus/content/groups/public/net/shrine/meta-war/1.22.46/meta-war-1.22.46.war -O shrine-meta.war |
Keystore Cleanup
...
It may take a few seconds for the page to load, but after it does load, log in with your SHRINE credentials (any user will do, regardless of role) and verify that the value for "SHRINE Version" is 1.22.46. If it is still displaying an old version, repeat the instructions in the "Deploy New shrine.war" section, restart SHRINE, and try again.