Migrating oauth2 Tokens - Container Edition
Procedure
-
Log in to the
migration-containerin themigration-pod.docker exec -it migration-container /bin/bash -
Change to folder
/usr/local/bin, and run the following command to migrateoauth2tokens from Local Edition 4.x.x to 6.x.x.migrate.py --migrate_tokens-
This command continues to run until all tokens have been migrated. It outputs progress in the terminal and remembers its progress in the file
tokens.offset. -
If the command is interrupted, you can restart it, and token migration will resume after the restart.
-
You can start this command at any time. After restarting, it searches for new tokens in Local Edition 4.x.x and migrates them to Local Edition 6.x.x.
-