[PR #5487] [MERGED] fix(install): support IPv6-only hosts #5896

Closed
opened 2026-11-02 04:04:52 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/MHSanaei/3x-ui/pull/5487
Author: @m4tinbeigi-official
Created: 6/22/2026
Status: ✅ Merged
Merged: 6/22/2026
Merged by: @MHSanaei

Base: main ← Head: fix/ipv6-only-install-curl


📝 Commits (3)

  • 93d0d1f fix(install): support IPv6-only hosts
  • 29575a0 fixup: complete IPv6-only install and update support
  • d38082d fixup: remove no-op download retries

📊 Changes

2 files changed (+16 additions, -35 deletions)

View changed files

📝 install.sh (+9 -13)
📝 update.sh (+7 -22)

📄 Description

Fixes #5472

This updates the installer and updater to work on IPv6-only hosts by removing forced IPv4 curl usage.

Previously, install/update download paths used curl -4, which fails on servers without native IPv4 connectivity.

Changes:

  • remove forced IPv4 usage from install.sh download paths
  • remove the now no-op fallback latest-version retry from install.sh
  • remove forced IPv4 usage from update.sh download paths
  • keep existing retry, timeout, and redirect behavior
  • leave deploy/test/smoke-firstboot.sh unchanged because it is not a user-facing install/update path

Verification:

  • bash -n install.sh
  • bash -n update.sh
  • confirmed no curl -4 remains in install.sh or update.sh

🔄 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/MHSanaei/3x-ui/pull/5487 **Author:** [@m4tinbeigi-official](https://github.com/m4tinbeigi-official) **Created:** 6/22/2026 **Status:** ✅ Merged **Merged:** 6/22/2026 **Merged by:** [@MHSanaei](https://github.com/MHSanaei) **Base:** `main` ← **Head:** `fix/ipv6-only-install-curl` --- ### 📝 Commits (3) - [`93d0d1f`](https://github.com/MHSanaei/3x-ui/commit/93d0d1f242c8a11b95b2a01681ee61619af19f5a) fix(install): support IPv6-only hosts - [`29575a0`](https://github.com/MHSanaei/3x-ui/commit/29575a0545731268e9c16da034c1be4a765ae7e8) fixup: complete IPv6-only install and update support - [`d38082d`](https://github.com/MHSanaei/3x-ui/commit/d38082db79d0fb4e14c72ae316aa31c6c426c614) fixup: remove no-op download retries ### 📊 Changes **2 files changed** (+16 additions, -35 deletions) <details> <summary>View changed files</summary> 📝 `install.sh` (+9 -13) 📝 `update.sh` (+7 -22) </details> ### 📄 Description Fixes #5472 This updates the installer and updater to work on IPv6-only hosts by removing forced IPv4 curl usage. Previously, install/update download paths used `curl -4`, which fails on servers without native IPv4 connectivity. Changes: - remove forced IPv4 usage from install.sh download paths - remove the now no-op fallback latest-version retry from install.sh - remove forced IPv4 usage from update.sh download paths - keep existing retry, timeout, and redirect behavior - leave deploy/test/smoke-firstboot.sh unchanged because it is not a user-facing install/update path Verification: - `bash -n install.sh` - `bash -n update.sh` - confirmed no `curl -4` remains in `install.sh` or `update.sh` --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-02 04:04:52 +07:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
MHSanaei/3x-ui#5896
No description provided.