Overview
When creating a full copy of a working document vault that has a Compliance Kit module enabled, adding or removing user account from user groups might not work and the system can hang for several minutes, after which a long error message is shown. The error message ends to the lines shown in following example:
VaultTrTrackerHelper.cpp, 573, Script execution was stopped due to a timeout. (0x80040835)
VaultTrTrackerHelper.cpp, 1262, Script execution was stopped due to a timeout. (0x80040835)
(M-Files <version>)
The reason for this issue is that when copying a document vault with Compliance Kit module, all user accounts have been disabled in the newly created document vault, as the User Synchronization module has not handled the changes. This is by design for this feature to minimize unnecessary server activity.
Only after the change in the user group is being made, User Synchronization module notices that group members changes have been done – to all of them – and the module tries to handle the changes right away, and it ends up to the timeout as it will take quite a bit time.
Solution
- Open M-Files Admin tool
- Navigate to ServerName > Document Vaults > Copy VaultName > Configuration > Compliance Kit > User Synchronization
o Where in dashboard there is a button “Synchronize Users”.
§ When pressing this before doing user group editing, the problem should not show up.
