My magento 2.2 is going down again and again when i see log files i see this error
main.CRITICAL: Requested store is not found {"exception":"[object] (Magento\Framework\Exception\NoSuchEntityException(code: 0): Requested store is not found at public_html/vendor/magento/module-store/Model/StoreRepository.php:109)"} []
i have tried
UPDATE
store
SET store_id = 0 WHERE code='admin';UPDATE
store_group
SET group_id = 0 WHERE name='Default';UPDATE
store_website
SET website_id = 0 WHERE code='admin';
2
Restarted the apache and mysql server
but these solutions are temperory after some hours site is going down again i want a permenet solution to solve this. Help me to get out of this. Thanks in advance :)