Upgrade to 2025.1

Note: For upgrades from versions prior to 2023.1, you must follow a two-step upgrade process. You need to upgrade to 2023.1 first, then upgrade to 2024.2. Not following these two steps prevents the proper import of the connections from the Synchronization Policy.

Record and Route domain repair

As part of the 2025.1 upgrade, Vera automatically updates records and routes to align with the correct domain information.

Records that can't be updated are logged. For more information, check out domain repair.

Enable domain microservices

Domain functionality now runs as two separate microservices: one for the Domains API and one for the Domains Worker. 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.domains

    • vera.worker.domains

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

Copy
"API Domains": {
    "MinimumLevel": {
      "Default": "Information",
      "Override": {
        "Microsoft": "Warning",
        "System": "Error"
      }
    },
    "WriteTo": [
      {
        "Name": "File",
        "Args": {
          "path": "%VERA_SERVER_DATA_DIR%/Logs/vera-server-api-domains-.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 Domains": {
    "MinimumLevel": {
      "Default": "Information",
      "Override": {
        "Microsoft": "Warning",
        "System": "Error"
      }
    },
    "WriteTo": [
      {
        "Name": "File",
        "Args": {
          "path": "%VERA_SERVER_DATA_DIR%/Logs/vera-server-worker-domains-.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"
        }
      }
    ]
  },

Enable verification microservices

The verification functionality now also runs as two separate microservices: one for the Verification API and one for the Verification Worker. 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.verification

    • vera.worker.verification

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

Copy
"API Verification": {
    "MinimumLevel": {
      "Default": "Information",
      "Override": {
        "Microsoft": "Warning",
        "System": "Error"
      }
    },
    "WriteTo": [
      {
        "Name": "File",
        "Args": {
          "path": "%VERA_SERVER_DATA_DIR%/Logs/vera-server-api-verification-.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 Verification": {
    "MinimumLevel": {
      "Default": "Information",
      "Override": {
        "Microsoft": "Warning",
        "System": "Error"
      }
    },
    "WriteTo": [
      {
        "Name": "File",
        "Args": {
          "path": "%VERA_SERVER_DATA_DIR%/Logs/vera-server-worker-verification-.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"
        }
      }
    ]
  },

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/

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.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/

6.x

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

7.x No upgrade necessary.