Project:RerunUpdate: Difference between revisions

From MaRDI portal
No edit summary
 
Line 12: Line 12:
docker exec docker-wdqs-1 bash -c '/wdqs/runUpdate.sh -h http://${WDQS_HOST}:${WDQS_PORT} -- --wikibaseUrl ${WIKIBASE_SCHEME}://${WIKIBASE_HOST} --conceptUri ${WIKIBASE_SCHEME}://${WIKIBASE_HOST} --entityNamespaces ${WDQS_ENTITY_NAMESPACES} --init --start TIMESTAMP'
docker exec docker-wdqs-1 bash -c '/wdqs/runUpdate.sh -h http://${WDQS_HOST}:${WDQS_PORT} -- --wikibaseUrl ${WIKIBASE_SCHEME}://${WIKIBASE_HOST} --conceptUri ${WIKIBASE_SCHEME}://${WIKIBASE_HOST} --entityNamespaces ${WDQS_ENTITY_NAMESPACES} --init --start TIMESTAMP'
</syntaxhighlight>
</syntaxhighlight>
*this might not work for some unknown reason, in that case you can either update a specific IDs by adding  <code>--ids ID1,ID2,...</code>  or update a range of IDs by adding  <code>--idrange ID1-ID2</code> ; if the idrange is chosen, omit the Q. It is still necessary to give a timestamp

Latest revision as of 09:16, 15 October 2024

This page is documentation of how to get the Updater to incorporate items it missed because if was not running for some reason.

For more information:

https://www.mediawiki.org/wiki/Wikidata_Query_Service/User_Manual

https://www.mediawiki.org/wiki/Wikibase/FAQ/en#Why_doesn't_the_query_service_update?

  • go to mardi02
  • determine the timestamp you want to start from (format should be 2015-02-11T17:11:08Z or 20150211170100 )
  • execute
    docker exec docker-wdqs-1 bash -c '/wdqs/runUpdate.sh -h http://${WDQS_HOST}:${WDQS_PORT} -- --wikibaseUrl ${WIKIBASE_SCHEME}://${WIKIBASE_HOST} --conceptUri ${WIKIBASE_SCHEME}://${WIKIBASE_HOST} --entityNamespaces ${WDQS_ENTITY_NAMESPACES} --init --start TIMESTAMP'
    
  • this might not work for some unknown reason, in that case you can either update a specific IDs by adding --ids ID1,ID2,... or update a range of IDs by adding --idrange ID1-ID2 ; if the idrange is chosen, omit the Q. It is still necessary to give a timestamp