[Debian-med-packaging] Bug#818757: Bug#818757: orthanc-postgresql: does not start
Karsten Hilbert
Karsten.Hilbert at gmx.net
Sun Mar 20 17:09:15 UTC 2016
On Sun, Mar 20, 2016 at 05:55:10PM +0100, Sébastien Jodogne wrote:
> > 4) the existing orthanc_db is 0.8 and the jump is to Orthanc 1.0 (orthanc-pg
> > 2.0)
>
> Have you added the "--upgrade" option so that Orthanc would automatically upgrade the database schema?
I have not because
- it's not really me calling /usr/bin/Orthanc but /etc/init.d/orthanc
(I only copied that call manually in order to get more information)
- I didn't know that option existed
- 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 :-)
- I knew from past experience that Orthanc auto-upgraded the schema
(but that was on SQLite and from major to major w/o a version skip)
However, I will now add this option and report back.
Would you mind adding a line to the log indicating that
--upgrade might be needed when Orthanc detects that situation
at startup ?
Also, would Debian benefit from an
/usr/sbin/orthanc_upgrade
script which calls /usr/sbin/Orthanc --upgrade plus other options ?
Karsten
--
GPG key ID E4071346 @ eu.pool.sks-keyservers.net
E167 67FD A291 2BEA 73BD 4537 78B9 A9F9 E407 1346
More information about the Debian-med-packaging
mailing list