Overview
While upgrading the M-Files Server or upgrading Vaults on a server you get a Conflict error like below:
FeatureSupport.cpp, 1298, Upgrading the document vault "Vault Name" failed. (0x8004040E)
IRPCVaultsAdmin.generated.cpp, 209, Upgrading the document vault "Vault Name" failed. (0x8004040E)
gRPCClient.cpp, 496, Upgrading the document vault "Vault Name" failed. (0x8004040E)
gRPCClient.epp, 465, Upgrading the document vault "Vault Name" failed. (0x8004040E)
gRPCClient.cpp, 98, Upgrading the document vault "Vault Name" failed. (0x8004040E)
gRPC.generated.cpp, 29515, Upgrading the document vault "Vault Name" failed. (0x8004040E)
RPCVaultsAdmin.cpp, 281, Upgrading the document vault "Vault Name" failed. (04004040E)
VaultManager.cpp, 4874, Upgrading tne document vault "Vault Name" failed. (04004040E)
vaultManager.cpp, 4874, Bringing the vault online failed. (0)(80040120)
Vault.cpp, 12511, Bringing the vault online failed. (0x80040120)
Vault.cpp, 12511, M-Files Server cannot connect to the vault database. (0x80040456)
Vault.cpp, 4042, M-Files Server cannot connect to the vault database. (0x80040456)
Vault.cpp, 18528, M-files Server cannot connect to the vault database. (0x80040456)
VaultDBSession.cpp, 910, M-files Server cannot connect to the vault database. (0x80040456)
VaultDBSession cpp, 843, M-Files Server cannot connect to the vault database (0x80040456)
D8Session.cpp, 650, M-Files Server cannot connect to the vault database. (0x80040456)
D8Session.cpp, 650, Unspecified error. (Login failed for user 'mfserver {7450660C-B7E9-4DE2-BE92-A31BAEF82EF9}'. (ERROR: 18456, SOLSTATE: 28000)) (0x80004005)
D8Session.cpp, 592, Unspecified error. (Login tailed for user 'mfserver {7450660C-B7E9-4DE2-BE92-A31BAEF82EF9}'. (ERROR: 18456, SOLSTATE: 28000)) (0x80004005)
D8Session.cpp, 592, Cannot open database "Vault Name" requested by the login. The login failed. (ERROR: 4060, SQLSTATE: 42000) (0x89790002)
(M-Files 22.12.12140.4 2023-01-10148:58:49.2862)
Solution
There could be several reasons for the conflict lock. Please check the troubleshooting list below. These suggestions should minimize conflict lock errors during upgrades.
- Make sure that the Server / VM has plenty of drive space, RAM, processor, etc. for the upgrade.
- Multiple vaults could be upgrading simultaneously and not responding in a timely manner, thus generating the conflict message. If so, try to upgrade the vaults one at a time.
- Make sure that there are the recommended number of vaults on the server. Depending on the size of the vaults and server resources, from 1-5 vaults are the recommendation.
- Take vaults offline before performing an upgrade and then selectively bring them online and if need be, manually perform the upgrade on a vault-by-vault basis
Something else to try is to go into the M-Files Admin for the vaults that showed as Offline temporarily and right-click the vault name --> Operations --> Upgrade just to make sure the vaults upgraded successfully. It will tell you if it's the latest version.
