Laravel Forge Quick Deploy throwing 500 error

倾然丶 夕夏残阳落幕 提交于 2019-12-24 11:50:42

问题


I've set up all configurations at Laravel Forge, and created new site connected to Bitbucket Git repository.

When I click "Enable Quick Deploy" the button an error is thrown, whereas "Deploy Now" works well.

https://forge.laravel.com/servers/{myserver}/sites/{mysite}/deploy 500 (Internal Server Error)

I found out this link which has similar issue to me : https://laracasts.com/forum/?p=1676-laravel-forge-deploy-and-quick-deploy-not-working/0

Only one different thing is that mine happens to the 'Quick Deploy'.

Do you know any reason why it happens?


回答1:


I've got this response about it from Taylor(Laravel Forge) directly.

Taylor said:

This means there is a permission error on your source control provider such as GitHub and we are unable to add a service hook.

You can try refreshing your access token in your Forge account panel on that “Authentication” tab. Then I would verify on GitHub / Bitbucket that 3rd party integrations are not disabled - this is an unfortunate default on GitHub

I followed his instruction, refreshed the access token in the Forge account panel, and allowed the Forge access on Bitbucket Integrations, then it works! (I'm using Bitbucket.)

It means that the forge didn't have a permission which allows me to extend what Bitbucket does when the repository changes.



来源:https://stackoverflow.com/questions/32491431/laravel-forge-quick-deploy-throwing-500-error

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!