Closed (cannot reproduce)
Project:
Hostmaster (Aegir)
Version:
6.x-1.6
Component:
Debian package
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
21 Dec 2011 at 23:49 UTC
Updated:
20 Aug 2012 at 05:56 UTC
Hi,
Why is the install process reporting and error? Thanks in advance!
After I install the site seems to be working:
root@SomeSite:~# su -s /bin/sh aegir -c 'drush @hostmaster status'
Drupal version : 6.22
Default theme : garland
Administration theme : garland
PHP configuration : /etc/php5/cli/php.ini
Drush version : 4.4
Drush configuration : /var/aegir/hostmaster-6.x-1.6/drushrc.php
Drush alias files : /var/aegir/.drush/hostmaster.alias.drushrc.php /var/aegir/.drush/server_localhost.alias.drushrc.php /var/aegir/.drush/server_master.alias.drushrc.php /var/aegir/.drush/platform_hostmaster.alias.drushrc.php
Drupal root : /var/aegir/hostmaster-6.x-1.6 Here's a DPKG_DEBUG=developer output of the install.
++ env DPKG_DEBUG=developer apt-get -y install aegir
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
aegir-hostmaster aegir-provision drush drush-make
The following NEW packages will be installed:
aegir aegir-hostmaster aegir-provision drush drush-make
0 upgraded, 5 newly installed, 0 to remove and 1 not upgraded.
Need to get 394 kB of archives.
After this operation, 2,357 kB of additional disk space will be used.
Get:1 http://debian.aegirproject.org/ stable/main aegir-provision all 1.6-1 [104 kB]
Get:2 http://snet1-dfw.mirror.rackspace.com/ubuntu/ oneiric/universe drush all 4.4-2 [236 kB]
Get:3 http://debian.aegirproject.org/ stable/main drush-make all 2.3-1 [40.6 kB]
Get:4 http://debian.aegirproject.org/ stable/main aegir-hostmaster all 1.6-1 [8,070 B]
Get:5 http://debian.aegirproject.org/ stable/main aegir all 1.6-1 [5,190 B]
Fetched 394 kB in 0s (1,775 kB/s)
Preconfiguring packages ...
+ su -s /bin/sh aegir -c drush @hostmaster status
+ grep -q Drupal bootstrap.*Successful
+ db_input medium aegir/email
+ _db_cmd INPUT medium aegir/email
+ IFS= printf %s\n INPUT medium aegir/email
+ IFS=
read -r _db_internal_line
+ RET=30 question skipped
+ return 30
+ true
+ db_input high aegir/site
+ _db_cmd INPUT high aegir/site
+ IFS= printf %s\n INPUT high aegir/site
+ IFS=
read -r _db_internal_line
+ RET=question will be asked
+ return 0
+ db_get aegir/email
+ _db_cmd GET aegir/email
+ IFS= printf %s\n GET aegir/email
+ IFS=
read -r _db_internal_line
+ RET=
+ return 0
+ [ -z ]
+ hostname -f
+ db_set aegir/email aegir@SomeSite.com
+ _db_cmd SET aegir/email aegir@SomeSite.com
+ IFS= printf %s\n SET aegir/email aegir@SomeSite.com
+ IFS=
read -r _db_internal_line
+ RET=value set
+ return 0
+ db_get aegir/site
+ _db_cmd GET aegir/site
+ IFS= printf %s\n GET aegir/site
+ IFS=
read -r _db_internal_line
+ RET=
+ return 0
+ [ -z ]
+ hostname -f
+ db_set aegir/site SomeSite.com
+ _db_cmd SET aegir/site SomeSite.com
+ IFS= printf %s\n SET aegir/site SomeSite.com
+ IFS=
read -r _db_internal_line
+ RET=value set
+ return 0
+ db_input low aegir/makefile
+ _db_cmd INPUT low aegir/makefile
+ IFS= printf %s\n INPUT low aegir/makefile
+ IFS=
read -r _db_internal_line
+ RET=30 question skipped
+ return 30
+ true
+ db_input low aegir/db_host
+ _db_cmd INPUT low aegir/db_host
+ IFS= printf %s\n INPUT low aegir/db_host
+ IFS=
read -r _db_internal_line
+ RET=30 question skipped
+ return 30
+ true
+ db_input low aegir/db_user
+ _db_cmd INPUT low aegir/db_user
+ IFS= printf %s\n INPUT low aegir/db_user
+ IFS=
read -r _db_internal_line
+ RET=30 question skipped
+ return 30
+ true
+ db_fset aegir/db_password seen false
+ _db_cmd FSET aegir/db_password seen false
+ IFS= printf %s\n FSET aegir/db_password seen false
+ IFS=
read -r _db_internal_line
+ RET=false
+ return 0
+ db_input high aegir/db_password
+ _db_cmd INPUT high aegir/db_password
+ IFS= printf %s\n INPUT high aegir/db_password
+ IFS=
read -r _db_internal_line
+ RET=question will be asked
+ return 0
+ db_go
+ _db_cmd GO
+ IFS= printf %s\n GO
+ IFS=
read -r _db_internal_line
+ RET=ok
+ return 0
Selecting previously deselected package drush.
(Reading database ... 63511 files and directories currently installed.)
Unpacking drush (from .../archives/drush_4.4-2_all.deb) ...
Selecting previously deselected package aegir-provision.
Unpacking aegir-provision (from .../aegir-provision_1.6-1_all.deb) ...
Selecting previously deselected package drush-make.
Unpacking drush-make (from .../drush-make_2.3-1_all.deb) ...
Selecting previously deselected package aegir-hostmaster.
Unpacking aegir-hostmaster (from .../aegir-hostmaster_1.6-1_all.deb) ...
Selecting previously deselected package aegir.
Unpacking aegir (from .../archives/aegir_1.6-1_all.deb) ...
Processing triggers for man-db ...
Setting up drush (4.4-2) ...
Setting up aegir-provision (1.6-1) ...
+ VARLIB=/var/aegir
+ getent passwd aegir
+ echo adding aegir user...
adding aegir user...
+ adduser --quiet --system --no-create-home --group --home /var/aegir --shell /bin/bash --gecos Aegir user,,, aegir
+ adduser --quiet aegir www-data
Adding user aegir to group www-data
+ [ -d /etc/sudoers.d ]
+ ucf --debconf-ok /usr/share/doc/aegir-provision/examples/example.sudoers /etc/sudoers.d/aegir
Creating config file /etc/sudoers.d/aegir with new version
+ ucfr aegir-provision /etc/sudoers.d/aegir
+ chmod 440 /etc/sudoers.d/aegir
+ chown aegir:aegir /var/aegir /var/aegir/config
+ touch /var/aegir/config/apache.conf
+ chown aegir:aegir /var/aegir/config/apache.conf
+ ln -sf /var/aegir/config/apache.conf /etc/apache2/conf.d/aegir.conf
+ a2enmod ssl rewrite
Module ssl already enabled
Module rewrite already enabled
+ apache2ctl graceful
+ exit 0
Setting up drush-make (2.3-1) ...
Setting up aegir-hostmaster (1.6-1) ...
+ su+ -s /bin/shgrep aegir -c drush @hostmaster status -q Drupal bootstrap.*Successful
+ db_input medium aegir/email
+ _db_cmd INPUT medium aegir/email
+ IFS= printf %s\n INPUT medium aegir/email
+ IFS=
read -r _db_internal_line
+ RET=30 question skipped
+ return 30
+ true
+ db_input high aegir/site
+ _db_cmd INPUT high aegir/site
+ IFS= printf %s\n INPUT high aegir/site
+ IFS=
read -r _db_internal_line
+ RET=30 question skipped
+ return 30
+ true
+ db_get aegir/email
+ _db_cmd GET aegir/email
+ IFS= printf %s\n GET aegir/email
+ IFS=
read -r _db_internal_line
+ RET=aegir@SomeSite.com
+ return 0
+ [ -z aegir@SomeSite.com ]
+ db_get aegir/site
+ _db_cmd GET aegir/site
+ IFS= printf %s\n GET aegir/site
+ IFS=
read -r _db_internal_line
+ RET=SomeSite.com
+ return 0
+ [ -z SomeSite.com ]
+ db_input low aegir/makefile
+ _db_cmd INPUT low aegir/makefile
+ IFS= printf %s\n INPUT low aegir/makefile
+ IFS=
read -r _db_internal_line
+ RET=30 question skipped
+ return 30
+ true
+ db_input low aegir/db_host
+ _db_cmd INPUT low aegir/db_host
+ IFS= printf %s\n INPUT low aegir/db_host
+ IFS=
read -r _db_internal_line
+ RET=30 question skipped
+ return 30
+ true
+ db_input low aegir/db_user
+ _db_cmd INPUT low aegir/db_user
+ IFS= printf %s\n INPUT low aegir/db_user
+ IFS=
read -r _db_internal_line
+ RET=30 question skipped
+ return 30
+ true
+ db_fset aegir/db_password seen false
+ _db_cmd FSET aegir/db_password seen false
+ IFS= printf %s\n FSET aegir/db_password seen false
+ IFS=
read -r _db_internal_line
+ RET=false
+ return 0
+ db_input high aegir/db_password
+ _db_cmd INPUT high aegir/db_password
+ IFS= printf %s\n INPUT high aegir/db_password
+ IFS=
read -r _db_internal_line
+ RET=question will be asked
+ return 0
+ db_go
+ _db_cmd GO
+ IFS= printf %s\n GO
+ IFS=
read -r _db_internal_line
+ RET=ok
+ return 0
+ VARLIB=/var/aegir
+ sed -n /^version/{s/^.*= *//;p} /usr/share/drush/commands/provision/provision.info
+ VERSION=6.x-1.6
+ FLAGS=--yes
+ [ developer = developer ]
+ FLAGS=--yes --debug
+ db_get aegir/makefile
+ _db_cmd GET aegir/makefile
+ IFS= printf %s\n GET aegir/makefile
+ IFS=
read -r _db_internal_line
+ RET=
+ return 0
+ [ ! -z ]
+ tempfile
+ TEMPFILE=/tmp/fileKbH7qs
+ su -s /bin/sh aegir -c drush --pipe @hostmaster status | egrep "site_uri|drupal_root"
+ true
+ grep -q site_uri /tmp/fileKbH7qs
+ db_get aegir/site
+ _db_cmd GET aegir/site
+ IFS= printf %s\n GET aegir/site
+ IFS=
read -r _db_internal_line
+ RET=SomeSite.com
+ return 0
+ [ ! -z SomeSite.com ]
+ site_uri=SomeSite.com
+ db_get aegir/db_host
+ _db_cmd GET aegir/db_host
+ IFS= printf %s\n GET aegir/db_host
+ IFS=
read -r _db_internal_line
+ RET=localhost
+ return 0
+ AEGIR_DB_HOST=localhost
+ db_get aegir/db_user
+ _db_cmd GET aegir/db_user
+ IFS= printf %s\n GET aegir/db_user
+ IFS=
read -r _db_internal_line
+ RET=root
+ return 0
+ AEGIR_DB_USER=root
+ db_get aegir/db_password
+ _db_cmd GET aegir/db_password
+ IFS= printf %s\n GET aegir/db_password
+ IFS=
read -r _db_internal_line
+ RET=SomePass
+ return 0
+ AEGIR_DB_PASS=SomePass
+ db_get aegir/email
+ _db_cmd GET aegir/email
+ IFS= printf %s\n GET aegir/email
+ IFS=
read -r _db_internal_line
+ RET=aegir@SomeSite.com
+ return 0
+ EMAIL=aegir@SomeSite.com
+ db_go
+ _db_cmd GO
+ IFS= printf %s\n GO
+ IFS=
read -r _db_internal_line
+ RET=ok
+ return 0
+ db_reset aegir/db_password
+ _db_cmd RESET aegir/db_password
+ IFS= printf %s\n RESET aegir/db_password
+ IFS=
read -r _db_internal_line
+ RET=0
+ return 0
+ db_fset aegir/db_password seen true
+ _db_cmd FSET aegir/db_password seen true
+ IFS= printf %s\n FSET aegir/db_password seen true
+ IFS=
read -r _db_internal_line
+ RET=true
+ return 0
+ db_stop
+ echo STOP
+ [ -d /var/aegir/.drush/provision ]
+ echo installing the Aegir frontend (Drupal with the hostmaster profile), please wait...
installing the Aegir frontend (Drupal with the hostmaster profile), please wait...
+ su aegir -c cd /var/aegir && drush hostmaster-install --yes --debug --backend SomeSite.com | drush backend-parse
Bootstrap to phase 0. [0.03 sec, 3.5 MB] [bootstrap]
Drush bootstrap phase : _drush_bootstrap_drush() [0.03 sec, 3.78 MB] [bootstrap]
Project information for drupal retrieved. [ok]
drupal downloaded from [ok]
http://ftp.drupal.org/files/projects/drupal-6.22.tar.gz.
hostmaster cloned from http://git.drupal.org/project/hostmaster.git. [ok]
Checked out tag 6.x-1.6. [ok]
Found makefile: hostmaster.make [ok]
Project information for admin_menu retrieved. [ok]
Project information for openidadmin retrieved. [ok]
Project information for install_profile_api retrieved. [ok]
Project information for jquery_ui retrieved. [ok]
Project information for modalframe retrieved. [ok]
admin_menu downloaded from [ok]
http://ftp.drupal.org/files/projects/admin_menu-6.x-1.8.tar.gz.
openidadmin downloaded from [ok]
http://ftp.drupal.org/files/projects/openidadmin-6.x-1.2.tar.gz.
install_profile_api downloaded from [ok]
http://ftp.drupal.org/files/projects/install_profile_api-6.x-2.1.tar.gz.
jquery_ui downloaded from [ok]
http://ftp.drupal.org/files/projects/jquery_ui-6.x-1.3.tar.gz.
modalframe downloaded from [ok]
http://ftp.drupal.org/files/projects/modalframe-6.x-1.6.tar.gz.
jquery_ui downloaded from [ok]
http://jquery-ui.googlecode.com/files/jquery.ui-1.6.zip.
Created SomeSitecom database [success]
Creating master server node [status]
Creating db server node [status]
Configuring menu items [status]
Configuring Eldir theme [status]
Configuring default blocks [status]
Configuring roles [status]
Content permissions have been rebuilt. [status]
Dispatch command was run successfully [success]
Aegir 6.x-1.6 automated install script
==============================================================================
Some settings have not been provided and will now be prompted.
Don't worry: you will get to review those settings after the final install
This script will operate the following changes in your system:
1. Create server-level configuration directories
2. Download drush_make
3. Create the Hostmaster frontend platform
4. Install the frontend site
5. Setup the dispatcher (a user cron job)
We are making the following assumptions:
* you have read and are following the install instructions at:
http://community.aegirproject.org/installing
* the FQDN of this machine is valid and resolves
* you are executing this script as your "aegir" user
The following settings will be used:
Aegir frontend URL: SomeSite.com
Master server FQDN: SomeSite.com
Aegir root: /var/aegir
Aegir user: aegir
Web group: www-data
Web server: apache
Aegir DB host: localhost
Aegir DB user: root
Aegir DB password: <previously set>
Drush make version: 6.x-2.3
Aegir version: 6.x-1.6
Aegir platform path: /var/aegir/hostmaster-6.x-1.6
Aegir makefile: /usr/share/drush/commands/provision/aegir.make
Admin email: aegir@SomeSite.com
Do you really want to proceed with the install (y/n): y
Initializing the hosting system
This command will replace your crontab for this user. continue? (y/n): y
/usr/share/drush/drush.php '@hostmaster' hosting-dispatch
************************************************************************
Aegir is now installed. You can visit it at http://SomeSite.com/user/reset/1/1324506023/49c004be4e2981f096c65e0dd2d7000e
************************************************************************
+ rm -f /tmp/fileKbH7qs
+ su+ grep -s /bin/sh -q Drupal bootstrap.*Successful
aegir -c drush @hostmaster status
+ echo Aegir frontend failed to bootstrap, something went wrong!
Aegir frontend failed to bootstrap, something went wrong!
+ echo Look at the log above for clues or run with DPKG_DEBUG=developer
Look at the log above for clues or run with DPKG_DEBUG=developer
+ exit 1
dpkg: error processing aegir-hostmaster (--configure):
subprocess installed post-installation script returned error exit status 1
E: Sub-process /usr/bin/dpkg returned an error code (1)
Comments
Comment #1
MichaelCole commentedThe bit of code that is causing the error seems to be here:
Comment #1.0
MichaelCole commentedcorrect false info
Comment #1.1
MichaelCole commentedundo stupid change...
Comment #2
steven jones commentedJust installed and this works fine. If you get this error again, please try running:
And see what the output is.
Comment #2.0
steven jones commenteddoh!