I have uploaded Magento2 source code on centos Rackspace server, and I have changed credentials whenever required, but when I run my website, I get an error like "Vendor autoload is not found. Please run 'composer install' under application root directory." after this, i have install composer but still, i get this error.

Url :

enter image description here

  • Your link is not opening. If possibe upload screen shot.
    – Arjun
    Aug 1, 2016 at 10:02
  • @ravi just delete the all inside the cache folder except .htacess and .sample-data-state.flag and provide proper permission to all your folder Aug 1, 2016 at 10:07

5 Answers 5


Run the following commands in Magento 2 root directories:

php bin/magento setup:upgrade
php bin/magento setup:static-content:deploy
  • Ok let me check Aug 1, 2016 at 10:07
  • Before you do that, go to your Magento root directory and run composer install. You cloned the Magento 2 GitHub repository and that command downloads all the dependent modules. Aug 2, 2016 at 0:05

Please use following command to fix the issue

1- chmod -R 755 pub var app/etc

2- use command composer install

Note: Please make sure that your composer is installed.


You have missing vendor, you need to upload vendor or run below command for download vendor

composer update
php bin/magento setup:upgrade
php bin/magento setup:static-content:deploy

Run below commands to solve this issue:

1. Download the composer phar file using below link

Run all the mentioned commands one by one in the putty

2. php composer.phar install

Once both commands ran successfully then refresh frontend, it will ask for setup.


Run these commands to automatically download the composer and use it.

wget https://getcomposer.org/composer.phar
chmod +x composer.phar
./composer.phar install

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.