Problem: 

We have updated your module, running on Magento 2.2.7 and when we run php bin/magento setup:upgrade; we get the following error: 

Module '...':

Upgrading data.. Attribute with ID: "...." does not exist

Ex: Module 'Bss_MultiStoreViewPricingTierPrice':

Upgrading data.. Attribute with ID: "tier_price_config_for_store" does not exist

The solution:

1. Please log in to the site's mysql via SSH

2. Run command: 

select * from setup_module where module like "Bss_%"; to find which extension has errors

Ex: Bss_MultiStoreViewPricingTierPrice  on schema and data are different http://prntscr.com/mo27kp

3. Run command: delete from setup_module where module= ... to remove the extension with errors 

Ex: delete from setup_module where module="Bss_MultiStoreViewPricingTierPrice"; 

4. Run php bin/magento setup:upgrade via SSH