Multiple Orthanc instances and Single Postgres error

279 views
Skip to first unread message

ablei...@gmail.com

unread,
Aug 19, 2016, 10:15:33 PM8/19/16
to Orthanc Users
Hi,

I have deployed both Orthanc and Postgres using containers with persistent volumes. Single instance everything works fine. However, when I add a second Orthanc instance I'm getting

E0820 01:47:25.643934 PluginsManager.cpp:163] Error in PostgreSQL: The database is locked by another instance of Orthanc.

and the software exit with:

E0820 01:47:26.642796 main.cpp:1252] Uncaught exception, stopping now: [Error while using a shared library (plugin)] (code 25)
W0820 01:47:26.643846 main.cpp:1285] Orthanc has stopped

What do I have to do in order to enable postgres to work with multiple Orthanc instances?

Thanks

Alain Mazy

unread,
Aug 21, 2016, 4:16:47 PM8/21/16
to ablei...@gmail.com, Orthanc Users
Hi,

There is a specific 'Lock' setting dedicated to this particular problem.  You should set it to false.


--

Alain Mazy / CTO 
a...@osimis.io / +32 494 31 67 27

Osimis

OSIMIS S.A. 
Rue bois Saint-Jean 15/1BE-4102 Seraing 
www.osimis.io

Twitter LinkedIn


Reply all
Reply to author
Forward
0 new messages