【发布时间】:2015-02-08 01:41:57
【问题描述】:
我正在尝试在 fortrabbit 上部署一个小应用程序,但是当我在控制台中查看时,我遇到了错误:
Pushing to user@repository.git
remote: Step1: Updating repository
remote: -> OK
remote:
remote: Step2: Deploying (strategy: no delete, excludes: no)
remote: -> OK
remote:
remote: Step3: Composer Hook
remote: -> Triggering install - get a coffee
remote: -> Installing way/form [dev-master 25d0667]
remote: -> Installing way/form [dev-master 25d0667]
remote: ! Composer threw 'RuntimeException'
remote: ! Failed to execute git clone --no-checkout 'git@github.com:JeffreyWay/Laravel-FormField.git' '/var/www/web/application/htdocs/vendor/way/form' && cd '/var/www/web/application/htdocs/vendor/way/form' && git remote add composer 'git@github.com:JeffreyWay/Laravel-FormField.git' && git fetch composer
remote: ! ~~~FAIL~~~
remote: Step4: Executing post-deploy script
remote: ~ PHP Warning: require(/var/www/web/application/htdocs/bootstrap/../vendor/autoload.php): failed to open stream: No such file or directory in /var/www/web/application/htdocs/bootstrap/autoload.php on line 17
remote: ~ PHP Fatal error: require(): Failed opening required '/var/www/web/application/htdocs/bootstrap/../vendor/autoload.php' (include_path='.:/opt/php/5.4/share') in /var/www/web/application/htdocs/bootstrap/autoload.php on line 17
remote: ~
remote: !! FAIL !!
remote: !! Script exited with error state
remote: !! FAIL !!
remote: > All Done <
To git@git1.eu1.frbit.com:repository.git
= [up to date] production -> production
2e5a195..4c9ddcc master -> master
updating local tracking ref 'refs/remotes/production/master'
你们知道我为什么会出现 github 错误吗? 非常感谢你的帮助。
托马
【问题讨论】:
-
尽量不要创建作曲家触发器。 laravel 表单包好像有问题
-
嘿,如果我不触发作曲家,那么我在第 4 步仍然有错误,因为作曲家没有加载所有要求:s
-
尝试 ssh 并在那里 fux
-
我们有同样的想法 :) 刚刚回答了 :)
标签: laravel github deployment composer-php fortrabbit