主要内容

Upgrade Polyspace Access

R2026b

Upgrade your Polyspace® Access™ Docker Compose installation to a newer version.

Prepare for Upgrade

Before starting the upgrade:

  • Back up your .env file. The new .env file might include new variables or different default values. Use your backup to transfer your current settings to the new file.

  • Back up your database. See Back Up Polyspace Access Database.

  • Note the current version of your Docker® images. You can check the image tags in your current .env file in the Docker Images section.

Upgrade Polyspace Access Docker Compose Deployment

To upgrade Polyspace Access:

  1. Stop the running services:

    docker compose down
  2. Download the new version of Polyspace Access from the MathWorks® Downloads page. Extract the zip file to a new directory.

  3. Compare the new .env file from the extracted zip with your backed up .env file. Transfer your custom settings (gateway hostname, database passwords, LDAP/SAML configuration, issue tracker settings) to the new file.

  4. Start the services with the updated configuration:

    docker compose up -d
  5. Verify the upgrade by checking the service status and opening the Polyspace Access web interface. See Verify Your Installation.

Roll Back an Upgrade

If the upgrade is unsuccessful, you can roll back to the previous version:

  1. Stop the services:

    docker compose down
  2. Replace the new .env file with your backup.

  3. Restore the database backup. See Back Up Polyspace Access Database.

  4. Start the services with the original configuration:

    docker compose up -d

See Also

Topics