Upgrading the RemoteApp or app_publisher Program
After a bastion host 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 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.
- app_publisher
Table 1 app_publisher version description Bastion Host Version
Supported Architecture
app_publisher Version
Download URL
V3.3.74.0 and later
x86
3.3.74.0 (EulerOS 2.9.8, CentOS 8, and NeoKylin OS are supported.)
Software package download address (Chinese version)
Arm
3.3.74.0 (EulerOS 2.9.9 and UOS are supported.)
Software package download address (Chinese version)
V3.3.66.0 and later
x86
3.3.66.0 (EulerOS 2.9.8, CentOS 7, and NeoKylin OS are supported.)
Software package download address (Chinese version)
Arm
3.3.66.0 (EulerOS 2.9.8 and UOS are supported.)
Software package download address (Chinese version)
V3.3.60.0 and later
x86
1.7.0_EulerOS
Software package download address (Chinese version)
Arm
1.7.0_EulerOS
Software package download address (Chinese version)
Arm
1.7.0_UOS
Software package download address (Chinese version)
V3.3.52.0 and later
x86
1.6.1_EulerOS
Software package download address (English version)
Arm
1.6.1_EulerOS
Software package download address (English version)
x86
1.6.1_CentOS7
Software package download address (English version)
Arm
1.6.1_UOS
Software package download address (English version)
V3.3.46.0 or later
x86
V1.5.0_CentOS7
Software package download address (Chinese version)
Arm
V1.5.0_UOS
Software package download address (Chinese version)
V3.3.43.0 or later
x86
V1.4.0_CentOS7
Software package download address (Chinese version)
Arm
V1.4.0_UOS
Software package download address (Chinese version)
V3.3.40.0 or later
x86
V1.3.0_CentOS7
Software package download address (Chinese version)
Arm
V1.3.0_UOS
Software package download address (Chinese version)
V3.3.38.0 or later
x86
V1.2.0_CentOS7
Software package download address (Chinese version)
Arm
V1.2.0_UOS20
Software package download address (Chinese version)
V3.3.30.0 or later
x86 and Arm
V1.1.0
Software package download address (Chinese version)
V3.3.26.0 or later
x86 and Arm
V1.0.0
Software package download address (Chinese version)
- RemoteApp
The new version is always forward compatible. The latest version is RemoteAppProxy2.1.2
- app_publisher
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_publisher 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:
docker rmi 127.0.0.1:5000/psm-kingbase:1.0 127.0.0.1:5000/psm-gbase8a:1.0 127.0.0.1:5000/psm-dameng:1.0 127.0.0.1:5000/psm-firefox:1.0
An error message that may occur during uninstallation:
Error response from daemon: conflict: unable to remove repository reference "127.0.0.1:5000/psm-firefox:1.0" (must force) - container xxxxxx is using its referenced image xxxxxxxx
If this error message is displayed during uninstallation, there is a container session related to the image. Run the following command to delete the container session: You need to delete all container sessions related to the image before uninstalling the image.
docker rm -f Container ID or container nameIn the preceding command, the container ID or container name is the value of xxxxxx following container in the error message. Use the actual value in your command.
- Run the following command to check whether the Docker image is uninstalled:
docker images
- After the uninstallation is complete, run the following commands to install the installation package and image in the app_publisher directory of the new version:
1 2
cd app_publisher_V1.xxxxxxx ./install.sh
- (Optional) Update the authentication credential of the application server if your bastion host and application publisher are upgraded to V3.3.68.0 or later (The Authentication Credential field is required for application servers in V3.3.68.0 and later):
- Log in to the Linux server as user root.
- Run the following command to generate an authentication credential:
bash /etc/docker/gen_cert.sh
- Run the following command to obtain the authentication credential:
bash /etc/docker/get_auth_code.sh
- Log in to your bastion host system and choose .
- In the Operation column of the target application server, click Manage to go to the details page.
- In the Basic Info area, click Edit on the right. On the displayed page, update the authentication credential to the one obtained in 5.c.
What is your overall rating for this page?
Thank 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

