Greet meeting you guys today at DrupalCon SF.

I just tried to deploy Openpublish 2 to Aegir and get the following error:

Web server could not be restarted. Changes might not be available until thi... (Expand)Web server could not be restarted. Changes might not be available until this has been done. (error: apache2: Syntax error on line 296 of /etc/apache2/apache2.conf: Syntax error on line 18 of /etc/apache2/conf.d/aegir.conf: Syntax error on line 85 of /var/aegir/config/vhost.d/mysite.com_80: Include takes one argument, Name of the config file to be included)
An error occurred at function : drush_provision_apache_provision_verify

Comments

socialnicheguru’s picture

This looks similar to this issue.

The install profile for openpublish is not being seen by Aegir (alpha 7)

http://drupal.org/node/726596

socialnicheguru’s picture

Title: Openpublish 2 doesn't work with Aegir » Openpublish 2.0 Installation profile is not seen by Aegir

The install profile is not seen by Aegir and I don't know why

socialnicheguru’s picture

it works on aegir 6

in aegir 7, the choice to select install profile is not present, and throws an error

irakli’s picture

Project: OpenPublish » Hosting
Version: 6.x-1.x-dev » 6.x-0.4-alpha3

This sounds like an Aegir problem. OpenPublish is a proper installation profile (since it has no problem installing on its own) Aegir should "see" any proper installation profile.

Moving it to Aegir issue queue (Hosting module actually, since Aegir is a collection of modules). If you find anything specific in OP that is broken, feel free to move it back.

Thanks

adrian’s picture

Not sure about openpublish specifically, but Aegir can't automate install profiles which make use of the drupal 6 install wizard, because of limitations of core itself.

All we get back from the task function is plain text, and we have absolutely no way of knowing what needs to be done with it. Drupal 7 has largely resolved this problem, and for the most part it can be worked around in D6.

adrian’s picture

Status: Active » Fixed
omega8cc’s picture

I can confirm OpenPublish2.0-Build77 works with Aegir out of the box. Just remember to set enough high limits: memory_limit = 256M for PHP and wait_timeout 300 for MySQL, since deploying new site can take a few minutes.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

attiks’s picture

Status: Closed (fixed) » Active

Just tried the latest build (OpenPublish-2.3-Build441.tar.gz) with 900M of memory (PHP CLI), but no go

The command could not be executed successfully (returned: PHP Fatal error: Allowed memory size of 943718400 bytes exhausted)

attiks’s picture

Status: Active » Closed (fixed)

I increased the memory to a whopping 1500M and it installed ;p

PS: Probably there's something not a-ok with my test system