You may try the following: Login to your forge server with ssh forge@yourip and then delete the compiled.php in storage\framework . After this try the deploy script again within forge.
Aug 11, 2015
7
Level 49
Install Composer Dependencies Fails during "Install Repository" with RuntimeException
The repository cloning process works but the installation of dependencies fails due to the following error.
[RuntimeException]
Could not read /home/forge/.composer/config.json
file_get_contents(/home/forge/.composer/config.json): failed to open stream: Permission denied
The following line in the default deploy script for forge produces the error above:
composer install --no-interaction --no-dev --prefer-dist
I have to ssh into the server and run sudo composer install in order to install. It did not use to be this way. At one time the deploy script worked without any issues.
Should i change the user to forge?
Please or to participate in this conversation.