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

MattCroft's avatar

Forge isn't creating my site directory

Hello,

I have an account on Forge, i have set up a server on Linode and it has provisioned etc, however i'm now trying to deploy my site, but when i create the site inside Forge it does not create the directory on the box.

The site does get created in Forge itself and i can attempt to deploy my project but when i view the deployment log it shows this.

/home/forge/.forge/provision-1118012.sh: line 1: cd: /home/forge/sub.domain.co.uk: No such file or directory fatal: Not a git repository (or any of the parent directories): .git Composer could not find a composer.json file in /home/forge To initialize a project, please create a composer.json file as described in the http://getcomposer.org/ "Getting Started" section Could not open input file: artisan

The only thing i did when the box booted was delete the default site. I have done this before on my other boxes and not had an issue.

Quite stuck, i don't want to manually create the site on the box. I am currently re-provisioning the box, maybe it was a dodgy build.

Anyone encountered this before or have any Ideas?

0 likes
2 replies
robgeorgeuk's avatar

I encountered something similar before and Taylor advised me to ssh into the box and do the process (git pull etc) manually as there was probably a prompt causing the deploy script to fail.

In my case Bitbucket was throwing up an unexpected fingerprint confirmation check.

2 likes
MattCroft's avatar

Hi, Thanks for the reply.

I rebuilt the box and tried to replicate the scenario to see if i could get it to happen again with no luck, something weird must of happened.

However rebuilding the box seemed to resolve the issue.

Please or to participate in this conversation.