Upgrade Instructions
This question concerns upgrades in a broad sense.
Goal: to compile a more or less complete and universal set of actions required when performing a new upgrade.
Problems:
1. The instructions for upgrading to the next minor version (e.g., 6.6 -> 6.7)
do not contain precise instructions for creating data backups.
2. Upgrading to major versions (e.g., 5.x -> 6.x) does not contain general instructions as such.
I'm basing this on what's stated in the base documentation. Quote:
https://guides.dataverse.org/en/latest/installation/upgrading.htmlWhen upgrading within Dataverse Software 4.x, you will need to follow the upgrade instructions for each intermediate 4.x.
The same applies for 5.x -> 6.x.
Upgrades always involve deploying the latest war file but may also include updating the schema used by Solr or other manual steps. Please consult the release notes associated with each release at
https://github.com/IQSS/dataverse/releases for more information.
For example:
https://github.com/IQSS/dataverse/releases/tag/v6.7Upgrade Instructions
Upgrading requires a maintenance window and downtime. Please plan accordingly, create backups of your database, etc.
If you are running an earlier version, the only supported way to upgrade is to progress through the upgrades to all the releases in between before attempting the upgrade to this version.
Thus, we see that:
1. Upgrades require a mandatory sequence of actions (14 steps in the case of v6.7), performed manually.
2. The upgrade process requires a period of maintenance and downtime.
3. The upgrade process has its own specifics for each intermediate version.
Okay, let's assume this is inevitable. But I'd still like to clarify the phrase: "create backups of your database, etc.", especially "etc."
I'm asking those who have experience with multiple and successful upgrades from intermediate versions to write down the sequence of commands that must be executed to guarantee NOT losing data.
Now regarding the second issue.
There was a post here on February 29, 2024, about upgrading to the major version.
https://groups.google.com/g/dataverse-community/c/BUO37-reWIs/m/18SK0DZlAQAJHere's the quote:
However, to upgrade from 4.2.2 to 6.1, there are 60 intermediate versions. Not yet mentioning the changes in the versions of PostgreSQL, Solr, Java, and Glassfish4 to Payara6 between the three major dataverse versions. We also applied customization to the code. We will need to customize and test each version upgrade. If we follow the official upgrade guide, the upgrade project from 4.2.2 to 6.1 will take us a few months to complete.
The author then proposed a 9-step strategy, which they applied to their project.
There was one reply to this message, calling the strategy an innovative approach. And that's it.
I'm likely missing something, but the official documentation hasn't changed since then and hasn't been updated with a new strategy.
I'd like a professional answer. Can we use this strategy to skip at least a few intermediate versions, say, 6.6 - 6.11? Or is that still at our own risk?