rdfio / RDFIO

RDF triples import, export and PHP SPARQL endpoint for Semantic MediaWiki
http://www.mediawiki.org/wiki/Extension:RDFIO
Other
29 stars 12 forks source link

Update from previous RDFIO #55

Open rhaubt opened 6 years ago

rhaubt commented 6 years ago

Hi,

This might be a silly question but I am running an older version of RDFIO (installed January 2017) and would like to update to the latest version.

What is the best way to update?

Do I simply replace the old extension > Rdfio folder with the new version and run the Special:RDFIOAdmin > Setup?

thank you for a great semantic extension tool :)

samuell commented 6 years ago

Hi @rhaubt ,

Thanks for kind words!

Also, good question, that I haven't really thought much about actually :)

I don't think the database schema has changed at all actually since then, as it is based on the same ARC2 library, which hasn't changed too much over the last 10 years or so, apart from some bug fixes in the PHP code.

(I know I fixed an important bug causing big imports to stall, so making sure ARC2 is the latest version is important though)

But otherwise, basically, I think just updating the code should help. I thinkt this is best done through composer, and then just checking that all configuration is according to the steps in this section (Be cautioned that there were yet another name change of the configuration parameter names, to make things more readable once and for all).

Feel free to ask here if you run into any specific issues. Unfortunately, I'm not an expert on composer (have fought it and finally got it to work good enough for the RDFIO install), but I'm happy to try to help with whatever hints I can provide.

rhaubt commented 6 years ago

Thank you for your prompt responds, that didn't even take 20 minutes :)

I will run the installation and post here how the update went. I just thought I double check first and see if there were any known problems.

Thanks again :)

samuell commented 6 years ago

I will run the installation and post here how the update went. I just thought I double check first and see if there were any known problems.

Good luck! Of course, would always recommend a database and code backup, to be safe :)