The RegScale platform is continuously updated based on customer feedback and to ensure that any security risks are mitigated over time. As such, frequent upgrades are recommended to keep your RegScale platform on the latest version. This page provides guidance on how to upgrade your instance.
- Stop the application -
- Edit the YAML file,
cat docker-compose.ymlto the version of the container you wish to upgrade to (if you need to specify a specific version). You can also set the container to use
image:regscale/regscale:latestto always update to the latest available image.
- Pull the new containers -
- Restart the application -
- The upgrade is as simple as "bouncing" the container by taking it down and having it pull the latest image as Docker Compose spins it back up.
NOTE: You must be in the directory with the YAML file to start and stop the container.
- Open the deployment YAML file for your install
- Edit the version of the container desired
- Reapply the deployment -
kubectl apply -f deployment.yaml
NOTE: If you host the application with multiple pods, upgrades can be done non-disruptively in a rolling fashion.
NOTE: For version 5.27 and later, you must install the latest version of the ASP.NET Core 8.0 Runtime on your Windows 2019 server.
- Download the latest RegScale IIS upgrade package
- Unzip the file
- Stop the RegScale application in IIS
- Paste the new files over the existing ones to get the latest version
- Restart the RegScale application in IIS
- It is recommended to backup the database before upgrades, especially between major version releases
- It is recommended to backup the storage volume before major upgrades
- The rest of the RegScale platform is stateless and immutable. Containers may be spun up and torn down at will with no data loss.
.Net has been upgraded to .NET 8 in the 5.27.0 release of RegScale. This update changed the default ASP.NET Core port from 80 to 8080.
The container new starts and, by default, listens internally on port 8080 vs. 80.
In the atlas: section of the docker-compose.yaml file, under ports: change.
- -"81:80" to "81:8080"
The format is - "external port:internal port". BY changing 80 to 8080, requests made to the container on the external port will be mapped to the internal container port of 8080.
Note: The enternal port might be something different depending on your environment.
- -"81:80" to "81:8080"
Kubernetes and similar deployments
Set an environment variable to specify port 80
ASPNETCORE_HTTP_PORTS = 80
For more information on this change, review the following reference.
Disclaimer - RegScale is not responsible for any lost configuration files. All configuration files and associated secret management are a customer responsibility. RegScale support personnel do not have access to customer files and secrets and will be unable to restore the application or data if secrets are lost.
- RegScale only supports upgrades of the system. It is not possible to downgrade. If the system is downgraded, the database schema can become very unstable and will place the platform in an unsupported configuration. In these cases, the only recovery is to restore from backup.
Updated 17 days ago