Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🐛 Instructions to rehash nodes after migration are incorrect #6027

Closed
mbercx opened this issue May 17, 2023 · 0 comments · Fixed by #6028
Closed

🐛 Instructions to rehash nodes after migration are incorrect #6027

mbercx opened this issue May 17, 2023 · 0 comments · Fixed by #6028
Labels

Comments

@mbercx
Copy link
Member

mbercx commented May 17, 2023

After doing the latest migration, the user is instructed to rehash the CalcJob nodes:

verdi storage migrate
Warning: Migrating your storage might take a while and is not reversible.
Warning: Before continuing, make sure you have completed the following steps:
Warning:
Warning:  1. Make sure you have no active calculations and workflows.
Warning:  2. If you do, revert the code to the previous version and finish running them first.
Warning:  3. Stop the daemon using `verdi daemon stop`
Warning:  4. Make a backup of your database and repository
Warning:
Warning: If you have completed the steps above and want to migrate profile "dev", type MIGRATE NOW: MIGRATE NOW
Report: Migrating to the head of the main branch
Warning: Invalidating the hashes of certain nodes. Please run `verdi rehash -p aiida.node:process.calculation.calcjob`.
Report: - main_0001 -> main_0002
Success: migration completed

However, the provide command is not correct:

verdi rehash -p aiida.node:process.calculation.calcjob
Usage: verdi [OPTIONS] COMMAND [ARGS]...
Try 'verdi --help' for help.

Error: `rehash` is not a verdi command.

No similar commands found.
@mbercx mbercx changed the title 🐛 Instructions to rea 🐛 Instructions to rehash nodes after migration are incorrect May 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant