It seems like d6 and d7 versions of this cache clear procedure were mostly copied straight from d5 version, while they are no longer relevant or complete, which also causes some unexpected issues with Clone and Migrate tasks. We should use drupal_flush_all_caches() (as used in drush cc all) instead to really clear all caches as expected.

This issue seems to manifest itself when you migrate an existing site into Aegir then attempt to clone and migrate to a new platform. The verify function is not clearing all the cached tables and so the new migrated site is only viewable as a White Screen of Death. This is currently fixed by interacting with the site via drush (enable a module, disable a module, or simply cc all)

Comments

omega8cc’s picture

Status: Active » Needs review
omega8cc’s picture

Project: Provision Barracuda » Provision
Version: » 6.x-2.x-dev

Moving it to the correct queue.

anarcat’s picture

Priority: Normal » Major

Awesome thanks. It would be great if we had a better idea of what those issues are, if only to allow people to find this issue more easily. :)

omega8cc’s picture

Priority: Major » Normal
Status: Needs review » Needs work

Of course I will need to re-roll the patch, as that one above is rather for reference only.

omega8cc’s picture

Priority: Normal » Major

Ops. not intended priority change.

frodopwns’s picture

Issue summary: View changes

more detailed description of issue

frodopwns’s picture

Thanks for looking at this guys. I kept running migrations only to get a WSOD then I would see in the verify output that it was in fact clearing cache so I just couldn't get my head around it.

omega8cc’s picture

Status: Needs work » Needs review

Wow, it seems that I have already submitted the correct patch for review here: http://drupal.org/node/1785624#comment-6481480

http://drupalcode.org/sandbox/omega8cc/1111100.git/commit/3ba982a

I'm closing the other issue as a duplicate.

anarcat’s picture

Status: Needs review » Fixed

merged in...

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

anarcat’s picture

somehow i forgot to push this commit to 2.x, that is now really fixed.

anarcat’s picture

Issue summary: View changes

Add reference to drush cc all