failed install 0.93

hi guys, everytime i try to install 0.93 i get this

ASK [mysql : Install python mysql for ansible] ******************************************************************************************************************************************************************* task path: /opt/bahmni-installer/bahmni-playbooks/roles/mysql/tasks/mysql56.yml:6 [WARNING]: when statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found: {{ ‘5.6’ in mysql_version }}

failed: [localhost] (item=[u’mysql-community-common-5.6.48’, u’mysql-community-libs-5.6.48’, u’MySQL-python’]) => {“changed”: false, “failed”: true, “item”: [“mysql-community-common-5.6.48”, “mysql-community-libs-5.6.48”, “MySQL-python”], “msg”: “Repository mysql56-community is listed more than once in the configuration\nError: Package: akonadi-mysql-1.9.2-4.el7.x86_64 (@anaconda)\n Requires: mariadb-server\n Removing: 1:mariadb-server-5.5.68-1.el7.x86_64 (@anaconda)\n mariadb-server = 1:5.5.68-1.el7\n Obsoleted By: mysql-community-server-5.6.51-2.el7.x86_64 (mysql56-community)\n Not found\n”, “rc”: 1, “results”: [“Loaded plugins: fastestmirror, langpacks\nLoading mirror speeds from cached hostfile\n * base: centos.mirror.liquidtelecom.com\n * epel: epel.mirror.liquidtelecom.com\n * extras: centos.mirror.liquidtelecom.com\n * updates: centos.mirror.liquidtelecom.com\nResolving Dependencies\n–> Running transaction check\n—> Package MySQL-python.x86_64 0:1.2.5-1.el7 will be installed\n—> Package mariadb-libs.x86_64 1:5.5.68-1.el7 will be obsoleted\n–> Processing Dependency: mariadb-libs(x86-64) = 1:5.5.68-1.el7 for package: 1:mariadb-5.5.68-1.el7.x86_64\n–> Processing Dependency: mariadb-libs(x86-64) = 1:5.5.68-1.el7 for package: 1:mariadb-server-5.5.68-1.el7.x86_64\n—> Package mysql-community-common.x86_64 0:5.6.48-2.el7 will be installed\n—> Package mysql-community-libs.x86_64 0:5.6.48-2.el7 will be obsoleting\n–> Running transaction check\n—> Package mariadb.x86_64 1:5.5.68-1.el7 will be obsoleted\n—> Package mariadb-server.x86_64 1:5.5.68-1.el7 will be obsoleted\n–> Processing Dependency: mariadb-server for package: akonadi-mysql-1.9.2-4.el7.x86_64\n—> Package mysql-community-client.x86_64 0:5.6.51-2.el7 will be obsoleting\n—> Package mysql-community-server.x86_64 0:5.6.51-2.el7 will be obsoleting\n–> Processing Dependency: mysql-community-common(x86-64) = 5.6.51-2.el7 for package: mysql-community-server-5.6.51-2.el7.x86_64\n–> Running transaction check\n—> Package mariadb-server.x86_64 1:5.5.68-1.el7 will be obsoleted\n–> Processing Dependency: mariadb-server for package: akonadi-mysql-1.9.2-4.el7.x86_64\n—> Package mysql-community-common.x86_64 0:5.6.48-2.el7 will be installed\n—> Package mysql-community-common.x86_64 0:5.6.51-2.el7 will be installed\n–> Finished Dependency Resolution\n You could try using --skip-broken to work around the problem\n You could try running: rpm -Va --nofiles --nodigest\n”]} to retry, use: --limit @/opt/bahmni-installer/bahmni-playbooks/all.retry

PLAY RECAP ******************************************************************************************************************************************************************************************************** localhost : ok=47 changed=12 unreachable=0 failed=1

Traceback (most recent call last): File “/bin/bahmni”, line 9, in load_entry_point(‘bahmni==0.1’, ‘console_scripts’, ‘bahmni’)() File “/usr/lib64/python2.7/site-packages/click/core.py”, line 764, in call return self.main(*args, **kwargs) File “/usr/lib64/python2.7/site-packages/click/core.py”, line 717, in main rv = self.invoke(ctx) File “/usr/lib64/python2.7/site-packages/click/core.py”, line 1137, in invoke return _process_result(sub_ctx.command.invoke(sub_ctx)) File “/usr/lib64/python2.7/site-packages/click/core.py”, line 956, in invoke return ctx.invoke(self.callback, **ctx.params) File “/usr/lib64/python2.7/site-packages/click/core.py”, line 555, in invoke return callback(*args, **kwargs) File “/usr/lib64/python2.7/site-packages/click/decorators.py”, line 17, in new_func return f(get_current_context(), *args, **kwargs) File “/usr/lib/python2.7/site-packages/bahmni-0.1-py2.7.egg/bahmni.py”, line 91, in install File “/usr/lib64/python2.7/subprocess.py”, line 54

Oh sorry for the error! Kindly always use pastebin to share the error logs.

Hello @jwnasambu , hope you are great.

facing exactly this same issue. followed the instructions exactly as the wiki using the bahmni installer.

trying to change the ansible yml files to correct this. Any pointers would be great. thanks

This is the error i am getting

Hello @banji . The RPMs are there on the repo, so the install should pass through. Please validate that you the latest installer. Also you can check if mysql56.repo file is in /etc/yum.repos.d/

1 Like

Hello Mohankumar,

Many thanks for your reply. Will check it out

Best Regards