Did you run composer install ?
Fatal error: require(): Failed opening required '/home/forge/default/public/../vendor/autoload.php'
Hi,
I achieved a Laravel5 website running OK on my local server and uploaded on bitbucket. I decided to use Forge+Digital Ocean for the deployment on remote server.
I encounter a first deployment failure with ' /home/forge/default/bootstrap/cache directory must be present and writable' on Forge that i solved by installing the project without installing the composer dependencies.
Then i updated the .env file with Forge db credentials mail infos and ran the first deployment that was said to install the dependencies. Everything seems ok per the Log file except that when visiting the site i got now :
Warning: require(/home/forge/default/public/../vendor/autoload.php): failed to open stream: No such file or directory in /home/forge/default/public/index.php on line 24
Fatal error: require(): Failed opening required '/home/forge/default/public/../vendor/autoload.php' (include_path='.:/usr/share/php') in /home/forge/default/public/index.php on line 24
(Using MySQLWorkbench with SSH, i also cant see any tables migrated)
Did someone encounter such issue? I got a hard time with Forge process...
Here is a typical one that I use in a Laravel project:
/node_modules
/public/storage
/public/hot
/public/css/app.css
/public/fonts
/public/js/app.js
/storage/\*.key
/storage/purify
/vendor
/.idea
Homestead.json
Homestead.yaml
.env
.DS_Store
_ide_helper.php
.phpstorm.meta.php
.php_cs.cache
yarn-error.log
FYI: I had to escape the * for display purposes.
Please or to participate in this conversation.