You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to get some samples working again for myself and I try to figure out what to do.
In the Dockerfile, it gives an example how to run the indexer.
I run docker as root on this test server so I would not expect any permission issues but I get:
root@myhost /srv/qlever-home # DB=pagerank; docker run -it --rm -v "$(pwd)":/index --entrypoint bash --name qlever.$DB-index adfreiburg/qlever -c "IndexBuilderMain -f /index/$DB.nt.gz -i /index/$DB -s /index/$DB.settings.json | tee /index/$DB.index-log.txt"; rm -f $DB/*tmp*
tee: /index/pagerank.index-log.txt: Permission denied
2024-05-14 12:32:15.642 - INFO: QLever IndexBuilder, compiled on Mon May 6 10:34:56 UTC 2024 using git hash 8ffe9a
2024-05-14 12:32:15.642 - ERROR: ! ERROR opening file "/index/.stxxl" with mode "w" (Permission denied)
And somewhat related: I saw there are hints about a MacOS build in the git commits but I can't seem to find a binary anywhere, is one published? If so, where?
The text was updated successfully, but these errors were encountered:
@ktk Have you tried https://pypi.org/project/qlever ? You can simply install it with pip3 install qlever and from then on it's self-explanatory. The script can either run the various commands for you, or you can just use it to show you the native commands and (modify them) and run them yourself. For example, qlever index --show will show you the command for building the index. The script wants a Qleverfile. You can download one of the preconfigured ones using qlever setup-config ... and modify it according to your needs.
It's a common problem with Docker that you don't have access to a directory even when running as root. In particular (but not only), this happens for directories mounted via NFS. One solution is to run docker with option -u $(id -u):$(id -g). A simple workaround is to just make the directory writable for everyone using chmod 777 ....
I'm trying to get some samples working again for myself and I try to figure out what to do.
In the Dockerfile, it gives an example how to run the indexer.
I run docker as root on this test server so I would not expect any permission issues but I get:
And somewhat related: I saw there are hints about a MacOS build in the git commits but I can't seem to find a binary anywhere, is one published? If so, where?
The text was updated successfully, but these errors were encountered: