Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Virtuoso #426

Merged
merged 2 commits into from
Oct 31, 2023
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Comment on lines +16 to +27
Copy link
Contributor Author

@Windvis Windvis Jun 15, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure if the data backup part is suited for the hosted environments, but this is what I did locally and it seemed to work.

#### 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`
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down