genai-stack icon indicating copy to clipboard operation
genai-stack copied to clipboard

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

Open Arwin567 opened this issue 1 year ago • 1 comments

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

Arwin567 avatar Jul 09 '24 06:07 Arwin567

Should be fixed here: https://github.com/docker/genai-stack/pull/184

tomasonjo avatar Oct 30 '24 15:10 tomasonjo