Upgrading the UGC Moderation and Community microservices
You need to upgrade the resources of the two UGC microservices: the UGC Moderation service and the UGC Community service.
Procedure
- If the server on which this microservice is installed is a Windows machine, uninstall the Windows service by doing the following:
- On the server, open a Powershell command prompt.
- Access the bin\ subfolder of the microservice root folder.
- Run the script called uninstallService.ps1. (If you are running the service on a different default HTTP port than the default, add a
server.portparameter and set it to your custom port number.)
- On the server on which the UGC Moderation service is installed, navigate to the library location of the microservice.
- Back up any custom microservice extensions you have created to a safe location.
- On your SDL Tridion Docs 14 installation media, navigate to the folder Content Delivery\roles\.
- Navigate to the subfolder ugc\service-community\standalone\.
- Back up your configuration files for this microservice to a safe location.
- Back up any custom files in the microservice location to a safe location.
- Delete all files and subfolders from the microservice location.
- Copy the contents of the installation media folder, including subfolders, to your installed microservice location.
- Restore any backed-up custom microservice extensions to your microservice.
- If you have modified the Storage Layer configuration file, cd_storage_conf.xml for this microservice, merge the contents of your backed-up cd_storage_conf.xml with your new cd_storage_conf.xml. Make sure that the resulting file has an attribute
NamespaceServiceBeanset to the valueUGCNamespaceServicein theStorageelement that specifies your UGC database. Otherwise, leave the new cd_storage_conf.xml unchanged. - Copy the remaining backed-up configuration files back to the config\ folder of your micoservice.
- If the server on which this microservice is installed is a Windows machine, install the Windows service by doing the following:
- On the server, open a Powershell command prompt.
- Access the bin\ subfolder of the microservice root folder.
- Run the script called installService.ps1.
On a non-Windows machine, simply run the start script in the bin/ subdirectory. - On the server on which the UGC Community service is installed, navigate to the library location of the microservice.
- Repeat steps 3 and 4.
- Navigate to the subfolder ugc\service-moderation\standalone\.
- Repeat steps 6 through 10.