Error during a wikidata update

365 views Asked by At

I've created a local version of the wikidata api using the instructions here, and after running munge.sh with the default options, I've run ./runUpdate.sh -n wdq which resulted with the following error message.

ERROR org.wikidata.query.rdf.tool.Update - 
RDF store reports the last update time is before the minimum safe poll time.
You will have to reload from scratch or you might have missing data.

What does it mean? Should I munge again before updating?

1

There are 1 answers

0
Addshore On

The default updater can only currently update based on what is in RecentChanges for the wiki. The default for this is 30 days, so if the dump that you imported is from longer than 30 days ago the updater will fail.

There are options that can now be passed to the updater script to look into the history of RecentChanges for longer periods. You can also set the last updater triple that the check is performed on.

These options can be seen discussed in https://phabricator.wikimedia.org/T182394 (but im not sure better docs currently exist):

  • "wikibaseMaxDaysBack" can be used to set the maximum days to look back in RecentChanges
  • "init" can be used to set the last updated triple