Bug 1122607
Summary: | PHP Composer wipes out folder without rebuilding it | ||
---|---|---|---|
Product: | OpenShift Online | Reporter: | Nick Harvey <niharvey> |
Component: | Image | Assignee: | Maciej Szulik <maszulik> |
Status: | CLOSED NOTABUG | QA Contact: | libra bugs <libra-bugs> |
Severity: | medium | Docs Contact: | |
Priority: | unspecified | ||
Version: | 2.x | CC: | bparees, jokerman, mfojtik, mmccomas, niharvey |
Target Milestone: | --- | Keywords: | UpcomingRelease |
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2014-07-30 14:48:09 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Nick Harvey
2014-07-23 15:17:28 UTC
Nick, from your description I figured out following: The customer installed the PHP composer *manually* while being logged into the SSH console, and he installed all the dependencies while still SSH'd but again *manually*. Then he made changes to composer.json on his local computer and committed it and pushed to OpenShift. In result, the directory with the application was recreated from scratch based on the current contents of the git repository. So any changes done manually will be lost. What he needs is to add use_composer marker (.openshift/markers/use_composer) and everything he'll be responsible for is writing the composer.json in project main directory, OpenShift will take care for all the dependency retrieval. Looks like that resolved it for the customer. Although they did mention that it was very slow. Not sure if that's related to gear size or not but still something to keep in mind. Thanks for your help! |