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?
That is surely possible. That is why I offered to provide
more information if told how to do so.
Yes, sorry about that: As mentioned earlier, I had no time to dig this
problem further in the past weeks. Orthanc is huge, and I'm alone to
work on its code.
What I would need would be a full backtrace of the C++ code. This
requires a fresh build in debug mode, with static linking, of both
Orthanc 1.1.0 and PostgreSQL plugin 2.0. Static linking allows to become
independent of a potential instability of your Debian setup.
After downloading the source code of each package, create a "Build"
directory inside, and run:
# cmake .. -DSTATIC_BUILD=ON -DCMAKE_BUILD_TYPE=Debug
# make
Obviously, make sure that your Orthanc configuration points to the newly
built PostgreSQL plugin.
Then, please post the full gdb backtrace (command "bt") of the crash
when you try and run "--upgrade".
Sorry again and thanks for your collaboration,
Sébastien-