Various commands exists within the AuthStack CLI tool
authstack-ctl to assist with upgrading.
To check your current version and compare that with the latest available version, run the following command:
If an upgrade is required you will be notified by the version check.
To execute an upgrade to the latest version, run the following command:
The upgrade process will perform the following functions:
- Pull the latest tagged code from the version control repository
- Prompt you to update the database and perform this automatically if instructed
- Upgrade the database (using migration scripts)
- If the upgrade fails, there will be an option to revert to the pre-upgrade version
The upgrade process writes all changes, including failures, to a log, which is available from within the log folder of the application.
To upgrade to a specific version, add a parameter after the upgrade command:
authstack-ctl upgrade 2.1
Please note this command does not support downgrading.