cancel
Showing results for 
Search instead for 
Did you mean: 

Please upgrade your database: Run “bin/magento setup:upgrade” from the Magento root directory.

Please upgrade your database: Run “bin/magento setup:upgrade” from the Magento root directory.

Your comment is awaiting moderation.

Hi
i have install magento 2.x and it succes 100% now is my Problem how to run git bash to upgrade magento. Bcs cant open magento on my Firefox Browser error Report said please upgrade your database magento. Need your help
i use windows 8.1

Need help how to open magento on git bash.

I have download git Bush and already installed on my windows
6 REPLIES

Re: Please upgrade your database: Run “bin/magento setup:upgrade” from the Magento root directory.

Can't quite understand your question. The command you reference must be run from the command line. Did you try it?

Re: Please upgrade your database: Run “bin/magento setup:upgrade” from the Magento root directory.

You mean the command line on git bash?

I have open the git bash have write
bin/magento setup:upgrade
but answer is folder not found

My question is how Start
git bash on magento root folder?

To use the command bin/magento setup:upgrade? Sorry about my english i am a beginner

Re: Please upgrade your database: Run “bin/magento setup:upgrade” from the Magento root directory.

I do not think you should try this with git bash although it might work. The git environment might not be correct for this kind of thing.

Instead, open a Terminal application like Cygwin (Windows), Terminal (Mac), or a utility provided with UNIX.

Then log in to the server, or switch to, the Magento file system owner: http://devdocs.magento.com/guides/v2.0/install-gde/prereq/apache-user.html

Change to your Magento bin directory and enter the command. Or you can enter it like this:

php /bin/magento setup:upgrade

let me know if you have questions.

Re: Please upgrade your database: Run “bin/magento setup:upgrade” from the Magento root directory.

help me

i have also error, please helpme .

ich habe auch eine Error , hast du die Beraten.

 

Re: Please upgrade your database: Run “bin/magento setup:upgrade” from the Magento root directory.

You can follow the steps in this tutorial: https://magentoexplorer.com/please-upgrade-your-database-run-binmagento-setupupgrade-from-the-magent...

 

1. Drop unused module table from your database.

2. Run the following commands in Magento CLI:

bin/magento setup:upgrade

and 

php bin/magento cache:clean
php bin/magento indexer:reindex
php bin/magento setup:static-content:deploy

Re: Please upgrade your database: Run “bin/magento setup:upgrade” from the Magento root directory.

@Buysmart


If I understand correctly, then you are looking to run the magento CLI commands, is that correct? 

 

There are several ways of doing it: 

  1. Open CommandPrompt on your windows as Administrator
  2. Assuming that you are using XAMPP/WAMPP as your server, it has a Shell program which allows you to run CLI commands. Screenshot below: Untitled.png

     

     

 

 

Magento Certified Solution Specialist | Lead Magento developer
If this response was helpful to you, consider giving kudos to this post