[med-svn] r20719 - in trunk/packages/orthanc-postgresql/trunk/debian: . patches
Sebastien Jodogne
jodogne-guest at moszumanska.debian.org
Thu Dec 10 15:03:17 UTC 2015
Author: jodogne-guest
Date: 2015-12-10 15:03:17 +0000 (Thu, 10 Dec 2015)
New Revision: 20719
Modified:
trunk/packages/orthanc-postgresql/trunk/debian/README.Debian
trunk/packages/orthanc-postgresql/trunk/debian/changelog
trunk/packages/orthanc-postgresql/trunk/debian/control
trunk/packages/orthanc-postgresql/trunk/debian/patches/shlibs
Log:
Orthanc PostgreSQL 2.0
Modified: trunk/packages/orthanc-postgresql/trunk/debian/README.Debian
===================================================================
--- trunk/packages/orthanc-postgresql/trunk/debian/README.Debian 2015-12-10 14:37:09 UTC (rev 20718)
+++ trunk/packages/orthanc-postgresql/trunk/debian/README.Debian 2015-12-10 15:03:17 UTC (rev 20719)
@@ -10,6 +10,7 @@
Homepage: http://www.orthanc-server.com/static.php?page=postgresql
+
Configuration
=============
@@ -20,6 +21,35 @@
$> sudo systemctl restart orthanc.service
+
+Upgrade
+=======
+
+The schema of the Orthanc database evolves across versions. If you use
+a PostgreSQL database that was created for an older version of the
+schema, Orthanc will fail to start and you will have to manually
+upgrade the database.
+
+You can read the status of the Orthanc service in the log:
+
+ $> cat /var/log/orthanc/Orthanc.log
+
+If, after upgrading the orthanc-postgresql package, Orthanc complains
+that the database schema must be upgraded, type the following commands
+(reconstructing the database may take some time):
+
+ $> sudo systemctl stop orthanc.service
+ $> sudo /usr/sbin/Orthanc /etc/orthanc --verbose --upgrade
+ $> sudo systemctl start orthanc.service
+
+
+NOTE: As an alternative to the automated upgrade (e.g. if you face
+problems or if you wish to keep the older version of the database),
+you can have a look at the instructions for replication in the Orthanc
+Book: https://orthanc.chu.ulg.ac.be/book/users/replication.html
+
+
+
Step-by-step tutorial
=====================
@@ -71,6 +101,7 @@
$> sudo less /var/log/postgresql/postgresl-VERSION-main.log
+
Further notes
=============
Modified: trunk/packages/orthanc-postgresql/trunk/debian/changelog
===================================================================
--- trunk/packages/orthanc-postgresql/trunk/debian/changelog 2015-12-10 14:37:09 UTC (rev 20718)
+++ trunk/packages/orthanc-postgresql/trunk/debian/changelog 2015-12-10 15:03:17 UTC (rev 20719)
@@ -1,3 +1,9 @@
+orthanc-postgresql (2.0-1) UNRELEASED; urgency=medium
+
+ * New upstream version.
+
+ -- Sebastien Jodogne <s.jodogne at gmail.com> Thu, 10 Dec 2015 15:13:49 +0100
+
orthanc-postgresql (1.3-1) unstable; urgency=medium
* New upstream version
Modified: trunk/packages/orthanc-postgresql/trunk/debian/control
===================================================================
--- trunk/packages/orthanc-postgresql/trunk/debian/control 2015-12-10 14:37:09 UTC (rev 20718)
+++ trunk/packages/orthanc-postgresql/trunk/debian/control 2015-12-10 15:03:17 UTC (rev 20719)
@@ -11,7 +11,7 @@
libgtest-dev (>= 1.6.0),
libjsoncpp-dev,
libpq-dev,
- orthanc-dev (>= 0.9.4),
+ orthanc-dev (>= 0.9.5),
postgresql-server-dev-all,
unzip,
uuid-dev
@@ -21,7 +21,7 @@
Package: orthanc-postgresql
Architecture: any
-Depends: ${misc:Depends}, ${shlibs:Depends}, orthanc (>= 0.9.4)
+Depends: ${misc:Depends}, ${shlibs:Depends}, orthanc (>= 0.9.5)
Suggests: postgresql
Description: Plugins to use PostgreSQL as a database back-end to Orthanc
Orthanc PostgreSQL is a set of two plugins to Orthanc, a lightweight,
Modified: trunk/packages/orthanc-postgresql/trunk/debian/patches/shlibs
===================================================================
--- trunk/packages/orthanc-postgresql/trunk/debian/patches/shlibs 2015-12-10 14:37:09 UTC (rev 20718)
+++ trunk/packages/orthanc-postgresql/trunk/debian/patches/shlibs 2015-12-10 15:03:17 UTC (rev 20719)
@@ -2,11 +2,11 @@
Author: Sebastien Jodogne <s.jodogne at gmail.com>
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
-Index: OrthancPostgreSQL-1.3/CMakeLists.txt
+Index: OrthancPostgreSQL-2.0/CMakeLists.txt
===================================================================
---- OrthancPostgreSQL-1.3.orig/CMakeLists.txt
-+++ OrthancPostgreSQL-1.3/CMakeLists.txt
-@@ -145,15 +145,12 @@ message("Setting the version of the libr
+--- OrthancPostgreSQL-2.0.orig/CMakeLists.txt
++++ OrthancPostgreSQL-2.0/CMakeLists.txt
+@@ -147,15 +147,12 @@ message("Setting the version of the libr
add_definitions(-DORTHANC_POSTGRESQL_VERSION="${ORTHANC_POSTGRESQL_VERSION}")
More information about the debian-med-commit
mailing list