bahmni openmrs not working

I remember we had encountered this issue in DB earlier, and had fixed it. (cc: @mohant - Do you remember this?)

2023-08-19 15:51:30 2023-08-19T12:51:30.556205Z 9 [Warning] InnoDB: Table mysql/innodb_index_stats has length mismatch in the column name table_name. Please run mysql_upgrade

I believe it was something about the right version of mysql image.

Meanwhile, please try the following:

  1. Stop all docker containers.
  2. Delete the current databases of Bahmni using this command (basically deletes all docker volumes): docker volume rm $(docker volume ls -q) (See this documentation: How to reset and clean everything and start again.
  3. Pull the latest v1.0.0 images docker compose pull. Ensure the version of images are v1.0.0 as mentioned here: [Announcement] Bahmni Lite 1.0.0 Release (you should not be using older images)
  4. Restart Bahmni to recreate the DB and see.

You can also use the ./run-bahmni.sh script for the above steps.

Please confirm back if this doesn’t work and what steps you performed, and what image versions are you running.

Also which OS are you using? Windows/Linux/Mac?