502 Bad Gateway after v9 upgrade

Issue Summary

unable upgrade v8 to v9

Technical details:

  • Redash Version:V8
  • Browser/OS: chrome 90.0.4430.212 / mac 11.3.1
  • How did you install Redash:

aws ec2 t3a.medium
create instans by ami-060741a96307668be

connect ssh

$sudo su
#cd /opt/redash
#docker-compose stop server scheduler scheduled_worker adhoc_worker
#vim /opt/redash/docker-compose.yml
add text by url:Release v9.0.0-beta · getredash/redash · GitHub

worker:
<<: *redash-service
command: worker
environment:
QUEUES: “periodic emails default”
WORKERS_COUNT: 1

#cat /opt/redash/docker-compose.yml

version: “2”
x-redash-service: &redash-service
image: redash/redash:8.0.0.b32245
depends_on:
- postgres
- redis
env_file: /opt/redash/env
restart: always
services:
worker:
<<: *redash-service
command: worker
environment:
QUEUES: “periodic emails default”
WORKERS_COUNT: 1
server:
<<: *redash-service
command: server
ports:
- “5000:5000”
environment:
REDASH_WEB_WORKERS: 4
scheduler:
<<: *redash-service
command: scheduler
environment:
QUEUES: “celery”
WORKERS_COUNT: 1
scheduled_worker:
<<: *redash-service
command: worker
environment:
QUEUES: “scheduled_queries,schemas”
WORKERS_COUNT: 1
adhoc_worker:
<<: *redash-service
command: worker
environment:
QUEUES: “queries”
WORKERS_COUNT: 2
redis:
image: redis:5.0-alpine
restart: always
postgres:
image: postgres:9.6-alpine
env_file: /opt/redash/env
volumes:
- /opt/redash/postgres-data:/var/lib/postgresql/data
restart: always
nginx:
image: redash/nginx:latest
ports:
- “80:80”
depends_on:
- server
links:
- server:redash
restart: always

#docker-compose up -d

solved:awsのEC2でのredash9.0の導入方法 - Qiita