Versionen im Vergleich

Schlüssel

  • Diese Zeile wurde hinzugefügt.
  • Diese Zeile wurde entfernt.
  • Formatierung wurde geändert.
Kommentar: use includes

...

Kein Format
systemctl stop tomcat9

Next start the upgrade:

...

Seite einschließen
include-download-install-v4
include-download-install-v4

This will use the current directory (/usr/local/src/shibboleth-identity-provider-$VER) as source and the default directory (/opt/shibboleth-idp) as target, and should produce output like this:

Kein Format
Source (Distribution) Directory (press <enter> to accept default: [/usr/local/src/shibboleth-identity-provider-4.01.02]
Installation Directory: [/opt/shibboleth-idp]
Rebuilding /opt/shibboleth-idp/war/idp.war ...
...done
BUILD SUCCESSFUL
Total time: 4 seconds

...

It will be necessary to re-apply file system permission changes done during installation, so just run these again:

...

Seite einschließen
include-file-system-permissions-v4
include-file-system-permissions-v4

You'll also want to regenerate the list of the IDP's JARs that shouldn't be scanned during Tomcat startup, see section Slow Startup towards the end of that Shibboleth wiki page. Those will go into /etc/tomcat9/context.xml so we'll make a time-stamped backup copy of that file before replacing its content:

...

Seite einschließen

...

include-context.xml

...

-v4
include-context.xml-v4

Restart Tomcat, which may take a bit, and check the logs for WARN and ERROR messages: By default the IDP logs to /opt/shibboleth-idp/logs/idp-process.log but if something is seriously wrong and the IDP isn't even able to start up you'll have to look at Tomcat's journal entries:

...