-
Notifications
You must be signed in to change notification settings - Fork 55
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
Conflicts with latest Docker refactor and documentation #1687
Comments
Looking through #1439 perhaps also @ludovicm67 can help understand the new setup? If anyone else is currently struggling, for now I have reverted to the last Docker release before the change:
I think I understand that now the However, this gives me an error,
So it looks like the |
@ahankinson Sorry to hear about those problems + I have a few questions:
Overall, my impression is that you have been using QLever in a deprecated way for a long time and that deprecated way was broken by the recent changes to the |
Hi @hannahbast , and thanks for you response! I was looking at this documentation, particularly the "Start the engine" section: https://github.com/ad-freiburg/qlever/blob/master/docs/quickstart.md With the old Dockerfile I didn't need to use the Line 51 in 80938b7
I pasted a couple docker command lines. The one in the original post comes from the Quickstart documentation above (with some modification and re-ordering). The docker command in in my second message comes from the It's not that I don't want the new "goodies" -- far from it! I like to keep our installation up-to-date to take advantage of the new developments. But this particular change could use a bit more clarification on the setup and state of the machine. I didn't think I was using it in a deprecated way... There's even a "quickstart.md.DEPRECATED" file which I was not using... 😁 |
The latest round of refactoring on the Docker files has meant that all of the existing documentation for how to run Qlever with docker is out of date.
Some examples:
-u
shouldn't be used, but then several examples that do use it.docker
command be run as root? Or should there be aqlever
user on the host system? What privileges should this user have?After working through these I am trying to run it with the following command, and it still is not working. It's failing with a
usermod: no changes
error, and just keeps restarting. The basics of this command worked prior to the latest Dockerfile update, but I've made changes to the-v
argument (to point it to "/data"), added the-w
argument, and the two-e
arguments for UID / GID, after unsuccessfully trying to use-u
(until I saw the note in the bash file).docker run -d --restart unless-stopped -v /opt/qlever/qlever-indices/myindex:/data -w /data -e UID=$(id -u qlever) -e GID=$(id -g qlever) -p 7001:7001 -e INDEX_PREFIX=myindex -e MEMORY_FOR_QUERIES=4GB -e CACHE_MAX_SIZE_GB=30GB -e CACHE_MAX_SIZE_GB_SINGLE_ENTRY=5GB --name qlever.myindex adfreiburg/qlever
I would be grateful for any help in updating the command to work with the latest changes!
The text was updated successfully, but these errors were encountered: