I have developed a module that has worked well previously on Magento 2. I now find the following error when I enable the module with composer:

Please upgrade your database: Run "bin/magento setup:upgrade" from the Magento root directory. 
The following modules are outdated:
Creare_Example schema: current version - none, required version - 2.0.0
Creare_Example data: current version - none, required version - 2.0.0

I have ran the database upgrade command as requested, but I then get this error:

enter image description here

The extension has a simple data install script which I imagine has already ran, but now I can't get any further. Has anybody else encountered this problem?

I'm running Magento 2 on the following Vagrant Box: https://github.com/rgranadino/mage2_vagrant


You need to execute that command into the vagrant box via SSH:

$ vagrant ssh
$ cd [magento-path]
$ bin/magento setup:upgrade
|improve this answer|||||

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.