First of all thank you for AEGIR. It is a brilliant piece of software!

I use a bash script to migrate sites between platforms.
Sites are migrated nicely in the backend, but the frontend gets broken because it does not update site's data to reflect that it is on a new platform. Calling anything from frondend causes an error now because frontend executes commands in terms of the old platform.

Verifying platforms and sites does not help.

A workaround, I've been using is deleting site nodes and importing from scratch, but that doesn not seem like a good idea and is prone to error.

Is there any better way to update platform data for a site?

Comments

Steven Jones’s picture

Status: Active » Fixed

So, hopefully you're doing something like this to migrate your site:

drush @www.site.alias provision-migrate '@platform_new_platform_alias'

In which case, to update the frontend, all you need to do is:

drush @hostmaster hosting-import '@www.site.alias'
Maciej Lukianski’s picture

Yes, that's it! Thank you very much.

anarcat’s picture

Issue tags: +FAQ

This should be added to the faq...

Maciej Lukianski’s picture

I can add it, but where is the FAQ ?

anarcat’s picture

Maciej Lukianski’s picture

done

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