by

Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Jul 09 23:27
    solleks commented #28031
  • Jul 09 23:24
    solleks synchronize #28031
  • Jul 09 23:18

    dannyroberts on 2020-07-09_22.59-staging-deploy

    (compare)

  • Jul 09 23:00

    dannyroberts on 2020-07-09_22.59-staging-setup_release

    (compare)

  • Jul 09 22:44

    dannyroberts on 2020-07-09_22.44-staging-setup_release

    (compare)

  • Jul 09 22:43

    dannyroberts on 2020-07-09_22.43-staging-setup_release

    (compare)

  • Jul 09 22:26
    kaapstorm synchronize #27862
  • Jul 09 22:26

    kaapstorm on tdh

    Fix tests (compare)

  • Jul 09 22:21
    solleks synchronize #28031
  • Jul 09 21:58

    dannyroberts on 2020-07-09_21.57-staging-setup_release

    (compare)

  • Jul 09 21:48
    dannyroberts labeled #28065
  • Jul 09 21:24

    dannyroberts on autostaging

    Merge branch 'vellum-staging' i… Merge branch 'jls/sync-mixins-h… Merge branch 'jls/migrate-Mobil… and 14 more (compare)

  • Jul 09 21:02

    dannyroberts on master

    update staging.yaml [ci skip] (compare)

  • Jul 09 21:00
    millerdev commented #27911
  • Jul 09 20:57
    millerdev review_requested #28084
  • Jul 09 20:57
    millerdev review_requested #28084
  • Jul 09 20:57
    millerdev review_requested #28084
  • Jul 09 20:57
    millerdev review_requested #28084
  • Jul 09 20:57
    millerdev labeled #28084
  • Jul 09 20:57
    millerdev opened #28084
Philip Kaare Løventoft
@philipkaare
I'll make a PR branch and do a new PR against that
do you have any advice for how I could try to make the docker setup more production-ready
Simon Kelly
@snopoke
I think I'll have to make a new branch in our repo for you to PR against
Philip Kaare Løventoft
@philipkaare
ok
Simon Kelly
@snopoke
I've got some thoughts - I'll try jot them down in a google doc and share it with you
this is a good place to start though: https://docs.docker.com/compose/production/
Philip Kaare Løventoft
@philipkaare
thank you, I would really appreciate that
right
do you mark some commits as ready for release or stable or something like that? That would also help I think in having something more production ready
Simon Kelly
@snopoke
anything on master should be production ready - we deploy to prod every day
Philip Kaare Løventoft
@philipkaare
okay, I don't know why I did not ask about this earlier
Simon Kelly
@snopoke
created new branch for you to PR against: https://github.com/dimagi/commcare-hq/tree/docker-misc
Philip Kaare Løventoft
@philipkaare
thanks
I'm a bit curious to why volumes should be disabled? If somebody gets access to the filesystem I would assume that the server is already (very) compromised?
Philip Kaare Løventoft
@philipkaare
from what I've been reading online, it seems like it might be a good idea to use ansible to set up the docker stuff as well
maybe I'll look into that in the longer term when I am back from Bissau
Philip Kaare Løventoft
@philipkaare
@snopoke sorry to disturb you, but I have a question if you have time
I am getting the following error under application->deploy
2016-03-02 10:08:59,335 ERROR Unable to communicate with errand boy, falling back to subprocess
Traceback (most recent call last):
  File "/mnt/submodules/dimagi-utils-src/dimagi/utils/subprocess_manager.py", line 19, in subprocess_context
    with subprocess_errand_boy() as remote_subprocess:
  File "/usr/local/lib/python2.7/contextlib.py", line 17, in __enter__
    return self.gen.next()
  File "/mnt/submodules/dimagi-utils-src/dimagi/utils/subprocess_manager.py", line 13, in subprocess_errand_boy
    with transport.get_session() as session:
  File "/vendor/lib/python2.7/site-packages/errand_boy/transports/base.py", line 430, in get_session
    return ClientSession(self)
  File "/vendor/lib/python2.7/site-packages/errand_boy/transports/base.py", line 31, in __init__
    self.connection = transport.client_get_connection()
  File "/vendor/lib/python2.7/site-packages/errand_boy/transports/unixsocket.py", line 83, in client_get_connection
    clientsocket.connect(self.socket_path)
  File "/vendor/lib/python2.7/site-packages/gevent/socket.py", line 351, in connect
    raise error(result, strerror(result))
error: [Errno 2] No such file or directory
it seems (obviously) that it needs to communicate with errand-boy, but I never had this problem before - is it a recent thing introduced?
Simon Kelly
@snopoke
2 options here - uninstall errand-boy or run it in the container python -m errand_boy.run
Philip Kaare Løventoft
@philipkaare
okay, I'll try to add it
thank you :)
Philip Kaare Løventoft
@philipkaare
@snopoke just wanted to tell you the happy news that I just managed to run everything end-to-end from creating the application to inputting data on a mobile device to exporting it from CommcareHQ :D
Simon Kelly
@snopoke
Nice, that's pretty awesome! Well done
Philip Kaare Løventoft
@philipkaare
Thank you, but I doubt I would have managed to get this far without your help
I still get some weird kafka behaviour though - it seems like sometimes the containers get booted into a state where it just does not work
and I have no clue as to why
Simon Kelly
@snopoke
I've also noticed that - for me it only happens if I stop the container and then restart it. If I remove the container and then start a new one it works.
Philip Kaare Løventoft
@philipkaare
okay, I'll add a line to remove the container in the script
Yusuf Irzan
@irzan2010
I have this error when try to deploy application from CommCareHQ : KeyError: "Can't find build 2.0.0/latest. For instructions on how to add it, see https://github.com/dimagi/commcare-hq/blob/master/corehq/apps/builds/README.md"
Philip Kaare Løventoft
@philipkaare
Have you looked at the instructions?
Yusuf Irzan
@irzan2010
Yes, I have looked through installation.
Philip Kaare Løventoft
@philipkaare
@snopoke I have some good news :) we have CommCare up and running here in Guinea-Bissau in docker on our local server
however I have one problem: uploading lookup tables fails with no error message, it just says "Upload failed! Details:"
any thoughts ? nothing in the log either :S
harperjo
@harperjo
Simon or anyone that can help. I am working through a monolith install. control and monolith VM's up I just did the resetvms script to align the privot keys but I am getting an error on both boxes.
xargs: invalid option -- 'J'
Simon Kelly
@snopoke
I think that is a mac variant. It should work if you replace it with "I" (captial i)
CowCaBob
@CowCaBob
I took latest, just about everything works except I get an error from ElasticSearch that no mapping is found for username.exact? Anyone else seen this?
Anas
@AnasBhih
hello everyone
is this group still active ?
Cory Zue
@czue
not very active i'm afraid (though you may occassionally catch someone). the recommended way to get help is through the dimagi forums: https://forum.dimagi.com/c/developers
Simon Kelly
@snopoke
@CowCaBob I'd check you ES index mapping for the 'user' index to make sure it matches what's in https://github.com/dimagi/commcare-hq/blob/master/corehq/pillows/mappings/user_mapping.py
ES may have created a mapping for you by default in which case you'll need to update it using the update_es_mapping Django management command
Anas
@AnasBhih
so anyone here can help me with the installation
i have a one issue that i couldn't solve
Simon Kelly
@snopoke
@AnasBhih what's the issue? As @czue said you can also use https://forum.dimagi.com/c/developers
Mike Nolan
@Nolski
Hey everyone! Hoping to maybe revive this chat for a minute since some seem to be hanging around. Anyone have any idea if it's possible to bulk add form questions as case properties? I have a form that has 100s of questions that I was hoping to bulk select and mark them to be added as case properties.
Simon Kelly
@snopoke
Hi @Nolski. I don't think that's currently possible.