Issue Summary

I’m upgrading from Redash 7.0.0 on a legacy installation to Redash 8.0.0.
I used the contrib-helm-chart to install the version 7.0.0 on GKE and the Redash database is running on Google Cloud SQL and I’m having 2 problems:

  1. Queries are not showing any visualisation on both versions
  2. After upgrading, I lose access to any data source

I have no idea about 1, but I believe that 2 is happening because that the key used to encrypt the data sources options is changing in the upgrade

Technical details:

  • Redash Version: 7.0.0.b18042 to 8.0.0.b32245
  • Browser/OS: Chrome Version 77.0.3865.120 on MacOS X 10.15
  • How did you install Redash: contrib-helm-chart

For 2. see Database Migration using incorrect key for encryption

Hopefully there will be an 8.0.1 that addresses the problem; however you’ll need to restore a backup of your pre-upgrade DB and then rerun the migration. Or just set the key value to be the same as the one that will have erroneously been used during the upgrade.

How do I set this key? which environment variable?

If you’ve already run the migration, then you need to set the environment variable REDASH_SECRET_KEY to the same value as REDASH_COOKIE_SECRET (which should already exist).

1 Like

A post was split to a new topic: Upgrading Non-Docker V7 to Docker V8