bahmni emr ui - 403 error

I’m trying to prepare dev environment, I’ve prepared the vagrant box.

Now I’m using below guide for setting up development environment https://bahmni.atlassian.net/wiki/spaces/BAH/pages/32604585/Setting+up+Bahmni+Dev+Environment

I’ve built & prepared the sym link for EMR UI using the guide. but, now when I’m trying to go to https://192.168.33.10/bahmni/home

I’ve got a 403 - permission denied error. I’ve verified that the permission is correctly assigned to bahmni/bahmni for the symlink using

[vagrant@10 ~]$ sudo chown -h bahmni:bahmni /var/www/bahmniapps -v

ownership of `/var/www/bahmniapps’ retained as bahmni:bahmni

Any advise on getting this 403 resolved?

I got it resolved. I needed to copy the openmrs-module-bahmniapps at the root level.

Thanks for sharing the solution to your case.

i am too facing the same issues after doing sudo ln -s /bahmni/openmrs-module-bahmniapps/ui/app /var/www/bahmniapps

# Make the user bahmni owner of this new link

sudo chown -h bahmni:bahmni /var/www/bahmniapps

now my bahmni home page is not showing. how to solve it please help

If you a “ls -al” at the /var/www/bahmniapps - what owners of the files and directories do you see?

btw, if you want to recursively own the directories …

sudo chown -R bahmni:bahmni /var/www/bahmniapps