[PR #9404] [CLOSED] Allow Skipping Update Checker (OLLAMA_NO_UPDATE_CHECKS=true) #59647

Closed
opened 2026-04-29 14:34:59 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/9404
Author: @SmilerRyan
Created: 2/27/2025
Status: Closed

Base: mainHead: main


📝 Commits (1)

  • db02b79 Skip Update Checks if OLLAMA_NO_UPDATE_CHECKS=true

📊 Changes

2 files changed (+9 additions, -1 deletions)

View changed files

📝 app/lifecycle/lifecycle.go (+5 -1)
📝 docs/faq.md (+4 -0)

📄 Description

Some users (like me) prefer to keep their current stable build without unexpected updates, helps maintain setups that rely on specific versions, and prevents unnecessary downloads, disk space and bandwidth.

This PR attempts to fix #6024, allowing the update checker to be disabled via the OLLAMA_NO_UPDATE_CHECKS environment variable. It also partially addresses #6782 by preventing updates on portable or non-standard installations.

Here's an example of a non-standard version I have.
This one is packaged with a Chat UI, so I'd like to keep fixed at a specific version.

image


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/ollama/ollama/pull/9404 **Author:** [@SmilerRyan](https://github.com/SmilerRyan) **Created:** 2/27/2025 **Status:** ❌ Closed **Base:** `main` ← **Head:** `main` --- ### 📝 Commits (1) - [`db02b79`](https://github.com/ollama/ollama/commit/db02b792dc61f5ab688a85d52b638459632418f4) Skip Update Checks if OLLAMA_NO_UPDATE_CHECKS=true ### 📊 Changes **2 files changed** (+9 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `app/lifecycle/lifecycle.go` (+5 -1) 📝 `docs/faq.md` (+4 -0) </details> ### 📄 Description Some users (like me) prefer to keep their current stable build without unexpected updates, helps maintain setups that rely on specific versions, and prevents unnecessary downloads, disk space and bandwidth. This PR attempts to fix #6024, allowing the update checker to be disabled via the OLLAMA_NO_UPDATE_CHECKS environment variable. It also partially addresses #6782 by preventing updates on portable or non-standard installations. Here's an example of a non-standard version I have. This one is packaged with a Chat UI, so I'd like to keep fixed at a specific version. ![image](https://github.com/user-attachments/assets/3095aca4-75cb-45f0-8a6a-ba6f8d04c6ee) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-04-29 14:34:59 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#59647