You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

ddev 1.21.3执行ddev pull acquia报错Unknown Drush version求助

ddev pull acquia执行失败:Unknown Drush version错误(仅ddev 1.21.3受影响)

问题现象

从Acquia环境拉取数据时,执行ddev pull acquia --skip-files命令失败,该问题仅出现在ddev 1.21.3版本,1.21.1、1.19.5等旧版本可正常完成拉取操作。

完整报错信息

❯ ddev pull acquia --skip-files
You're about to delete the current database and replace with the results of a fresh pull.
Would you like to continue? [Y/n] (yes): yes
Authenticating...
Saved credentials

In AliasesDownloadCommand.php line 119:

  Unknown Drush version

remote:aliases:download [--destination-dir DESTINATION-DIR] [--all] [--] [<applicationUuid>]

Pull failed: exit status 1

解决方案

  • 临时降级ddev版本:切换到1.21.1或1.19.5等无问题的旧版本,可直接恢复拉取功能。
  • 手动处理Drush别名:
    1. 登录Acquia Cloud控制台获取目标应用的UUID
    2. 执行drush remote:aliases:download <你的应用UUID>手动下载远程别名文件
    3. 将下载后的别名文件移动到ddev可识别的目录(例如.ddev/commands/web/或Drush默认的别名存储目录)
    4. 重新执行ddev pull acquia --skip-files命令
  • 等待官方修复:该问题属于ddev 1.21.3版本的兼容性bug,可关注官方版本更新日志,待修复版本发布后升级。

内容的提问来源于stack exchange,提问作者JamesWilson

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.08.15 11:45:36