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?
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):