Ran into an issue installing aegir
Hello. Really excited to start playing with Aegir. Have it installed but not sure if i fouled something up.
When i got to the part in manual installation where i log in as "aegir" user i got an error that aegir didn't have permission to write to the relevant library:
aegir@antiacus-desktop:~$ drush dl --destination=/var/aegir/.drush provision-6.x-2.0 Drush needs to download a library from [error] http://download.pear.php.net/package/Console_Table-1.1.3.tgz in order to function, and the attempt to download this file automatically failed because you do not have permission to write to the library directory /usr/share/php/drush/lib. To continue you will need to manually download the package from http://download.pear.php.net/package/Console_Table-1.1.3.tgz, extract it, and copy the directory into your /usr/share/php/drush/lib directory.
So i did this:
root@antiacus-desktop:~# sudo chgrp -R www-data /usr/share/php/drush/lib root@antiacus-desktop:~# sudo chmod -R 770 /usr/share/php/drush/lib
Then i made sure my normal log in was also a part of the www-data group. Anyway, i tried again as aegir and it installed it fine for me.
Which leads me to my next question :)
When i try to install a platform i get this:
install from terminal using drush: aegir@antiacus-desktop:~$ drush dl drupal Project drupal (7.28) downloaded to /var/aegir/drupal-7.28. [success] Project drupal contains: [success] - 3 profiles: standard, minimal, testing - 4 themes: seven, stark, garland, bartik - 47 modules: drupal_system_listing_compatible_test, drupal_system_listing_incompatible_test, locale, blog, update, comment, system, search, rdf, image, aggregator, file, dashboard, menu, php, overlay, filter, dblog, help, simpletest, translation, contact, taxonomy, forum, text, number, options, list, field_sql_storage, field, poll, shortcut, syslog, path, tracker, openid, book, profile, user, trigger, toolbar, block, node, color, contextual, field_ui, statistics
Then i go into the aegir ui and create platform and get this error when verify fails:
The directory /var/aegir/drupal-7.28. does not contain a valid Drupal installation Drush could not bootstrap this platform. Please check the platform directory exists and is readable.
I tried it with and without the . at the end of the path and get the same error.
Thanks for any help!
#1
The problem was drush's install path: /var/aegir/drupal-7.28. It should have been /var/aegir/platforms/drupal-7.28.
All is well now.
Also, for any other aegir newbs like myself reading, make sure to install AND verify the first site off the platform before trying to log in or it won't recognize your site user.