Bug 5 - Incompatibility with PostgreSQL plugin
Summary: Incompatibility with PostgreSQL plugin
Status: RESOLVED INVALID
Alias: None
Product: Orthanc
Classification: Unclassified
Component: Plugin - PostgreSQL (show other bugs)
Version: unspecified
Hardware: All All
: --- normal
Assignee: Sébastien Jodogne
URL:
Depends on:
Blocks:
 
Reported: 2020-06-29 15:11 CEST by Sébastien Jodogne
Modified: 2020-06-29 15:18 CEST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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