MobiControl could not start de MCDPSRV service after update

Hi all,

I wanted to upgrade my soti mobicontrol program from 15.3 to 15.4.2.

So i've updated my java version and excecuted the setup to upgrade.
At the end the setup is trying to start de MCDPSRV service and it fails to do so.

3 years ago
SOTI MobiControl
ANSWERS
K
KAS001
3 years ago

if i check the logs i see following:

2022-01-13 08:51:05,174 (0x00000d14) [ERROR] [CMyService::ServiceMain] Error starting Deployment Server Extensions: Newtonsoft.Json.JsonReaderException: Unable to deserialize Type. Missing mapping for id '6'

   bij Soti.MobiControl.Caching.Implementation.Configuration.Serialization.TypeConverter.RecoverType(Int32 typeId)

   bij Newtonsoft.Json.Serialization.JsonSerializerInternalReader.DeserializeConvertable(JsonConverter converter, JsonReader reader, Type objectType, Object existingValue)

   bij Newtonsoft.Json.Serialization.JsonSerializerInternalReader.ResolvePropertyAndCreatorValues(JsonObjectContract contract, JsonProperty containerProperty, JsonReader reader, Type objectType)

   bij Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObjectUsingCreatorWithParameters(JsonReader reader, JsonObjectContract contract, JsonProperty containerProperty, ObjectConstructor`1 creator, String id)

   bij Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue)

   bij Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue)

   bij Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateList(IList list, JsonReader reader, JsonArrayContract contract, JsonProperty containerProperty, String id)

   bij Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateList(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, Object existingValue, String id)

   bij Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue)

   bij Newtonsoft.Json.Serialization.JsonSerializerInternalReader.ResolvePropertyAndCreatorValues(JsonObjectContract contract, JsonProperty containerProperty, JsonReader reader, Type objectType)

   bij Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObjectUsingCreatorWithParameters(JsonReader reader, JsonObjectContract contract, JsonProperty containerProperty, ObjectConstructor`1 creator, String id)

   bij Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue)

   bij Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue)

   bij Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader reader, Type objectType, Boolean checkAdditionalContent)

   bij Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader reader, Type objectType)

   bij Newtonsoft.Json.JsonConvert.DeserializeObject(String value, Type type, JsonSerializerSettings settings)

   bij Newtonsoft.Json.JsonConvert.DeserializeObject[T](String value, JsonSerializerSettings settings)

   bij Soti.MobiControl.Caching.Implementation.Configuration.CachingConfigurationServiceEngine.GetCachingServiceConfiguration()

   bij Soti.MobiControl.Caching.Implementation.CachingServiceEngine.GetConfiguredTypeCacheSettings(Type type)

   bij Soti.MobiControl.Caching.Implementation.CachingServiceEngine.IsEnabled[T]()

   bij Soti.MobiControl.Ssp.SessionManagement.Implementation.SessionManager..ctor(ICachingService cachingService)

   bij Soti.MobiControl.Ssp.ApiProxy.WebApiEndpoint.Enable(HttpConfiguration config)

   bij Soti.MobiControl.Ssp.WebApiHost.<Start>b__3_0(IAppBuilder appBuilder)

   bij Microsoft.Owin.Hosting.Engine.HostingEngine.Start(StartContext context)

   bij Soti.MobiControl.Ssp.WebApiHost.Start()

   bij Soti.MobiControl.DeploymentServerExtensions.DeploymentServerExtensionsHost.StartHostInternal()

   bij Soti.MobiControl.DeploymentServerExtensions.DeploymentServerExtensionsHost.Start()

   bij CMyService.ServiceMain(CMyService* , UInt32 dwArgc, Char** lpszArgv)

also the MobiControl Admin utility gives an error to the deployment server and webinterface.

Anyone an idea how to fix this or revert the update?

Greetings,

karel.

MK
Martin K.
3 years ago

Hi Karel,

try installing current version of dotnet core 3.1 runtime x64: https://dotnet.microsoft.com/en-us/download/dotnet/3.1

martin

MB

Hi, 

did you had upgrade Java JDK how it was in the Help Document written ?

https://soti.net/mc/help/v15.4/en/setup/installing/123.html#installing_OpenJDK_OracleJDK

 I have done it with Open JDK but latest Version "openjdk-11.0.13_8".

On my Test server is have UPgraded from 15.3.3 to 15.4.2 + i have Unnistalled the Oracle Java 8 (jre-8u202-windows-x64) from the Server and the Services are up and running.

J
JCMOD@SOTI
3 years ago

Hi KAS001,

Thank you for posting in SOTI Central.

If you're utilizing a Global Proxy through MobiControl, try deleting it prior to upgrading your environment to 15.4.2. Here is the SQL query:

DELETE FROM dbo.Settings WHERE name = 'GlobalProxy.Setting';

Make sure to back up the configuration prior to this, and then once the upgrade is done and working, you can re-add it through Global Settings > Services > Global Proxy.

If the above doesn't work, I suggest raising a Support Case and mention MCMR-28390. It should help with expediting the troubleshooting. 

Regards,

Technical Support | SOTI Inc. |1.905.624.9828 | support@soti.net | www.soti.net |