[GH-ISSUE #4771] Ignoring env, being weird with env #3006

Closed
opened 2026-04-12 13:24:19 -05:00 by GiteaMirror · 1 comment
Owner

Originally created by @RealMrCactus on GitHub (Jun 1, 2024).
Original GitHub issue: https://github.com/ollama/ollama/issues/4771

What is the issue?

I use systemctl edit to make an override and set OLLAMA_HOST to 0.0.0.0 within the bounds of where it should be and it says its out of bounds in systemctl status i edit the service file directly to add it and it hosts on [::]:11434 instead

OS

Linux

GPU

Nvidia

CPU

Intel

Ollama version

0.1.39

Originally created by @RealMrCactus on GitHub (Jun 1, 2024). Original GitHub issue: https://github.com/ollama/ollama/issues/4771 ### What is the issue? I use systemctl edit to make an override and set OLLAMA_HOST to 0.0.0.0 within the bounds of where it should be and it says its out of bounds in systemctl status i edit the service file directly to add it and it hosts on `[::]:11434` instead ### OS Linux ### GPU Nvidia ### CPU Intel ### Ollama version 0.1.39
GiteaMirror added the bug label 2026-04-12 13:24:19 -05:00
Author
Owner

@pdevine commented on GitHub (Sep 16, 2024):

Hi @RealMrCactus , sorry for the delay responding. Check out the FAQ which describes how to set the environment variable. Use journalctl -u ollama --no-pager to check the ollama logs and see what OLLAMA_HOST got set to (it should be at the top of the logs).

I'll go ahead and close the issue.

<!-- gh-comment-id:2354228931 --> @pdevine commented on GitHub (Sep 16, 2024): Hi @RealMrCactus , sorry for the delay responding. Check out the [FAQ](https://github.com/ollama/ollama/blob/main/docs/faq.md#setting-environment-variables-on-linux) which describes how to set the environment variable. Use `journalctl -u ollama --no-pager` to check the ollama logs and see what `OLLAMA_HOST` got set to (it should be at the top of the logs). I'll go ahead and close the issue.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#3006