The fulltext catalog upgrade failed because of an inconsistency in metadata between sys.master_files and sys.fulltext_catalogs ...

The fulltext catalog upgrade failed because of an inconsistency in metadata between sys.master_files and sys.fulltext_catalogs for the catalog ID %1!s! in database ID %2!s!. Try to reattach this database. If this fails, then the catalog will need to be dropped or recreated before attach.