After moving a site from /sites/SITE1.COM to /sites/SITE2.COM normally only a "drush rr" via Registry Rebuild is necessary.

However, in this case it appears that Registry Rebuild does not affect the advagg_files table. I tried the following without success:

drush advagg-clear-all-files
drush advagg-clear-db-cache
drush cron
drush advagg-cron

All of the previous site's entries are sadly still in the table. This appears to be a bug, since the following issue fixed domain changes, however did not affect multi-site domain changes: #2353811: Aggregated CSS/JS references the domain it was generated on.

Is there a workaround for now? Would truncating the "advagg_files" be sufficient? Thanks in advance.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

NWOM created an issue. See original summary.

mikeytown2’s picture

Truncating the table should fix the issue. Wonder if AdvAgg could hook into RR and do it when that is called.

mikeytown2’s picture

  • mikeytown2 committed a823c79 on 7.x-2.x
    Issue #2831695 by mikeytown2: Truncate the advagg_files table when...
mikeytown2’s picture

Status: Active » Fixed
FileSize
705 bytes

Status: Fixed » Closed (fixed)

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