添加 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) ✗
我又在一节课的最后一关被卡住了。
推荐文章: