Quantcast
Channel: Weaviate Community Forum - Latest posts
Viewing all articles
Browse latest Browse all 3605

Couldn't connect to Weaviate, check your URL/API KEY: [Errno 30] Read-only file system:

$
0
0

This has worked for me.

try this:

mkdir -p /tmp/nan-temp/data
cd /tmp/nan-temp
export XDG_DATA_HOME=/tmp/nan-temp/data
echo "import weaviate
client = weaviate.connect_to_embedded()
client.close()" > app.py
python3 app.py
ls data/

this should be the output:

{“action”:“startup”,“build_git_commit”:“ab0312d5d”,“build_go_version”:“go1.23.1”,“build_image_tag”:“localhost”,“build_wv_version”:“1.26.6”,“default_vectorizer_module”:“none”,“level”:“info”,“msg”:“the default vectorizer modules is set to "none", as a result all new schema classes without an explicit vectorizer setting, will use this vectorizer”,“time”:“2024-11-01T11:22:15-03:00”}

some logs here…

{“build_git_commit”:“ab0312d5d”,“build_go_version”:“go1.23.1”,“build_image_tag”:“localhost”,“build_wv_version”:“1.26.6”,“level”:“info”,“msg”:“closing raft-rpc server …”,“time”:“2024-11-01T11:22:19-03:00”}
classifications.db migration1.22.fs.hierarchy schema.db
migration1.19.filter2search.skip.flag modules.db
migration1.19.filter2search.state raft

Let me know if this works.

This will basically set the correct data path, create the path, run the server locally, close the connection, and list the provided data path

:slight_smile:


Viewing all articles
Browse latest Browse all 3605

Trending Articles