Louperivois added a comment.

  @Tinyttt I finally find a working configuration.
  
  I noticed by running `docker container ls` that my Docker container named 
//wikibase-docker_wdqs-updater_1// was always restarting and never up.
  
  First of all I made sure that the ports 8181, 8282, 8989 and 9191 were open 
in the firewall.
  
  Then I had to edit docker-compose.yml to replace `wikibase.svc` by 
`myIP:8181` for the following services : wdqs and wdqs-updater. 
`WIKIBASE_HOST=wikibase.svc` remained in the following services : wdqs-frontend 
and wikibase. I added to that (and not replaced) `myIP:8181` as an alias in the 
wikibase service. I have to underline the poor documentation in 
docker-compose.yml regarding this step.
  
  Finally this allowed me to enter in the //wikibase-docker_wdqs_1// container 
with bash and execute the following command:
  
    ./runUpdate.sh -h http://$WDQS_HOST:$WDQS_PORT -- --wikibaseUrl 
$WIKIBASE_SCHEME://$WIKIBASE_HOST --conceptUri 
$WIKIBASE_SCHEME://$WIKIBASE_HOST --entityNamespaces $WDQS_ENTITY_NAMESPACES -s 
20200501000000
  
  I found this command in 
https://github.com/wmde/wikibase-docker/blob/master/wdqs/0.3.40/runUpdate.sh 
and added the -s argument to it with a date that fitted with my data. Once 
successfully runned, the data already in the wikibase was sync with Blazegraph 
and queryable by the SPARQL frontend client. Moreover, the 
//wikibase-docker_wdqs-updater_1// container finally became stable and stopped 
to restart again and again. That allowed runUpdate.sh to keep all future edits 
synced and queryable as well.
  
  Hope that helps.

TASK DETAIL
  https://phabricator.wikimedia.org/T186161

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Louperivois
Cc: Tinyttt, Louperivois, Jsamwrites, Considering.Different.Routes, DarTar, 
Addshore, Andrawaag, Aklapper, Samantha_Alipio_WMDE, Akuckartz, Jelabra, 
Nandana, Lahi, Gq86, GoranSMilovanovic, QZanden, LawExplorer, _jensen, 
rosalieper, Scott_WUaS, Asahiko, despens, Wikidata-bugs, aude, Mbch331
_______________________________________________
Wikidata-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to