Upgrading Anaconda Server
Before you upgrade, create backups of the docker-compose.yml
and .env
files. These files contain your server’s custom configurations and are overwritten during the upgrade.
Service account roles
If you are currently using Anaconda Server 6.1.6 or later, you may skip these steps and start upgrading.
Before you upgrade, you must verify that the correct permissions are set for the service account. If you do not, the Keycloak API will not be able to query user roles and users will lose all their assigned permissions.
- Open a browser and log in to your Keycloak admin panel using your existing Keycloak credentials. Your Keycloak admin panel can be found at www.YOUR\_DOMAIN/auth/admin.
- Navigate to the Clients page from the left-hand navigation menu, then select repo-account-sync from the list.
- Select the Service Account Roles tab at the top of the page, then open the Client Roles dropdown menu and select realm-management.
- Add
manage-users
andmanage-realm
to the Assigned Roles.
Upgrading to a newer version
Anaconda Server versions 6.1.4 and later support upgrading from your current version without halting the program.
Upgrade steps
-
Download your installer by running the command:
-
Run the upgrade command.
HTTP setup upgrade command
To upgrade Anaconda Server using the default upgrade command, run:
For example, if your domain name is website.example.com, and the previous installer is located at /home/user/installers/ate-installer-6.1.6-7d5m23wl, then the upgrade command would be the following:
-
Once the upgrade is complete, run the following command to instruct Keycloak to allow HTTP traffic:
HTTPS setup upgrade command
The default command will upgrade your software, but your setup may require you to append more arguments to the command in order to complete an upgrade. For example, if your setup uses HTTPS protocol, you’ll need to provide the TLS certificate and key in your installation command:
You can see a full list of command arguments by running the following commands:
Custom implementation considerations
If you’re using a custom implementation, verify your
docker-compose.yml
and/orrepo.conf
(nginx configuration) files reflect the upgraded changes.
Was this page helpful?