If you receive the error:

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

And you have already run these commands:

composer update vendor/module-name
bin/magento setup:upgrade

Read more »