Ontoportal upgrade and data migration #3
-
Hello everybody. |
Beta Was this translation helpful? Give feedback.
Replies: 8 comments 2 replies
-
I think @alexskr and @mdorf are working on it currently (in their case is to do the migration from 4store to AllegroGraph), they have done this documentation, see the Metadata migration section. the documentation is under construction and is not really clear (in my opinion) for now. In summary, what you need to do is In your current server/instance
sudo 4s-dump http://localhost:8081/sparql/ -a -o <path where to create the dump>
sudo cp /srv/ncbo/repository <path where you want to save it> In your new server/instance
sudo opstop
sudo cp <path where you saved your repository folder> /srv/ontoportal/data/repository
cd <path to your dump directory> && find . -type f | 4s-restore ontologies_api
sudo opstop
cd /srv/ontoportal/ncbo_cron
bundle exec bin/ncbo_ontology_process -a
bundle exec bin/ncbo_ontology_metrics -a |
Beta Was this translation helpful? Give feedback.
-
Hi @gturrisi-lifewatch, @alexskr is out today but he has a good sense of which versions require what kind of migration. I would definitely encourage talking to him before trying your migration. I am pretty sure there is an explicit document addressing your use case, but I'm not sure if it's in GitHub, a manual, or revision history information for each release (that's where I'd start first). |
Beta Was this translation helpful? Give feedback.
-
Hi @gturrisi-lifewatch, |
Beta Was this translation helpful? Give feedback.
-
@alexskr can you please update that page to provide at least a comment, or perhaps a section, on upgrading to 3.1? For example, we could say "to 3.0 or 3.1" in the title if the instructions are the same. And instructions to go from 3.0 to 3.1 may be obvious to some, but not others, so they would be helpful. |
Beta Was this translation helpful? Give feedback.
-
I should have called it an upgrade from 2.5 to 3.1 in the first place. I updated file name to reflect that change |
Beta Was this translation helpful? Give feedback.
-
I cross-linked the two pages containing ontoportal upgrade information, https://ontoportal.github.io/administration/management/appliance_upgrade_v25_to_31 and https://ontoportal.github.io/administration/management/appliance_upgrade Someone is welcome to make a combined page that is a bit easier to digest. |
Beta Was this translation helpful? Give feedback.
-
Thank you so much @graybeal and @alexskr. |
Beta Was this translation helpful? Give feedback.
-
Giuseppe,
We would welcome your pull request for that! Thanks.
John
On Nov 10, 2022, at 7:22 AM, Giuseppe Turrisi ***@***.******@***.***>> wrote:
Thank you so much @graybeal<https://github.com/graybeal> and @alexskr<https://github.com/alexskr>.
The instructions for upgrading virtual appliance from v2.5 to v3.1 seem very clear and detailed. In the next few days I will set up a local test environment to perform the migration procedure, before bringing it to our production environment.
If you deem it appropriate, I can create a merge of the 2 pages in order to have all the upgrade procedures in one page: "https://ontoportal.github.io/administration/management/appliance_upgrade/".
Thank you
—
Reply to this email directly, view it on GitHub<#3 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AAJVJUBJ6REET6FSOMC56GTWHUHLZANCNFSM6AAAAAARZEISLE>.
You are receiving this because you were mentioned.Message ID: ***@***.***>
========================
John Graybeal
Technical Program Manager
Center for Expanded Data Annotation and Retrieval /+/ NCBO BioPortal
Stanford Center for Biomedical Informatics Research
650-736-1632 | ORCID 0000-0001-6875-5360
|
Beta Was this translation helpful? Give feedback.
Hi @gturrisi-lifewatch,
Instructions on how to update v2.5 to v3 appliance can be found here:
https://ontoportal.github.io/administration/management/appliance_upgrade_v25_to_31 (edited to reflect rename)
Please let me know if you run into any issues with the migration.