From e2fdc71d732e04474de4a1ab6ab8dce65852acd4 Mon Sep 17 00:00:00 2001 From: Sam Van Campenhout Date: Thu, 15 Jun 2023 17:32:23 +0200 Subject: [PATCH 1/2] Update Virtuoso This updates Virtuoso from 7.2.5.1 to 7.2.9 by switching to the redpencil/virtuoso:1.1.0 image. --- CHANGELOG.md | 14 ++++++++++++++ docker-compose.yml | 2 +- 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a7a900aea..dd22fb7e1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,6 +12,20 @@ - Add "nieuw" and "toegevoegd" labels and filters to concepts - Add support for concept archiving ### deploy instructions +#### Virtuoso update + - stop the stack: `drc stop` + - start the "maintenance" frontend? + - start the virtuoso container: `drc start virtuoso` + - create a new checkpoint so the transaction log is cleared: + - enter the isql-v environment: `drc exec virtuoso isql-v` + - create a checkpoint: `exec('checkpoint');` + - exit the isql-v environment: `exit;` + - stop the virtuoso service + - make a backup of the data/db folder in case something goes wrong and we need to downgrade again `cp -r data/db some-backup-folder` + - remove the transaction log file: `rm data/db/virtuoso.trx` + - `drc up -d virtuoso` to update to the new image + - check the logs to see if nothing strange happened +#### Other - Follow the steps to re-sync data from OP - `drc restart migrations` and check if they ran successfully - `drc restart cache resource database dispatcher subsidy-applications-management report-generation; drc up -d` diff --git a/docker-compose.yml b/docker-compose.yml index f049e7df3..d49bdf8c1 100755 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -71,7 +71,7 @@ services: restart: always logging: *default-logging virtuoso: - image: tenforce/virtuoso:1.3.2-virtuoso7.2.5.1 + image: redpencil/virtuoso:1.1.0 environment: SPARQL_UPDATE: "true" DEFAULT_GRAPH: "http://mu.semte.ch/application" From fe6977bbf81d30c4139afd87156ad8acd59957d4 Mon Sep 17 00:00:00 2001 From: felix Date: Tue, 31 Oct 2023 14:32:38 +0100 Subject: [PATCH 2/2] bump virtuoso to latest version --- docker-compose.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index d49bdf8c1..7190e00dc 100755 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -71,7 +71,7 @@ services: restart: always logging: *default-logging virtuoso: - image: redpencil/virtuoso:1.1.0 + image: redpencil/virtuoso:1.2.0-rc.1 environment: SPARQL_UPDATE: "true" DEFAULT_GRAPH: "http://mu.semte.ch/application" @@ -467,7 +467,7 @@ services: # DELTA GENERAL ################################################################################ publication-triplestore: - image: tenforce/virtuoso:1.3.2-virtuoso7.2.5.1 + image: redpencil/virtuoso:1.2.0-rc.1 environment: SPARQL_UPDATE: "true" DEFAULT_GRAPH: "http://mu.semte.ch/application"