Post-Update Task for Cloud Connector 22.0 Update 2
Post-Update Task
According to an updated version for the Newtonsoft library in Silverback 22.0 Update 2, an upgrade of your current Service Configuration for your Cloud Connector services is required to align the Newtonsoft version after updating to the Silverback and Cloud Connector 22.0 Update 2 version. Updating the service configuration file can be done very easily in a few manual steps, as described in the following article. Please note that for newly created service configurations with the Cloud Connector Config Generation tool, the latest version is automatically used, so this Post-Update Task is only necessary for existing configuration files that were created prior to Cloud Connector 22.0 Update 2. In general, you will need to stop the Cloud Connector Services, update the Newtonsoft version in the configuration and replace the file, before starting again the Services.
Stop Services
- Open Services
- Right-Click Silverback Cloud Connector Service 1 and Press Stop
- Perform the steps for all other installed Silverback Cloud Connector Services
Edit the Service Configuration
- Open Windows Explorer
- Navigate to your Cloud Connector Service Installation Folder
- Default Path: to C:\Program Files (x86)\Matrix42\Cloud Connector\Service
- Locate the SilverbackMDM.SilverBack.Service.CCClient.exe.config
- Perform a right-click and open with Notepad
Update Newtonsoft Version
- Locate the Assembly section for Newtonsoft.Json
<dependentAssembly> <assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral" /> <bindingRedirect oldVersion="0.0.0.0-12.0.0.0" newVersion="12.0.0.0" /> </dependentAssembly>
- Replace the version from 12 to 13 like in the following example
<dependentAssembly> <assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral" /> <bindingRedirect oldVersion="0.0.0.0-13.0.0.0" newVersion="13.0.0.0" /> </dependentAssembly>
- Press File and Save as...
- Select your Desktop
- Change Save as type to All Files (*.*)
- Press Save and close Notepad
Ensure to save the file as .config and not as .txt
Replace Service Configuration
- Now replace the SilverbackMDM.SilverBack.Service.CCClient.exe.config from your Desktop with the file located in the Cloud Connector Service folder
- Default Path: to C:\Program Files (x86)\Matrix42\Cloud Connector\Service
Start Services
- Open Services
- Right-Click Silverback Cloud Connector Service 1 and press Start
- Start all other installed Silverback Cloud Connector Services