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

wolrab's avatar

Forge, GitHub Error

I've use forge all the time for quick deploying my code on to a digital ocean server, lately I've tried adding another server and pushing a new project from GitHub but get the following error:

Cloning into 'default'... Warning: Permanently added the RSA host key for IP address 'IPADDRESSHERE' to the list of known hosts. /home/forge/.forge/provision-code.sh: line 29: composer: command not found

Anybody else getting this error?

0 likes
4 replies
laloutre's avatar

Just getting the same error: did you find out where it came from?

wolrab's avatar

Still have the same problem Laloutre, seems like every new server provisioned by Forge has this at the moment.

I've looked at the Nginx config and compared to a working forge provisioned server and the config looks totally different.

Dosmukhanbet's avatar

I've same error when deploy my site in github, anybody figure out this?

Error Output

From github.com:my/repo

  • branch master -> FETCH_HEAD Already up-to-date. /home/forge/.forge/provision-4955148.sh: line 5: composer: command not found
wolrab's avatar

Taylor Otwell apparently said its to do with the 512mb server, go for a higher version and provision again.

Please or to participate in this conversation.