ã¿ãã§ã.
redash v10 ã10/2ã«ãªãªã¼ã¹ããã¾ãã.ãã¼ã«ã«ã« v8 ãå ¥ãã¦ãã®ã§ãã¼ã¸ã§ã³ã¢ããããã¦ã¿ã¾ãã.ãã®ä½æ¥å 容ããã®è¨äºã«ã¾ã¨ãã¦ããã¾ã.ãªã,ãã¼ã«ã«ã¯æ¬¡ã®ãããªç°å¢ã«ãªãã¾ã.
% sw_vers ProductName: Mac OS X ProductVersion: 10.15.7 BuildVersion: 19H1419 % docker -v Docker version 20.10.8, build 3967b7
ãã¼ã¸ã§ã³ã¢ããã°ã¬ã¼ãä½æ¥
ãã¼ã¸ã§ã³ã®ã¢ããã°ã¬ã¼ãã«ã¤ãã¦ã¯ Upgrading
ã®ã»ã¯ã·ã§ã³ã«è¨è¼ãããã¾ãã.
This section is duplicated from the previous release - since many users will upgrade directly from V8 -> V10
Under services/scheduler/environment, omit QUEUES and WORKERS_COUNT (and omit environment altogether if it is empty).
Under services, add a new service for general RQ jobs:
Following that, force a recreation of your containers with docker-compose up --force-recreate --build and you should be good to go.
ä¸è¨ãåèã« scheduler ã® environment
ãã QUEUES/WORKERS_COUNT
ãåé¤ã,RQ jobs ã®è¨å®ã docker-compose.yml
ã«è¨è¼ããã®ãä¸è¨ã®å
容ã«ãªãã¾ã.
version: "2" x-redash-service: &redash-service image: redash/redash:10.0.0.b50363 depends_on: - postgres - redis env_file: /opt/redash/env restart: always services: server: <<: *redash-service command: server ports: - "5000:5000" environment: REDASH_WEB_WORKERS: 4 scheduler: <<: *redash-service command: scheduler 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 worker: <<: *redash-service command: worker environment: QUEUES: "periodic emails default" WORKERS_COUNT: 1 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 --force-recreate --build
ãå®è¡ããã v10 ã®ç»é¢ã...è¦ãã¾ããã§ããw
ãã¼ã¸ã§ã³ã¢ãããããã®ã®redashã®ç»é¢ãè¦ããªãã£ãããã¾ãæ¥ãæ¹ãã¦ãªãã³ã¸ https://t.co/Jgjh1XAa5F
— Sadayoshi Tadað (@tada_infra) 2021å¹´10æ2æ¥
追å ã®ä½æ¥
ä¸è¨ã®ãã©ã¼ã©ã ãåèã«è¿½å ã®ã³ãã³ããå®è¡ãã¦ãã,å度ã¢ã¯ã»ã¹ãã¦ã¿ãã¨ãã v10 ã«ã¢ã¯ã»ã¹ã§ããããã«ãªãã¾ãã.UI ã v8 ããå¤ãã£ã¦ãã¾ãã.
docker-compose stop server scheduler scheduled_worker adhoc_worker
docker-compose run --rm server manage db upgrade
docker-compose down
docker-compose up -d
ãã°ã¤ã³å¾ã®ç»é¢
System Status ã®ç»é¢ã§ 10.0.0 ã«ãªã£ã¦ãããã¨ã確èª
ã¾ã,v10 ãããµãã¼ãããã CSV/Excel ããã¼ã¿ã½ã¼ã¹ã¨ãã¦åç §ã§ãããã¨ã確èªã§ãã¾ãã.
ã¾ã¨ã
redash v8 ã v10 ã«ã¢ããã°ã¬ã¼ãããæ©ä¼ããã£ãã®ã§ã¾ã¨ãã¦ã¿ã¾ãã.è¨äºã§ã¯ mac ã®ç°å¢ãæ±ãã¾ããã,EC2 ã«ãã¹ããã¦ããç°å¢ã§ãåæ§ã®ä½æ¥ãè¡ã£ãã v10 ã«ã¢ããã°ã¬ã¼ãã§ãã¾ãã.