First of all, I couldn't find any info about this kind of issue anywhere on the web.
We have a production environment with git integration. We pull our changes to it only via git (git pull).
The problem is that , somehow in one of the steps Magento caches disables automatically (all zeros when checking cache:status). That causes a problem if this is missed via programmer further causing server overload due to high traffic 'bashing' to the Magento without cache.
Maybe some of you have seen this issue before? We do not know when or how it's exactly happens.
And it kinda appears randomly.
Usual steps we do:
- enabling maintenance
- git pull
- composer install (if needed)
- module enable Vendor_ModuleName (if needed)
- setup:upgrade (if needed)
- clearing static stuff
- deployment command
- clearing caches
- clearing opcache
- disabling maintenance
I would appreciate any valuable suggestions that could help to solve this kind of issue.