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

Docker simple setup #1364

Open
NicoLaval opened this issue Jun 6, 2024 · 2 comments
Open

Docker simple setup #1364

NicoLaval opened this issue Jun 6, 2024 · 2 comments

Comments

@NicoLaval
Copy link

NicoLaval commented Jun 6, 2024

Hi,

I tried to instantiate the latest dockerhub Qlever release with a really simple cmd:

docker run adfreiburg/qlever -p 7001:7001

I had the following issue:

Error in command-line argument: '70' could not be parsed as a memory size. Examples for valid memory sizes are "4 B", "3.21 MB", "2.392 TB".
Options for ServerMain:
...

I tried to add -e MEMORY_FOR_QUERIES=1, -m 1 GB, it didn't succeed.

Independently from this issue, can you confirm that it's possible to start Qlever without initial indexed data? (and provide them later?)

@yarikoptic
Copy link
Contributor

confirming on a non-PR (see #1371 ) image and placing port option before image name and not having any 70 in it:

❯ docker run --name qlever --rm -p 7879:7879 adfreiburg/qlever:commit-e3dcc9c
Error in command-line argument: '70' could not be parsed as a memory size. Examples for valid memory sizes are "4 B", "3.21 MB", "2.392 TB".
  -h [ --help ]                         Produce this help message.
  -i [ --index-basename ] arg           The basename of the index files 
...

as for a newbee - yet to figure out how to try to use it...

@joka921
Copy link
Member

joka921 commented Jun 12, 2024

Hi,

  1. QLever currently doesn't support SPARQL UPDATE (the implementation is work in progress), so there is not much point in starting it without an index. It is possible to run the index builder first with an empty file as input, but there's not that much point in it.
  2. As the quickstart guide tells you (see the README.md), you should use the qlever-control script which can be installed via pip. We keep it in sync with all changes in the interface of the actual QLever binaries. In particular it optionally outputs the correct command line arguments to manual calls to the QLever binaries, should you ever need them.

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

3 participants