Updating to v8 failed, can't seem to import db to brand new docker image either

Tried to update to v8 using /latest tag in docker-compose.yml but it failed as per this post which got no replies.

Then I tried replacing docker-compose.yml with the latest from github, and it updated, but even after reboot, I got the error " could not translate host namepostgres” to address"

Launched a brand new install from the official Redash AWS v8 image, did the following with the database from following forums:

On old server
sudo rsync -aP /opt/redash/postgres-data postgres-datav7

move to new server

On new server

docker-compose stop server scheduler scheduled_worker adhoc_worker
sudo mv /opt/redash/postgres-data /opt/redash/postgres-data-bak
sudo mv postgres-datav7 /opt/redash/postgres-data
docker-compose run --rm server manage db upgrade
docker-compose up -d

Appeared to go OK, but browsing to site gives 500 internal server error, so…
docker-compose stop server scheduler scheduled_worker adhoc_worker
sudo rm -rf /opt/redash/postgres-data
sudo mv /opt/redash/postgres-data-bak /opt/redash/postgres-data
docker-compose run --rm server manage db upgrade

= loads of errors from python

Reboot. Still stuck. Going to blow away this new instance and try again, again.
All I really want is my connection to dynamodb and dashboard queries so I don’t have to rebuild them

Have you had any luck after blowing away and starting from scratch?

Yes, I can make a brand new image from the official image on AWS, but after that… how do I import my old database? I’d actually be happy if I could even just read my queries from the old database somehow…

Here are a few posts from the forum that cover moving the database from one installation to another.