-
Notifications
You must be signed in to change notification settings - Fork 4
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
Update Virtuoso #426
Conversation
This updates Virtuoso from 7.2.5.1 to 7.2.9 by switching to the redpencil/virtuoso:1.1.0 image.
- 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 |
There was a problem hiding this comment.
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.
a new version is out, so we should update to that one instead. Edit, not tagged yet, so I guess we wait until it is? |
We keep this one open until we have a sane version of virtuoso. I want this for documentation purpose. |
|
Hello ! Before updating the version of virtuoso:
Then you can bump the version and up the triplestore. Note that I didn't do it for a while, so maybe try it out locally before doing it for real :) |
I'll put a couple of comments to document the process since it was buried inside Jira comments. The steps below involve the usual database update (some stuff will be edited after confirmation), and steps for nquad dumping and size saving will be posted in a separate comment. Upgrade with database size optimizations:Before any upgrade starts, it's best to back up both
The upgrade section in this README describes the process needed to upgrade the database and reduce its size. The steps have been copied from Niel's notes with minor adjustments and are as follows: Steps for
|
Upgrade without database size optimizations:Before any upgrade starts, it's best to back up both
Steps for
|
The upgrade process with and without applying the database size optimization process have been split for better clarity and separation. |
This updates Virtuoso from 7.2.5.1 to 7.2.9 by switching to the redpencil/virtuoso:1.1.0 image.