This site is a static archive of the Aegir community site. Documentation has moved to http://docs.aegirproject.org. Other community resources can be found on the Contacting the community page.
Skip navigation

Talk

#1

Hi, I'm running the Aegir packages on Ubuntu 12.04.4 LTS. Aegir 1.11 has been working just fine, but the upgrade to 2.x fails with errors. First some database errors, then later dpkg errors, how can I further diagnose and resolve this installation failure?

I just did a simple apt upgrade and apt offered to uninstall the old aegir package and install the new aegir2 package just fine:

root@development ~ # apt-get install aegir2
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
  aegir2-hostmaster aegir2-provision drush
Suggested packages:
  drupal7
The following packages will be REMOVED:
  aegir aegir-hostmaster aegir-provision drush-make
The following NEW packages will be installed:
  aegir2 aegir2-hostmaster aegir2-provision
The following packages will be upgraded:
  drush
1 upgraded, 3 newly installed, 4 to remove and 0 not upgraded.
Need to get 426 kB of archives.
After this operation, 29.7 kB of additional disk space will be used.
Do you want to continue [Y/n]?

First some IP address database updates show errors:

UPDATE {hosting_ip_addresses} SET id=177 WHERE nid=3006 AND          [error]
ip_address='192.168.2.31'
UPDATE {hosting_ip_addresses} SET id=178 WHERE nid=2 AND             [error]
ip_address='192.168.2.31'
UPDATE {hosting_ip_addresses} SET id=179 WHERE nid=3012 AND          [error]
ip_address='192.168.2.31'
UPDATE {hosting_ip_addresses} SET id=180 WHERE nid=3014 AND          [error]
ip_address='192.168.2.31'
UPDATE {hosting_ip_addresses} SET id=181 WHERE nid=3017 AND          [error]
ip_address='192.168.2.31'
UPDATE {hosting_ip_addresses} SET id=182 WHERE nid=3021 AND          [error]
ip_address='192.168.2.31'
UPDATE {hosting_ip_addresses} SET id=183 WHERE nid=3030 AND          [error]
ip_address='15.185.167.45'
UPDATE {hosting_ip_addresses} SET id=184 WHERE nid=3034 AND          [error]
ip_address='162.243.42.5'
UPDATE {hosting_ip_addresses} SET id=185 WHERE nid=3085 AND          [error]
Then dkpg fails:

Changed permissions of /var/aegir/.drush/hostmaster.alias.drushrc.php[success]
to 640
Generated config Drush configuration file                            [success]
Changed permissions of /var/aegir/.drush/hostmaster.alias.drushrc.php[success]
to 440
Changed permissions of                                               [success]
/var/aegir/hostmaster-6.x-1.10/sites/aegir.groffweb.dev/settings.php
to 640
Generated config Drupal settings.php file                            [success]
Changed permissions of                                               [success]
/var/aegir/hostmaster-6.x-1.10/sites/aegir.groffweb.dev/settings.php
to 440
Change group ownership of                                            [success]
/var/aegir/hostmaster-6.x-1.10/sites/aegir.groffweb.dev/settings.php
to www-data
Platforms path /var/aegir/platforms exists.                          [success]
Platforms ownership of /var/aegir/platforms has been changed to      [success]
aegir.
Platforms permissions of /var/aegir/platforms have been changed to   [success]
755.
Platforms path /var/aegir/platforms is writable.                     [success]
Removed unused migration site package                                [success]
Generated config encrypted virtual host configuration                [success]
Generated config encrypted virtual host configuration                [success]
dpkg: error processing aegir2-hostmaster (--configure):
subprocess installed post-installation script returned error exit status 1
E: Sub-process /usr/bin/dpkg returned an error code (1)