OroCRM Forums

Covering OroCRM topics, including community updates and company announcements.

Forums Forums OroCRM OroCRM – Programming Questions Package Install on Production Environment

This topic contains 4 replies, has 2 voices, and was last updated by  Mike Kudelya 7 years, 8 months ago.

Starting from March 1, 2020 the forum has been switched to the read-only mode. Please head to StackOverflow for support.

  • Creator
    Topic
  • #25221

    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
  • #25222

    archy_bold
    Participant

    [Wrong thread!]

    #25223

    Mike Kudelya
    Participant

    Hi,
    The problem was solved?

    #25224

    archy_bold
    Participant

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

    #25225

    Mike Kudelya
    Participant

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

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

The forum ‘OroCRM – Programming Questions’ is closed to new topics and replies.

Back to top