Upgrade to 2025.2

Note: For upgrades from versions prior to 2023.1, you must follow a three-step upgrade process. You need to upgrade to 2023.1 first, then upgrade to the latest 2025.1 patch version, and finally upgrade to this version. Not following these two steps prevents the proper import of the connections from the Synchronization Policy and the one time necessary Vera record status repair on startup.

Enable workflows microservices

As part of the technical preview, Vera now has two new microservices which allow for customizing workflows for qTest Requirements. Follow these steps to enable the new containers:

  1. Open the docker-compose.yml file on the server.

  2. Add the following containers:

    • vera.api.workflows

    • vera.worker.workflows

  3. Update the logging-settings.json file with the following:

    Copy
    "API Workflows": {
        "MinimumLevel": {
          "Default": "Information",
          "Override": {
            "Microsoft": "Warning",
            "System": "Error"
          }
        },
        "WriteTo": [
          {
            "Name": "File",
            "Args": {
              "path": "%VERA_SERVER_DATA_DIR%/Logs/vera-server-api-workflows-.txt", 
              "outputTemplate": "{Timestamp:yyyy-MM-dd HH:mm:ss.fff zzz} [{Level:u3}] {Message}{NewLine}",
              "rollingInterval": "Day",
              "rollOnFileSizeLimit": true,
              "hooks": "Vera.Logging.SerilogHooks::ArchiveHooks, Vera.Logging"
            }
          }
          }
        ]
      },
    "Worker Workflows": {
        "MinimumLevel": {
          "Default": "Information",
          "Override": {
            "Microsoft": "Warning",
            "System": "Error"
          }
        },
        "WriteTo": [
          {
            "Name": "File",
            "Args": {
              "path": "%VERA_SERVER_DATA_DIR%/Logs/vera-server-worker-workflows-.txt", 
              "outputTemplate": "{Timestamp:yyyy-MM-dd HH:mm:ss.fff zzz} [{Level:u3}] {Message}{NewLine}",
              "rollingInterval": "Day",
              "rollOnFileSizeLimit": true,
              "hooks": "Vera.Logging.SerilogHooks::ArchiveHooks, Vera.Logging"
            }
          }
          }
        ]
      },
  4. Make sure that the MongoDB user has the correct permissions to create collections so that Vera can create these databases and collections:

New database Collection
vera-workflows
  • state-trigger-request-sagas

  • workflows

Additional upgrade tasks

To ensure a smooth upgrade, follow the steps for your current Vera version.

MongoDB compatibility update

Vera now requires a minimum MongoDB version of 6.0. Please ensure your MongoDB is updated prior to upgrading Vera to the latest version.

Current MongoDB version Upgrade path

4.2.x

  1. Upgrade to MongoDB 4.4:  https://www.mongodb.com/docs/v5.0/release-notes/4.4-upgrade-standalone/

  2. Upgrade to MongoDB 5.x: https://www.mongodb.com/docs/manual/release-notes/5.0-upgrade-standalone/

  3. Upgrade to MongoDB 6.x: https://www.mongodb.com/docs/manual/release-notes/6.0-upgrade-standalone/

  4. (Recommended) Upgrade to MongoDB 7.x: https://www.mongodb.com/docs/manual/release-notes/7.0-upgrade-standalone/

  5. (Optional) Upgrade to MongoDB 8.x: https://www.mongodb.com/docs/manual/release-notes/8.0-upgrade-standalone/

4.4.x

  1. Upgrade to MongoDB 5.x: https://www.mongodb.com/docs/manual/release-notes/5.0-upgrade-standalone/

  2. Upgrade to MongoDB 6.x: https://www.mongodb.com/docs/manual/release-notes/6.0-upgrade-standalone/

  3. Upgrade to MongoDB 6.x: https://www.mongodb.com/docs/manual/release-notes/6.0-upgrade-standalone/

  4. Upgrade to MongoDB 7.x: https://www.mongodb.com/docs/manual/release-notes/7.0-upgrade-standalone/

  5. (Optional) Upgrade to MongoDB 8.x: https://www.mongodb.com/docs/manual/release-notes/8.0-upgrade-standalone/

5.x

  1. Upgrade to MongoDB 6.x: https://www.mongodb.com/docs/manual/release-notes/6.0-upgrade-standalone/

  2. (Recommended) Upgrade to MongoDB 7.x: https://www.mongodb.com/docs/manual/release-notes/7.0-upgrade-standalone/

  3. (Optional) Upgrade to MongoDB 8.x: https://www.mongodb.com/docs/manual/release-notes/8.0-upgrade-standalone/

6.x

  1. (Recommended) Upgrade to MongoDB 7.x: https://www.mongodb.com/docs/manual/release-notes/7.0-upgrade-standalone/

  2. (Optional) Upgrade to MongoDB 8.x: https://www.mongodb.com/docs/manual/release-notes/8.0-upgrade-standalone/

7.x
  1. (Optional) Upgrade to MongoDB 8.x: https://www.mongodb.com/docs/manual/release-notes/8.0-upgrade-standalone/