"InvalidToken" - Upgrade legacy v7 to docker v8

Hi,
I had a non-docker v7 instance which I migrated to docker v8 instance by the following steps:

  1. Backup the DB on old AWS instance
  2. Bring up new AWS instance with new AMI
  3. Changed docker-compose.yml to v7 and restart
  4. Restore DB backup
  5. Update env file with REDASH_COOKIE_SECRET
  6. Changed docker-compose.yml to v8 and restart

After the restart I get a lot of this message:
“Error running query: Internal Server Error

Looking at the docker-compose logs shows a lot of “InvalidToken” exceptions.

What did I miss? What else needs to be done?

Thanks!

Technical details:

  • Redash Version: 8.0.0+b32245
  • Browser/OS: Ubuntu 18.04.3 LTS
  • How did you install Redash: Using latest AWS AMI

Solved by deleting the “REDASH_SECRET_KEY” from the env file and restarting.