Laravel 使用github的Fortrabbit部署错误

Laravel 使用github的Fortrabbit部署错误,laravel,github,deployment,composer-php,fortrabbit,Laravel,Github,Deployment,Composer Php,Fortrabbit,我正试图在fortrabbit上部署一个小应用程序,但当我在控制台中查看时,出现了以下错误: Pushing to user@repository.git remote: Step1: Updating repository remote: -> OK remote: remote: Step2: Deploying (strategy: no delete, excludes: no) remote: -> O

我正试图在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'
推送至user@repository.git
远程:步骤1:更新存储库
远程:->正常
远程:
远程:步骤2:部署(策略:无删除,排除:无)
远程:->正常
远程:
遥控器:步骤3:组合器挂钩
远程:->触发安装-获取咖啡
远程:->安装方式/形式[dev master 25d0667]
远程:->安装方式/形式[dev master 25d0667]
遥控器:!编写器引发了“RuntimeException”
遥控器:!无法执行git克隆--无签出'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
遥控器:~~~失败~~~
远程:步骤4:执行部署后脚本
远程:~PHP警告:require(/var/www/web/application/htdocs/bootstrap/。/vendor/autoload.PHP):无法打开流:第17行的/var/www/web/application/htdocs/bootstrap/autoload.PHP中没有此类文件或目录
远程:~PHP致命错误:require():无法打开第17行/var/www/web/application/htdocs/bootstrap/./vendor/autoload.PHP(include_path=.:/opt/PHP/5.4/share)中所需的'/var/www/web/application/htdocs/bootstrap/./vendor/autoload.PHP')
远程:~
远程:!!失败!!
远程:!!脚本已退出,状态为错误
远程:!!失败!!
远程:>全部完成<
到git@git1.eu1.frbit.com:repository.git
=[最新]生产->生产
2e5a195..4c9ddcc主机->主机
正在更新本地跟踪参考'refs/remotes/production/master'
你们知道我为什么会有github错误吗? 非常感谢你的帮助

汤玛找到了

我已经用SSH连接到fortrabbit,并尝试在那里安装一个composer。 这允许我添加github凭据并克隆缺少的供应商:

13:23:51 user@fortrabbit:~/htdocs$ composer install
Warning: This development build of composer is over 30 days old. It is recommended to update it by running "/usr/bin/composer self-update" to get the latest version.
Loading composer repositories with package information
Installing dependencies (including require-dev)
  - Installing way/form (dev-master 25d0667)
    Downloading: connection...    Failed to download way/form from dist: The "https://api.github.com/repos/JeffreyWay/Laravel-FormField/zipball/25d06676a75f05db7cc10399e72ce13c922047ae" file could not be downloaded (HTTP/1.1 404 Not Found)
    Now trying to download from source
  - Installing way/form (dev-master 25d0667)
    Cloning 25d06676a75f05db7cc10399e72ce13c922047ae
The authenticity of host 'github.com (192.30.252.131)' can't be established.
RSA key fingerprint is {fingerprint}.
Are you sure you want to continue connecting (yes/no)? y
Please type 'yes' or 'no': yes
Cloning failed using an ssh key for authentication, enter your GitHub credentials to access private repos
The credentials will be swapped for an OAuth token stored in /var/www/web/dir/.composer/auth.json, your password will not be stored
To revoke access to this token you can visit https://github.com/settings/applications
Username: myusername
Password:
Token successfully created

  - Installing guzzle/guzzle (v3.9.2)
    Downloading: 100%

  - Installing way/generators (2.6.1)
    Downloading: 100%

Writing lock file
Generating autoload files
Generating optimized class loader
Compiling common classes
Compiling views

尽量不要创建编写器触发器。看起来laravel表单包有点问题嘿,如果我没有触发composer,那么我在第4步仍然有错误,因为composer没有加载所有的需求:sTry到ssh,然后fux到那里我们有相同的想法:)刚才回答:)