Skip to content

Could not open file "wikidata.meta-data.json" for reading. Possible causes: The file does not exist or the permissions are insufficient. #238

@harej

Description

@harej

I am setting up Wikidata following your instructions. It is looking for a wikidata.meta-data.json even though none of the prior steps created this file, nor does your documentation explain where this file is or how to produce one. I also do not know why it is looking in that path, unless that is the path inside of the container.

(venv) jh@orb-qlever:/app/qlever$ qlever start

To enable autocompletion, run the following command, and consider adding it to your `.bashrc` or `.zshrc`:

eval "$(register-python-argcomplete qlever)" && export QLEVER_ARGCOMPLETE_ENABLED=1


Command: start

docker run -d --restart=unless-stopped -u $(id -u):$(id -g) -v /etc/localtime:/etc/localtime:ro -v $(pwd):/index -p 7001:7001 -w /index --name qlever.server.wikidata --init --entrypoint bash adfreiburg/qlever -c 'ServerMain -i wikidata -j 8 -p 7001 -m 128G -c 100G -e 5G -k 200 -s 600s -a wikidata_g6wp2BZaNoSd > wikidata.server-log.txt 2>&1'

Follow wikidata.server-log.txt until the server is ready (Ctrl-C stops following the log, but NOT the server)

2025-12-22 15:20:36.650 - INFO: QLever Server, compiled on Sat Dec 20 02:26:59 UTC 2025 using git hash 394482
2025-12-22 15:20:36.652 - INFO: Initializing server ...
2025-12-22 15:20:36.653 - ERROR: Could not open file "wikidata.meta-data.json" for reading. Possible causes: The file does not exist or the permissions are insufficient. The absolute path is "/index/wikidata.meta-data.json".
tail: wikidata.server-log.txt: file truncated
2025-12-22 15:20:37.269 - INFO: QLever Server, compiled on Sat Dec 20 02:26:59 UTC 2025 using git hash 394482
2025-12-22 15:20:37.270 - INFO: Initializing server ...
2025-12-22 15:20:37.271 - ERROR: Could not open file "wikidata.meta-data.json" for reading. Possible causes: The file does not exist or the permissions are insufficient. The absolute path is "/index/wikidata.meta-data.json".
tail: wikidata.server-log.txt: file truncated
2025-12-22 15:20:37.910 - INFO: QLever Server, compiled on Sat Dec 20 02:26:59 UTC 2025 using git hash 394482
2025-12-22 15:20:37.912 - INFO: Initializing server ...
2025-12-22 15:20:37.913 - ERROR: Could not open file "wikidata.meta-data.json" for reading. Possible causes: The file does not exist or the permissions are insufficient. The absolute path is "/index/wikidata.meta-data.json".
tail: wikidata.server-log.txt: file truncated
2025-12-22 15:20:38.628 - INFO: QLever Server, compiled on Sat Dec 20 02:26:59 UTC 2025 using git hash 394482
2025-12-22 15:20:38.630 - INFO: Initializing server ...
2025-12-22 15:20:38.631 - ERROR: Could not open file "wikidata.meta-data.json" for reading. Possible causes: The file does not exist or the permissions are insufficient. The absolute path is "/index/wikidata.meta-data.json".
Ctrl-C pressed, exiting ...

(venv) jh@orb-qlever:/app/qlever$ 

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions