Update Installation Method
To update CLI, perform the following procedures:
You can also update CLI by using the CLI Update command. For details on the command, refer to Command Reference.
The update installation may not be completed successfully during the file transfer. While the file is being transferred by using CLI, you must wait until the file transfer is completed.
(1) Creation of the CLI data backup
Copy all files and subdirectories in the CLI installation directory to any directory (hereinafter, referred to as 'CLI backup directory'). After copying them, delete all files and subdirectories in the CLI installation directory.
(2) Downloading of the compressed file
- For Windows
-
Download the compressed file (webconnect-transfer-cli-x.x.x-windows.zip) from the Downloads screen on Management Console.
- For Linux
-
Download the compressed file (webconnect-transfer-cli-x.x.x-linux.tar.gz) from the Downloads screen on Management Console.
(3) Extraction of the compressed file
- For Windows
-
Use decompression software to extract the files in the compressed file to the CLI installation directory.
- For Linux
-
Move the compressed file to the CLI installation directory, and execute the following command:
# tar -xzvf webconnect-transfer-cli-x.x.x-linux.tar.gz
(4) Adaptation of the settings
Adapt the settings in the CLI configuration file and the log configuration file in the CLI backup directory to the CLI configuration file in the CLI installation directory.
CLI may not work as expected if you copy the backed up files to the installation directory.
{CLI installation directory}/config/transfer-cli.conf {CLI installation directory}/config/logback.xml
For details on the settings, refer to CLI Settings and Log of CLI.
(5) Verification of the CLI version
Verify whether CLI has been updated properly or not by using the Version Display command.
The 'Version' part of the displayed execution results should match the updated version of CLI. For details on the Version Display command, refer to Command Reference.
(6) Deletion of the backup directory
Delete the CLI backup directory as needed.