I just managed to install Bahmni 0.79 on a fresh CentOS 6.7. Everything works fine except that I can’t save a patient picture. I use chrome as a browser. I click on the Camera icon, i take the picture , it appears on its assigned place. But when I click the save button or the open visit button the picture I took disappears.
This is weird. I have the same version of Bahmni installed on Digital ocean with no problems with pictures.
I can take a picture with no issues
<img src=“/uploads/default/original/2X/3/393fc3846f27fd15d40d2a1c6c2168afd1e6fb6b.png"width=“690” height=“366”>
the picture is displayed on the patient profile.
<img src=”/uploads/default/original/2X/0/02870a93aac727fa48d633d2be261add330f055d.png"width=“690” height=“367”>
The picture disappears after pressing the save button or the choose visit button
But 777 has higher privileges than 755. I doubt that 755 would work.
I will try Monday and let you know.
If 755 doesn’t work, what are my other options ?
True, 777 has higher privileges than 755. But, apache requires strict permissions, otherwise it doesn’t work. Try to do chmod 755 on /home/bahmni as well if required.
Can you try 755 on /home/bahmni also?
Set 644 permissions for all files inside /home/bahmni/patient_images
Restart httpd (service httpd restart) once (not necessary, just incase).