I recently cloned the openmrs-core repo and modified the following lines on the docker-compose.yml
file for the api
service:
image: openmrs/openmrs-core:${TAG:-2.6.0}
OMRS_ADMIN_USER_PASSWORD: ${OMRS_ADMIN_USER_PASSWORD:-Admin123}
Once the docker containers are up and running and I go to http://localhost:8080/openmrs/ I get a page that says:
If you are seeing this page, it means that the OpenMRS Platform is running successfully, but no user interface module is installed. Learn about the available User Interface Modules
If you are a developer, you can access the REST API. (See REST documentation for clients)
However when I make an HTTP GET request to the following endpoint: http://localhost:8080/openmrs/ws/rest/v1/systeminformation, I get this error:
HTTP Status 404 – Not Found
The origin server did not find a current representation for the target resource or is not willing to disclose that one exists.
I looked at the backend logs and I get this warning:
No mapping for GET /openmrs/ws/rest/v1/systeminformation`
I also use Basic Auth
to provide the username and password to authenticate the request however I don’t think the authentication is the issue here. When I change the endpoint to https://test3.openmrs.org/openmrs/ws/rest/v1/systeminformation it seems to work just fine.
I also get a 404 error when going to http://localhost:8080/openmrs/admin which I believe should display a page for administrative functions like module management etc.
Any solutions I can try to get this backend running on my local machine?