Provisioning new sites with Aegir fails with really weird error:

The command could not be executed successfully (returned: sh: line 1: 22155 Segmentation fault /data/disk/o1/tools/drush/drush.php --client_email='notify@omega8.cc' @p.demo.aegir.cc provision-install-backend --backend 2>&1 , code: 139)

Note that all previous beta versions didn't cause this.

Comments

socialnicheguru’s picture

I get this too

pol’s picture

Same for me on Debian.

omega8cc’s picture

Version: 7.x-1.0-beta4 » 7.x-1.0-beta5

We are removing support for OpenPublic in BOA, as it seems you don't care - the same bug/issue is in the latest beta5.

pol’s picture

BOA ?

omega8cc’s picture

BOA is an acronym of the high performance Barracuda Octopus Aegir LEMP stack.

http://groups.drupal.org/boa
http://drupal.org/project/barracuda
http://drupal.org/project/octopus

spencerfromsc’s picture

+1 for getting this resolved. We're working on a modification of OP right now and have been intending to deploy a number of sites on BOA, so this is very disheartening.

omega8cc’s picture

Version: 7.x-1.0-beta5 » 7.x-1.0-beta7

The same in beta7.

Ignoring critical issues for months seems to be a new practice here?

We already removed OpenPublic support from BOA head.

pol’s picture

I've tried to find a solution to the problem, without any luck...

febbraro’s picture

For the record, we are not ignoring it, we just cannot reproduce it and don't have the same environment that you do. If someone who is running OpenPublic in that environment can help us get to the root cause we'd be more than happy to help fix it and get a patch in immediately.

omega8cc’s picture

I tried to debug this many times w/o any luck.

Everything I can confirm is that the last version working with Aegir (so installed via Drush) is 7.x-1.0-beta3. For the record, beta3 works also with Drupal 7.12 core in Aegir/Drush.

I compared an tried to revert also changes in the install profile between working beta3 and all newer, not working versions, and it looks like there were basically no changes to the install profile itself, so it must have been introduced with some contrib module or feature introduced/changed *after* beta3.

Note: there is nothing BOA specific here, and I assume it fails just for every standard Aegir install, which is pretty critical for all Aegir (not just BOA) users.

We are happy to add OpenPublic again, but currently it can't be supported in Aegir.

omega8cc’s picture

Also, if you have tried to reproduce this, you should add some note here and change the status maybe, as otherwise it looks like an ignored critical issue.

e2thex’s picture

We are looking in to this this week with what will be the next release.

Robin Millette’s picture

Could it be a php bug? https://bugs.php.net/bug.php?id=48034 crashes on any php file of exactly 8192 (or 4096) characters in length.

See #1462984-5: Internal Server Error with latest dev

omega8cc’s picture

Version: 7.x-1.0-beta7 » 7.x-1.0-beta8

It must be something different, as there is no php file of this size:

root@v133d:~# find openpublic-7.x-1.0-beta8/* -type f -exec ls -la {} \; | grep 4096
root@v133d:~# find openpublic-7.x-1.0-beta8/* -type f -exec ls -la {} \; | grep 8192
-rw-r--r-- 1 6226 6226 138192 Mar 19 10:56 openpublic-7.x-1.0-beta8/modules/user/user.module
-rw-r--r-- 1 6226 6226 8192 Mar 19 10:56 openpublic-7.x-1.0-beta8/profiles/openpublic/libraries/ckeditor/plugins/forms/dialogs/select.js
root@v133d:~#
spencerfromsc’s picture

Not to beat a dead horse here, but its been about five weeks now since there was any sort of update on this. I'm not looking for a definitive release date for the next beta or release candidate, but if you were looking into the issue a month ago it would be nice to have an idea of whether or not you were able to resolve it and, if so, perhaps a patch that we can apply in the meantime.

febbraro’s picture

We continue to not be able to reproduce this error. Unless someone with the specific environment can help us out here, there is not too much we can do.

spencerfromsc’s picture

Have you actually installed Aegir anywhere to test the issue? I don't mind helping out with this, although it seems a small part of the resolution process when installation of BOA is almost trivial and an organization with Phase2's resources must have some spare server space lurking about. But, if that is where the issue lies, then I'll see what I can do.

socialnicheguru’s picture

I am trying to install via Aegir.

It just doesn't work.

I tried to run

"drush @7devopenpublic provision-install" at the command line and I just get the message "You need to specify a valid url".

in the GUI - I get the out of memory errors. I have specfiied 350M to try it out.

I am not on boa just Aegir

Robin Millette’s picture

SocialNicheGuru, no segmentation fault? Perhaps you can get support at http://community.aegirproject.org/

omega8cc’s picture

Version: 7.x-1.0-beta8 » 7.x-1.0-beta10

We are removing OpenPublic support in BOA. It is broken for Drush based installs in Aegir in every release after 1.0-beta3. If anyone could find a source of the problem, please submit a patch and let us know at #1792416: Remove support for broken OpenPublic distro.

e2thex’s picture

I was able to duplicate this with beta10

It appears that something bad is happing in the backend.inc file
Running: /usr/share/drush/drush.php --client_email='esummerfield@phase2technology.com' @NAMEOFSITE provision-install-backend --backend 2>&1
Undefined offset: 1 backend.inc:163
Undefined variable: output backend.inc:170

will dive deeper this week

hefox’s picture

Issue summary: View changes
Priority: Critical » Normal
Status: Active » Postponed

Since the support was removed, is this issue relavent still?

omega8cc’s picture

I think that it is still relevant, because we have removed this (impossible to use) distro only from BOA stack, while there are so many Aegir users who use just Aegir w/o BOA.

omega8cc’s picture

Version: 7.x-1.0-beta10 » 7.x-1.0-beta23
Status: Postponed » Fixed
StatusFileSize
new264.88 KB

I just tried it again with latest version 7.x-1.0-beta23 and this time it worked! You can see it live at temporary URL: https://pub.demo.aegir.cc

Looks like we can add OpenPublic again :)

screenshot

omega8cc’s picture

StatusFileSize
new134.53 KB

Furthermore, it took just 1 min 12 sec to install it on our fast machines.

install

Status: Fixed » Closed (fixed)

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