Saturday, 24 August 2013

Rebuilding of Garland theme on database migration

Rebuilding of Garland theme on database migration

I work on localhost and in the evening I migrate the database,
default/files folder, sites/all folder to the production site and restore
the site database backup using drush sqlq command.
But on restore the Garland(sub-themed one) on one D6 site breaks. So I'd
need to login and go to this theme and them manually do "Save
Configuration" in this theme. I also run cron and cache clean all using
drush before and after this drush sqlq restore.
In the same way I've another D7 site with Bartik theme which misses only
header colors - which I restore by following the same procedure.
I'm also following the same workflow for other four D7 sites which work
fine and show no such issues.
I've automatized this procedure except for the inconvenience for this
manual intervention for my 2 out of 6 sites.
Is there any way to regenerate the theme css or the other files by using
say Drush?

No comments:

Post a Comment