This page shows you how to resolve issues with the Migration Center discovery client CLI.
Upgrade issue
When you upgrade the mcdc CLI to the latest version, it
performs an internal database schema upgrade which automatically creates a
backup of collected and assessed data by the previous version.
In rare cases, the mcdc CLI upgrade doesn't complete
successfully due to a failure in upgrading the local database. This might happen
due to a malfunction during the database upgrade which corrupts the database,
and therefore, the previously collected data is lost.
After upgrading the mcdc CLI, when you run the latest
version, if you see an error which indicates that the database upgrade failed,
you can use the recover-db command to restore the database to a previous
working version then downgrade to the previous mcdc CLI
version.
Perform the following steps:
Restore the database to a previous working version:
./mcdc discover recover-dbDownload the the
mcdcCLI version you used before the upgrade.While installing an older version the
mcdcCLI, don't remove themcdcCLI directory that is created by the current version.