This topic contains 4 replies, has 2 voices, and was last updated by Mike Kudelya 7 years, 8 months ago.
- Topic
Hi there.
I’m working on an Oro project that is being deployed to an environment that can be totally destroyed and redployed at any moment. This means we need to rebuild the environment each time this happens. To aid in that, we’re using a pre-packaged version of Oro so we don’t have to wait for composer to install all its dependencies. However, we still need to install the Zendesk package as part of the rebuild, which we’re doing with the following command:
1php app/console oro:package:install oro/crm-zendesk 1.5.0 --env=prodThis is incredibly slow and we often see the generic ‘Killed’ error that indicates composer has run out of memory. We’re also using Docker and see OOM errors coming from that too. We’ve got 8GB of memory on the machine and we’re ensuring CLI PHP has access to it all, but nothing helps.
We’ve also tried copying the composer.json and composer.lock file from a live version, added them to the pre-built package and run composer install rather than the package install command, but the Zendesk package then isn’t installed.
Is there anything else we can do? It seems really bad form to run package installation commands on a production environment.
Thanks,
Simon
The forum ‘OroCRM – Programming Questions’ is closed to new topics and replies.