PSQL restart causes "no data" problem in Orthanc

I came across some problem while working with Orthanc. I am using with my team PostgreSQL with Orthanc and after restarting database no user data is visible in Orthanc UI. It only visible if Orthanc is restarted as well.

Steps to take to reproduce:
1. Orthanc and PSQL are up and running
2. In Orthanc's UI we are able to see patients and images
3. Restart PSQL, wait until it starts again
4. Check UI - there is no patients' data
5. Restart Orthanc, wait until it starts again
6. Patients are again visible in UI

I would be very thankful for any help with that.

Have you checked the Orthanc logs for error messages ?

Orthanc is generating a new log at each startup so, please, attach the last 2 logs (one that fails and one that succeeds).

replying “all” so all messages are archived in the forum and available to anyone.