# PSQL restart causes "no data" problem in Orthanc

**URL:** https://discourse.orthanc-server.org/t/psql-restart-causes-no-data-problem-in-orthanc/847
**Category:** Google Groups archive
**Created:** [December 4, 2017, 2:32pm UTC](https://discourse.orthanc-server.org/t/psql-restart-causes-no-data-problem-in-orthanc/847 "2017-12-04T14:32:26Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Martyna\_Stanczuk](https://discourse.orthanc-server.org/letter_avatar_proxy/v4/letter/m/ea5d25/32.png) [@Martyna\_Stanczuk](https://discourse.orthanc-server.org/u/Martyna_Stanczuk)
#### Post date: [December 4, 2017, 2:32pm UTC](https://discourse.orthanc-server.org/t/psql-restart-causes-no-data-problem-in-orthanc/847/1 "2017-12-04T14:32:26Z")

</div>

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.

---

<div class="post-metadata">

### Author: ![Alain\_Mazy3](https://discourse.orthanc-server.org/letter_avatar_proxy/v4/letter/a/eb9ed0/32.png) [@Alain\_Mazy3](https://discourse.orthanc-server.org/u/Alain_Mazy3)
#### Post date: [December 5, 2017, 8:43am UTC](https://discourse.orthanc-server.org/t/psql-restart-causes-no-data-problem-in-orthanc/847/2 "2017-12-05T08:43:55Z")

</div>

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).

---

<div class="post-metadata">

### Author: ![Alain\_Mazy3](https://discourse.orthanc-server.org/letter_avatar_proxy/v4/letter/a/eb9ed0/32.png) [@Alain\_Mazy3](https://discourse.orthanc-server.org/u/Alain_Mazy3)
#### Post date: [December 5, 2017, 2:45pm UTC](https://discourse.orthanc-server.org/t/psql-restart-causes-no-data-problem-in-orthanc/847/3 "2017-12-05T14:45:40Z")

</div>

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