Zephyr On-Premise Upgrade Instructions
Table of Contents
Download Zephyr
Please download Zephyr on the following page: Zephyr Download
Pre-Upgrade Process
Step 1: Delete the existing folder in elastic search (folder present in "\elasticsearch-5.5.0\data\nodes" or "/var/lib/elasticsearch/nodes" ) before starting the upgrade process. If ElasticSearch is not installed (not common), please refer to Steps to install Elastic Search.
Step 2: Take a backup of the entire database: Steps to take database backup.
Step 3: Take a backup of the attachments, which are located in the file system (separate from the database).
- We suggest you take a backup of the entire folder which can be found in Windows under the Zephyr Directory (ZephyrDir) or in Linux within /zephyrdata.
- If you're using JIRA OAuth in a previous version of Zephyr, take a backup of 'applicationContext-resources.xml' file located within 'C:\Program Files\Zephyr\tomcat\webapps\flex\WEB-INF\classes'
If SSL is previously setup in Zephyr, please take a copy of your java keystore file which is present under the Zephyr/tomcat/conf path file. For special SSL consideration, we recommend viewing the following page: Special SSL Consideration.
Upgrade from Linux
Step 1: Stop the Zephyr Service.
sh /opt/zephyr/tomcat/bin/shutdown.sh
Step 2: Stop Elastic search.
service elasticsearch stop
Step 3: Delete the folder present in "/var/lib/elasticsearch/nodes"
rm -rf /var/lib/elasticsearch/nodes/
Step 4: Start Elastic search.
service elasticsearch start
Step 5: Run the 6.4 Zephyr installer.
Step 6: Select the upgrade option.
Step 7: Select the Zephyr installation folder where Zephyr was installed.
Step 8: Enter the elastic search ip with the transport port and then the upgrade should be completed successfully.
Step 9: Upgrade is completed successfully.
Please refer to the Post-Upgrade Process section below.
Upgrade from Windows
Step 1: Stop the Zephyr Server
Step 2: Stop the Elastic search
Step 3: Delete the folders present inside "\elasticsearch-5.5.0\data\nodes"
Step 4: Start the Elastic search
Step 5: Launch the Zephyr installer and select "Upgrade" → Then click "Next".
Step 6: Click on "OK".
Step 7: Click on "Next" after selecting the destination folder.
Step 8: Ensure the Elastic search IP with the transport port is correct before clicking "Next".
Step 9: After choosing if you want to create or add a shortcut, click on "Next".
Step 10: Once the upgrade is complete, click on "Finish".
Post-Upgrade Process
Recommended post-upgrade reindex for Zephyr
After the upgrade, we strongly recommend users to perform a reindex of your Zephyr instance to ensure the integrity of your data and information within the Zephyr instance.
Also, please review the notes below for special considerations (not applicable to all customers):
Re-Create and Validate the Webhooks
This may apply to users upgrading from either Zephyr Standalone 6.2 or an earlier release.
Re-create the Webhook
1. The user must map a Zephyr project to their Jira instance/project. When users map a single project to their Jira, all other projects will be mapped creating the webhook. Users can choose to select any project to map as it does not matter which project is selected. Once the user finishes mapping the project to their Jira, the webhook will be created successfully in Zephyr.
Validate the Webhook
2. For users, you may want to double check that the webhook is created by navigating to the Jira webhook page and validating that all of the Jira projects are included in the webhook JQL.
Special SSL Consideration
If SSL is setup in the previous version of Zephyr, then follow the instructions in Special SSL Consideration.
Linked test case statuses in Jira
In 6.3 and above, we've implemented a new behavior to show the latest Execution Status when a Zephyr test-case is mapped to a JIRA requirement in the JIRA. However, this information will not be automatically updated after upgrading. Any old or existing links in JIRA that have remote links pointing to test cases in Zephyr will not display the latest execution status and will not work for the latest update.
The reason for this is that Zephyr cannot update those existing remote links during the upgrade process.
However, as the system is used after the upgrade, any new test cases linked to Jira or existing test case links that are executed again will be updated with the latest status and with working links.
OAuth Jira - Update Keys
After upgrading your Zephyr, users must update their OAuth keys from within Zephyr again on the Defect Tracking page in the administration section. With the updated authentication for JIRA, Zephyr saves the entries in the database and requires a manual update for the OAuth keys. The user needs to manually reset the consumer key name and the consumer private key.
Post Upgrade SSO Consideration
The Zephyr login page will now auto-redirect to the SSO page if zephyr is integrated with SSO.
For the Internal-login page, there will be no redirection. On that page, the login will contain the same behavior in the scenario that the admin wants to change the integration.
- https://"Zephyr domain"/flex/html5/internal-login
When a user logs out of the system, they will be able to view the 2 following options:
- A normal login (Internal login for users)
- A Single Sign-On login (SSO)
The advantage of this is that if an SSO user is logged into their SSO already and that user hits the Zephyr URL, the user does not need to type their username and password. When navigating to the Zephyr URL, the SSO user will automatically be logged into Zephyr.
Rollback Process
Rollback may be required for specific situations:
- When the Zephyr server is not stopped prior to the user starting the upgrade process.
- When Zephyr is configured with Tomcat jvisual vm memory configuration and then the Zephyr server stopped and user performs an upgrade process.
If a rollback is required, please following the instructions in Zephyr On-Premise Rollback Process.
Starting Release 8.2, Zephyr Enterprise documentation is moving from its current location on Atlassian to a dedicated, standalone Zephyr Enterprise Documentation page. https://support.smartbear.com/zephyr-enterprise/docs/en/welcome-to-zephyr-enterprise.html