Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

robgoodliffe's avatar

sudden error messages

I have been using forge for a while and hooked it up to github to auto deploy. Recently i've been getting lots of "We were unable to deploy your project to your server" error messages and a occasionally a few "Your deployment script on server (server-name) too(i think this should say took?) longer than 2 minutes and timed out" error messages on forge, but the site does seem to be updating with new changes.

I haven't changed anything on server or forge and this wasn't happening before. Could anyone suggest a reason why this is happening? I have tested the server connection status on the Forge Dashboard and it's fine. An example error message doesn't seem to reveal anything other than composer running: as it should:

  • branch master -> FETCH_HEAD ed814c5..f30616f master -> origin/master Updating ed814c5..f30616f Fast-forward app/models/User.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) Loading composer repositories with package information Installing dependencies (including require-dev) from lock file Nothing to install or update Generating autoload files

Generating optimized class loader Loading composer repositories with package information Updating dependencies (including require-dev) Generating autoload files

Generating optimized class loader

[RuntimeException]
The "--force" option does not exist.

migrate [--bench[="..."]] [--database[="..."]] [--path[="..."]] [--package[="..."]] [--pretend] [--seed]

Thanks for your help.

0 likes
3 replies
jimmitjoo's avatar

Have you got any help on this yet? Experience the same issue about not being able to deploy due to time out.

deevo's avatar

Same here..... It says it is unable to deploy, but, my changes are taking effect on the server.

robgoodliffe's avatar

Hi guys. To be honest, i can't remember how i fixed this. I think it might have had something to do with migrations. So perhaps delete the migrations or check the deploy script on forge.

Please or to participate in this conversation.