There are currently 3 possible ways to recover from a case where MailStore >=25 was installed, but there are Storage Locations still on FB3 or earlier, and therefore cannot be accessed by the current MailStore Server release.

 Use a backup of the MailStoreMaster.fdb file taken before the upgrade to MailStore 25

  • Stop the MailStore Service.
  • Uninstall MailStore 25.
  • Restore a backup of the MailStoreMaster.fdb and MailStoreMaster.key files.
  • Download MailStore 24.4 and install it
  • Log in as admin.
  • Go to Administrative Tools > Storage > Storage Locations.
  • Update each Storage Location, or click the yellow bar at the top to upgrade them all sequentially.
  • Download the current release of MailStore Server Install the current release of MailStore 25

 Use a temporary master database

  • Stop the MailStore Service.

  • Use the MailStore Server Service Configuration tool to change the master database path, perhaps append a -dbupdate

  • If MailStore 25 is installed, uninstall it and install MailStore 24.4, available for download from https://my.mailstore.com/Downloads/Server/24.4.0.22517

  • Start the service.

  • Log in using the default "localhost", "admin" / "admin" credentials.

  • Go to Administrative Tools > Storage > Storage Locations.

  • Now attach your old Storage Locations and upgrade them. You can attach one and upgrade it, and repeat, or you can attach them all and click the yellow bar at the top to upgrade them all sequentially.

  • Return to the MailStore Server Service Configuration tool, change the master database path back to the original path.

  • Install the current release of MailStore 25, available from https://my.mailstore.com/Downloads/Server

  • Delete the temporary -dbupdate master database as it no longer has any use.

Be sure to close the MailStore Server Service Configuration tool and any open MailStore Client instances before uninstalling or upgrading; otherwise, these will block the installer.

 Rebuild the databases in-place

This is a relatively slow process, please use one of the previous options if at all possible, this should be considered a last resort.

  • Ensure you are running MailStore 25, upgrade to the current release, if needed.
  • Go to Administrative Tools > Storage > Storage Locations.
  • Note the ID number of any Storage Location that cannot be opened due to running an outdated Firebird version.
  • Go to API > Command Prompt
  • Enter the command "RecoverStore --id=1" where "1" is the ID of a Storage Location with an outdated database. Repeat for additional Storage Locations.
  • Return to the Storage Locations panel.
  • Switch each Storage Location back to the correct state, normally "Normal" for all but the newest, and "Archive Here" for the newest.