Upgrading Docker Compose
Upgrade your Docker Compose installation.
Before you begin
/home/.ucv/settings.json
file on the
computer where you installed the product. If the user that is upgrading the product is not the user
who installed it, ensure that the settings.json
file is copied to the upgrading
user's /home/.ucv
directory before upgrading. About this task
When you run the installer, it checks for an existing installation. If the installer finds a previous version, it uses installed properties, such as your product access key, and assumes that you are upgrading the product.
- Consult the system requirements and ensure your existing environment that meets HCL™ Accelerate needs. See system requirements.
- Consult the upgrade notes for the latest information that must be considered before starting upgrading. For example, MongoDB migration.
- MongoDB Download (Applicable for Offline
installation only) Before starting the installation, pull the
MongoDB images from the MongoDB sources. Complete the following steps to
pull the MongoDB images. If you are using the online install, then this step
is completely automatically.
- Run the
docker pull mongo:<mongodb_version_number> && docker save -o mongo.tar mongo:<mongodb_version_number>
command to pull image for MongoDB.Note: For more information about compatible versions of MongoDB, see system requirements page. - Copy the
mongo.tar
to offline installation system and run thedocker load -i mongo.tar
command to load the docker images.
- Run the
Upgrade
The upgrade instructions describe upgrade the product on all supported operating systems. The downloaded executable file steps you through the upgrade process and sets your upgrade parameters.
Procedure
- Download the installation file for your environment. Installation files are available in two locations.
- Download the installation file for your environment.
-
Run the downloaded executable file.
Note: For macOS and Linux installations, set the appropriate permissions before running the file:
sudo chmod +x
.Note: HCL™ Accelerate does not perform malware scanning on the installed files. It is recommended that end users implement malware scanning as appropriate for their environment before installing and running the HCL™ Accelerate in their environment. -
Complete installation by responding to the prompts described in the following
steps:
When the script starts, you are prompted to accept the license. You can explicitly accept the license without viewing it by appending the following parameter to the command:
./<Accelerate-installation-file>--license=accept
- HCL™ Accelerate is installed successfully.
-
Run the server by changing to the directory where you installed the product,
and start Docker Compose. For example:
[installation folder] docker-compose up -d
- If you replaced the original certificate with your own version, copy it to the [installation folder]product_version_number/conf/ssl folder.
-
Test the upgrade by changing to the directory where you installed the product,
[installation folder]product_version_number and start
Docker Compose. For example:
[installation folder]1.2.4 docker-compose up -d
-
Access the
HCL™ Accelerate Web UI. The URL is https://hostname:port, where
hostname
andport
are the values that you set during upgrade.
What to do next
Migrate overrides file
If you use an
override.yml
file, copy it from the original installation
directory to the [installation folder]product_version_number/
folder. Restart
HCL™ Accelerate for the changes to take effect.
Migrate SSL certificates
If you replaced the original certificate with your own version, copy it to the [installation folder]product_version_number/conf/ssl folder. Restart HCL™ Accelerate for the changes to take effect.