Deploying commcare via docker

hi!

trying to deploy commcare via docker. got all the images pulled in, all
services started fine. Am getting this error now (repeated 3 times)

ALL SERVICES READY
corehq.util.log.HqAdminEmailHandler logger is being changed to
logging.StreamHandler
corehq.util.log.NotifyExceptionEmailer logger is being changed to
logging.StreamHandler
Traceback (most recent call last):
File "manage.py", line 88, in
execute_from_command_line(sys.argv)
File
"/vendor/lib/python2.7/site-packages/django/core/management/init.py",
line 385, in execute_from_command_line
utility.execute()
File
"/vendor/lib/python2.7/site-packages/django/core/management/init.py",
line 354, in execute
django.setup()
File "/vendor/lib/python2.7/site-packages/django/init.py", line 20,
in setup
configure_logging(settings.LOGGING_CONFIG, settings.LOGGING)
File "/vendor/lib/python2.7/site-packages/django/utils/log.py", line 87,
in configure_logging
logging_config_func(logging_settings)
File "/usr/local/lib/python2.7/logging/config.py", line 794, in dictConfig
dictConfigClass(config).configure()
File "/usr/local/lib/python2.7/logging/config.py", line 559, in configure
'filter %r: %s' % (name, e))
ValueError: Unable to configure filter 'hqcontext': Cannot resolve
'corehq.util.log.HQRequestFilter': No module named dimagi.utils.chunked

I've been following the instructions
from: commcare-hq/docker at master · dimagi/commcare-hq · GitHub

I also just did a git pull earlier today to ensure i had the latest changes

am also getting this error after the above

bower invalid-meta The "name" is recommended to be
lowercase, can contain digits, dots, dashes
bower select2 extra-resolution Unnecessary resolution: select2#4.0.0
/mnt/docker/docker-services.sh: line 36: sudo: command not found
/mnt/docker/utils.sh: line 18: sudo: command not found
/mnt/docker/utils.sh: line 23: sudo: command not found

lobo

Hi Donald,

You may need to update the submodules:

git submodule update --init --recursive

Ben

··· On Fri, May 13, 2016 at 4:01 PM, Donald Lobo wrote:

hi!

trying to deploy commcare via docker. got all the images pulled in, all
services started fine. Am getting this error now (repeated 3 times)

ALL SERVICES READY
corehq.util.log.HqAdminEmailHandler logger is being changed to
logging.StreamHandler
corehq.util.log.NotifyExceptionEmailer logger is being changed to
logging.StreamHandler
Traceback (most recent call last):
File "manage.py", line 88, in
execute_from_command_line(sys.argv)
File
"/vendor/lib/python2.7/site-packages/django/core/management/init.py",
line 385, in execute_from_command_line
utility.execute()
File
"/vendor/lib/python2.7/site-packages/django/core/management/init.py",
line 354, in execute
django.setup()
File "/vendor/lib/python2.7/site-packages/django/init.py", line 20,
in setup
configure_logging(settings.LOGGING_CONFIG, settings.LOGGING)
File "/vendor/lib/python2.7/site-packages/django/utils/log.py", line 87,
in configure_logging
logging_config_func(logging_settings)
File "/usr/local/lib/python2.7/logging/config.py", line 794, in
dictConfig
dictConfigClass(config).configure()
File "/usr/local/lib/python2.7/logging/config.py", line 559, in configure
'filter %r: %s' % (name, e))
ValueError: Unable to configure filter 'hqcontext': Cannot resolve
'corehq.util.log.HQRequestFilter': No module named dimagi.utils.chunked

I've been following the instructions from:
commcare-hq/docker at master · dimagi/commcare-hq · GitHub

I also just did a git pull earlier today to ensure i had the latest changes

am also getting this error after the above

bower invalid-meta The "name" is recommended to be
lowercase, can contain digits, dots, dashes
bower select2 extra-resolution Unnecessary resolution:
select2#4.0.0
/mnt/docker/docker-services.sh: line 36: sudo: command not found
/mnt/docker/utils.sh: line 18: sudo: command not found
/mnt/docker/utils.sh: line 23: sudo: command not found

lobo

--


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.

Donald did you find the docker install any easier..............

I am still mired in the docs without an environment to work on.

I have a ubuntu 12.04 LTS server instance up and running.........I have
gotten to the fabric task run section but have no clue on what or how to
run the scripts locally on my VM.........

the fabric task is giving me heartache............not sure what goes where.

I looked at the docker install and It looks a little more
automated............I just need an environment to validate the tool to see
what it can do for my project......

Any help or step guides would be appreciated..........not a
nube.............but new to linux.

thanks again.

··· On Friday, May 13, 2016 at 4:01:17 PM UTC-4, Donald Lobo wrote: > > > hi! > > trying to deploy commcare via docker. got all the images pulled in, all > services started fine. Am getting this error now (repeated 3 times) > > ALL SERVICES READY > corehq.util.log.HqAdminEmailHandler logger is being changed to > logging.StreamHandler > corehq.util.log.NotifyExceptionEmailer logger is being changed to > logging.StreamHandler > Traceback (most recent call last): > File "manage.py", line 88, in > execute_from_command_line(sys.argv) > File > "/vendor/lib/python2.7/site-packages/django/core/management/__init__.py", > line 385, in execute_from_command_line > utility.execute() > File > "/vendor/lib/python2.7/site-packages/django/core/management/__init__.py", > line 354, in execute > django.setup() > File "/vendor/lib/python2.7/site-packages/django/__init__.py", line 20, > in setup > configure_logging(settings.LOGGING_CONFIG, settings.LOGGING) > File "/vendor/lib/python2.7/site-packages/django/utils/log.py", line 87, > in configure_logging > logging_config_func(logging_settings) > File "/usr/local/lib/python2.7/logging/config.py", line 794, in > dictConfig > dictConfigClass(config).configure() > File "/usr/local/lib/python2.7/logging/config.py", line 559, in configure > 'filter %r: %s' % (name, e)) > ValueError: Unable to configure filter 'hqcontext': Cannot resolve > 'corehq.util.log.HQRequestFilter': No module named dimagi.utils.chunked > > I've been following the instructions from: > https://github.com/dimagi/commcare-hq/tree/master/docker > > I also just did a git pull earlier today to ensure i had the latest changes > > am also getting this error after the above > > bower invalid-meta The "name" is recommended to be > lowercase, can contain digits, dots, dashes > bower select2 extra-resolution Unnecessary resolution: > select2#4.0.0 > /mnt/docker/docker-services.sh: line 36: sudo: command not found > /mnt/docker/utils.sh: line 18: sudo: command not found > /mnt/docker/utils.sh: line 23: sudo: command not found > > > lobo > >

great, thanx. up and running now :slight_smile:

got a couple of errors / warning most of them around pillow and either
missing attributes or resource not found.

The above sudo error is still present

thanx

lobo

··· On Friday, May 13, 2016 at 2:03:36 PM UTC-7, Ben Rudolph wrote: > > Hi Donald, > > You may need to update the submodules: > > git submodule update --init --recursive > > Ben > > On Fri, May 13, 2016 at 4:01 PM, Donald Lobo <donal...@gmail.com > wrote: > >> >> hi! >> >> trying to deploy commcare via docker. got all the images pulled in, all >> services started fine. Am getting this error now (repeated 3 times) >> >> ALL SERVICES READY >> corehq.util.log.HqAdminEmailHandler logger is being changed to >> logging.StreamHandler >> corehq.util.log.NotifyExceptionEmailer logger is being changed to >> logging.StreamHandler >> Traceback (most recent call last): >> File "manage.py", line 88, in >> execute_from_command_line(sys.argv) >> File >> "/vendor/lib/python2.7/site-packages/django/core/management/__init__.py", >> line 385, in execute_from_command_line >> utility.execute() >> File >> "/vendor/lib/python2.7/site-packages/django/core/management/__init__.py", >> line 354, in execute >> django.setup() >> File "/vendor/lib/python2.7/site-packages/django/__init__.py", line 20, >> in setup >> configure_logging(settings.LOGGING_CONFIG, settings.LOGGING) >> File "/vendor/lib/python2.7/site-packages/django/utils/log.py", line >> 87, in configure_logging >> logging_config_func(logging_settings) >> File "/usr/local/lib/python2.7/logging/config.py", line 794, in >> dictConfig >> dictConfigClass(config).configure() >> File "/usr/local/lib/python2.7/logging/config.py", line 559, in >> configure >> 'filter %r: %s' % (name, e)) >> ValueError: Unable to configure filter 'hqcontext': Cannot resolve >> 'corehq.util.log.HQRequestFilter': No module named dimagi.utils.chunked >> >> I've been following the instructions from: >> https://github.com/dimagi/commcare-hq/tree/master/docker >> >> I also just did a git pull earlier today to ensure i had the latest >> changes >> >> am also getting this error after the above >> >> bower invalid-meta The "name" is recommended to be >> lowercase, can contain digits, dots, dashes >> bower select2 extra-resolution Unnecessary resolution: >> select2#4.0.0 >> /mnt/docker/docker-services.sh: line 36: sudo: command not found >> /mnt/docker/utils.sh: line 18: sudo: command not found >> /mnt/docker/utils.sh: line 23: sudo: command not found >> >> >> lobo >> >> -- >> >> --- >> 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. >> > >

hey john

the docker install was super easy and worked flawlessly for me (other than
the mistake of refreshing my main git repository but not the sub modules)

i'm on a more recent version of ubuntu (15.10) and definitely on the latest
versions of docker / docker-compose. Not sure what the availability of that
for 12.04 is

lobo

··· On Tue, May 17, 2016 at 7:24 PM John Harper wrote:

Donald did you find the docker install any easier..............

I am still mired in the docs without an environment to work on.

I have a ubuntu 12.04 LTS server instance up and running.........I have
gotten to the fabric task run section but have no clue on what or how to
run the scripts locally on my VM.........

the fabric task is giving me heartache............not sure what goes where.

I looked at the docker install and It looks a little more
automated............I just need an environment to validate the tool to see
what it can do for my project......

Any help or step guides would be appreciated..........not a
nube.............but new to linux.

thanks again.

On Friday, May 13, 2016 at 4:01:17 PM UTC-4, Donald Lobo wrote:

hi!

trying to deploy commcare via docker. got all the images pulled in, all
services started fine. Am getting this error now (repeated 3 times)

ALL SERVICES READY
corehq.util.log.HqAdminEmailHandler logger is being changed to
logging.StreamHandler
corehq.util.log.NotifyExceptionEmailer logger is being changed to
logging.StreamHandler
Traceback (most recent call last):
File "manage.py", line 88, in
execute_from_command_line(sys.argv)
File
"/vendor/lib/python2.7/site-packages/django/core/management/init.py",
line 385, in execute_from_command_line
utility.execute()
File
"/vendor/lib/python2.7/site-packages/django/core/management/init.py",
line 354, in execute
django.setup()
File "/vendor/lib/python2.7/site-packages/django/init.py", line 20,
in setup
configure_logging(settings.LOGGING_CONFIG, settings.LOGGING)
File "/vendor/lib/python2.7/site-packages/django/utils/log.py", line
87, in configure_logging
logging_config_func(logging_settings)
File "/usr/local/lib/python2.7/logging/config.py", line 794, in
dictConfig
dictConfigClass(config).configure()
File "/usr/local/lib/python2.7/logging/config.py", line 559, in
configure
'filter %r: %s' % (name, e))
ValueError: Unable to configure filter 'hqcontext': Cannot resolve
'corehq.util.log.HQRequestFilter': No module named dimagi.utils.chunked

I've been following the instructions from:
commcare-hq/docker at master · dimagi/commcare-hq · GitHub

I also just did a git pull earlier today to ensure i had the latest
changes

am also getting this error after the above

bower invalid-meta The "name" is recommended to be
lowercase, can contain digits, dots, dashes
bower select2 extra-resolution Unnecessary resolution:
select2#4.0.0
/mnt/docker/docker-services.sh: line 36: sudo: command not found
/mnt/docker/utils.sh: line 18: sudo: command not found
/mnt/docker/utils.sh: line 23: sudo: command not found

lobo

--


You received this message because you are subscribed to a topic in the
Google Groups "CommCare Developers" group.
To unsubscribe from this topic, visit
https://groups.google.com/d/topic/commcare-developers/eVYPlDqvEqk/unsubscribe
.
To unsubscribe from this group and all its topics, send an email to
commcare-developers+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Hi John,

You can also try out www.commcarehq.org and you'll get a free trial of the
Standard version for 30 days. Then you can test out things like Cloudcare
and other features if you'd like.

Ben

··· On Tue, May 17, 2016 at 10:24 PM, John Harper < john.harper@grableservices.com> wrote:

Donald did you find the docker install any easier..............

I am still mired in the docs without an environment to work on.

I have a ubuntu 12.04 LTS server instance up and running.........I have
gotten to the fabric task run section but have no clue on what or how to
run the scripts locally on my VM.........

the fabric task is giving me heartache............not sure what goes where.

I looked at the docker install and It looks a little more
automated............I just need an environment to validate the tool to see
what it can do for my project......

Any help or step guides would be appreciated..........not a
nube.............but new to linux.

thanks again.

On Friday, May 13, 2016 at 4:01:17 PM UTC-4, Donald Lobo wrote:

hi!

trying to deploy commcare via docker. got all the images pulled in, all
services started fine. Am getting this error now (repeated 3 times)

ALL SERVICES READY
corehq.util.log.HqAdminEmailHandler logger is being changed to
logging.StreamHandler
corehq.util.log.NotifyExceptionEmailer logger is being changed to
logging.StreamHandler
Traceback (most recent call last):
File "manage.py", line 88, in
execute_from_command_line(sys.argv)
File
"/vendor/lib/python2.7/site-packages/django/core/management/init.py",
line 385, in execute_from_command_line
utility.execute()
File
"/vendor/lib/python2.7/site-packages/django/core/management/init.py",
line 354, in execute
django.setup()
File "/vendor/lib/python2.7/site-packages/django/init.py", line 20,
in setup
configure_logging(settings.LOGGING_CONFIG, settings.LOGGING)
File "/vendor/lib/python2.7/site-packages/django/utils/log.py", line
87, in configure_logging
logging_config_func(logging_settings)
File "/usr/local/lib/python2.7/logging/config.py", line 794, in
dictConfig
dictConfigClass(config).configure()
File "/usr/local/lib/python2.7/logging/config.py", line 559, in
configure
'filter %r: %s' % (name, e))
ValueError: Unable to configure filter 'hqcontext': Cannot resolve
'corehq.util.log.HQRequestFilter': No module named dimagi.utils.chunked

I've been following the instructions from:
commcare-hq/docker at master · dimagi/commcare-hq · GitHub

I also just did a git pull earlier today to ensure i had the latest
changes

am also getting this error after the above

bower invalid-meta The "name" is recommended to be
lowercase, can contain digits, dots, dashes
bower select2 extra-resolution Unnecessary resolution:
select2#4.0.0
/mnt/docker/docker-services.sh: line 36: sudo: command not found
/mnt/docker/utils.sh: line 18: sudo: command not found
/mnt/docker/utils.sh: line 23: sudo: command not found

lobo

--


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.

yes that is good but I do have some issues for several clients that have
"US Safe Harbor" act that will not allow data stored outside the client
country. This does not allow us to keep data in a central cloud
environment.

That is why I am looking at a self contained VM that can be deployed to the
clients environment. So if you have a suggestion on the approach to this
that would be great...........

··· On Wednesday, May 18, 2016 at 9:22:38 AM UTC-4, Ben Rudolph wrote: > > Hi John, > > You can also try out www.commcarehq.org and you'll get a free trial of > the Standard version for 30 days. Then you can test out things like > Cloudcare and other features if you'd like. > > Ben > > On Tue, May 17, 2016 at 10:24 PM, John Harper <john....@grableservices.com > wrote: > >> Donald did you find the docker install any easier.............. >> >> I am still mired in the docs without an environment to work on. >> >> I have a ubuntu 12.04 LTS server instance up and running.........I have >> gotten to the fabric task run section but have no clue on what or how to >> run the scripts locally on my VM......... >> >> >> the fabric task is giving me heartache............not sure what goes >> where. >> >> I looked at the docker install and It looks a little more >> automated............I just need an environment to validate the tool to see >> what it can do for my project...... >> >> Any help or step guides would be appreciated..........not a >> nube.............but new to linux. >> >> thanks again. >> >> >> >> >> >> >> On Friday, May 13, 2016 at 4:01:17 PM UTC-4, Donald Lobo wrote: >>> >>> >>> hi! >>> >>> trying to deploy commcare via docker. got all the images pulled in, all >>> services started fine. Am getting this error now (repeated 3 times) >>> >>> ALL SERVICES READY >>> corehq.util.log.HqAdminEmailHandler logger is being changed to >>> logging.StreamHandler >>> corehq.util.log.NotifyExceptionEmailer logger is being changed to >>> logging.StreamHandler >>> Traceback (most recent call last): >>> File "manage.py", line 88, in >>> execute_from_command_line(sys.argv) >>> File >>> "/vendor/lib/python2.7/site-packages/django/core/management/__init__.py", >>> line 385, in execute_from_command_line >>> utility.execute() >>> File >>> "/vendor/lib/python2.7/site-packages/django/core/management/__init__.py", >>> line 354, in execute >>> django.setup() >>> File "/vendor/lib/python2.7/site-packages/django/__init__.py", line >>> 20, in setup >>> configure_logging(settings.LOGGING_CONFIG, settings.LOGGING) >>> File "/vendor/lib/python2.7/site-packages/django/utils/log.py", line >>> 87, in configure_logging >>> logging_config_func(logging_settings) >>> File "/usr/local/lib/python2.7/logging/config.py", line 794, in >>> dictConfig >>> dictConfigClass(config).configure() >>> File "/usr/local/lib/python2.7/logging/config.py", line 559, in >>> configure >>> 'filter %r: %s' % (name, e)) >>> ValueError: Unable to configure filter 'hqcontext': Cannot resolve >>> 'corehq.util.log.HQRequestFilter': No module named dimagi.utils.chunked >>> >>> I've been following the instructions from: >>> https://github.com/dimagi/commcare-hq/tree/master/docker >>> >>> I also just did a git pull earlier today to ensure i had the latest >>> changes >>> >>> am also getting this error after the above >>> >>> bower invalid-meta The "name" is recommended to be >>> lowercase, can contain digits, dots, dashes >>> bower select2 extra-resolution Unnecessary resolution: >>> select2#4.0.0 >>> /mnt/docker/docker-services.sh: line 36: sudo: command not found >>> /mnt/docker/utils.sh: line 18: sudo: command not found >>> /mnt/docker/utils.sh: line 23: sudo: command not found >>> >>> >>> lobo >>> >>> -- >> >> --- >> 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. >> > >

Hi John

There is someone else who made some progress in terms of a production
docker setup. Their works is currently on a branch here:

I haven't tried it out at all so don't know how stable it is but could be
worth looking at.

··· On 18 May 2016 at 16:24, John Harper wrote:

yes that is good but I do have some issues for several clients that have
"US Safe Harbor" act that will not allow data stored outside the client
country. This does not allow us to keep data in a central cloud
environment.

That is why I am looking at a self contained VM that can be deployed to
the clients environment. So if you have a suggestion on the approach to
this that would be great...........

On Wednesday, May 18, 2016 at 9:22:38 AM UTC-4, Ben Rudolph wrote:

Hi John,

You can also try out www.commcarehq.org and you'll get a free trial of
the Standard version for 30 days. Then you can test out things like
Cloudcare and other features if you'd like.

Ben

On Tue, May 17, 2016 at 10:24 PM, John Harper < john....@grableservices.com> wrote:

Donald did you find the docker install any easier..............

I am still mired in the docs without an environment to work on.

I have a ubuntu 12.04 LTS server instance up and running.........I have
gotten to the fabric task run section but have no clue on what or how to
run the scripts locally on my VM.........

the fabric task is giving me heartache............not sure what goes
where.

I looked at the docker install and It looks a little more
automated............I just need an environment to validate the tool to see
what it can do for my project......

Any help or step guides would be appreciated..........not a
nube.............but new to linux.

thanks again.

On Friday, May 13, 2016 at 4:01:17 PM UTC-4, Donald Lobo wrote:

hi!

trying to deploy commcare via docker. got all the images pulled in, all
services started fine. Am getting this error now (repeated 3 times)

ALL SERVICES READY
corehq.util.log.HqAdminEmailHandler logger is being changed to
logging.StreamHandler
corehq.util.log.NotifyExceptionEmailer logger is being changed to
logging.StreamHandler
Traceback (most recent call last):
File "manage.py", line 88, in
execute_from_command_line(sys.argv)
File
"/vendor/lib/python2.7/site-packages/django/core/management/init.py",
line 385, in execute_from_command_line
utility.execute()
File
"/vendor/lib/python2.7/site-packages/django/core/management/init.py",
line 354, in execute
django.setup()
File "/vendor/lib/python2.7/site-packages/django/init.py", line
20, in setup
configure_logging(settings.LOGGING_CONFIG, settings.LOGGING)
File "/vendor/lib/python2.7/site-packages/django/utils/log.py", line
87, in configure_logging
logging_config_func(logging_settings)
File "/usr/local/lib/python2.7/logging/config.py", line 794, in
dictConfig
dictConfigClass(config).configure()
File "/usr/local/lib/python2.7/logging/config.py", line 559, in
configure
'filter %r: %s' % (name, e))
ValueError: Unable to configure filter 'hqcontext': Cannot resolve
'corehq.util.log.HQRequestFilter': No module named dimagi.utils.chunked

I've been following the instructions from:
commcare-hq/docker at master · dimagi/commcare-hq · GitHub

I also just did a git pull earlier today to ensure i had the latest
changes

am also getting this error after the above

bower invalid-meta The "name" is recommended to be
lowercase, can contain digits, dots, dashes
bower select2 extra-resolution Unnecessary resolution:
select2#4.0.0
/mnt/docker/docker-services.sh: line 36: sudo: command not found
/mnt/docker/utils.sh: line 18: sudo: command not found
/mnt/docker/utils.sh: line 23: sudo: command not found

lobo

--


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.

--


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.

--
Simon Kelly
Senior Engineer | Dimagi South Africa

Simon:

what are the differences between the production docker setup and the one
that commcare supports?

will the latter PR be merged into commcarehq?

is dimagi planning to release a docker based production ready commcarehq
setup?

thanx

lobo

p.s> will take a look at the pr your pointed to now :slight_smile:

··· On Wednesday, May 18, 2016 at 7:30:36 AM UTC-7, Simon Kelly wrote: > > Hi John > > There is someone else who made some progress in terms of a production > docker setup. Their works is currently on a branch here: > https://github.com/dimagi/commcare-hq/pull/10539 > > I haven't tried it out at all so don't know how stable it is but could be > worth looking at. > > > On 18 May 2016 at 16:24, John Harper <john....@grableservices.com > wrote: > >> yes that is good but I do have some issues for several clients that have >> "US Safe Harbor" act that will not allow data stored outside the client >> country. This does not allow us to keep data in a central cloud >> environment. >> >> That is why I am looking at a self contained VM that can be deployed to >> the clients environment. So if you have a suggestion on the approach to >> this that would be great........... >> >> >> >> On Wednesday, May 18, 2016 at 9:22:38 AM UTC-4, Ben Rudolph wrote: >>> >>> Hi John, >>> >>> You can also try out www.commcarehq.org and you'll get a free trial of >>> the Standard version for 30 days. Then you can test out things like >>> Cloudcare and other features if you'd like. >>> >>> Ben >>> >>> On Tue, May 17, 2016 at 10:24 PM, John Harper < john....@grableservices.com> wrote: >>> >>>> Donald did you find the docker install any easier.............. >>>> >>>> I am still mired in the docs without an environment to work on. >>>> >>>> I have a ubuntu 12.04 LTS server instance up and running.........I have >>>> gotten to the fabric task run section but have no clue on what or how to >>>> run the scripts locally on my VM......... >>>> >>>> >>>> the fabric task is giving me heartache............not sure what goes >>>> where. >>>> >>>> I looked at the docker install and It looks a little more >>>> automated............I just need an environment to validate the tool to see >>>> what it can do for my project...... >>>> >>>> Any help or step guides would be appreciated..........not a >>>> nube.............but new to linux. >>>> >>>> thanks again. >>>> >>>> >>>> >>>> >>>> >>>> >>>> On Friday, May 13, 2016 at 4:01:17 PM UTC-4, Donald Lobo wrote: >>>>> >>>>> >>>>> hi! >>>>> >>>>> trying to deploy commcare via docker. got all the images pulled in, >>>>> all services started fine. Am getting this error now (repeated 3 times) >>>>> >>>>> ALL SERVICES READY >>>>> corehq.util.log.HqAdminEmailHandler logger is being changed to >>>>> logging.StreamHandler >>>>> corehq.util.log.NotifyExceptionEmailer logger is being changed to >>>>> logging.StreamHandler >>>>> Traceback (most recent call last): >>>>> File "manage.py", line 88, in >>>>> execute_from_command_line(sys.argv) >>>>> File >>>>> "/vendor/lib/python2.7/site-packages/django/core/management/__init__.py", >>>>> line 385, in execute_from_command_line >>>>> utility.execute() >>>>> File >>>>> "/vendor/lib/python2.7/site-packages/django/core/management/__init__.py", >>>>> line 354, in execute >>>>> django.setup() >>>>> File "/vendor/lib/python2.7/site-packages/django/__init__.py", line >>>>> 20, in setup >>>>> configure_logging(settings.LOGGING_CONFIG, settings.LOGGING) >>>>> File "/vendor/lib/python2.7/site-packages/django/utils/log.py", line >>>>> 87, in configure_logging >>>>> logging_config_func(logging_settings) >>>>> File "/usr/local/lib/python2.7/logging/config.py", line 794, in >>>>> dictConfig >>>>> dictConfigClass(config).configure() >>>>> File "/usr/local/lib/python2.7/logging/config.py", line 559, in >>>>> configure >>>>> 'filter %r: %s' % (name, e)) >>>>> ValueError: Unable to configure filter 'hqcontext': Cannot resolve >>>>> 'corehq.util.log.HQRequestFilter': No module named dimagi.utils.chunked >>>>> >>>>> I've been following the instructions from: >>>>> https://github.com/dimagi/commcare-hq/tree/master/docker >>>>> >>>>> I also just did a git pull earlier today to ensure i had the latest >>>>> changes >>>>> >>>>> am also getting this error after the above >>>>> >>>>> bower invalid-meta The "name" is recommended to be >>>>> lowercase, can contain digits, dots, dashes >>>>> bower select2 extra-resolution Unnecessary resolution: >>>>> select2#4.0.0 >>>>> /mnt/docker/docker-services.sh: line 36: sudo: command not found >>>>> /mnt/docker/utils.sh: line 18: sudo: command not found >>>>> /mnt/docker/utils.sh: line 23: sudo: command not found >>>>> >>>>> >>>>> lobo >>>>> >>>>> -- >>>> >>>> --- >>>> 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. >>>> >>> >>> -- >> >> --- >> 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. >> > > > > -- > Simon Kelly > Senior Engineer | Dimagi South Africa >

Hi Donald

I think it just adds docker support for Nginx and Celery (the background
processor). It also has a few other small changes like different
localsettings files.

Dimagi has no plans to use or release a production ready docker setup at
the moment.

Simon

··· On 19 May 2016 at 01:06, Donald Lobo wrote:

Simon:

what are the differences between the production docker setup and the one
that commcare supports?

will the latter PR be merged into commcarehq?

is dimagi planning to release a docker based production ready commcarehq
setup?

thanx

lobo

p.s> will take a look at the pr your pointed to now :slight_smile:

On Wednesday, May 18, 2016 at 7:30:36 AM UTC-7, Simon Kelly wrote:

Hi John

There is someone else who made some progress in terms of a production
docker setup. Their works is currently on a branch here:
Nginx, kafka, celery support for Docker. by philipkaare · Pull Request #10539 · dimagi/commcare-hq · GitHub

I haven't tried it out at all so don't know how stable it is but could be
worth looking at.

On 18 May 2016 at 16:24, John Harper john....@grableservices.com wrote:

yes that is good but I do have some issues for several clients that have
"US Safe Harbor" act that will not allow data stored outside the client
country. This does not allow us to keep data in a central cloud
environment.

That is why I am looking at a self contained VM that can be deployed to
the clients environment. So if you have a suggestion on the approach to
this that would be great...........

On Wednesday, May 18, 2016 at 9:22:38 AM UTC-4, Ben Rudolph wrote:

Hi John,

You can also try out www.commcarehq.org and you'll get a free trial of
the Standard version for 30 days. Then you can test out things like
Cloudcare and other features if you'd like.

Ben

On Tue, May 17, 2016 at 10:24 PM, John Harper < john....@grableservices.com> wrote:

Donald did you find the docker install any easier..............

I am still mired in the docs without an environment to work on.

I have a ubuntu 12.04 LTS server instance up and running.........I
have gotten to the fabric task run section but have no clue on what or how
to run the scripts locally on my VM.........

the fabric task is giving me heartache............not sure what goes
where.

I looked at the docker install and It looks a little more
automated............I just need an environment to validate the tool to see
what it can do for my project......

Any help or step guides would be appreciated..........not a
nube.............but new to linux.

thanks again.

On Friday, May 13, 2016 at 4:01:17 PM UTC-4, Donald Lobo wrote:

hi!

trying to deploy commcare via docker. got all the images pulled in,
all services started fine. Am getting this error now (repeated 3 times)

ALL SERVICES READY
corehq.util.log.HqAdminEmailHandler logger is being changed to
logging.StreamHandler
corehq.util.log.NotifyExceptionEmailer logger is being changed to
logging.StreamHandler
Traceback (most recent call last):
File "manage.py", line 88, in
execute_from_command_line(sys.argv)
File
"/vendor/lib/python2.7/site-packages/django/core/management/init.py",
line 385, in execute_from_command_line
utility.execute()
File
"/vendor/lib/python2.7/site-packages/django/core/management/init.py",
line 354, in execute
django.setup()
File "/vendor/lib/python2.7/site-packages/django/init.py", line
20, in setup
configure_logging(settings.LOGGING_CONFIG, settings.LOGGING)
File "/vendor/lib/python2.7/site-packages/django/utils/log.py",
line 87, in configure_logging
logging_config_func(logging_settings)
File "/usr/local/lib/python2.7/logging/config.py", line 794, in
dictConfig
dictConfigClass(config).configure()
File "/usr/local/lib/python2.7/logging/config.py", line 559, in
configure
'filter %r: %s' % (name, e))
ValueError: Unable to configure filter 'hqcontext': Cannot resolve
'corehq.util.log.HQRequestFilter': No module named dimagi.utils.chunked

I've been following the instructions from:
commcare-hq/docker at master · dimagi/commcare-hq · GitHub

I also just did a git pull earlier today to ensure i had the latest
changes

am also getting this error after the above

bower invalid-meta The "name" is recommended to
be lowercase, can contain digits, dots, dashes
bower select2 extra-resolution Unnecessary resolution:
select2#4.0.0
/mnt/docker/docker-services.sh: line 36: sudo: command not found
/mnt/docker/utils.sh: line 18: sudo: command not found
/mnt/docker/utils.sh: line 23: sudo: command not found

lobo

--


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.

--


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.

--
Simon Kelly
Senior Engineer | Dimagi South Africa

--


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.

--
Simon Kelly
Senior Engineer | Dimagi South Africa