Dear Karsten,

Well, once Orthanc 1.2 shows up in my sources.lst I will test
the suggested script and report back. Since I don't assume
Orthanc 1.1 -> 1.2 to actually need a database upgrade (?) I
expect the script to gracefully do nothing.

Indeed, an upgrade of the Orthanc database is only necessary if the version of the DB changes. The internals are explained in the Orthanc Book:
http://book.orthanc-server.com/developers/db-versioning.html

The last modification of the DB schema was introduced in Orthanc 0.9.5 (released on December 2nd, 2015). This means that any post-0.9.5 release will transparently work without having to upgrade the database. Since that release, the database schema is now considered as stable, and no upgrade should be necessary.

Furthermore, I personally feel that the upgrade process should imply a manual operation from the user. The official documentation of Orthanc clearly explains what should be done in such a case:
http://book.orthanc-server.com/users/replication.html#upgrade-the-database-schema

As a consequence, I am not convinced that providing an automated script is necessary. Maybe it would be sufficient to simply point to the section of the Orthanc Book above in the "README.Debian".

HTH,
Sébastien-

Reply via email to