dify升级出现 manifest for langgenius/dify-web:1.0.0 not found: manifest unknown: manifest unknown

docker-compose up -d
[+] Running 4/4
 ✘ worker Error        context canceled                                                                                                                                     4.3s
 ✘ plugin_daemon Error context canceled                                                                                                                                     4.3s
 ✘ web Error           manifest for langgenius/dify-web:1.0.0 not found: manifest unknown: manifest unknown                                                                 4.3s
 ✘ api Error           context canceled                                                                                                                                     4.3s
Error response from daemon: manifest for langgenius/dify-web:1.0.0 not found: manifest unknown: manifest unknown

升级了一下dify版本,出现更新不了的问题

原因:官网还没有1.0.0的镜像版本

解决办法:修改docker-compose.yaml中相关版本,把1.0.0改为最新的版本 0.15.3,记得改全了

 web:
    ##修改1.0.0为0.15.3
    image: langgenius/dify-web:0.15.3
    restart: always
    environment:
      CONSOLE_API_URL: ${CONSOLE_API_URL:-}
      APP_API_URL: ${APP_API_URL:-}
      SENTRY_DSN: ${WEB_SENTRY_DSN:-}
      NEXT_TELEMETRY_DISABLED: ${NEXT_TELEMETRY_DISABLED:-0}
      TEXT_GENERATION_TIMEOUT_MS: ${TEXT_GENERATION_TIMEOUT_MS:-60000}
      CSP_WHITELIST: ${CSP_WHITELIST:-}
      MARKETPLACE_API_URL: ${MARKETPLACE_API_URL:-https://marketplace.dify.ai}
      MARKETPLACE_URL: ${MARKETPLACE_URL:-https://marketplace.dify.ai}
      TOP_K_MAX_VALUE: ${TOP_K_MAX_VALUE:-}
      INDEXING_MAX_SEGMENTATION_TOKENS_LENGTH: ${INDEXING_MAX_SEGMENTATION_TOKENS_LENGTH:-}


services:
  # API service
  api:
    image: langgenius/dify-api:0.15.3
    restart: always
    environment:
      # Use the shared environment variables.
      <<: *shared-api-worker-env
      # Startup mode, 'api' starts the API server.
      MODE: api
      SENTRY_DSN: ${API_SENTRY_DSN:-}
      SENTRY_TRACES_SAMPLE_RATE: ${API_SENTRY_TRACES_SAMPLE_RATE:-1.0}
      SENTRY_PROFILES_SAMPLE_RATE: ${API_SENTRY_PROFILES_SAMPLE_RATE:-1.0}
      PLUGIN_MAX_PACKAGE_SIZE: ${PLUGIN_MAX_PACKAGE_SIZE:-52428800}
      INNER_API_KEY_FOR_PLUGIN: ${PLUGIN_DIFY_INNER_API_KEY:-QaHbTe77CtuXmsfyhR7+vRjI/+XbV1AaFy691iy+kGDv2Jvy0/eAh8Y1}
    depends_on:
      - db
      - redis
    volumes:
      # Mount the storage directory to the container, for storing user files.
      - ./volumes/app/storage:/app/api/storage
    networks:
      - ssrf_proxy_network
      - default


  # worker service
  # The Celery worker for processing the queue.
  worker:
    image: langgenius/dify-api:0.15.3
    restart: always
    environment:
      # Use the shared environment variables.
      <<: *shared-api-worker-env
      # Startup mode, 'worker' starts the Celery worker for processing the queue.
      MODE: worker
      SENTRY_DSN: ${API_SENTRY_DSN:-}
      SENTRY_TRACES_SAMPLE_RATE: ${API_SENTRY_TRACES_SAMPLE_RATE:-1.0}
      SENTRY_PROFILES_SAMPLE_RATE: ${API_SENTRY_PROFILES_SAMPLE_RATE:-1.0}
      PLUGIN_MAX_PACKAGE_SIZE: ${PLUGIN_MAX_PACKAGE_SIZE:-52428800}
      INNER_API_KEY_FOR_PLUGIN: ${PLUGIN_DIFY_INNER_API_KEY:-QaHbTe77CtuXmsfyhR7+vRjI/+XbV1AaFy691iy+kGDv2Jvy0/eAh8Y1}
    depends_on:
      - db
      - redis
    volumes:
      # Mount the storage directory to the container, for storing user files.
      - ./volumes/app/storage:/app/api/storage
    networks:
      - ssrf_proxy_network
      - default


执行一下 docker-compose up:

docker-compose up -d
[+] Running 33/4
 ✔ web Pulled                                                                                                                                                              80.9s
 ✔ plugin_daemon Pulled                                                                                                                                                   191.9s
 ✔ worker Pulled                                                                                                                                                          394.7s
 ✔ api Pulled                                                                                                                                                             394.7s
[+] Running 12/12
 ✔ Network docker_ssrf_proxy_network  Created                                                                                                                               0.0s
 ✔ Network docker_default             Created                                                                                                                               0.1s
 ✔ Container docker-web-1             Started                                                                                                                               0.8s
 ✔ Container docker-plugin_daemon-1   Started                                                                                                                               0.9s
 ✔ Container docker-sandbox-1         Started                                                                                                                               0.8s
 ✔ Container docker-ssrf_proxy-1      Started                                                                                                                               0.9s
 ✔ Container docker-redis-1           Started                                                                                                                               0.9s
 ✔ Container docker-db-1              Started                                                                                                                               0.8s
 ✔ Container docker-weaviate-1        Started                                                                                                                               0.9s
 ✔ Container docker-worker-1          Started                                                                                                                               0.7s
 ✔ Container docker-api-1             Started                                                                                                                               0.8s
 ✔ Container docker-nginx-1           Started

检查一下docker状态:

docker ps
CONTAINER ID   IMAGE                                       COMMAND                   CREATED          STATUS                    PORTS                                                NAMES
566b1fc44c65   nginx:latest                                "sh -c 'cp /docker-e…"   10 minutes ago   Up 10 minutes             80/tcp, 0.0.0.0:443->443/tcp, 0.0.0.0:80->8088/tcp   docker-nginx-1
d2527ac5a585   langgenius/dify-api:0.15.3                  "/bin/bash /entrypoi…"   10 minutes ago   Up 10 minutes             5001/tcp                                             docker-worker-1
5b5b60fbe838   langgenius/dify-api:0.15.3                  "/bin/bash /entrypoi…"   10 minutes ago   Up 10 minutes             5001/tcp                                             docker-api-1
bb7671341311   ubuntu/squid:latest                         "sh -c 'cp /docker-e…"   10 minutes ago   Up 10 minutes             3128/tcp                                             docker-ssrf_proxy-1
1967c3a668bf   langgenius/dify-plugin-daemon:0.0.1-local   "/bin/bash -c /app/e…"   10 minutes ago   Up 10 minutes             0.0.0.0:5003->5003/tcp                               docker-plugin_daemon-1
33952beddce6   langgenius/dify-web:0.15.3                  "/bin/sh ./entrypoin…"   10 minutes ago   Up 10 minutes             3000/tcp                                             docker-web-1
1aad43712eb7   redis:6-alpine                              "docker-entrypoint.s…"   10 minutes ago   Up 10 minutes (healthy)   6379/tcp                                             docker-redis-1
fd8e9ea7e3be   semitechnologies/weaviate:1.19.0            "/bin/weaviate --hos…"   10 minutes ago   Up 10 minutes                                                                  docker-weaviate-1
bb94ee2816ab   postgres:15-alpine                          "docker-entrypoint.s…"   10 minutes ago   Up 10 minutes (healthy)   0.0.0.0:5432->5432/tcp                               docker-db-1
5a51be73909c   langgenius/dify-sandbox:0.2.10              "/main"                   10 minutes ago   Up 10 minutes (healthy)                                                        docker-sandbox-1
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

码农丁丁

你的认可是我创作最大的动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值