Overview
The following issue may occur which causes the M-File system to become non-responsive. This will cause the vault(s) to be offline and they cannot come online. The following error message will be visible
Solution
This usually means that the master.fdb file has become corrupted somehow. Usually this will present as the master.fdb file being over 10 MB or so, possibly even hundreds of GB.
A good master.fdb file should be less than this as seen below:
The resolution for this is as follows:
- Backup the master database: https://userguide.m-files.com/user-guide/latest/eng/backing_up_the_master_database.html?hl=master%2Cdatabase The file generated should be reasonably small as seen in the screenshot above.
- Stop the M-File Server service.
- Rename/move the bad master.fdb file from the C:\Program Files\M-Files\<VERSION>\Server\Data folder.
- Start the M-Files Server service.
- A new master.fdb file should be generated into the location but that is okay. This master.fdb file will be blank and not have any of the license or login information in it.
- Restore the master database as per the instructions in step 1. This should restore the license and login accounts.
- Bring all vaults online that should be online.
Keep in mind that the best solution here would be to already had a disaster recovery plan in place with a recurring backup of the master database which can be restored from.
