I was recently cleaning up a site after an upgrade that had left an old flexmailer extension installed. In order to recognize the core flexmailer, there were a number of caches that needed clearing, but cv flush wouldn't work because it would error before getting to do anything useful. In the end, what I did that worked was:
truncate civicrm_cache in sql
manually delete the CachedCiviContainer files in templates_c
It occurs to me that this should be possible to script, and would be nice to include in the usual cv commands, as a super flush kind of action.
I was recently cleaning up a site after an upgrade that had left an old flexmailer extension installed. In order to recognize the core flexmailer, there were a number of caches that needed clearing, but cv flush wouldn't work because it would error before getting to do anything useful. In the end, what I did that worked was:
It occurs to me that this should be possible to script, and would be nice to include in the usual cv commands, as a super flush kind of action.
Make sense?