Skip to main content
Feedback

Migrating oauth2 Tokens - Container Edition

Procedure

  1. Log in to the migration-container in the migration-pod.

     docker exec -it migration-container /bin/bash
  2. Change to folder /usr/local/bin, and run the following command to migrate oauth2 tokens 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.

On this Page