Hi,I updated crm 2015 to version 0.3. The installer for the update seemed to have been successful, but the actual version of the organization according to Deployment Manager was the old one. When I tried to update I got an error message.

Getting more info

So first I recreated the issue. Simply trying to update the CRM Organization via Deployment Manager triggered the error again.

It starts out nice and friendly and says everything will be ok.

But then it spits out a Failed message and points to the logs.

The logs have a very cryptic message:

16:05:39|Verbose| Retrieving database base language code Data Source=SQLSRV\CRMDYNAMICS;Initial Catalog=Oltpvoice_MSCRM;Integrated Security=True;Connect Timeout=60 ...
16:05:39| Info| Database base language code: 3082.
16:05:39| Info| Installer Start: OrganizationDatabaseHotFixer.Install: operation DatabaseHotFix
16:05:39| Info| Executing Install action: Microsoft.Crm.Tools.Admin.InstallDatabaseUpdatesAction
16:05:39|Verbose| Retrieving database base language code Data Source=SQLSRV\CRMDYNAMICS;Initial Catalog=Oltpvoice_MSCRM;Integrated Security=True;Connect Timeout=60 ...
16:05:39| Info| Database base language code: 3082.
16:05:39| Info| Applying latest dbUpdates to organization. Id=0a9708a0-d898-49e6-ab45-b8fe2e4d0d5d, UniqueName=Oltpvoice.
16:05:41|Verbose| Organization 0a9708a0-d898-49e6-ab45-b8fe2e4d0d5d does not have any custom activities
16:05:41| Info| CrmAction execution time; InstallDatabaseUpdatesAction; 00:00:02.2029075
16:05:41| Error| Installer Complete: OrganizationDatabaseHotFixer - Error encountered
16:05:41| Error| Exception occured during Microsoft.Crm.Tools.Admin.OrganizationDatabaseHotFixer: Error.ActionFailed Microsoft.Crm.Tools.Admin.InstallDatabaseUpdatesAction
InnerException:
System.Data.SqlClient.SqlException (0x80131904): MergeSyncEntryData: SubscriptionSyncEntryOfflineBase table does not exist.
en System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
en System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
en System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)
en System.Data.SqlClient.SqlCommand.RunExecuteNonQueryTds(String methodName, Boolean async, Int32 timeout, Boolean asyncWrite)
en System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(TaskCompletionSource`1 completion, String methodName, Boolean sendToPipe, Int32 timeout, Boolean& usedCache, Boolean asyncWrite, Boolean inRetry)
en System.Data.SqlClient.SqlCommand.ExecuteNonQuery()
en Microsoft.Crm.Setup.Database.DatabaseUtility.ExecuteSqlCommands(String sql, IDbCommand cmd)
en Microsoft.Crm.Setup.Database.DatabaseUtility.ExecuteSql(InstallDatabase database, String sql, Int32 timeout, Boolean disablePool)
en Microsoft.Crm.Setup.Database.SqlScriptAction.Execute(DatabaseUtility dbUtility)
en Microsoft.Crm.Setup.Database.DatabaseInstaller.ExecuteReleases(ReleaseInfo releaseInfo, Boolean isInstall)
en Microsoft.Crm.Setup.Database.DatabaseInstaller.Install(Int32 languageCode, String configurationFilePath, Boolean upgradeDatabase, Boolean isInstall)
en Microsoft.Crm.Setup.Database.DatabaseInstaller.InstallUpdate(String configurationFilePath, Boolean upgradeDatabase)
en Microsoft.Crm.Setup.Common.Update.DBUpdateDatabaseInstaller.ApplyDBUpdates(Guid orgId)
en Microsoft.Crm.Tools.Admin.InstallDatabaseUpdatesAction.ApplyDBUpdatesInternal(Guid orgId, String orgUniqueName, String releaseFilePath, Boolean ignoreErrors)
en Microsoft.Crm.Tools.Admin.InstallDatabaseUpdatesAction.ApplyDBUpdates(Guid orgId, String orgUniqueName, OrganizationOperationType operationType)
en Microsoft.Crm.Tools.Admin.InstallDatabaseUpdatesAction.Do(IDictionary parameters)
en Microsoft.Crm.Setup.Shared.CrmAction.ExecuteAction(CrmAction action, IDictionary parameters, Boolean undo)
ClientConnectionId:62b8daac-861f-4567-9b7c-4106b6d7d431
Error Number:51000,State:1,Class:16

16:05:41| Info| Setting organization state. New state = Failed
16:05:41| Error| Error al actualizar la organización de Id.=0a9708a0-d898-49e6-ab45-b8fe2e4d0d5d con la excepción:
System.Exception: Error.ActionFailed Microsoft.Crm.Tools.Admin.InstallDatabaseUpdatesAction ---> System.Data.SqlClient.SqlException: MergeSyncEntryData: SubscriptionSyncEntryOfflineBase table does not exist.
en System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
en System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
en System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)
en System.Data.SqlClient.SqlCommand.RunExecuteNonQueryTds(String methodName, Boolean async, Int32 timeout, Boolean asyncWrite)
en System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(TaskCompletionSource`1 completion, String methodName, Boolean sendToPipe, Int32 timeout, Boolean& usedCache, Boolean asyncWrite, Boolean inRetry)
en System.Data.SqlClient.SqlCommand.ExecuteNonQuery()
en Microsoft.Crm.Setup.Database.DatabaseUtility.ExecuteSqlCommands(String sql, IDbCommand cmd)
en Microsoft.Crm.Setup.Database.DatabaseUtility.ExecuteSql(InstallDatabase database, String sql, Int32 timeout, Boolean disablePool)
en Microsoft.Crm.Setup.Database.SqlScriptAction.Execute(DatabaseUtility dbUtility)
en Microsoft.Crm.Setup.Database.DatabaseInstaller.ExecuteReleases(ReleaseInfo releaseInfo, Boolean isInstall)
en Microsoft.Crm.Setup.Database.DatabaseInstaller.Install(Int32 languageCode, String configurationFilePath, Boolean upgradeDatabase, Boolean isInstall)
en Microsoft.Crm.Setup.Database.DatabaseInstaller.InstallUpdate(String configurationFilePath, Boolean upgradeDatabase)
en Microsoft.Crm.Setup.Common.Update.DBUpdateDatabaseInstaller.ApplyDBUpdates(Guid orgId)
en Microsoft.Crm.Tools.Admin.InstallDatabaseUpdatesAction.ApplyDBUpdatesInternal(Guid orgId, String orgUniqueName, String releaseFilePath, Boolean ignoreErrors)
en Microsoft.Crm.Tools.Admin.InstallDatabaseUpdatesAction.ApplyDBUpdates(Guid orgId, String orgUniqueName, OrganizationOperationType operationType)
en Microsoft.Crm.Tools.Admin.InstallDatabaseUpdatesAction.Do(IDictionary parameters)
en Microsoft.Crm.Setup.Shared.CrmAction.ExecuteAction(CrmAction action, IDictionary parameters, Boolean undo)
--- Fin del seguimiento de la pila de la excepción interna ---
en Microsoft.Crm.Setup.Shared.CrmAction.ExecuteAction(CrmAction action, IDictionary parameters, Boolean undo)
en Microsoft.Crm.Setup.Shared.Installer.Install(IDictionary stateSaver)
en Microsoft.Crm.Tools.Admin.OrganizationOperation.Install(IDictionary stateSaver)
en Microsoft.Crm.Tools.Admin.OrganizationOperation.Execute()
en Microsoft.Crm.Tools.Admin.OrganizationDatabaseHotFixer.Execute()
en Microsoft.Crm.Tools.Admin.ApplyDatabaseHotFixInstaller.ApplyDatabaseHotFix(IApplyDatabaseHotFixInfo applyDatabaseHotFixInfo)
16:05:41| Info| Found the older table DBUpdateInstallInfo_V5, updating new table and deleting
16:05:41| Info| GetDBUpdateRevisionThresholdForServer(): Threshold = 7.0.0003.0150.

Versions of the servers are:

Organisation:

Any idea ?