1) (in database: UPDATE setup_module SET schema_version=’1.0.0′, data_version=’1.0.0.’ WHERE module=’Amasty_Base’;)
2) bin/magento setup:upgrade
3) rm -rf var/generation/* && bin/magento setip:di:compile
4) rm -rf pub/static/* var/view_preprocessed/* && bin/magento setup:static-content:deploy zh_Hant_HK en_US
5) bin/magento cache:flush
6) chown -R www-data var/cache var/di