Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"git repo not given. Stop here." When attempting to start from pre-downloaded model #28

Open
aianta opened this issue Mar 28, 2022 · 0 comments

Comments

@aianta
Copy link

aianta commented Mar 28, 2022

I followed the instructions here:

https://hub.docker.com/r/aksw/dld-dist-dbpedia

and downloaded the en language model using this command:

docker run --rm -v dbpedia_en:/dbpedia-download:z aksw/dld-dist-dbpedia download -l en

This process completed successfully, but then when I run

docker run -ti -v /var/run/docker.sock:/var/run/docker.sock:z -v dbpedia_en:/dbpedia-download:z --name dld-dbpedia aksw/dld-dist-dbpedia run-dld

I get the following:

DLD INFO     adding volumes from meta-container: ['dld-dbpedia']
DLD INFO     adding volumes from meta-container: ['dld-dbpedia']
DLD INFO     Finished preparing compose setup. Changing to '/dld-dbpedia-wd' and performing 'docker-compose up'...
Starting dlddbpediawd_store_1
Starting dlddbpediawd_load_1
Attaching to dlddbpediawd_store_1, dlddbpediawd_load_1
store_1 | Reuse existing virtuoso.ini in database directory
store_1 | setting virtuoso dba password...
store_1 |
store_1 |               Mon Mar 28 2022
store_1 | 19:32:13 { Loading plugin 1: Type `plain', file `wikiv' in `/usr/lib/virtuoso/hosting'
store_1 | 19:32:13   FAILED  plugin 1: Unable to locate file }
store_1 | 19:32:13 { Loading plugin 2: Type `plain', file `mediawiki' in `/usr/lib/virtuoso/hosting'
store_1 | 19:32:13   FAILED  plugin 2: Unable to locate file }
store_1 | 19:32:13 { Loading plugin 3: Type `plain', file `creolewiki' in `/usr/lib/virtuoso/hosting'
store_1 | 19:32:13   FAILED  plugin 3: Unable to locate file }
store_1 | 19:32:13 OpenLink Virtuoso Universal Server
store_1 | 19:32:13 Version 07.20.3213-pthreads for Linux as of May 12 2015
store_1 | 19:32:13 uses parts of OpenSSL, PCRE, Html Tidy
store_1 | 19:32:13 Starting for DBA password change.
store_1 | 19:32:13 Database version 3126
store_1 | 19:32:13 SQL Optimizer enabled (max 1000 layouts)
store_1 | 19:32:14 Compiler unit is timed at 0.000098 msec
store_1 | 19:32:14 Roll forward started
store_1 | 19:32:14 Roll forward complete
store_1 | 19:32:15 PL LOG: Can't get list of vad packages in /usr/share/virtuoso/vad/
store_1 | 19:32:15 The DBA password is changed.
store_1 | 19:32:15 Checkpoint started
store_1 | 19:32:15 Checkpoint finished, log reused
store_1 | 19:32:15 Server exiting
store_1 | starting virtuoso...
store_1 |
store_1 |               Mon Mar 28 2022
store_1 | 19:32:15 { Loading plugin 1: Type `plain', file `wikiv' in `/usr/lib/virtuoso/hosting'
store_1 | 19:32:15   FAILED  plugin 1: Unable to locate file }
store_1 | 19:32:15 { Loading plugin 2: Type `plain', file `mediawiki' in `/usr/lib/virtuoso/hosting'
store_1 | 19:32:15   FAILED  plugin 2: Unable to locate file }
store_1 | 19:32:15 { Loading plugin 3: Type `plain', file `creolewiki' in `/usr/lib/virtuoso/hosting'
store_1 | 19:32:15   FAILED  plugin 3: Unable to locate file }
store_1 | 19:32:15 OpenLink Virtuoso Universal Server
store_1 | 19:32:15 Version 07.20.3213-pthreads for Linux as of May 12 2015
store_1 | 19:32:15 uses parts of OpenSSL, PCRE, Html Tidy
store_1 | 19:32:15 Database version 3126
store_1 | 19:32:15 SQL Optimizer enabled (max 1000 layouts)
store_1 | 19:32:16 Compiler unit is timed at 0.000098 msec
store_1 | 19:32:16 Roll forward started
store_1 | 19:32:16 Roll forward complete
store_1 | 19:32:16 PL LOG: Can't get list of vad packages in /usr/share/virtuoso/vad/
store_1 | 19:32:16 Checkpoint started
store_1 | 19:32:16 Checkpoint finished, log reused
store_1 | 19:32:16 HTTP/WebDAV server online at 8890
store_1 | 19:32:16 Server online at 1111 (pid 13)
load_1  | CRON_JOB=
load_1  | /virtuoso/cronscript.sh: line 4: [: =: unary operator expected
load_1  | [ERROR] git repo not given. Stop here.

Running the sample SPARQL query:

SELECT ?name ?birth ?death ?person WHERE {      ?person dbo:birthPlace :Berlin .      ?person dbo:birthDate ?birth .      ?person foaf:name ?name .      ?person dbo:deathDate ?death .      FILTER (?birth < "1900-01-01"^^xsd:date) . } ORDER BY ?name

Returns no results. Which to my understanding suggests the downloaded data was not loaded. According to docker the dbpedia_en volume does have some data on it:

dbpedia_en 4.874GB

Though that seems smaller than I expected.

Is there something I'm missing?

I'm running off wsl2, with:

No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 18.04.3 LTS
Release:        18.04
Codename:       bionic

If it matters, I ran the data download command from the windows host and the run-dld command from the Ubuntu side as there were permission issues running it from the windows side.

Docker engine info:

Client:
 Context:    default
 Debug Mode: false
 Plugins:
  buildx: Docker Buildx (Docker Inc., v0.7.1)
  compose: Docker Compose (Docker Inc., v2.2.3)
  scan: Docker Scan (Docker Inc., v0.17.0)
WARNING: Plugin "/usr/libexec/docker/cli-plugins/docker-app" is not valid: failed to fetch metadata: fork/exec /usr/libexec/docker/cli-plugins/docker-app: no such file or directory

Server:
 Containers: 6
  Running: 5
  Paused: 0
  Stopped: 1
 Images: 5
 Server Version: 20.10.12
 Storage Driver: overlay2
  Backing Filesystem: extfs
  Supports d_type: true
  Native Overlay Diff: true
  userxattr: false
 Logging Driver: json-file
 Cgroup Driver: cgroupfs
 Cgroup Version: 1
 Plugins:
  Volume: local
  Network: bridge host ipvlan macvlan null overlay
  Log: awslogs fluentd gcplogs gelf journald json-file local logentries splunk syslog
 Swarm: inactive
 Runtimes: runc io.containerd.runc.v2 io.containerd.runtime.v1.linux
 Default Runtime: runc
 Init Binary: docker-init
 containerd version: 7b11cfaabd73bb80907dd23182b9347b4245eb5d
 runc version: v1.0.2-0-g52b36a2
 init version: de40ad0
 Security Options:
  seccomp
   Profile: default
 Kernel Version: 5.10.102.1-microsoft-standard-WSL2
 Operating System: Docker Desktop
 OSType: linux
 Architecture: x86_64
 CPUs: 14
 Total Memory: 31.32GiB
 Name: docker-desktop
 ID: 7CNA:SSCB:N5XF:7J4D:EASR:KG6C:KUSG:SAN7:EEAE:2ZBP:PMYR:KNZN
 Docker Root Dir: /var/lib/docker
 Debug Mode: false
 Registry: https://index.docker.io/v1/
 Labels:
 Experimental: false
 Insecure Registries:
  hubproxy.docker.internal:5000
  127.0.0.0/8
 Live Restore Enabled: false

WARNING: No blkio throttle.read_bps_device support
WARNING: No blkio throttle.write_bps_device support
WARNING: No blkio throttle.read_iops_device support
WARNING: No blkio throttle.write_iops_device support
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant