Aegir fails to import existing full platform

I have a multisite install with 2 sites I need to import into Aegir.

My Aegir server is Debian Squeeze with Aegir 1.10+246.efcd0a3, drush 4.5, PHP 5.3.3-7+squeeze16 and MariaDB installed via apt-get and backports. It could be that I originally installed the previous Aegir version (1.09 or something?), kicked it's tires a bit (and went on vacation) and upgraded Aegir using apt-get dist-upgrade before trying this import - I'm not 100% sure. Hostmaster has hosting-queue-runner installed. The hostnames for the sites still resolve to the old server (except when I try to reach the new sites from my local machine - /etc/hosts override).

I've been basically following the tutorial at http://community.aegirproject.org/content/importing-complete-drupal-plat... thus:

  1. Extracting the files to /var/aegir/platforms/oldserver
  2. chown -R aegir:aegir /var/aegir/platforms/oldserver
  3. Create databases and database users with slightly different passwords than the old sites (they had some troublesome special characters in them).
  4. Import old database backups
  5. One of the sites had a 'dr_' prefix, which is removed after restore.
  6. A D6 default.settings.php for each site is filled with the new connect url like 'mysqli://dbuser:dbpassword@localhost/dbname' and copied into the respective sites folder, replacing their old settings.php (they had a lot of customizations I thought could interfere).
  7. I add the platform in the Aegir frontend, not selecting any client (our setup won't use clients anyway).
  8. Tasks import platform, verify platform, import site1 and import site2 all fires in order and comes off as successful.
  9. The sites doesn't work (offline). If I try to verify the sites, it fails. The reason is that the database credentials are nowhere to be found, so drush can't even bootstrap. drushrc's, vhost definitions, everything.

I really want to fix my approach since I have more sites to import later, so manually adding the db credentials isn't very appealing. :( Item 1 through 6 is automated. I can post the script if needed.

Attached are the logs from adding the platform, and importing one of the sites. I notice that the import actually manages to bootstrap the site. But later in the import it complains about missing db_type etc. :-/

If there are any hoops I can jump through to get you more info, please let me know.

PreviewAttachmentSize
aegir_verify_platform.txt3.65 KB
aegir_import_site1.txt8.35 KB