Title: Issue with custom install path: Gibberish output and files still saving to AppData
Description
I am attempting to move my local AI setup to a non-system drive (D:). Previously, a default C: drive installation of Ollama and AnythingLLM worked flawlessly on my machine (i5-14400, 32GB RAM, Intel iGPU).
I used your script to install to a custom path: D:\zAI\Ollama. While the installation completes without hard errors, I am running into two major issues.
Steps to Reproduce
- Ran the script targeting
D:\zAI\Ollama.
- Set the system environment variable:
OLLAMA_MODELS=D:\zAI\OllamaModels (Note: Please update this path to match your exact setup before posting!).
- Started AnythingLLM and connected to Ollama.
- Downloaded and ran
gemma4:2b. I verified the Hash.
- Sent a simple "Hello" query.
Expected Behavior
- The model should output coherent responses.
- All application data, models, and cache files should stay confined to the designated
D: drive path.
Actual Behavior
- Gibberish Output: The model responds with grammatically correct, real words and full sentences, but they are completely unrelated to the prompt (e.g., answering "Hello" with a random string of unrelated thoughts).
- Data Leakage to C: Drive: Even with the script and environment variables active, roughly 2GB to 7GB of data is still being written to
C:\Users\<myUser>\AppData. (Note: Specify if this is in AppData\Local\Ollama or AppData\Roaming\anythingllm-desktop).
I have clean-uninstalled and retried this process 4 times with the exact same result. I even tried a different model: Phi-3.5 Mini 3.8B with the same results.
Title: Issue with custom install path: Gibberish output and files still saving to AppData
Description
I am attempting to move my local AI setup to a non-system drive (
D:). Previously, a default C: drive installation of Ollama and AnythingLLM worked flawlessly on my machine (i5-14400, 32GB RAM, Intel iGPU).I used your script to install to a custom path:
D:\zAI\Ollama. While the installation completes without hard errors, I am running into two major issues.Steps to Reproduce
D:\zAI\Ollama.OLLAMA_MODELS=D:\zAI\OllamaModels(Note: Please update this path to match your exact setup before posting!).gemma4:2b. I verified the Hash.Expected Behavior
D:drive path.Actual Behavior
C:\Users\<myUser>\AppData. (Note: Specify if this is in AppData\Local\Ollama or AppData\Roaming\anythingllm-desktop).I have clean-uninstalled and retried this process 4 times with the exact same result. I even tried a different model: Phi-3.5 Mini 3.8B with the same results.