hello team. I am upgrading our instance to latest ...
# getting-started
c
hello team. I am upgrading our instance to latest version using the no code migration guide, but running into below issues:
Copy code
Starting upgrade with id NoCodeDataMigration...
Cleanup has not been requested.
Skipping Step 1/7: RemoveAspectV2TableStep...
Executing Step 2/7: GMSQualificationStep...
Completed Step 2/7: GMSQualificationStep successfully.
Executing Step 3/7: UpgradeQualificationStep...
-- V1 table exists
-- V1 table has 8011 rows
-- V2 table exists
-- V2 table has 2 rows
-- Since V2 table has records, we will not proceed with the upgrade.
-- If V2 table has significantly less rows, consider running the forced upgrade.
Failed to qualify upgrade candidate. Aborting the upgrade...
Step with id UpgradeQualificationStep requested an abort of the in-progress update. Aborting the upgrade...
Upgrade NoCodeDataMigration completed with result ABORTED. Exiting...
How do I do that recommended
forced upgrade
in this case?
m
@curved-magazine-23582: it should be adding
--force-upgrade
to your command line invocation.
c
thanks. like this?
./run_upgrade.sh --force-upgrade
?
m
yes that sounds right
one sec.. which guide are you following
the docker based upgrade?
c
yeah
m
so you should be running
./datahub-upgrade.sh -u NoCodeDataMigration
?
c
hmm ok. what is diff between these 2 upgrade docs? 🤔 our instance is set up with local docker compose / quickstart.sh
m
what is the upgrade doc you are following
ah sorry I see you put it here
looks like
run_upgrade.sh
is invoking a specific set of args for datahub-upgrade.
cd $DIR && ../datahub-upgrade.sh -u NoCodeDataMigration -a batchSize=1000 -a batchDelayMs=100
you just need to add
-a force-upgrade
to that list of args
you can either modify that shell script to add it
or just issue a top level
./datahub-upgrade.sh -u NoCodeDataMigration -a batchSize=500 -a batchDelayMs=1000 -a force-upgrade
from the
docker
directory
Looks like we missed documenting that argument in our docs, will add it 🙂
Let me know if that arg works for you @curved-magazine-23582 🤞
c
thanks for the details! will give a try
that works. thanks a lot!
🎉 1
b
w00t