Cannot deploy

Hi everyone,

I'm trying to work out a CommCareHQ docker setup :

I've reached the point where the docker branch is updated an new docker image will
be built on Docker

Running docker/docker-run.sh will then setup the DB and launch a CommCare
instance.

I'm now trying to allow application building following the doc found under
http://[instance]/builds/edit_menu/ and https://github.com/dimagi/commcare-hq/blob/master/corehq/apps/builds/README.md

After installing the artifacts from Jenkins, building application fails in

File "/dl/corehq/apps/builds/models.py", line 56, in fetch_file
a = self.fetch_attachment(path)

File "/usr/local/lib/python2.7/dist-packages/couchdbkit/resource.py", line 129, in
request
response=e.response)
ResourceNotFound: Document is missing attachment

The value of "path" at this time is either Generic/Default/CommCare.jad or
Generic/Default/CommCare.jar

Would someone point me in the right direction to understand what is going on ?

Many thanks,

··· -- Charles Flèche mHealth Advisor Télécoms Sans Frontières http://www.tsfi.org Première Urgence - Aide Médicale Internationale http://www.pu-ami.org

Hi Charles,

It looks like uploading the build from Jenkins was unsuccessful. A couple
weeks ago we changed the build upload process and the structure of the
build artifact on Jenkins. If you haven't merged master into your branch
recently, you might be seeing the wrong instructions on the "http://
[instance]/builds/edit_menu/" page.

On master, steps 4 and 5 currently read:

4. Click "Build Artifacts" -> "application" -> "posttmp"
5. Right-click on "artifacts.zip" and select "Copy Link Address"

I don't think any of the code that process the zip has changed, but it
wouldn't hurt to merge master into your branch regardless.

Let me know if this doesn't solve your problem.

Best,
Noah

··· On Wed, Feb 18, 2015 at 11:02 AM, Charles Flèche wrote:

Hi everyone,

I'm trying to work out a CommCareHQ docker setup :
Build and run CommCareHQ in a docker container by charlesfleche · Pull Request #5502 · dimagi/commcare-hq · GitHub

I've reached the point where the docker branch is updated an new docker
image will be built on
Docker

Running docker/docker-run.sh will then setup the DB and launch a CommCare
instance.

I'm now trying to allow application building following the doc found under
http://[instance]/builds/edit_menu/ and
https://github.com/dimagi/commcare-hq/blob/master/corehq/apps/builds/README.md

After installing the artifacts from Jenkins, building application fails in

File "/dl/corehq/apps/builds/models.py", line 56, in fetch_file

a = self.fetch_attachment(path)

File "/usr/local/lib/python2.7/dist-packages/couchdbkit/resource.py", line
129, in request

response=e.response)

ResourceNotFound: Document is missing attachment

The value of "path" at this time is either Generic/Default/CommCare.jad or
Generic/Default/CommCare.jar

Would someone point me in the right direction to understand what is going
on ?

Many thanks,

--

Charles Flèche

mHealth Advisor

Télécoms Sans Frontières http://www.tsfi.org

Première Urgence - Aide Médicale Internationale http://www.pu-ami.org

--


You received this message because you are subscribed to the Google Groups
"CommCare Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to commcare-developers+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

It worked well, thanks Noah. Connection is bad here so I rebase master way less
than I should. I've let this one slip, my bad.

··· On Wednesday 18 February 2015 12:35:07 Noah Carnahan wrote: > It looks like uploading the build from Jenkins was unsuccessful. A couple > weeks ago we changed the build upload process and the structure of the > build artifact on Jenkins. If you haven't merged master into your branch

--
Charles Flèche
mHealth Advisor
Télécoms Sans Frontières http://www.tsfi.org
Première Urgence - Aide Médicale Internationale http://www.pu-ami.org

Great, glad I could help!

··· On Wed, Feb 18, 2015 at 3:46 PM, Charles Flèche wrote:

On Wednesday 18 February 2015 12:35:07 Noah Carnahan wrote:

It looks like uploading the build from Jenkins was unsuccessful. A couple

weeks ago we changed the build upload process and the structure of the

build artifact on Jenkins. If you haven't merged master into your branch

It worked well, thanks Noah. Connection is bad here so I rebase master way
less than I should. I've let this one slip, my bad.

--

Charles Flèche

mHealth Advisor

Télécoms Sans Frontières http://www.tsfi.org

Première Urgence - Aide Médicale Internationale http://www.pu-ami.org

--


You received this message because you are subscribed to the Google Groups
"CommCare Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to commcare-developers+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.