To facilitate a seamless and successful Xray upgrade, we recommend adhering to the following steps:
- Consult the Upgrading Xray Documentation: Refer to Upgrading Xray resource for essential prerequisites and specific steps tailored to your installation method. Ensure that the upgrade method corresponds with the initial installation method (e.g., RPM, Debian, Docker, etc.). In particular, the prerequisite mentioned for bundled Postgres database extension as mentioned in this guide.
- Verify System Requirements: Check that the host system meets the latest System Requirements specified for Xray to ensure compatibility with the upgrade.
- Examine Xray Known Issues and Release Notes: Review these documents for any known issues, the newest features, and bug fixes to make an informed decision about the upgrade version. JFrog suggests opting for the most recent release.
- Check JFrog Security Advisories: Stay informed about any potential security vulnerabilities in the targeted upgrade version of Xray.
- Backup Your Data: To safeguard against any potential data loss during the upgrade process, it is crucial to ensure that all system and database backups are current.
- Test on a Staging Environment: Prior to upgrading Xray in a production setting, implement and validate the upgrade in a staging environment.
- Coordinate Upgrades with Artifactory: If an upgrade to Artifactory is also planned, it is advisable to complete the Artifactory upgrade before starting the Xray upgrade, as an operational Artifactory is necessary for Xray's functionality.
By following these guidelines, you can help ensure a smooth and effective upgrade of JFrog Xray.