boa icon indicating copy to clipboard operation
boa copied to clipboard

Include Opigno v.2.x for D8

Open Corvalan opened this issue 6 years ago • 12 comments

Some exciting stuff happening at Opigno 2.x

https://www.opigno.org/en

https://opigno.atlassian.net/wiki/spaces/OUM20/pages/363233281/Installation%2Bof%2BOpigno%2BLMS

https://www.drupal.org/project/contrib_tracker/issues/2634298

Demo site: https://www.opigno.org/en/thanks-requesting-access-our-demo-platform-opigno-20?sid=630

Corvalan avatar Feb 15 '19 14:02 Corvalan

By the way, I tried to install Opgino v.2 (distribution version 8.x-1.2) using composer in /static See https://www.opigno.org/en/download composer create-project opigno/opigno-composer example-folder This worked and I was able to create a platform. However, creating a site makes the site install task run endlessly and does not complete, no errors shown.

Can one of you please test this?

Corvalan avatar Feb 15 '19 15:02 Corvalan

Here is the end of the running task log:

Loaded alias @server_localhost from file /data/disk/o1/.drush/server_localhost.alias.drushrc.php | - | notice
-- | -- | --
Loaded alias @server_master from file /data/disk/o1/.drush/server_master.alias.drushrc.php | - | notice
Loading nginx_ssl driver for the http service | - | notice
Loading mysql driver for the db service | - | notice
DSN in Provision_Service_db_pdo | - | notice
mysql:host=localhost;port=3306 | - | notice
Loaded alias @platform_opigno8x12 from file /data/disk/o1/.drush/platform_opigno8x12.alias.drushrc.php | - | notice
Calling hook drush_core_batch_process |   | debug

I foillowed the steps here https://learn.omega8.cc/aegir-task-fails-or-spins-forever-126 But in the end the site created did not display well..unthemed login and no login email sent. Can't get in the site.

Corvalan avatar Feb 15 '19 16:02 Corvalan

We'd love to see this included in BOA, too!

EdNett avatar Feb 19 '19 07:02 EdNett

If anyone is willing to debug this distro v2 issues preventing it from being installed with Drush 8, please consider submitting patches for review in the Opigno project issue queue and let us know. Thanks!

omega8cc avatar Feb 20 '19 21:02 omega8cc

We have the same problem - sites "verify", but the install task never stops running, and clicking on "update status" on the task causes it to return a "successful" message even though no email is sent, and one can't even login, in our case, and the sites do't display in the browser at all - just "unexpected" error messages. We are going to work on this.

EdNett avatar Apr 29 '19 16:04 EdNett

We don't have the bandwidth needed to work on debugging this unfortunately.

omega8cc avatar May 05 '19 03:05 omega8cc

chrome_n28EH4BJ4U ShareX_jURpTTial0

Corvalan avatar Jun 24 '19 11:06 Corvalan

The same issue is still preventing installation. I tested this time with Opigno 2.6 (latest version).

Corvalan avatar Jun 24 '19 11:06 Corvalan

We got a reply form one of the maintainers of Opigno, see here: https://www.opigno.org/en/forum/support/site-install-hangs-boa-aegir

Hi Yuri, Opigno 2.x is fully compliant with Drush 8. We are not specialists of BOA, so it's difficult to debug it, all the more so if there is no error message. If you can provide some error message, then we can for sure help. I suggest that you ask BOA maintainers to get the error message (they know better than us BOA, and the way to retrieve error messages), and then if it's related to Opigno we will fix it. Best regards, Axel

However, I don't know how/where to get more debugging info out of the system? Any suggestions where to start debugging?

Corvalan avatar Jul 01 '19 20:07 Corvalan

This is not BOA specific and will affect any installation using non-interactive mode like Drush. The common problem is that the installation profile relies on some form to be completed during installation, so it simply hangs the process waiting for the input. That should be easy to spot in the installation profile code and is something many others fixed in the past by adding exceptions based on detecting if the installation is run via Drush or simply by avoiding extra forms on installation. Only once this possible culprit is ruled out you could debug this further with strace which is the most comprehensive and easy to run debugging tool.

Sent with GitHawk

omega8cc avatar Jul 05 '19 10:07 omega8cc

I found a similar or the same issue, I've updated the d.o. issue > https://www.drupal.org/project/opigno_lms/issues/3063680#comment-13384729

jasonawant avatar Dec 09 '19 20:12 jasonawant

@jasonawant Nice catch, thank you for sharing!

Sent with GitHawk

omega8cc avatar Dec 09 '19 22:12 omega8cc