Upgrading or rolling back Desktop Client
Upgrading or rolling back to an earlier version of Desktop Client requires that you perform a back up of specific files. Also, it is important that you prepare your machine for the process.
Preparing for upgrading or rolling back
Before performing an upgrade or rollback, validate system compatibility and resource availability. Ensure all configuration files and environment variables are backed up, and confirm version dependencies.
- Review the product release notes.
Review the release notes for the versions that were released since your current version. In particular, the Breaking Changes section highlights changes that might require you to adjust your workflow, configuration, or usage.
- Creating the back up.
CAUTION: To rollback, use a backup that was created when the system was running the target version, rather than restoring a database from the newer version.
- Back up configuration and settings files.
These files are found in the etc and var folders. Their location depends on the version of your previous installation and the operating system.
- Configuration files:
- /opt/aspera/etc/
- /opt/aspera/var/
- Configuration files:
- Back up the Redis database.
To back up the Redis database, copy the contents of the following folder to a secure location:
/opt/aspera/var/appendonlydirThe folder contains the following files:appendonly.aof.1.base.aofappendonly.aof.manifest
To ensure data redundancy and strengthen disaster recovery, periodically create and store an additional copy of these files on a separate machine.
- If you modified the daemon startup scripts, back up the modified files. These files are overwritten during an upgrade and you will need to copy your modifications into the new files after the upgrade process.
- Back up configuration and settings files.
Upgrading
Although the installer runs your upgrade automatically, you must complete the tasks that are in the Preparing for upgrading or rolling back section before you proceed. If you do not follow these steps, you might get installation errors or losing your former configuration settings.
- Verify the current version of Desktop Client.
To view the current product and version, click Tools > License in the GUI or run the following ascp or ascp4 command:
# ascp -A - Download the latest version of Desktop Client from Fix Central.
- Run the installer.
The installer automatically checks for an older version of the product on your machine. If an older version is found, the installer automatically removes it before you install the new version.
- Save your configuration settings and database files that you previously backed up back into the correct location on your machine.
- Validate that all the configuration parameters work after the upgrade.
Rolling back
Complete the tasks in the Preparing for upgrading or rolling back section before you proceed. If you skip these steps, you might encounter installation errors or lose your previous configuration settings.
- Verify the current version of Desktop Client.
To view the current product and version, click Tools > License in the GUI or run the following ascp command:
# ascp -A - Uninstall the application. For more information, see Uninstalling.
- Delete the var and etc directories from your machine.
- Run a clean installation of the older version. For more information, see installing Installing Desktop Client.
- When the installation is complete, save your configuration settings and database files that you previously backed up back into the correct location on your machine.
For Redis, restore the appendonly.aof file by running the following command:
# cat appendonly.aof | /opt/aspera/bin/asredis -p 31415 --pipeValidate that all the configuration parameters work after you reverted the product to an earlier version.
- If you customized the daemon startup scripts, copy your modifications into the new files after the rolling back process.