添加 Elasticsearch 迁移命令报错

我已经把 添加 Elasticsearch 迁移命令 的那段内容 保存到 deploy.php ,(见到报错后我检查过)。
然后执行 $ dep deploy
报下面的错:

✔ Executing task artisan:optimize
✔ Executing task artisan:migrate
➤ Executing task es:migrate
✔ Executing task deploy:failed
✔ Executing task deploy:unlock

In Client.php line 103:

  The command "/usr/bin/php /var/www/laravelShop-deployer/releases/2/artisan es:mi
  grate" failed.

  Exit Code: 1 (General error)

  Host Name: 我的公网 IP

  ================
    There are no commands defined in the "es" namespace.

    Did you mean this?
        session

        deploy [-p|--parallel] [-l|--limit LIMIT] [--no-hooks] [--log LOG] [--roles ROLES] [--hosts HOSTS] [-o|--option OPTION] [--] [<stage>]

➜  deploy-laravelShop git:(master) ✗

我又在一节课的最后一关被卡住了。

《L03 构架 API 服务器》
你将学到如 RESTFul 设计风格、PostMan 的使用、OAuth 流程,JWT 概念及使用 和 API 开发相关的进阶知识。
《L01 基础入门》
我们将带你从零开发一个项目并部署到线上,本课程教授 Web 开发中专业、实用的技能,如 Git 工作流、Laravel Mix 前端工作流等。
讨论数量: 1
leo

这个报错已经很明显了,自己想想为什么

5年前 评论
bing_ (楼主) 5年前

讨论应以学习和精进为目的。请勿发布不友善或者负能量的内容,与人为善,比聪明更重要!