Bug 1107478
| Summary: | Folder auto create after the GIT PUSH | ||
|---|---|---|---|
| Product: | OpenShift Online | Reporter: | Ken <ken> |
| Component: | Unknown | Assignee: | Dan McPherson <dmcphers> |
| Status: | CLOSED NOTABUG | QA Contact: | |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 2.x | CC: | jokerman, libra-bugs, mmccomas |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2014-06-10 03:49:41 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: | |||
I think the folder auto generate due to WordPress some one request the wordpress system, it auto generated it. But my problem is I can't delete the uploads folder. rmdir /var/lib/openshift/5395464b4382eceb150000c5/app-root/runtime/repo/wp-content/uploads: failure my Filezilla prompting this issue. Any one can help? |
Description of problem: I had put a .gitignore to the wp-content/uploads folder. After I had GIT PUSH to Openshift, I found that the server auto create the uploads folder, that will cause my deploy script not working on this line: remote: ln: `/var/lib/openshift/5395464b4382eceb150000c5/app-root/runtime/repo/wp-content/uploads': cannot overwrite directory I clone the git repo to my local machine there is not uploads folder, but I not sure why my server will auto create the uploads folder right after it GIT PUSH. Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. GIT PUSH 2. FOLDER auto create inside wp-content/uploads 3. Actual results: 1. wp-content/uploads auto created Expected results: 1. wp-content/uploads should not be created Additional info: I put this line of script under deploy, ln -sf ${OPENSHIFT_DATA_DIR}uploads ${OPENSHIFT_REPO_DIR}wp-content/ due to the upload folder auto created, that cause the above code is not working. I try to delete the file using filezilla also not allowed. Command: cd "uploads" Response: New directory is: "/var/lib/openshift/5395464b4382eceb150000c5/app-root/runtime/repo/wp-content/uploads" Command: ls Status: Listing directory /var/lib/openshift/5395464b4382eceb150000c5/app-root/runtime/repo/wp-content/uploads Status: Directory listing successful Status: Retrieving directory listing... Command: cd "2014" Response: New directory is: "/var/lib/openshift/5395464b4382eceb150000c5/app-root/runtime/repo/wp-content/uploads/2014" Command: ls Status: Listing directory /var/lib/openshift/5395464b4382eceb150000c5/app-root/runtime/repo/wp-content/uploads/2014 Status: Directory listing successful Status: Retrieving directory listing... Command: cd "06" Response: New directory is: "/var/lib/openshift/5395464b4382eceb150000c5/app-root/runtime/repo/wp-content/uploads/2014/06" Command: ls Status: Listing directory /var/lib/openshift/5395464b4382eceb150000c5/app-root/runtime/repo/wp-content/uploads/2014/06 Status: Directory listing successful Command: rmdir "/var/lib/openshift/5395464b4382eceb150000c5/app-root/runtime/repo/wp-content/uploads/2014/06" Response: rmdir /var/lib/openshift/5395464b4382eceb150000c5/app-root/runtime/repo/wp-content/uploads/2014/06: OK Command: rmdir "/var/lib/openshift/5395464b4382eceb150000c5/app-root/runtime/repo/wp-content/uploads/2014" Error: rmdir /var/lib/openshift/5395464b4382eceb150000c5/app-root/runtime/repo/wp-content/uploads/2014: failure Command: rmdir "/var/lib/openshift/5395464b4382eceb150000c5/app-root/runtime/repo/wp-content/uploads" Error: rmdir /var/lib/openshift/5395464b4382eceb150000c5/app-root/runtime/repo/wp-content/uploads: failure Status: Retrieving directory listing... Command: cd "/var/lib/openshift/5395464b4382eceb150000c5/app-root/runtime/repo/wp-content" Response: New directory is: "/var/lib/openshift/5395464b4382eceb150000c5/app-root/runtime/repo/wp-content" Command: ls Status: Listing directory /var/lib/openshift/5395464b4382eceb150000c5/app-root/runtime/repo/wp-content Status: Directory listing successful