civicrm / cv

CiviCRM CLI Utility
26 stars 29 forks source link

Super flusher? #109

Open adixon opened 2 years ago

adixon commented 2 years ago

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:

  1. truncate civicrm_cache in sql
  2. 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.

Make sense?

herbdool commented 2 years ago

Something like cv flush --all?