[PR #12499] INSTALL.SH: Improve robustness for unreliable connections #60545

Open
opened 2026-04-29 15:33:58 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/12499
Author: @Alogani
Created: 10/4/2025
Status: 🔄 Open

Base: mainHead: main


📝 Commits (1)

  • c249744 INSTALL.SH: Improve robustness for unreliable connections

📊 Changes

1 file changed (+5 additions, -5 deletions)

View changed files

📝 scripts/install.sh (+5 -5)

📄 Description

Improve install.sh robustness for unreliable connections (#12478)

Adds --connect-timeout, --retry, --retry-delay, and --retry-max-time options to all curl commands in install.sh to better handle network interruptions and increase installation reliability, as proposed in issue #12478. Non-intrusive patch that improves user experience on slow or unstable networks.

This fix has been tested in ubuntu x86 codespace container. Furthermore, even if retry is set high, this is intended behaviour, the user can still cancel a download with SIGINT (ctrl+c)


🔄 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/12499 **Author:** [@Alogani](https://github.com/Alogani) **Created:** 10/4/2025 **Status:** 🔄 Open **Base:** `main` ← **Head:** `main` --- ### 📝 Commits (1) - [`c249744`](https://github.com/ollama/ollama/commit/c249744bb98f0385674b5b5f4a46f541435961c5) INSTALL.SH: Improve robustness for unreliable connections ### 📊 Changes **1 file changed** (+5 additions, -5 deletions) <details> <summary>View changed files</summary> 📝 `scripts/install.sh` (+5 -5) </details> ### 📄 Description Improve [install.sh](https://github.com/ollama/ollama/blob/main/scripts/install.sh) robustness for unreliable connections (#12478) Adds --connect-timeout, --retry, --retry-delay, and --retry-max-time options to all curl commands in install.sh to better handle network interruptions and increase installation reliability, as proposed in issue #12478. Non-intrusive patch that improves user experience on slow or unstable networks. This fix has been tested in ubuntu x86 codespace container. Furthermore, even if retry is set high, this is intended behaviour, the user can still cancel a download with SIGINT (ctrl+c) --- <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 15:33:58 -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#60545