Overview
The Indexer cannot find various files and generates errors.
Solution
When seeing a similar error in the Windows Application Event Viewer, there can be several reasons for this.
Example Error:
Vault ID: <vault GUID here> Index name: IndexName Partition: The M-Files indexer failed to index the vault: <vault GUID here>." Index name: "Filedata". Indexing request type: "Default". Indexing the data file "99148-1 (ObjID: 103-10116)" failed. The system cannot find the file specified. Indexer.cpp, 1286, The M-Files indexer failed to index the vault: "6C157B85-30B2-424D-BBC0-1EF3385303E5". (0x80040885) Indexer.cpp, 1283, Index name: "Filedata". Indexing request type: "Default". (0x80040120) Indexer.cpp, 1261, Indexing the data file "99148-1 (ObjID: 103-10116)" failed. (0x8004009C) Indexer.cpp, 2021, Indexing the data file "99148-1 (ObjID: 103-10116)" failed. (0x8004009C) Indexer.cpp, 2160, Indexing the data file "99148-1 (ObjID: 103-10116)" failed. (0x8004009C) FileDataIndexer.cpp, 178, Indexing the data file "99148-1 (ObjID: 103-10116)" failed. (0x8004009C) FileDataIndexer.cpp, 277, Indexing the data file "99148-1 (ObjID: 103-10116)" failed. (0x8004009C) ObjectFileDataIndexJob.cpp, 159, Indexing the data file "99148-1 (ObjID: 103-10116)" failed. (0x8004009C) DtSearchIndexJobBase.h, 61, Indexing the data file "99148-1 (ObjID: 103-10116)" failed. (0x8004009C) DtSearchIndexJobBase.cpp, 55, Indexing the data file "99148-1 (ObjID: 103-10116)" failed. (0x8004009C) ObjectFileDataIndexingDS.cpp, 242, Indexing the data file "99148-1 (ObjID: 103-10116)" failed. (0x8004009C) ObjectFileDataIndexingDS.cpp, 96, Indexing the data file "99148-1 (ObjID: 103-10116)" failed. (0x8004009C) ObjectFileDataIndexJob.cpp, 339, Indexing the data file "99148-1 (ObjID: 103-10116)" failed. (0x8004009C) ObjectFileDataIndexJob.cpp, 339, The system cannot find the file specified. (0x80070002) MDataFileInputStream.cpp, 176, The system cannot find the file specified. (0x80070002) ObjectFileDataIndexingDS_MFServer.cpp, 325, The system cannot find the file specified. (0x80070002) IRPCIndexingDataSource.generated.cpp, 395, The system cannot find the file specified. (0x80070002) gRPCClient.cpp, 496, The system cannot find the file specified. (0x80070002) gRPCClient.cpp, 465, The system cannot find the file specified. (0x80070002) gRPCClient.cpp, 98, The system cannot find the file specified. (0x80070002) gRPC.generated.cpp, 6033, The system cannot find the file specified. (0x80070002) RPCIndexingDataSource.cpp, 248, The system cannot find the file specified. (0x80070002) MCallInLoop.h, 521, The system cannot find the file specified. (0x80070002) RPCIndexingDataSourceHelper.cpp, 2214, The system cannot find the file specified. (0x80070002) RPCIndexingDataSourceHelper.cpp, 3358, The system cannot find the file specified. (0x80070002) DataFilesHelper.cpp, 3323, The system cannot find the file specified. (0x80070002) DataFileVersionOnDisk.cpp, 769, The system cannot find the file specified. (0x80070002) DataFileVersionOnDisk.cpp, 535, The system cannot find the file specified. (0x80070002) ParallelFileDownloader.cpp, 102, The system cannot find the file specified. (0x80070002) DataFileVersionFileStream.cpp, 242, The system cannot find the file specified. (0x80070002) DataFileVersionFileStream.cpp, 494, The system cannot find the file specified. (0x80070002) DataFileVersionBytesOnDisk.cpp, 289, The system cannot find the file specified. (0x80070002) CoStreamDataFileVersionBytesOnDisk.cpp, 129, The system cannot find the file specified. (0x80070002) HandleCache.cpp, 471, The system cannot find the file specified. (0x80070002) (M-Files <Version> <Timestamp>)
There are two known solutions for this,
- Run Verify and Repair (Quick) [User Guide Link - Verify and Repair]
- This will generate a list of problematic objects.
- Get the list of files/versions.
- Manually destroy those files/version
OR
Restore from backup.
The Most common reasons for missing files are Anti-Virus and/or the files being moved or deleted by some other application or person.
User Guide Link - Virus Scanning
M-Files cannot determine which program did this and there's no way to know or stop it except to confirm the configuration of your applications is correct and make sure people know to not remove the files.
