Update to version

New to redash, never used the product before. Looking for some assistance with doing an upgrade on hosted solution. I see the detailed commands in the update guide but that doesn’t help me much as this is my first time working with this product. any help would be greatly appreciated.

Starting Redash upgrade:
Found version: 8.0.0
Current version: 7.0.0+b17535

How did you install Redash v7?

not sure it was in place from the previous sysadmin who is no longer with us

Does it run in Docker?

I asked my developer that uses it and he’s not sure and these were the only notes he had for the upgrade which is what I tried:

service supervisord restart
cd /opt/redash/current/bin
(run restart after upgrade)
yum update
(VM updates)
Create checkpoint on VM before upgrade.
Delete checkpoint after successful install.

I see. So that upgrade path has been deprecated since we use Docker now. The easiest option here is to migrate from your non-Docker instance to a Docker instance of the same version (V7 -> V7) and then upgrade your Docker instance to V8 using the steps shown in our “How To Upgrade” doc.

Can you direct me to that please

I updated my response with a link.

got it, thanks!!

but I don’t see the notes for the to migrate from your non-Docker instance to a Docker instance of the same version (V7 -> V7)

There aren’t official docs for this since the number of possible migration scenarios is near infinity. But it comes up on the forum a lot.

Have a look over this thread. Migration is pretty straightforward:

  1. Create a new instance of Redash V7 using docker.
  2. Import your database export from the non-Docker version

You’ll surely need to make other adjustments. But those are the basics.


Starting from the Redash V8 release we’re no longer building the tarball version of a release – only Docker images. This of course doesn’t prevent you from deploying Redash anyway you want, but the bin/upgrade script won’t work with the new releases.

Just noticed this on the web site and I’m now I am a bit stressed. So how do we upgrade without moving to docker. Step by step please.

Hi @bbrowski,

Can you share a bit info about your current deployment:

  1. What version are you running?
  2. Do you make backups of your database?
  3. What is the OS version?
  4. Is the database/redis run on the same machine?
1 Like

Hi @arikfr

  1. Currently running version 7.0.0.b17535
  2. I have backups of the redash db and the env file
  3. Ubuntu 18.04.3 LTS
  4. We have MySQL 5.7 database with most of the data that we access from redash queries running on the same machine. (not sure if that is what you are asking or if you are refering to some redash db - but in any case everything is on one machine and is working well)


Hello, I have the same concerns.

Have been running redash in AWS for ages and upgraded to 7, now getting to 8 is a bit of a learning curve. Got 8 running in docker and in EC2 instance (requires 2Gb RAM, hence t2.small that is more expensive). Probably can get also 7 working in docker and then replace DB and upgrade, but

  1. how to replace DB within docker image?
  2. how to split docker image building and build ECS cluster with necessary networking?

There I need help. Is somewhere some examples or documentation that I could use?
Building images in EC2 instance and deploying them to ECS and figuring out networking? Is that the strategy to go for?

Also has someone been able to get redash in docker running on mac? As it would be significantly easier to do development and building on mac and then deploy to AWS ECS?

A lot of questions but I guess you get the point?

1 Like

There are two options for you to move to a Docker based deployment:

Move everything to Docker

The new AMIs have everything running in Docker. To move to such an instance:

  1. Create a backup of your Postgres database.
  2. Start a new Docker based AMI.
  3. Update the Docker image to use the same version as you were using previously (v7 in your case).
  4. Import the Postgres database backup you created in step 1.
  5. Check that everything is working properly.
  6. Upgrade to V8.

Move only Redash to Docker

The other option is to move only the Redash services to Docker, but keep the same Postgres/Redis you were using before on the host.

  1. Check how the setup script works to manually setup Docker and Docker-Compose.
  2. Use a similar docker-compose.yml, but remove the Postgres, Redis and Nginx services from it. Also you will need to setup it up in a way that allows the Docker containers to access ports from the host (to be able to communicate with Postgres/Redis).
  3. Update version to be the same version as you were using previously.
  4. Stop old services and start Docker Compose.
  5. Make sure that everything is working properly
  6. Upgrade to v8.

Obviously I skipped lots of details here, but wanted to provide the layout in case someone wants to take a stab at it.

Are you making changes to the default build that you need to build custom images?

I got docker based v8 working on EC2 but the goal is to move it all to ECS and drop EC2 instance. Not sure yet if that is more cheaper or not?

I was planning to build everything on docker and then deploy images to ECS and setup cluster and networking in a way where they can be talking to each other.

That would need docker compose rework I guess.
Added bonus would be to setup DB in RDS and have redash talking to it.

Sorry learning by doing here :slight_smile:

Running Redash’s services on ECS, having it proxied via ELB and the database on RDS is definitely a robust setup. It won’t be cheaper though :slight_smile:

We provide already built images of Redash, so this is why I asked why you need to build images?

1 Like

Roger, then I focus on getting v7 on docker to work on EC2 t2.small instance (was sofar running on micro with 1Gb and 1Gb swap) and update the DB and upgrade to v8. 2Gb RAM is enough I guess?