An upgrade from Stages 7.12 to 26.2 is a major version step. This page is divided into two parts:
Version 26.2 is currently only available on Stages Managed Service instances. On-premise usage will be made available later this year.
Integrations with PTC products are not yet available for 26.2.
The following scripts are currently not yet available for 26.2:
To ensure a smooth transition without disrupting your productive process work, we strongly recommend the following procedure.
Only Stages databases of Stages 7.12.5.0 or newer can be upgraded to Stages 26.2. Therefore upgrade to this version first if not yet done.
If you use any of the following, contact your responsible Stages product consultant before the upgrade, so that these products can be updated to Stages 26.2:
The following changes require preparation on your side:
Always perform the upgrade on a separate test system first – never directly on your productive system.
Then upgrade the test system as described in Part 2 – Conduct the upgrade.
After the test system has been upgraded, perform a thorough test. We recommend testing all common actions that are performed in Stages within your organization (e.g. modeling, releasing). The following checklist serves as a general guideline and should be extended by your organization-specific use cases.
Viewing
Modeling
Management
Administration
Only when all tests have been completed successfully, the productive system may be upgraded.
Perform the following steps first on the test system and – after all tests have been completed successfully – on the productive system.
All process release automations have to be finished before an upgrade can be performed (see report Running Process Release Automations).
To minimize the chance of issues during the upgrade, it is recommended to execute ensureDatabaseIntegrity.bat|sh before upgrading to Stages 26.2.
To minimize the runtime of ensureDatabaseIntegrity, add the following config properties to config.xml to skip these steps:
<property name="database.cleanup.targets" value="false"/> <property name="database.cleanup.associationAttributes" value="false"/>
Note: Stages should be stopped while ensureDatabaseIntegrity is running.
To be safe in case of any problems during the update, back up your database and the stages folder before the upgrade.
If the backup is running automated, please check whether the backup was created successfully.
Remove the following lines from $STAGES_CONF/server.xml:
<Realm className="org.apache.catalina.realm.CombinedRealm" > <Realm className="de.methodpark.stages.containerauth.SSLAuthenticatorRealm" roles="pki_user"/> <Realm className="de.methodpark.stages.containerauth.SimpleAuthenticationRealm" roles="StagesUser" /> </Realm>
and
<Valve className="org.apache.catalina.authenticator.SingleSignOn" />
Remove the Context elements with path=“/stages” and path=“/reporting”:
<Context path="/stages" docBase="stages" cookies="true"> [...] </Context> <Context path="/reporting" docBase="reporting" cookies="true" > [...] </Context>
In case one of the connectors is configured to use protocol org.apache.coyote.http11.Http11Nio2Protocol, replace it by org.apache.coyote.http11.Http11NioProtocol:
<Connector port="[...]" protocol="org.apache.coyote.http11.Http11NioProtocol" [...] />
In case SAML SSO is enabled, please ensure theidp-metadata.xmlfile is available in$CONF_STAGES.
The ACS URLs have changed, therefore the information about Stages in the IdP must be updated. Ideally, take the sp-metadata.xml file and import it into the IdP. Certificates should stay the same.
The authentication section in the config.xml file needs to be migrated to a new format. The basic conversion can be done by the following script call. Please review the results in detail and add missing information, such as the idp-metadata.xml file from the SAML IdP.
The original config.xml will be backed up as config.before-26.2.xml.
$STAGES_ROOT/bin/upgradeConfigXml.sh|bat
The conf/database.properties file used in Stages 7.12 and earlier is no longer in use. Database connection settings are now configured in conf/config.properties and conf/secret.properties with the following property keys:
database.driver.class.name= database.jdbc.url=
These correspond to the properties torque.database.default.driver and torque.database.default.url from conf/database.properties.
database.username= database.password=
These correspond to torque.database.default.username and torque.database.default.password.
AddrewriteBatchedStatements=trueas parameter todatabase.jdbc.urlif you are using MySQL.
Administration > Workspaces > Collections as planned in Part 1, step 3. Then check via the Process Interfaces menu that process interfaces are created as expected (see Migrate process interface handling to workspace collections).