Trouble Installing with composer

antonellasev
Forums
Hello, I am having trouble installing Opigno. I am using the installation instructions found here https://opigno.atlassian.net/wiki/spaces/OUM20/pages/363233281/Installa…. It seems that the operation is being killed when I run the composer command. Here is what I entered: composer create-project opigno/opigno-composer test Installing opigno/opigno-composer (2.11.0) - Installing opigno/opigno-composer (2.11.0): Loading from cache Created project in test > DrupalProject\composer\ScriptHandler::checkComposerVersion Loading composer repositories with package information Updating dependencies (including require-dev) Killed When I went to the folder, only the Drush and Scripts folders are loaded as well as the ReadMe and composer.json files are there. Should this be populated with the full Drupal files? Also, how do I connect the database I created to this? It would be useful if there were more information in the documentation, like what should happen at each step.
Anaconda

Similar problem, but with upgrading

I am also having problems, I am not able to update from 2.10 to 2.11 with composer. composer outdated "opigno/*" shows "opigno/opigno_lms 2.10.0 2.11.0 Opigno LMS profile" But running: "composer update opigno/opigno_lms" Gives: "Nothing to install or update"
antonellasev

Opigno install resource intensive - kills job. How to install?

Hello, I checked with my hosting company on this and they said: ************************************************************ "The problem is composer spawns a PHP process and its memory usage climbs to over 1GB so its killed off as each account is allowed to use up to 1GB of memory. I went ahead and removed the restrictions but the process then exceeds 2GB Fatal error: Allowed memory size of 1610612736 bytes exhausted (tried to allocate 4096 bytes) in phar:///opt/cpanel/composer/bin/composer/src/Composer/DependencyResolver/RuleWatchGraph.php on line 52 This whole process is just very resource intensive, way outside of the normal limits on a shared account." ************************************************ How can I get around this so that I can install Opigno? Thanks.
admin

Hi antonellasev,

Hi antonellasev,

Thank you for reporting this.
So far, we have not looked into composer performance tweaking.
I  created an internal issue so that we take a look at this and optimize as much as possible.
I checked and currently it can take slightly over 2Gb indeed.

Best regards

antonellasev

Alternatives?

Hi, Thanks for your response. In the meantime while you do your internal tweaks, is there any workaround solution? I read that there might be a way to do most of the processing locally, but I'm not sure what has to be done where.
antonellasev

Alternatives to composer install?

Hi, I would really like to try Opigno but I can't install it for the reasons mentioned above. Do you have any alternative ways that I can get this installed? Or when will your tweaks be released?
admin

Hi antonellasev,

Hi antonellasev,

You can always do the composer build somewhere else and push that to the server.

Or download the distribution from drupal.org. That version includes almost everything except what is not possible to build on drupal.org such as the commerce feature.

https://www.drupal.org/project/opigno_lms

Also here on opigno.org there are full packaged versions including those features not possible on drupal.org infrastructure.

https://www.opigno.org/en/download



Best regards