Skip to content
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

ERROR invalid setting OLLAMA_MODELS="" error="$HOME is not defined" #167

Open
Arwin567 opened this issue Jul 9, 2024 · 1 comment
Open

Comments

@Arwin567
Copy link

Arwin567 commented Jul 9, 2024

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

@tomasonjo
Copy link
Collaborator

Should be fixed here: #184

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants