Bahmni Installation Docker Error

Traceback (most recent call last): File “/usr/bin/bahmni”, line 9, in load_entry_point(‘bahmni==0.1’, ‘console_scripts’, ‘bahmni’)() File “/usr/lib/python2.6/site-packages/click-6.7-py2.6.egg/click/core.py”, line 722, in call return self.main(*args, **kwargs) File “/usr/lib/python2.6/site-packages/click-6.7-py2.6.egg/click/core.py”, line 697, in main rv = self.invoke(ctx) File “/usr/lib/python2.6/site-packages/click-6.7-py2.6.egg/click/core.py”, line 1066, in invoke return _process_result(sub_ctx.command.invoke(sub_ctx)) File “/usr/lib/python2.6/site-packages/click-6.7-py2.6.egg/click/core.py”, line 895, in invoke return ctx.invoke(self.callback, **ctx.params) File “/usr/lib/python2.6/site-packages/click-6.7-py2.6.egg/click/core.py”, line 535, in invoke return callback(*args, **kwargs) File “/usr/lib/python2.6/site-packages/click-6.7-py2.6.egg/click/decorators.py”, line 17, in new_func return f(get_current_context(), *args, **kwargs) File “/usr/lib/python2.6/site-packages/bahmni-0.1-py2.6.egg/bahmni.py”, line 91, in install return subprocess.check_call(command, shell=True) File “/usr/lib64/python2.6/subprocess.py”, line 505, in check_call raise CalledProcessError(retcode, cmd) subprocess.CalledProcessError: Command ‘ansible-playbook -i /etc/bahmni-installer/local all.yml -vv --extra-vars ‘@/etc/bahmni-installer/rpm_versions.yml’ --extra-vars ‘@/etc/bahmni-installer/setup.yml’’ returned non-zero exit status 2

Moved to the #software:bahmni category.

@govindsharma please give more context. What step are you following, of what instructions? What command led to this? Did successful commands run before this one?

Hi, I am follow that Steps in Bahmni Installtion https://bahmni.atlassian.net/wiki/spaces/BAH/pages/299630726/Running+Bahmni+on+Docker

This is my docker.sh File:- https://hastebin.com/esoruninib.bash

This is Dockerfile :- https://hastebin.com/ifeyakexuf.bash

In /.bashrc file written expoert BAHMNI_PROFILE=all

terminal log https://hastebin.com/agubevexaz.swift

then after bahmni installtion start after 25 minutes getting that Error

At a glance it looks like this could be the error:

fatal: [127.0.0.1]: FAILED! => {“changed”: false, “failed”: true, “msg”: “AnsibleUndefinedVariable: ‘dict object’ has no attribute ‘bahmni-lab-db’”}

What does your local file look like, especially around bahmni-lab-db?

I want install bahmni in developemnt Enviournment . via docker its giving me Error. or another way to install bahmni in local machine.

Your Dockerfile shows that you’re using a local file. Please share this file.