Bug 5

Summary: Incompatibility with PostgreSQL plugin
Product: Orthanc Reporter: Sébastien Jodogne <s.jodogne>
Component: Plugin - PostgreSQLAssignee: Sébastien Jodogne <s.jodogne>
Status: RESOLVED INVALID    
Severity: normal    
Priority: ---    
Version: unspecified   
Hardware: All   
OS: All   

Description Sébastien Jodogne 2020-06-29 15:11:09 CEST
[BitBucket user: James Webster]
[BitBucket date: 2015-10-01.15:30:44]

When trying to start Orthanc we have the following error, even with an empty database:

W1001 11:21:49.205500 OrthancInitialization.cpp:350] Registering JPEG codecs
W1001 11:21:49.214847 main.cpp:463] Loading plugin(s) from: /OrthancBuild/libServeFolders.so
W1001 11:21:49.215148 PluginsManager.cpp:264] Registering plugin 'serve-folders' (version mainline)
W1001 11:21:49.215664 main.cpp:463] Loading plugin(s) from: /plugs/pg/libOrthancPostgreSQLIndex.so
W1001 11:21:49.216289 PluginsManager.cpp:264] Registering plugin 'postgresql-index' (version mainline)
E1001 11:21:49.216363 PluginsManager.cpp:163] This database plugin is incompatible with your version of Orthanc expecting the DB schema version 6, but this plugin is compatible with version 5
E1001 11:21:49.216393 PluginsManager.cpp:101] Error while initializing plugin /plugs/pg/libOrthancPostgreSQLIndex.so (code -1)
W1001 11:21:49.216621 PluginsManager.cpp:214] Unregistering plugin 'serve-folders' (version mainline)
E1001 11:21:49.216726 main.cpp:895] Uncaught exception, stopping now: [Error while using a shared library (plugin)]
W1001 11:21:49.216941 main.cpp:916] Orthanc has stopped


Versions
sjodogne-orthanc-16955f8fec4d.tar.gz
sjodogne-orthanc-postgresql-f91f04d6430e.zip
Comment 1 Sébastien Jodogne 2020-06-29 15:18:35 CEST
[BitBucket user: James Webster]
[BitBucket date: 2015-10-01.15:35:20]

Forgot to mention - Platform is UBUNTU 14.04.2.
Comment 2 Sébastien Jodogne 2020-06-29 15:18:36 CEST
[BitBucket user: Sébastien Jodogne]
[BitBucket date: 2015-10-01.15:36:12]

The database version 6 is only required for the "db-changes" branch of the Orthanc core, that is still under active development. Please stitch to Orthanc 0.9.4 for the moment, that is compatible with the current version of the PostgreSQL plugins.
Comment 3 Sébastien Jodogne 2020-06-29 15:18:37 CEST
[BitBucket user: James Webster]
[BitBucket date: 2015-10-01.15:52:10]

OK - many thanks! Especially for the speedy reply!
James Webster