Hi,
I have site1.de (running on an old server without Aegir) and want to import it into new.site1.de (DNS pointing to the new server with Aegir).
So I copied database and code, left the sites directory as it was and created the new platform. The site got activated - no problem.
Then I wanted to migrate or clone site1.de to new.site1.de - both failed - I assume because site1.de isn't really running on Aegir and Aegir has no access to this site.
So, I manually deleted the sites and deleted the platform and restarted with extracting the Code.
Now I did:
cd sites
mv site1.de new.site1.de
I created my platform from my code directory but then I got first SQL error
'Dublicate entry ...' didn't pay too much attention and was still hoping for the best.
But Aegir can't verify the platform:
At the very end of the process I get:
Initialized Drupal site default at sites/default
Load alias @
Drush bootstrap phase : _drush_bootstrap_drupal_configuration()
Undefined index: scheme environment.inc:699
Undefined index: user environment.inc:700
Undefined index: host environment.inc:701
PDO support available, but the driver has not been installed. Assuming success.
Drush bootstrap phase : _drush_bootstrap_drupal_database()
Successfully connected to the Drupal database.
Drush command could not be completed.
An error occurred at function : drush_hosting_task
Command dispatch complete
Peak memory usage was 19.34 MB
So my questions:
Was my second approach with renaming the site directory already to new.site1.de correct?
And how can I get my platform veryfied?
Thank you in advance
Bye, Transmitter
Comments
Can I get rid of the platform
Can I get rid of the platform somehow if it's not possible to delete it?
What things do I have to delete here:
admin/content/node/overview
? (Just deleted the platform and it seemed to work).
But somehow, I have a lot of errors everywhere around.
Is it possible to reset Aegir and get rid of everything I have done until now?
You shouldn`t manually rename
You shouldn`t manually rename or delete the sites folders or platforms, aegir keeps track of them, so the missing ones will cause hangups.
Have a look here: http://community.aegirproject.org/node/27
If you`ve already deleted them manually have a look at the manual part of the community docs above, things like the drush aliases and config files also need to be removed.