Hey,
I’m moving from legacy v6 on Ubuntu 16 to docker V8 on ubuntu 18 (using redash aws image).
I’ve migrated the db from the old v6 to the new dockerized v8 redash as follows:
exported the db using this command: sudo -u redash pg_dump > backup_filename.sql
on the new v8 redash i’ve migrated the db using : cat backup_new.sql | sudo docker exec -i redash_postgres_1 psql -U postgres
Seems like the application is up, I’m getting the login page but when trying to login I’m getting 'Server internal Error".
The only error I see in the docker-compose logs is from the scheduler:
scheduler_1 | [2021-05-20 15:24:41,596][PID:14][ERROR][ForkPoolWorker-2] Task redash.tasks.refresh_queries[c501ce86-827d-458e-9566-decf2290140b] raised unexpected: ValueError(“Attribute ‘schedule’ does not accept objects of type <type ‘int’>”,)
any ideas what should be done from this point to solve this issue?
If you are currently running an instance of Redash prior to V7, do not upgrade directly to V8 . Upgrade semantically to V7 first . Read more about this on our forum here.
The best way to do this is to create a Docker V6 instance. Then copy your non-Docker V6 database into Docker. Then upgrade to V7. Then Upgrade to V8.