Does CiviCrm work with Aegir?

Events happening in the community are now at Drupal community events on www.drupal.org.
socialnicheguru's picture

I tried it once and it just gave me a basic drupal install.

Civicrm does not install out of profile but instead out of the sites/all/modules directory.

has anyone else tried it or gotten it to work?

Comments

With Aegir 0.1 / CiviCRM 2.x

totten's picture

Civi has its own installation process which doesn't quite follow the Drupal norms. I wrote a custom module to install Civi 2.1/2.2 on Aegir 0.1. There's a decent chance it'll work with newer versions of CiviCRM, but it probably needs revision to work with the latest Aegir. In any event, I don't have any plans to update it soon. If you'd like a copy, contact me.

Yes, please post here or send

joe.murray's picture

Yes, please post here or send to me. Thx.

Joe Murray

I'd love to see it. I was

socialnicheguru's picture

I'd love to see it.

I was able to get it to work in a semi-automated way.

through aegir you can create the site but it will only create the drupal site.

Then you'll have to type the civicrm install url in and with some changes around permissions for the settings file it will work.

how can i install CiviCRM

atspinto's picture

Can somebody help me !! I want to know how can i install CiviCRM under Aegir for multisite usage. I already download and install CiviCRM provision, the CiviCRM packages for Drupal, and use the command:

su -s /bin/sh aegir -c "/var/aegir/drush/drush civicrm-install --dbuser aegir_root --dbpass aegir_password --dbname civicrm_test --dbhost localhost --tarfile /var/aegir/packages/civicrm-3.1.5-drupal.tar.gz"

Error : Cannot open mysql://aegir_root:aegir_password@tcp(civicrm_test)/localhost?new_link=true: DB Error: connect failed Drush command could not be completed.

but it still doesn't work.

Help please...

mysql URL

xurizaemon's picture

Aside from the username/pass you've replaced, is this really the MySQL DB URL you're using?

mysql://aegir_root:aegir_password@tcp(civicrm_test)/localhost?new_link=true

I've never seen a DB URL with brackets in it before, I suspect that may be your issue.

Should be dbtype://dbuser:dbpass@dbhost/dbname?args - looks like you may have dbtype://dbuser:dbpass@dbname/dbhost (DB name and host transposed), as well as the odd brackets ... Check that first I think.

Read "Database Settings" in default.settings.php for a reference. The syntax is the same although CiviCRM may document it further in civicrm.settings.php too. CiviCRM adds the ?new_link=true parameter. The URL is fed to parse_url() for expansion.

If my comments have helped you, please pay it forward!
Use issue queues to discuss module issues - this will help your questions assist others (including yourself!) in future.

same headaches here!

g76's picture

I need just on install on a single pressflow site instance. I did a manual install of 3.2 to bypass the installer, but I am still having issues. I am in the middle of working through it. If anyone else has had any success or pointers it would be so much appreciated. If I am able to get anything working on my end I will be sure to post back.

Thanks

provision_civicrm

bgm's picture

There's a provision_civicrm module available. It only does the basics for now (install / verify), but it's good enough to install and migrate sites between platforms. You'll still need to configure crons manually, and there are surely bugs.

Check this thread for more info:
http://forum.civicrm.org/index.php/topic,15236.0.html

Aegir hosting system

Group organizers

Group categories

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: