censhare WP - Updating
How to carry out RPM-based updates for censhare WP components and tools.
Check for updates
yum check-update --enablerepo="censhare*"
Update packages
yum update --enablerepo="censhare*" PACKAGE_NAME
# for example
yum update --enablerepo="censhare*" censhare-static-resource-server
# or
yum update all --enablerepo="censhare*"
Update Cloud Gateway
The RPM package name for Cloud Gateway has changed from cloud-gateway
to core-cloud-gateway
.
On existing censhare WP installations that use the old package cloud-gateway
with the default port, you must install the new package and release the port as follows:
- Backup the
application.yml
. Remove the installed version of
cloud-gateway
:CODEyum remove --enablerepo="censhare* censhare-cloud-gateway
Install the new package
core-cloud-gateway
:CODEyum install --enablerepo="censhare*" censhare-core-cloud-gateway
- Copy the
application.yml
to the new installation directorycore-cloud-gateway
. Make sure that the session handling is configured correctly in the Cloud Gateway. This is required not only for security reasons, but also to avoid broken UI and other issues. If the
cg.censhareLogoutUrl
parameter is missing in theapplication.yml
, please add it.See the respective section in the Configure session handling for more instructions.
Restart the service:
CODEsystemctl restart censhare.core-cloud-gateway
Image relocation
For upgrade installations from a release 2021.1.1 or below, you need to relocate your images to work with censhare WP.
Location 2021.1.1 or below | Location as of 2021.2.2 |
---|---|
censhare-Client5/web/img | censhare-Client5/web/src/assets/image |