rgranadino / mage2_vagrant

Simple Magento 2 Vagrant Box
249 stars 68 forks source link

Force uninstalling on reinstall step #64

Closed fcjurado closed 8 years ago

fcjurado commented 8 years ago

I've got the following error in the 8th step:

Console: vagrant@mage2:~/.composer$ reinstall -s rm: cannot remove `var/.maintenance.flag': No such file or directory [+] Composer... Loading composer repositories with package information Installing dependencies (including require-dev) from lock file Nothing to install or update Generating autoload files Deprecation Notice: The callback MagentoHackathon\Composer\Magento\Plugin::onNewCodeEvent declared at /vagrant/data/magento2/vendor/ magento/magento-composer-installer/src/MagentoHackathon/Composer/Magento/Plugin.php accepts a Composer\Script\CommandEvent but post- install-cmd events use a Composer\Script\Event instance. Please adjust your type hint accordingly, see https://getcomposer.org/doc/a rticles/scripts.md#event-classes in phar:///usr/local/bin/composer/src/Composer/EventDispatcher/EventDispatcher.php:289 [+] Uninstalling... Starting Magento uninstallation: Cache cleared successfully No database connection defined - skipping database cleanup File system cleanup: /vagrant/data/magento2/var/cache /vagrant/data/magento2/var/composer_home /vagrant/data/magento2/var/generation /vagrant/data/magento2/var/page_cache The file '/vagrant/data/magento2/app/etc/config.php' doesn't exist - skipping cleanup The file '/vagrant/data/magento2/app/etc/env.php' doesn't exist - skipping cleanup [SUCCESS]: Magento uninstallation complete. [+] Installing... /home/vagrant/bin/reinstall: line 68: ./bin/magento: Permission denied /home/vagrant/.composer

Anybody with this issue? Any help? Thanks

fcjurado commented 8 years ago

My mistake. It was due perms. I changed 777 to 755/644