FHIRPersistenceDBConnectException: Failure acquiring connection for datasource
when trying to curl $healthcheck
#4227
Labels
bug
Something isn't working
Describe the bug
I'm trying to run LinuxForHealth FHIR Server in my PC. I downloaded the zip file and installed the server using
./fhir-server-dist/install.sh /opt/ibm/fhir-server
as told in this pageEnvironment
Zorin OS 16.2 x86_64 (Ubuntu basically)
openjdk version "11.0.19" 2023-04-18
OpenJDK Runtime Environment (build 11.0.19+7-post-Ubuntu-0ubuntu120.04.1)
OpenJDK 64-Bit Server VM (build 11.0.19+7-post-Ubuntu-0ubuntu120.04.1, mixed mode, sharing)
To Reproduce
Steps to reproduce the behavior:
$healthcheck
endpointExpected behavior
An empty body in the response with a HTTP Response Code 200
Output I got
{"resourceType":"OperationOutcome","id":"7f-0-1-1-2c9bd42b-fdc6-45b0-81df-8622d118c521","issue":[{"severity":"fatal","code":"exception","details":{"text":"FHIRPersistenceDBConnectException: Failure acquiring connection for datasource"}}]}
Additional context
Not only
$healthcheck
, but all the endpoints are returning the same body. I tried the docker container earlier and it worked. But I want to run the server as a standalone instead as a docker container.The text was updated successfully, but these errors were encountered: