OpenMRS Copy implementation config to /var/www/bahmni_config error


(SAIDI Aimé) #1

Hi all, I’m installing Bahmni 0.91 version on a centos 6.9 server, but i’m blocked by this error,

TASK [implementation-config : Copy implementation config to /var/www/bahmni_config] *** task path: /opt/bahmni-installer/bahmni-playbooks/roles/implementation-config/tasks/implementation-config.yml:4 fatal: [192.168.3.17]: FAILED! => {“changed”: false, “cmd”: “/usr/bin/rsync --delay-updates -F --compress --delete-after --archive --rsh ‘ssh -S none -o StrictHostKeyChecking=no’ --rsync-path=“sudo rsync” --exclude=.git --out-format=’<>%i %n%L’ “/etc/bahmni-installer/deployment-artifacts/VHW_OMRS_config/” “/var/www/bahmni_config””, “failed”: true, “msg”: “rsync: change_dir “/etc/bahmni-installer/deployment-artifacts/VHW_OMRS_config” failed: No such file or directory (2)\nrsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1039) [sender=3.0.6]\n”, “rc”: 23} to retry, use: --limit @/opt/bahmni-installer/bahmni-playbooks/all.retry

PLAY RECAP ********************************************************************* 192.168.3.17 : ok=142 changed=50 unreachable=0 failed=1

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-7.0-py2.6.egg/click/core.py”, line 764, in call return self.main(*args, **kwargs) File “/usr/lib/python2.6/site-packages/Click-7.0-py2.6.egg/click/core.py”, line 717, in main rv = self.invoke(ctx) File “/usr/lib/python2.6/site-packages/Click-7.0-py2.6.egg/click/core.py”, line 1137, in invoke return _process_result(sub_ctx.command.invoke(sub_ctx)) File “/usr/lib/python2.6/site-packages/Click-7.0-py2.6.egg/click/core.py”, line 956, in invoke return ctx.invoke(self.callback, **ctx.params) File “/usr/lib/python2.6/site-packages/Click-7.0-py2.6.egg/click/core.py”, line 555, in invoke return callback(*args, **kwargs) File “/usr/lib/python2.6/site-packages/Click-7.0-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-backrest.conf’ --extra-vars ‘@/etc/bahmni-installer/setup.yml’’ returned non-zero exit status 2

192.168.3.17 is my centos server. I’m access on it by SSH. Can someone help me to solve this? Thanks


(SAIDI Aimé) #2

Fixed! I keep the implementation_name to default value. Now the installation continues


(Daniel Kayiwa) #3

Moved to the bahmni category.