Hello,
I am trying to deploy my Laravel project to a Digital Ocean droplet using Laravel Forge. I have created my server and my site on forge, and have done everything down to directions.
However, when I use "Deploy Now", I am seeing on the web page (at the public IP or at the domain I have assigned using DNS) the message: "No input file specified."
My Repo is structured correctly (basically looks like this: reponame/laravel/app...etc..), and contains a laravel folder with a composer.json file.
My deploy script looks like this:
cd /home/forge/default/laravel git pull origin master composer install php artisan migrate
Looking at the latest deployment log, I am seeing this message:
/home/forge/.forge/provision-433571.sh: line 1: cd: /home/forge/default/laravel: 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
I am not sure why I am receiving this error. Can you please help me out? Thank you.
I've been told this is due to the server running out of memory while trying to clone the repository. Do you happen to be running on a 512MB server?
I've had this on forge. I installed Ajenti as a server admin.
Have you made any changes to your server manually?
No input file quite often means that PHP isn't set up properly. Basically, there is not index.html file (naturally, Laravel uses index.php) and so, the server doesn't know what to do.
If you put a test index.html file on the server, does it load ok? If it does, take a look at PHP and make sure that is set up ok.
Hope it helps.
Dunno if you've solved this yet, but I was experiencing the same issue and found a fix.
http://laravel.io/forum/01-28-2015-laravel-forge-no-input-file-specified - might as well paste here in case anyone else comes across this thread with the same problem. :)
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community