Overview
You may see the following error whenever you try to bring a vault online. This prevents you from bringing the vault online.The most likely cause for the above error is that there are two vaults that are pointing to the same secondary data/index location. This prevents the system from removing the *.lock file because it's currently being used by another vault that is online.
In the below example using SQL Server for the backend database we can see that there is a "Location for secondary data on the M-Files Server" (red box). This location *must* be unique for every single vault. No two vaults can have the same value for this.
For a vault using Firebird as the backend database the document vault location *must* be unique for each vault. If you have two vaults that share this value, you run the risk of corrupted or overwritten data and well as corrupted indexes.
Solution
For SQL Server vaults, the solution would be to change one or both of the vaults to point to their own unique secondary data/index location. You may also need to re-index the vaults by running a search index rebuild for the vaults if the search is not working as it should.https://www.m-files.com/user-guide/latest/eng/faq_rebuilding_search_indexes.html?hl=rebuild%2Cindex
For Firebird vaults, depending on when each vault was put in place there could be none or large amounts of corruption and overwrite. If you believe your database has been corrupted or overwritten, send a support ticket to support@m-files.com .
