[Debian-med-packaging] Bug#818757: Bug#818757: orthanc-postgresql: does not start

Sébastien Jodogne s.jodogne at chu.ulg.ac.be
Mon Jun 27 09:03:36 UTC 2016


> - I would not have guessed that adding --upgrade might have made
>   a difference to a failure that tells me "stack smashing detected"
>   at the console :-)

Just to be sure: Is your issue an immediate crash with "stack smashing detected", or is your issue a failure while executing the "--upgrade"?

In the former case, couldn't it be possible that the version of some shared library does not match its version of the headers, maybe because of an unstable Debian?


> Would you mind adding a line to the log indicating that
> --upgrade might be needed when Orthanc detects that situation
> at startup ?

This is already the case; Here is a sample log of Orthanc 1.0.0 asking an upgrade with the PostgreSQL plugins 2.0 (notice the line starting with "E"):

>>>>>
W0627 10:59:51.840168 main.cpp:1129] Orthanc version: 1.0.0
W0627 10:59:51.842232 OrthancInitialization.cpp:175] Scanning folder "." for configuration files
W0627 10:59:51.842363 OrthancInitialization.cpp:128] Reading the configuration from: "./postgresql.json"
W0627 10:59:51.842585 OrthancInitialization.cpp:128] Reading the configuration from: "./IntegrationTestsConfiguration.json"
W0627 10:59:51.842978 HttpClient.cpp:386] No certificates are provided to validate peers, set "HttpsCACertificates" if you need to do HTTPS requests
W0627 10:59:51.843845 FromDcmtkBridge.cpp:148] Loading the external DICOM dictionary "/usr/share/libdcmtk2/dicom.dic"
W0627 10:59:51.854365 FromDcmtkBridge.cpp:148] Loading the external DICOM dictionary "/usr/share/libdcmtk2/private.dic"
W0627 10:59:51.862899 OrthancInitialization.cpp:420] Registering JPEG Lossless codecs
W0627 10:59:51.862938 OrthancInitialization.cpp:425] Registering JPEG codecs
W0627 10:59:51.870631 main.cpp:618] Loading plugin(s) from: ./.
W0627 10:59:51.871377 PluginsManager.cpp:264] Registering plugin 'postgresql-index' (version 2.0)
W0627 10:59:51.871608 PluginsManager.cpp:167] Using PostgreSQL index
W0627 10:59:51.881027 PluginsManager.cpp:264] Registering plugin 'postgresql-storage' (version 2.0)
W0627 10:59:51.881324 PluginsManager.cpp:167] Using PostgreSQL storage area
NOTICE:  relation "storagearea" already exists, skipping
W0627 10:59:51.902725 main.cpp:966] Using a custom database from plugins
W0627 10:59:51.902774 main.cpp:977] Using a custom storage area from plugins
E0627 10:59:51.903043 main.cpp:830] The database schema must be upgraded from version 5 to 6: Please run Orthanc with the "--upgrade" command-line option
W0627 10:59:51.903187 PluginsManager.cpp:214] Unregistering plugin 'postgresql-index' (version 2.0)
W0627 10:59:51.903272 PluginsManager.cpp:167] PostgreSQL index is finalizing
W0627 10:59:51.903444 PluginsManager.cpp:214] Unregistering plugin 'postgresql-storage' (version 2.0)
W0627 10:59:51.903508 PluginsManager.cpp:167] Storage plugin is finalizing
W0627 10:59:51.904071 main.cpp:1202] Orthanc has stopped
<<<<<

Sébastien-



More information about the Debian-med-packaging mailing list