The Aegir project is proud to announce the fifth alpha of our 0.4 release cycle. The focus of this release has been on tweak, security and bug fixes. Work has been done to ensure Drupal 7 compatibility and Adrian has worked extensively on the Drupal 6 to 7 upgrade path. The backend was ported to Solaris and as a result we now have installation hints for Solaris on top of the existing Debian and CentOS instructions.
The canonical source of installation documentation is the excellent INSTALL.txt. We have an automated and scripted upgrade process for the front end, which you can read more about in UPGRADE.txt.
Note that we are still working through the transition to git and during that, I botched the alpha4 release, which was therefore not announced. alpha5 is the first release that has been completely done and distributed through git (although we are experimenting with tarball distribution again, drush make is not yet up to the task).
Important: 0.4-alpha5 now depends on what will become Drush 3.0, and will install 3.0-alpha1 for you through the excellent install script.
Notable changes:
- the hosting module and eldir theme are now distributed with the hostmaster install profile
- jquery_ui requires unzip to install properly
- the aegir site is now editable
- the theme now has a cute favicon (by q0rban)
- we have preliminary views2 support (by univate)
- a permission issue was resolved where anonymous users could read (but not edit) site nodes
- the --force option is now recognized by the dispatcher to force cron and tasks to be ran regardless of thresholds
- everything is now managed through git and our two packages are now available at http://files.aegirproject.org/ as tarballs for porters to import into their distributions.
- we can now migrate between profiles
- #654614 - improve database error handling
- #597738 - don't install over already installed sites
- #654610 - output the apache error on failures to restart
- we can now use provision to backup existing, non-verified sites for easier import into aegir
- SSL redirection issues were fixed
- the credentials required for MySQL were reduced to a minimum, although this has not been reflected in the documentation (see #699698)
- #685882 - set permissions properly on the drushrc after verification
- we do not follow symlinks when recursively changing permissions on files/, which counters a potential DOS attack
- #691914 - port backup and restore to solaris backward tar implementation
- #536100 by anarcat - add libraries folder to sites/all and sites/
- #661662 by mathieu - apply new .htaccess changes from Drupal 6.15

Comments
Linked to INSTALL.txt twice
I think you meant http://git.aegirproject.org/?p=hostmaster.git;a=blob_plain;f=UPGRADE.txt...
Typical error on my part,
Typical error on my part, fixed! Thank you.
Sure
And thanks for this release!
It installs wonderful on
It installs wonderful on Debian Lenny, thx!
Doka
not working for me
just tried this on debian lenny, default install of 0.4 alpha 3, updating drush, provision and drush make faultless but stuck when running hostmaster-migrate
get this error:
The command 'drush.php hostmaster-migrate aegir.example.com /var/aegir/hostmaster-0.4-alpha5' could not be found.
am following the upgrade instructions to the letter
UPDATE - hold that thought, upgrade instructions say to use drush to DL provision, which is currently alpha 3 not alpha 5 which is required, instructions need editing or provision updating on D.O
Yes, one cannot use Drush to
Yes, one cannot use Drush to download Provision since we no longer are making releases on drupal.org. You have found a bug, please file a report in the Hostmaster issue queue if you can?
I thought I fixed this to use wget to grab Provision, but perhaps I didn't commit it :/
A workaround for you (and what the UPGRADE.txt ought to say) is to wget Provision from http://files.aegirproject.org/provision-0.4-alpha5.tgz and put it /var/aegir/.drush/
I have fixed the UPGRADE.txt
I have fixed the UPGRADE.txt instructions in HEAD, so these will be ok for the next release. Sorry about that!
To upgrade Provision for this release:
cd /var/aegir/.drushmv provision ../provision.bak # make a backup
wget http://files.aegirproject.org/provision-0.4-alpha5.tgz
gunzip -c provision-0.4-alpha5.tgz | tar -xf -
rm provision-0.4-alpha5.tgz
Use a simple tar zxfv provision-0.4-alpha5.tgz if you don't want to do the gunzip | tar fun. This exists for compatability with other systems that have different implementations of tar such as Solaris, but should work on all (most) systems
OK to upgrade from Alpha 2?
Or only from Alpha 3? I skipped that one after seeing the "fraught with danger" part, haha.
my install was an upgrade
my install was an upgrade from alpha 2 and it worked ok, yet to test an alpha3 to alpha5 upgrade
I'm stuck in the same
I'm stuck in the same error:
'drush.php hostmaster-migrate aegir.example.com /var/aegir/hostmaster-0.4-alpha5' could not be found. [error]
I can do hostmaster migrate but then drush complains about that it should be hostmaster-migrate
Anybody can help on this?
make sure you have the
make sure you have the correct version of provision install DO NOT use drush to download it, download it from files.aegirproject.org
Ok it was my fault!, I had
Ok it was my fault!, I had renamed provision but not moved out from the .drush folder
Thanks anthony
I could issue the hostmaster-migrate but now I get tons of errors in the migration and the aegir site went offline.
First error was this:
WD php: Unknown column 'delta' in 'field list' [error]query: SELECT task_type, executed, delta, rid, task_status FROM hosting_task WHERE vid = 13 in
/var/aegir/hostmaster-HEAD/profiles/hostmaster/modules/hosting/task/hosting_task.module on line 431.
yes i had already done that
yes i had already done that and i was able to migrate successfully,
will drop a note in the issue queue
Actually
upgrades should work all the way from aegir 0.3 upwards.
sudo is another dependancy
Hi guys, just wanted to mention that sudo is another dependency if you are installing on debian (ubuntu already has it). Aegir requires sudo to be able to start apache, but it is not among the packages that we are called to install in the prep section.
Great work on aegir this cycle. I am excited to try out D7 under hostmaster.
It's there
On the second line under Summary:
"apt-get install sudo git-core unzip"
Indeed
Sorry bout that. The 'ol mouse must have failed between C-c and C-v.
kudos
Just a quick thanks to all, this is getting better every time ;p
Sorry for this silly question
Hello,
I have a working 3alpha version of aegir. I read the UPGRADE.txt, but it seems as though this is just for the front end. Do I have to upgrade the backend and if so how? The INSTALL.txt seems directed at a new install.
Can somebody clear up what set of instructions to follow?
Thank you for this awesome tool
The UPGRADE.txt deals first
The UPGRADE.txt deals first with upgrading the backend before the frontend. You cannot upgrade the frontend until you upgrade the backend.
The instructions for upgrading the backend are under the heading 'Upgrading the backend' :)
It consists of upgrading Drush and Provision. You should also grab the latest version of Drush_Make (this ought to be in the UPGRADE.txt now that I come to think of it).
Note that there's a bug regarding the instructions to download Provision. Use my example above to upgrade Provision.
Thanks
Sorry for not reading more carefully!
am i missing something?
Thanks for your hard work on another great release.
I get the following output at shell, but nothing further seems to happen.
$ drush hostmaster-migrate aegir.myserver.com /var/aegir/hostmaster-0.5 --debugDrush bootstrap phase : _drush_bootstrap_drupal_root() [0.177 sec] [bootstrap]
Loading drushrc "/home/drupal/sites/aegir.myserver.com/htdocs/drushrc.php" into "drupal" scope. [0.179 sec] [bootstrap]
Initialized Drupal 6.15 root directory at /var/aegir/htdocs [0.283 sec] [notice]
Found command: hostmaster-migrate [0.294 sec] [bootstrap]
Initializing drush commandfile: drush_make [0.295 sec] [bootstrap]
Initializing drush commandfile: drush_make_d_o [0.295 sec] [bootstrap]
Initializing drush commandfile: provision_apache [0.296 sec] [bootstrap]
Initializing drush commandfile: provision_drupal [0.296 sec] [bootstrap]
Initializing drush commandfile: provision_mysql [0.297 sec] [bootstrap]
Command dispatch complete [0.299 sec]
$
Does hostmaster-migrate download the latest version of drupal core and hostmaster module or do i need to do that manually?
edit:
Provision (backend) was upgraded successfully
I'm upgrading from hostmaster 0.4-alpha-3, drupal 6.15
did you upgrade drush
drush needs to be the new alpha.
thanks
Thanks, adrian. I upgraded drush to the new alpha, which got me started.
Is there any reason that hostmaster can't be upgraded in place?
In other words, are there complications with replacing the hosting files in the existing aegir drupal site and running update, rather than creating a new drupal install?
Memory
In previous installs we needed to up the memory for both php.ini files. I always like to up my apache2 memory anyways but do I need to also do so in the cgi/php.ini?
If so what would be good; 32, 64.... ?
Thanks
Aegir doesn't require the use
Aegir doesn't require the use of CGI, so this is obviously something specific to your environment.
If you meant CLI, yeah 64M is a safe bet if you can spare that much
I updated the links for the
I updated the links for the UPGRADE.txt so it has the fixed docs.
more silly questions
I am now trying to upgrade the front end, and I am getting confused. I am really trying to understand what is going on rather then just running the commands
I have alpha 4 v3 running
I am at this step.
cd $OLD_DRUPAL_DIR
$DRUSH hostmaster-migrate aegir.example.com $DRUPAL_DIR
where OLD_DRUPAL_DIR = /var/aegir/drupal-6.15
DRUPAL_DIR = /var/aegir/hostmaster-HEAD
Why do I need to be in the Old drupal directory now?
I am not sure what I should replace "aegir.example.com" with?
Can any one help me get this stuff figured out?
Thanks for all your help
eow
You need to be in
You need to be in $OLD_DRUPAL_DIR so that the Drush command knows what site to bootstrap, in order to migrate (upgrade) it.
Replace aegir.example.com with whatever is the URL of your aegir frontend. The place where you go to provision sites etc...
ok It seems to have worked but..
I get these errors.... do I need to worry?
Created site_68_0 database [success]
No database updates required [success]
Finished performing updates. [ok]
Notice: "hosting setup" must be renamed to "hosting-setup" in order to work with this version of drush. If you[error]
are the maintainer for the module that defines this command, please rename it immediately. If you are a user
of this command, you may enable spaces in commands for a while by setting "allow-spaces-in-commands" in your
drush configuration file. See example.drushrc.php.
An error occurred at function : drush_hosting_hostmaster_resume [error]
An error occurred at function : drush_provision_post_hostmaster_migrate [error]
Sounds like you didn't
Sounds like you didn't upgrade the backend first. Provision fetched an old version of the frontend (hostmaster & hosting) within which contained a command 'hosting setup' instead of 'hosting-setup', which is what 0.4alpha5 has (this is to be compatible with the latest version of Drush per the error message).
Ok I get it finally... jeez I
Ok I get it finally... jeez I need to pay attention.
Thanks for the help
eow
Failed to revoke previleges
I just updated to alpha5 from alpha3 and after "$DRUSH hostmaster-migrate aegir.example.com $DRUPAL_DIR" I got this error:
Finished performing updates. [ok]There is no such grant defined for user 'aegir_root' on host 'localhost' [error]
query: REVOKE ALL PRIVILEGES ON
aegirhostmaster.* FROMaegir_root@localhostFailed to revoke user privileges
I read that as it could not revoke aegir_root's permissions from the db 'aegirhostmaster'. Am I reading that right? I don't have a database called 'aegirhostmaster' (that may have been what my db was called before... I don't remember). But now its called site_68 or something...
Other than that error everything seems to be working just fine...
I'm trying to upgrade from
I'm trying to upgrade from alpha3 to alpha5 and doesn't seem to finish. Here's what I get from debug on hostmaster-migrate...
Drush bootstrap phase : _drush_bootstrap_drupal_root() [0.08 sec, [bootstrap]4.85 MB]
Loading drushrc "/var/aegir/hostmaster-6.x-0.4-alpha3/drushrc.php" [bootstrap]
into "drupal" scope. [0.13 sec, 4.85 MB]
Initialized Drupal 6.14 root directory at [notice]
/var/aegir/hostmaster-6.x-0.4-alpha3 [0.15 sec, 6.06 MB]
Found command: hostmaster-migrate (commandfile=provision) [0.16 sec, [bootstrap]
6.05 MB]
Initializing drush commandfile: drush_make [0.16 sec, 6.06 MB] [bootstrap]
Initializing drush commandfile: drush_make_d_o [0.16 sec, 6.06 MB] [bootstrap]
Initializing drush commandfile: provision [0.16 sec, 6.06 MB] [bootstrap]
Initializing drush commandfile: provision_apache [0.16 sec, 6.06 MB] [bootstrap]
Initializing drush commandfile: provision_drupal [0.16 sec, 6.07 MB] [bootstrap]
Initializing drush commandfile: provision_mysql [0.16 sec, 6.07 MB] [bootstrap]
Including /var/aegir/.drush/provision/migrate.hostmaster.inc [0.16 [bootstrap]
sec, 6.08 MB]
Running: /var/aegir/drush/drush.php [command]
--drush-make-update-default-url='http://updates.drupal.org/release-history'
--drush-make-version-best='best'
--master_url='http://aegir.site.com'
--publish_path='/var/aegir/hostmaster-0.4-alpha5'
--web_host='aegir.site.com' --web_ip='123.456.789.012'
--web_group='www-data' --script_user='aegir' --restart_cmd='sudo
/usr/sbin/apache2ctl graceful' --backup_path='/var/aegir/backups'
--config_path='/var/aegir/config'
--master_db='mysqli://mysql-user:password@localhost' --debug
--root='/var/aegir/hostmaster-0.4-alpha5'
--r='/var/aegir/hostmaster-0.4-alpha5' provision-verify --backend
[0.16 sec, 6.13 MB]
Drush bootstrap phase : _drush_bootstrap_drush() [0.64 sec, 6.66 MB] [bootstrap]
Drush bootstrap phase : _drush_bootstrap_drupal_root() [0.64 sec, [bootstrap]
6.66 MB]
Loading drushrc "/var/aegir/hostmaster-0.4-alpha5/drushrc.php" into [bootstrap]
"drupal" scope. [0.64 sec, 6.67 MB]
Initialized Drupal 6.15 root directory at [notice]
/var/aegir/hostmaster-0.4-alpha5 [0.64 sec, 6.67 MB]
Found command: provision-verify (commandfile=provision) [0.64 sec, [bootstrap]
6.67 MB]
Initializing drush commandfile: drush_make [0.64 sec, 6.67 MB] [bootstrap]
Initializing drush commandfile: drush_make_d_o [0.64 sec, 6.67 MB] [bootstrap]
Initializing drush commandfile: provision [0.64 sec, 6.67 MB] [bootstrap]
Initializing drush commandfile: provision_apache [0.64 sec, 6.67 MB] [bootstrap]
Undefined index: base_url [0.64 sec, 6.67 MB] [notice]
Initializing drush commandfile: provision_drupal [0.64 sec, 6.68 MB] [bootstrap]
Initializing drush commandfile: provision_mysql [0.64 sec, 6.68 MB] [bootstrap]
Undefined index: db_url [0.64 sec, 6.68 MB] [notice]
Including /var/aegir/.drush/provision/web_server/verify.provision.inc[bootstrap]
[0.64 sec, 6.68 MB]
Including /var/aegir/.drush/provision/platform/verify.provision.inc [bootstrap]
[0.64 sec, 6.68 MB]
Including /var/aegir/.drush/provision/db_server/verify.provision.inc [bootstrap]
[0.64 sec, 6.68 MB]
Including /var/aegir/.drush/provision/ssl/verify.provision.inc [0.64 [bootstrap]
sec, 6.68 MB]
Virtual host configuration path exists. [0.64 sec, 6.68 MB] [message]
Virtual host configuration ownership of path has been changed to [message]
aegir. [0.64 sec, 6.68 MB]
Virtual host configuration permissions of path have been changed to [message]
0700. [0.64 sec, 6.69 MB]
Virtual host configuration path is writable. [0.64 sec, 6.69 MB] [message]
Generating apache host configuration file [notice]
aegir.site.com.server. [0.64 sec, 6.69 MB]
Executing: sudo /usr/sbin/apache2ctl graceful [0.64 sec, 6.69 MB] [notice]
Apache has been restarted [0.64 sec, 6.69 MB] [notice]
Provision configuration path exists. [0.64 sec, 6.69 MB] [message]
Provision configuration ownership of path has been changed to aegir. [message]
[0.64 sec, 6.69 MB]
Provision configuration permissions of path have been changed to [message]
0711. [0.64 sec, 6.69 MB]
Provision configuration path is writable. [0.64 sec, 6.7 MB] [message]
Provision PHP configuration path exists. [0.64 sec, 6.7 MB] [message]
Provision PHP configuration ownership of path has been changed to [message]
aegir. [0.64 sec, 6.7 MB]
Provision PHP configuration permissions of path have been changed to [message]
0711. [0.64 sec, 6.7 MB]
Provision PHP configuration path is writable. [0.64 sec, 6.7 MB] [message]
Global configuration file exists [0.64 sec, 6.7 MB] [message]
Backup path exists. [0.64 sec, 6.7 MB] [message]
Backup ownership of path has been changed to aegir. [0.64 sec, 6.7 [message]
MB]
Backup permissions of path have been changed to 0700. [0.64 sec, 6.7 [message]
MB]
Backup path is writable. [0.64 sec, 6.71 MB] [message]
Drupal sites directory is writable by the provisioning script [0.64 [message]
sec, 6.71 MB]
Undefined variable: sites [0.64 sec, 6.71 MB] [notice]
This platform is running drupal 6.15 [0.64 sec, 6.71 MB] [notice]
Including non-version specific file : [notice]
/var/aegir/.drush/provision/platform/drupal/packages.inc [0.64 sec,
6.71 MB]
Found 33 modules in base [0.64 sec, 6.71 MB] [notice]
Found 6 themes in base [0.64 sec, 6.71 MB] [notice]
Found install profile default [0.64 sec, 6.71 MB] [notice]
Found install profile hostmaster [0.64 sec, 6.72 MB] [notice]
Found 20 modules in profiles/hostmaster [0.64 sec, 6.72 MB] [notice]
Found 1 themes in profiles/hostmaster [0.64 sec, 6.72 MB] [notice]
Changed permissions of sites/all to 0755 [0.64 sec, 6.72 [message]
MB]
Changed permissions of sites/all/themes to 2775 [0.64 [message]
sec, 6.72 MB]
Changed permissions of sites/all/modules to 2775 [0.65 [message]
sec, 6.72 MB]
Changed permissions of sites/all/libraries to 2775 [0.65 [message]
sec, 6.72 MB]
Changed permissions of sites/all/private to 0755 [0.65 [message]
sec, 6.72 MB]
Changed permissions of sites/all/private/files to 2770 [message]
[0.65 sec, 6.72 MB]
Changed permissions of sites/all/private/temp to 2770 [message]
[0.65 sec, 6.73 MB]
Mysql can create new databases. [0.65 sec, 6.73 MB] [message]
Found existing drushrc.php file [0.65 sec, 6.73 MB] [notice]
Changed permissions of drushrc.php to 0600 [0.65 sec, 6.73 MB] [message]
Drushrc file (/var/aegir/hostmaster-0.4-alpha5/drushrc.php) was [notice]
written successfully [0.65 sec, 6.73 MB]
Changed permissions of drushrc.php to 0400 [0.65 sec, 6.73 MB] [message]
Command dispatch complete [0.65 sec, 6.73 MB] [notice]
Peak memory usage was 7.7 MB [0.65 sec, 6.73 MB] [memory]
Running: /var/aegir/drush/drush.php [command]
--root='/var/aegir/hostmaster-6.x-0.4-alpha3' provision-verify
--backend [0.65 sec, 6.22 MB]
Drush bootstrap phase : _drush_bootstrap_drush() [1.12 sec, 6.76 MB] [bootstrap]
Drush bootstrap phase : _drush_bootstrap_drupal_root() [1.12 sec, [bootstrap]
6.76 MB]
Loading drushrc "/var/aegir/hostmaster-6.x-0.4-alpha3/drushrc.php" [bootstrap]
into "drupal" scope. [1.12 sec, 6.76 MB]
Initialized Drupal 6.14 root directory at [notice]
/var/aegir/hostmaster-6.x-0.4-alpha3 [1.12 sec, 6.76 MB]
Found command: provision-verify (commandfile=provision) [1.12 sec, [bootstrap]
6.76 MB]
Initializing drush commandfile: drush_make [1.12 sec, 6.76 MB] [bootstrap]
Initializing drush commandfile: drush_make_d_o [1.12 sec, 6.76 MB] [bootstrap]
Initializing drush commandfile: provision [1.12 sec, 6.77 MB] [bootstrap]
Initializing drush commandfile: provision_apache [1.12 sec, 6.77 MB] [bootstrap]
Undefined index: base_url [1.12 sec, 6.77 MB] [notice]
Initializing drush commandfile: provision_drupal [1.12 sec, 6.77 MB] [bootstrap]
Initializing drush commandfile: provision_mysql [1.12 sec, 6.77 MB] [bootstrap]
Undefined index: db_url [1.12 sec, 6.77 MB] [notice]
Including /var/aegir/.drush/provision/web_server/verify.provision.inc[bootstrap]
[1.12 sec, 6.77 MB]
Including /var/aegir/.drush/provision/platform/verify.provision.inc [bootstrap]
[1.12 sec, 6.77 MB]
Including /var/aegir/.drush/provision/db_server/verify.provision.inc [bootstrap]
[1.12 sec, 6.77 MB]
Including /var/aegir/.drush/provision/ssl/verify.provision.inc [1.12 [bootstrap]
sec, 6.78 MB]
Virtual host configuration path exists. [1.12 sec, 6.78 MB] [message]
Virtual host configuration ownership of path has been changed to [message]
aegir. [1.12 sec, 6.78 MB]
Virtual host configuration permissions of path have been changed to [message]
0700. [1.12 sec, 6.78 MB]
Virtual host configuration path is writable. [1.12 sec, 6.78 MB] [message]
Generating apache host configuration file [notice]
aegir.site.com.server. [1.12 sec, 6.78 MB]
Apache has been restarted [1.12 sec, 6.78 MB] [notice]
Provision configuration path exists. [1.12 sec, 6.78 MB] [message]
Provision configuration ownership of path has been changed to aegir. [message]
[1.12 sec, 6.78 MB]
Provision configuration permissions of path have been changed to [message]
0711. [1.12 sec, 6.79 MB]
Provision configuration path is writable. [1.13 sec, 6.79 MB] [message]
Provision PHP configuration path exists. [1.13 sec, 6.79 MB] [message]
Provision PHP configuration ownership of path has been changed to [message]
aegir. [1.13 sec, 6.79 MB]
Provision PHP configuration permissions of path have been changed to [message]
0711. [1.13 sec, 6.79 MB]
Provision PHP configuration path is writable. [1.13 sec, 6.79 MB] [message]
Global configuration file exists [1.13 sec, 6.79 MB] [message]
Backup path exists. [1.13 sec, 6.79 MB] [message]
Backup ownership of path has been changed to aegir. [1.13 sec, 6.8 [message]
MB]
Backup permissions of path have been changed to 0700. [1.13 sec, 6.8 [message]
MB]
Backup path is writable. [1.13 sec, 6.8 MB] [message]
Drupal sites directory is writable by the provisioning script [1.13 [message]
sec, 6.8 MB]
This platform is running drupal 6.14 [1.13 sec, 6.8 MB] [notice]
Including non-version specific file : [notice]
/var/aegir/.drush/provision/platform/drupal/packages.inc [1.13 sec,
6.8 MB]
Found 33 modules in base [1.13 sec, 6.8 MB] [notice]
Found 6 themes in base [1.13 sec, 6.8 MB] [notice]
Found install profile default [1.13 sec, 6.8 MB] [notice]
Found install profile hostmaster [1.13 sec, 6.81 MB] [notice]
Found 19 modules in profiles/hostmaster [1.13 sec, 6.81 MB] [notice]
Found 1 themes in profiles/hostmaster [1.13 sec, 6.81 MB] [notice]
Found 1 modules in sites/aegir.site.com [1.13 sec, 6.81 [notice]
MB]
Changed permissions of sites/all to 0755 [1.13 sec, 6.81 [message]
MB]
Changed permissions of sites/all/themes to 2775 [1.13 [message]
sec, 6.81 MB]
Changed permissions of sites/all/modules to 2775 [1.13 [message]
sec, 6.81 MB]
Changed permissions of sites/all/libraries to 2775 [1.13 [message]
sec, 6.81 MB]
Changed permissions of sites/all/private to 0755 [1.13 [message]
sec, 6.81 MB]
Changed permissions of sites/all/private/files to 2770 [message]
[1.13 sec, 6.82 MB]
Changed permissions of sites/all/private/temp to 2770 [message]
[1.13 sec, 6.82 MB]
Mysql can create new databases. [1.13 sec, 6.82 MB] [message]
Found existing drushrc.php file [1.13 sec, 6.82 MB] [notice]
Changed permissions of drushrc.php to 0600 [1.13 sec, 6.82 MB] [message]
Drushrc file (/var/aegir/hostmaster-6.x-0.4-alpha3/drushrc.php) was [notice]
written successfully [1.13 sec, 6.82 MB]
Changed permissions of drushrc.php to 0400 [1.13 sec, 6.82 MB] [message]
Command dispatch complete [1.13 sec, 6.83 MB] [notice]
Peak memory usage was 7.39 MB [1.13 sec, 6.83 MB] [memory]
Undefined index: root [1.13 sec, 6.32 MB] [notice]
Running: /var/aegir/drush/drush.php [command]
--root='/var/aegir/hostmaster-6.x-0.4-alpha3' provision-verify
'aegir.site.com' --backend [1.13 sec, 6.32 MB]
The external command could not be executed due to an application [31;40m[1m[error][0m
error. [2.91 sec, 6.36 MB]
Drush bootstrap phase : _drush_bootstrap_drush() [2.91 sec, 6.95 MB] [bootstrap]
Drush bootstrap phase : _drush_bootstrap_drupal_root() [2.91 sec, [bootstrap]
6.95 MB]
Loading drushrc "/var/aegir/hostmaster-6.x-0.4-alpha3/drushrc.php" [bootstrap]
into "drupal" scope. [2.91 sec, 6.95 MB]
Initialized Drupal 6.14 root directory at [notice]
/var/aegir/hostmaster-6.x-0.4-alpha3 [2.91 sec, 6.95 MB]
Found command: provision-verify (commandfile=provision) [2.91 sec, [bootstrap]
6.95 MB]
Initializing drush commandfile: drush_make [2.91 sec, 6.95 MB] [bootstrap]
Initializing drush commandfile: drush_make_d_o [2.91 sec, 6.96 MB] [bootstrap]
Initializing drush commandfile: provision [2.91 sec, 6.96 MB] [bootstrap]
Initializing drush commandfile: provision_apache [2.91 sec, 6.96 MB] [bootstrap]
Undefined index: base_url [2.91 sec, 6.96 MB] [notice]
Initializing drush commandfile: provision_drupal [2.91 sec, 6.96 MB] [bootstrap]
Initializing drush commandfile: provision_mysql [2.91 sec, 6.96 MB] [bootstrap]
Undefined index: db_url [2.91 sec, 6.96 MB] [notice]
Including /var/aegir/.drush/provision/web_server/verify.provision.inc[bootstrap]
[2.91 sec, 6.96 MB]
Including /var/aegir/.drush/provision/platform/verify.provision.inc [bootstrap]
[2.91 sec, 6.96 MB]
Including /var/aegir/.drush/provision/db_server/verify.provision.inc [bootstrap]
[2.91 sec, 6.97 MB]
Including /var/aegir/.drush/provision/ssl/verify.provision.inc [2.91 [bootstrap]
sec, 6.97 MB]
Drush bootstrap phase : _drush_bootstrap_drupal_site() [2.91 sec, [bootstrap]
6.97 MB]
Initialized Drupal site aegir.site.com at [notice]
sites/aegir.site.com [2.91 sec, 6.97 MB]
Loading drushrc [bootstrap]
"/var/aegir/hostmaster-6.x-0.4-alpha3/sites/aegir.site.com/drushrc.php"
into "site" scope. [2.91 sec, 6.97 MB]
Generate settings.php file [2.91 sec, 6.97 MB] [notice]
Changed permissions of settings.php to 0640 [2.91 sec, 6.97 MB] [message]
Changed permissions of settings.php to 0440 [2.92 sec, 6.97 MB] [message]
Change group ownership of settings.php to www-data [2.92 sec, 6.98 [message]
MB]
Drush bootstrap phase : _drush_bootstrap_drupal_configuration() [2.92[bootstrap]
sec, 6.98 MB]
Drush bootstrap phase : _drush_bootstrap_drupal_database() [2.92 sec,[bootstrap]
6.98 MB]
Successfully connected to the Drupal database. [2.92 sec, 6.98 MB] [bootstrap]
Drush bootstrap phase : _drush_bootstrap_drupal_full() [2.92 sec, [bootstrap]
6.98 MB]
Including version specific file : [notice]
/var/aegir/drush/commands/core/drupal/environment_6.inc [2.92 sec,
6.98 MB]
Generating apache host configuration file [notice]
<em>aegir.site.com_80</em>. [2.92 sec, 6.98 MB]
Apache has been restarted [2.92 sec, 6.98 MB] [notice]
Including non-version specific file : [notice]
/var/aegir/.drush/provision/platform/drupal/packages.inc [2.92 sec,
6.98 MB]
Found install profile <em>default</em> [2.92 sec, 6.99 MB] [notice]
Found install profile <em>hostmaster</em> [2.92 sec, 6.99 MB] [notice]
Found 54 modules [2.92 sec, 6.99 MB] [notice]
Found 7 themes [2.92 sec, 6.99 MB] [notice]
Changed permissions of sites/aegir.site.com [message]
to 0755 [2.92 sec, 6.99 MB]
Changed permissions of [message]
sites/aegir.site.com/themes to 2775 [2.92
sec, 6.99 MB]
Changed permissions of [message]
sites/aegir.site.com/modules to 2775 [2.92
sec, 6.99 MB]
Changed permissions of [message]
sites/aegir.site.com/libraries to 2775 [2.92
sec, 6.99 MB]
Changed permissions of [message]
sites/aegir.site.com/private to 0755 [2.92
sec, 6.99 MB]
Changed permissions of [message]
sites/aegir.site.com/private/files to 2770
[2.92 sec, 7 MB]
Changed permissions of [message]
sites/aegir.site.com/private/temp to 2770
[2.92 sec, 7 MB]
Changed permissions of [message]
sites/aegir.site.com/files to 2770 [2.92 sec,
7 MB]
Changed ownership of [message]
sites/aegir.site.com/files [2.92 sec, 7 MB]
Changed ownership of [message]
sites/aegir.site.com/private [2.92 sec, 7 MB]
Changed group ownership of [message]
sites/aegir.site.com/files [2.92 sec, 7 MB]
Changed group ownership of [message]
sites/aegir.site.com/private/files [2.92 sec,
7 MB]
Changed group ownership of [message]
sites/aegir.site.com/private/temp [2.92 sec,
7 MB]
Generate settings.php file [2.92 sec, 7.01 MB] [notice]
Changed permissions of settings.php to 0640 [2.92 sec, 7.01 MB] [message]
Changed permissions of settings.php to 0440 [2.92 sec, 7.01 MB] [message]
Change group ownership of settings.php to www-data [2.92 sec, 7.01 [message]
MB]
Including version specific file : [notice]
/var/aegir/.drush/provision/platform/drupal/clear_6.inc [2.92 sec,
7.01 MB]
Cleared all caches [2.92 sec, 7.01 MB] [notice]
Rebuild node type cache [2.92 sec, 7.01 MB] [notice]
Rebuild module cache [2.92 sec, 7.01 MB] [notice]
Rebuild theme cache [2.92 sec, 7.01 MB] [notice]
Rebuild node access cache [2.92 sec, 7.02 MB] [notice]
Drush command could not be completed. [2.92 sec, 7.02 MB] [31;40m[1m[error][0m
Output from failed command : [31;40m[1m[error][0m
[2.92 sec, 7.02 MB]
An error occurred at function : [31;40m[1m[error][0m
drush_provision_hostmaster_migrate_validate [2.92 sec, 6.41 MB]
Command dispatch complete [2.92 sec, 6.38 MB] [notice]
Peak memory usage was 7.06 MB [2.92 sec, 6.38 MB] [memory]
Anyone have any insight as to
Anyone have any insight as to why this isn't working properly? I'm about to give up and just create a new db for aegir and re-import all the platforms/sites. I have some live sites and am a bit nervous about doing this, but I'm not sure how to fix this. :(
RHEL 5.4 and /var/aegir permissions
In case anyone runs into this issue thought I'd post. I'm an Ubuntu user, but I'm bringing up Aegir on Red Hat Enterprise Linux 5.4 since that is the university's standard. After running the install script I could not get install.php to come up in a browser. Error log showed:
[Tue Feb 16 13:05:07 2010] [crit] [client 169.xxx.xxx.xxx] (13)Permission denied: /var/aegir/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readableThat was very disconcerting since the Doc Root of ~aegir/config/vhost.d/aegir.example.com is clearly /var/aegir/hostmaster-0.4-alpha5. Apparently this error simply means that RHEL's httpd doesn't like the permissions of the parent directory. I appeased httpd with
chmod 0755 /var/aegir(There isn't, and should not be, an .htaccess file in /var/aegir.)
RHEL 5.4 and SELinux
On Red Hat Enterprise Linux 5.x, SELinux is enabled by default. You may need
chcon -R -t httpd_user_content_t ~aegir/hostmaster-0.4-alpha5
I believe that your aegir platforms will need that too.
http://www.redhat.com/docs/manuals/enterprise/RHEL-4-Manual/selinux-guid...
aegir user non-interactive, cannot su
The Debian INSTALL.TXT instructions create the aegir user as --system. Because of this, the install script can't run interactively as that user, and so the
su -s /bin/sh aegir -c "sh install.sh.txt"command from the instructions doesn't work.Does the aegir user need to be system, or is that just a security precaution?
This doesn't make any
This doesn't make any sense... It is because the aegir user is a --system user with /bin/false that the command is like that :
su -s /bin/sh aegir -c "sh install.sh.txt". That needs to be run as root per the instructions in INSTALL.txt. You are instantiating a shell as the aegir user and executing the install.sh script which is perfectly ok and should work. That is really the only way it can be run, because of the system flag set earlier.So if it failed, something else is wrong with your system, but that command is not incorrect.
Anyway, no, the aegir user does not necessarily need to be a system user, and yes it is just a security precaution. But if you need to remove the system flag on your aegir user to run the script, there is some other problem causing you to workaround it like that. You can watch my video (also a Debian system) which shows the command as above work, live.
You're right, it probably is
You're right, it probably is a problem on my end (I just learned this reading the CentOS hints wiki, and was about to delete my comment - thanks for your fast reply though).
I actually ended up having to make the aegir user ALL=NOPASSWD: ALL in the sudoers file just to get the initial tasks for the platform to not explode all over the place. It's a completely fresh install of ubuntu 9.10 server. It's just for a test, I wouldn't recommend anyone else doing this, ever.
No worries, I'm curious as to
No worries,
I'm curious as to what error you saw trying to execute the install.sh though. It may have been an issue with Ubuntu defaulting to the Dash shell (/bin/sh symlinked to /bin/dash), but we do take pains to make sure the shell script works on systems other than Bash, having been burnt by this in past releases. Let us know if you discover what it was even if it was just your system.
Good luck!
Install.txt and Upgrade.txt is missing
Hi all, i want to install aegir on my PC with ubuntu OS. So when I tried the instruction given above and clicked on install.txt or updrage.txt", all i am getting is "It works!" message. So please help me with these files so that i can install Aegir.
Thanks in Advance!