Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Super flusher? #109

Open
adixon opened this issue Jan 4, 2022 · 1 comment
Open

Super flusher? #109

adixon opened this issue Jan 4, 2022 · 1 comment

Comments

@adixon
Copy link

adixon commented Jan 4, 2022

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
Copy link

Something like cv flush --all?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants