Upgrade Polyspace Access
R2026bUpgrade your Polyspace® Access™ Docker Compose installation to a newer version.
Prepare for Upgrade
Before starting the upgrade:
Back up your
.envfile. The new.envfile 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
.envfile in theDocker Imagessection.
Upgrade Polyspace Access Docker Compose Deployment
To upgrade Polyspace Access:
Stop the running services:
docker compose down
Download the new version of Polyspace Access from the MathWorks® Downloads page. Extract the zip file to a new directory.
Compare the new
.envfile from the extracted zip with your backed up.envfile. Transfer your custom settings (gateway hostname, database passwords, LDAP/SAML configuration, issue tracker settings) to the new file.Start the services with the updated configuration:
docker compose up -d
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:
Stop the services:
docker compose down
Replace the new
.envfile with your backup.Restore the database backup. See Back Up Polyspace Access Database.
Start the services with the original configuration:
docker compose up -d