ERROR invalid setting OLLAMA_MODELS="" error="$HOME is not defined"
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 25/100
Research direction
No files, tests, or entry points are named. Start by reviewing the Docker Compose configuration and environment handling for OLLAMA_MODELS, then reproduce the reported database and model-pull logs; done means the stack starts without the invalid-setting or Neo4j permission errors.
Written by the indexing model from the issue text.
Description
genai-stack-database-1 |
genai-stack-database-1 | Folder /data is not accessible for user: 7474 or group 7474. This is commonly a file permissions issue on the mounted folder.
genai-stack-database-1 |
genai-stack-database-1 | Hints to solve the issue:
genai-stack-database-1 | 1) Make sure the folder exists before mounting it. Docker will create the folder using root permissions before starting the Neo4j container. The root permissions disallow Neo4j from writing to the mounted folder.
genai-stack-database-1 | 2) Pass the folder owner's user ID and group ID to docker run, so that docker runs as that user.
genai-stack-database-1 | If the folder is owned by the current user, this can be done by adding this flag to your docker run command:
genai-stack-database-1 | --user=$(id -u):$(id -g)
genai-stack-database-1 |
genai-stack-database-1 |
genai-stack-pull-model-1 | pulling ollama model llama3 using http://host.docker.internal:11434
genai-stack-pull-model-1 | 2024/07/09 06:51:25 ERROR invalid setting OLLAMA_MODELS="" error="$HOME is not defined"
genai-stack-database-1 exited with code 1
Facing the above error, Can't find OLLAMA_MODELS="" . Please help
- Dominant language
- Python
- Stars
- 5.4k
- Forks
- 1.2k
- PR merge metrics
- No merged PRs in 30d
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from docker/genai-stack
-
Difficulty 4/5 3-5 days Newbie friendliness 15/100
docker/genai-stack#207 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 25/100
docker/genai-stack#205 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
docker/genai-stack#203 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
docker/genai-stack#195 · 3 comments ·
-
Bot is unresponsive Open
Difficulty 4/5 3-5 days Newbie friendliness 35/100
docker/genai-stack#194 · 1 comment ·
All issues in docker/genai-stack
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100