ssossossosso

Forums

Covering OroCRM topics, including community updates and company announcements.  Subscribe

This topic contains 4 replies, has 2 voices, and was last updated by Mike Kudelya Mike Kudelya 1 year, 4 months ago.

  • Creator
    Topic
  • #20539

    archy_bold
    Participant

    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:

    This 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

Viewing 4 replies - 1 through 4 (of 4 total)
  • Author
    Replies
  • #20541

    archy_bold
    Participant

    [Wrong thread!]

    #20797
    Mike Kudelya
    Mike Kudelya
    Oro Core

    Hi,
    The problem was solved?

    #20810

    archy_bold
    Participant

    We managed to get it working with composer. Is that the best way?

    #20818
    Mike Kudelya
    Mike Kudelya
    Oro Core

    Unfortunately, at the moment composer is the only way to install/update packages.

Viewing 4 replies - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.