Upgrading the RemoteApp or app_publisher Program
After the CBH instance is upgraded, you need to upgrade RemoteApp on Windows application servers or app_publisher on Linux application servers to the new version. Otherwise, the application publishing function cannot work properly. This section describes how to upgrade RemoteApp and app_publisher.
The procedure for upgrading the RemoteApp and app_publisher is as follows: Uninstall the old version and then install the new version.
Prerequisites
- You have obtained the administrator account and password of the target application server.
- The /var/lib directory has enough space to install the package on Linux servers.
- You have obtained the RemoteApp or app_publisher installation package of the latest version.
- RemoteApp
Table 1 app_publisher version description CBH Version
Supported Architecture
app_publisher Version
Download URL
V3.3.66.0 and later
x86
3.3.66.0 (EulerOS 2.9.8, CentOS 7, and NeoKylin OS are supported.)
Arm
3.3.66.0 (EulerOS 2.9.8 and UOS are supported.)
V3.3.60.0 and later
x86
1.7.0_EulerOS
Arm
1.7.0_EulerOS
Arm
1.7.0_UOS
V3.3.52.0 and later
x86
1.6.1_EulerOS
Arm
1.6.1_EulerOS
x86
1.6.1_CentOS7
Arm
1.6.1_UOS
V3.3.46.0 or later
x86
V1.5.0_CentOS7
Arm
V1.5.0_UOS
V3.3.43.0 or later
x86
V1.4.0_CentOS7
Arm
V1.4.0_UOS
V3.3.40.0 or later
x86
V1.3.0_CentOS7
Arm
V1.3.0_UOS
V3.3.38.0 or later
x86
V1.2.0_CentOS7
Arm
V1.2.0_UOS20
V3.3.30.0 or later
x86 and Arm
V1.1.0
V3.3.26.0 or later
x86 and Arm
V1.0.0
- app_publisher
The new version is always forward compatible. The latest version is RemoteAppProxy 2.1.1.
- RemoteApp
Upgrading RemoteApp (for Windows Application Publishing Servers)
- Log in to the Windows application publishing server, choose
, and uninstall the earlier version RemoteApp.
Log in to the bastion host instance and choose
to view the Windows application server address. - After the uninstallation, upload and decompress the new version RemoteApp installation package.
- Double-click setup.exe in the decompressed package to start the installation and complete the installation.
Upgrading app_publisher (for Linux Application Servers)
- Log in to the Linux application publishing server, upload the app_publish installation package of the new version, and decompress it.
tar -zxvf app_publisher_V1.xxxxxxxxxx.tar.gz
Log in to the bastion host instance and choose
to view the Linux application server address. - Run the following commands to uninstall the Docker image of the earlier version:
1
docker rmi $(docker images -q)
If the message "Error response from daemon: conflict: unable to delete 4852fb6f5512 (cannot be forced) - image is being used by running container xxxx" is displayed when you uninstall an image:
Run the following commands in sequence to delete container sessions and uninstall the image again:
1 2
docker rm -f $(docker ps -aq) docker rmi $(docker images -q)
- After the uninstallation is complete, run the following commands to install the installation package and image in the app_publish directory of the new version:
1 2
cd app_publisher_V1.xxxxxxx ./install.sh
After the installation is complete, if the current bastion host version is 3.3.38.0 or earlier and the app_publisher version is V1.2.0 or earlier, update app_publish to a version later than 1.2.0. Then run the following commands in sequence to manually update the Docker certificate time:
1 2
docker swarm update --cert-expiry 867240h0m0s docker swarm ca --rotate
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot