r3: GeoIP refresh 20260813 (Country/City + ASN-derived ISP db) on top of r2
This commit is contained in:
@@ -12,7 +12,7 @@ fallback.
|
||||
|
||||
1. Pre-flight checks — root, Ubuntu 20.04/22.04/24.04, x86_64, RAM/disk, re-install guard
|
||||
2. Installs missing deps (`wget`, `unzip`, `tar`)
|
||||
3. Downloads `XUI_1.5.13-r2.zip` (~659 MB, r2 runtime repack) from the Gitea mirror (falls back to GitHub)
|
||||
3. Downloads `XUI_1.5.13-r3.zip` (~659 MB, r3 runtime repack) from the Gitea mirror (falls back to GitHub)
|
||||
4. Verifies the SHA-256 checksum (on by default)
|
||||
5. Extracts `install`, `database.sql`, `xui.tar.gz`
|
||||
6. Runs the bundled `./install` **non-interactively** — auto-generates a valid
|
||||
@@ -55,8 +55,8 @@ and the one-liner picks it up, no version bump needed.
|
||||
The 661 MB release is hosted on our Gitea, publicly downloadable with **no auth**:
|
||||
|
||||
```
|
||||
https://git.ops01.hprx.zip/api/packages/seed/generic/xui/1.5.13-r2/XUI_1.5.13-r2.zip
|
||||
sha256: 73e6aabcb279f7df50b6fd94d2a0a8871c1afa31209fb3d23a377794d6140252 (r2: PHP 7.4.33, ionCube 15.5, patched LB/proxy payloads; stock 1.5.13 kept for rollback)
|
||||
https://git.ops01.hprx.zip/api/packages/seed/generic/xui/1.5.13-r3/XUI_1.5.13-r3.zip
|
||||
sha256: 4cc7d31074dcfd5497235039773c75257051089382cb5b6a138da991fe732234 (r3: PHP 7.4.33, ionCube 15.5, GeoIP 2026-08-13 refresh, patched LB/proxy payloads; stock 1.5.13 + r2 kept for rollback)
|
||||
```
|
||||
|
||||
Re-uploading later (e.g. a new version) — from any box with the Gitea token:
|
||||
@@ -117,7 +117,7 @@ To pull a local copy anytime:
|
||||
|
||||
```bash
|
||||
curl -L -o release/XUI_1.5.13.zip \
|
||||
"https://git.ops01.hprx.zip/api/packages/seed/generic/xui/1.5.13-r2/XUI_1.5.13-r2.zip"
|
||||
"https://git.ops01.hprx.zip/api/packages/seed/generic/xui/1.5.13-r3/XUI_1.5.13-r3.zip"
|
||||
```
|
||||
|
||||
## Credentials
|
||||
|
||||
+3
-3
@@ -16,11 +16,11 @@ set -euo pipefail
|
||||
# ---------------------------------------------------------------------------
|
||||
# Config
|
||||
# ---------------------------------------------------------------------------
|
||||
RELEASE_NAME="XUI_1.5.13-r2.zip"
|
||||
RELEASE_NAME="XUI_1.5.13-r3.zip"
|
||||
|
||||
# Primary download source: self-hosted Gitea generic-package mirror (fast, under
|
||||
# our control). Override with the XUI_URL env var to point elsewhere.
|
||||
DEFAULT_URL="https://git.ops01.hprx.zip/api/packages/seed/generic/xui/1.5.13-r2/${RELEASE_NAME}"
|
||||
DEFAULT_URL="https://git.ops01.hprx.zip/api/packages/seed/generic/xui/1.5.13-r3/${RELEASE_NAME}"
|
||||
URL="${XUI_URL:-$DEFAULT_URL}"
|
||||
|
||||
# Fallback source: the upstream XUIPatch GitHub release. Tried automatically if
|
||||
@@ -29,7 +29,7 @@ FALLBACK_URL="${XUI_FALLBACK_URL:-https://github.com/xuione/XUIPatch/releases/do
|
||||
|
||||
# Integrity check: known-good SHA-256 of XUI_1.5.13.zip. Verified before extract.
|
||||
# Override/clear with the XUI_SHA256 env var (set to "" to skip).
|
||||
EXPECTED_SHA256="${XUI_SHA256-73e6aabcb279f7df50b6fd94d2a0a8871c1afa31209fb3d23a377794d6140252}"
|
||||
EXPECTED_SHA256="${XUI_SHA256-4cc7d31074dcfd5497235039773c75257051089382cb5b6a138da991fe732234}"
|
||||
|
||||
WORKDIR="${XUI_WORKDIR:-/opt/xui_install}"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user