Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upload app #7

Closed
jabrena opened this issue Aug 5, 2015 · 9 comments
Closed

Upload app #7

jabrena opened this issue Aug 5, 2015 · 9 comments
Assignees
Labels
Milestone

Comments

@jabrena
Copy link
Contributor

jabrena commented Aug 5, 2015

https://groups.google.com/a/cloudfoundry.org/d/msg/vcap-dev/bWUL7FptCa4/7fGyWIHvJA0J

@jabrena jabrena added the bug label Aug 5, 2015
@jabrena
Copy link
Contributor Author

jabrena commented Aug 5, 2015

@jabrena
Copy link
Contributor Author

jabrena commented Aug 6, 2015

@jabrena
Copy link
Contributor Author

jabrena commented Aug 6, 2015

@jabrena
Copy link
Contributor Author

jabrena commented Aug 7, 2015

Output from cf push with CF_TRACE=true

Uploading StaticWebsiteHelloWorld...

REQUEST: [2015-08-06T14:11:31+02:00]
PUT /v2/resource_match HTTP/1.1
Host: api.MY_IP.xip.io
Accept: application/json
Authorization: [PRIVATE DATA HIDDEN]
Content-Type: application/json
User-Agent: go-cli 6.12.1-56792aa / windows

[{"fn":"index.html","sha1":"b657e91776782799aa20eee057603fe03ead4004","size":122},{"fn":"output.txt","sha1":"cc81d5428688235ff1e3cff139a5369d7a817a99","size":12479}]

RESPONSE: [2015-08-06T14:11:31+02:00]
HTTP/1.1 200 OK
Content-Length: 2
Content-Type: application/json;charset=utf-8
Date: Thu, 06 Aug 2015 12:10:03 GMT
Server: nginx
X-Cf-Requestid: 30904f59-005c-4ca1-48a3-2ed46996ba45
X-Content-Type-Options: nosniff
X-Vcap-Request-Id: 8acb0876-9116-473c-6d0a-9939167ada31::69998296-3130-46d6-9f16-ada90aaa309c

[]
Uploading app files from: C:\Users\PATH\StaticWebsite_HelloWorld
Uploading 13.3K, 2 files

REQUEST: [2015-08-06T14:11:31+02:00]
PUT /v2/apps/f7ea4e1b-49a1-4b3f-8c67-eff9574b0a9e/bits?async=true HTTP/1.1
Host: api.MY_IP.xip.io
Accept: application/json
Authorization: [PRIVATE DATA HIDDEN]
Content-Type: multipart/form-data; boundary=3a1765597317479ad0600360e4a73537c4da9271587bff5a4d6d06089486
User-Agent: go-cli 6.12.1-56792aa / windows


[MULTIPART/FORM-DATA CONTENT HIDDEN]

Done uploading

RESPONSE: [2015-08-06T14:11:31+02:00]
HTTP/1.1 201 Created
Content-Length: 270
Content-Type: application/json;charset=utf-8
Date: Thu, 06 Aug 2015 12:10:04 GMT
Server: nginx
X-Cf-Requestid: 1653aed7-b9a7-41ca-5b50-43bd63b592d9
X-Content-Type-Options: nosniff
X-Vcap-Request-Id: caa69d25-9159-4253-4748-fff9206b41ef::22095047-4e1c-452d-aafa-cce7968094e5

{
  "metadata": {
    "guid": "7ed54165-8205-4a36-946e-40a55e7636fb",
    "created_at": "2015-08-06T12:10:04Z",
    "url": "/v2/jobs/7ed54165-8205-4a36-946e-40a55e7636fb"
  },
  "entity": {
    "guid": "7ed54165-8205-4a36-946e-40a55e7636fb",
    "status": "queued"
  }
}

@jabrena
Copy link
Contributor Author

jabrena commented Aug 7, 2015

@jabrena jabrena closed this as completed Aug 7, 2015
@jabrena jabrena reopened this Aug 7, 2015
@jabrena
Copy link
Contributor Author

jabrena commented Aug 10, 2015

@jabrena jabrena added this to the 0.0.5 milestone Aug 10, 2015
@jabrena jabrena self-assigned this Aug 10, 2015
@jabrena
Copy link
Contributor Author

jabrena commented Aug 11, 2015

Test with zips which the content has more than 1GB.


2015-08-11T14:26:33.45+0200 [STG/0]      OUT -----> Downloaded app package (79M)

2015-08-11T14:27:03.90+0200 [STG/0]      ERR     Cloning into '/tmp/buildpacks/s
taticfile-buildpack'...
2015-08-11T14:27:05.76+0200 [STG/0]      OUT     Submodule 'compile-extensions'
(https://github.com/cloudfoundry-incubator/compile-extensions.git) registered fo
r path 'compile-extensions'
2015-08-11T14:27:05.82+0200 [STG/0]      ERR Cloning into 'compile-extensions'..
.
2015-08-11T14:27:07.31+0200 [STG/0]      OUT Submodule path 'compile-extensions'
: checked out 'ce9345a9a6e7b00266194cadd18dbef37e791a7b'
2015-08-11T14:27:07.42+0200 [STG/0]      OUT -------> Buildpack version 1.2.1
2015-08-11T14:27:10.34+0200 [STG/0]      ERR grep: Staticfile: No such file or d
irectory
2015-08-11T14:27:10.34+0200 [STG/0]      OUT -----> Using root folder
2015-08-11T14:27:10.36+0200 [STG/0]      OUT -----> Copying project files into p
ublic/
2015-08-11T14:27:46.71+0200 [STG/0]      OUT -----> Setting up nginx
2015-08-11T14:27:47.02+0200 [STG/0]      ERR grep: Staticfile: No such file or d
irectory
2015-08-11T14:28:41.67+0200 [STG/0]      OUT -----> Uploading droplet (161M)
2015-08-11T14:29:00.77+0200 [DEA/0]      OUT Starting app instance (index 0) wit
h guid 6d3a3dc5-8583-4c60-bafc-33f42f987378
2015-08-11T14:29:43.65+0200 [API/0]      OUT App instance exited with guid 6d3a3
dc5-8583-4c60-bafc-33f42f987378 payload: {"cc_partition"=>"default", "droplet"=>
"6d3a3dc5-8583-4c60-bafc-33f42f987378", "version"=>"c9259319-ae71-4558-a4d9-cb12
efb914af", "instance"=>"279de86840e84462876f350fddb31162", "index"=>0, "reason"=
>"CRASHED", "exit_status"=>-1, "exit_description"=>"failed to start", "crash_tim
estamp"=>1439296183}

jabrena referenced this issue Aug 11, 2015
@jabrena jabrena closed this as completed Aug 11, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant