Skip to content

CasaOS Installer Fails to Download Gateway from Aliyun OSS #2208

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
BetterLuke opened this issue Mar 25, 2025 · 0 comments
Open

CasaOS Installer Fails to Download Gateway from Aliyun OSS #2208

BetterLuke opened this issue Mar 25, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@BetterLuke
Copy link

Bug Report: CasaOS Installer Fails to Download Gateway from Aliyun OSS

Description
The CasaOS installer fails to download the linux-arm64-casaos-gateway-v0.4.9-alpha4.tar.gz package from Aliyun OSS during installation, returning a [FAILED] error. This blocks completion of the installation process.

Reproduction Steps

  1. Run the official CasaOS installation command:
    curl -fsSL https://get.casaos.io | bash
  2. Observe the download failure when the installer attempts to fetch:
    https://casaos.oss-cn-shanghai.aliyuncs.com/IceWhaleTech/CasaOS-Gateway/releases/download/v0.4.9-alpha4/linux-arm64-casaos-gateway-v0.4.9-alpha4.tar.gz

Expected Behavior
The installer should either:
• Successfully download from Aliyun OSS, or
• Fall back to an alternative mirror (e.g., GitHub Releases) if the primary source is unavailable.

Error Evidence
Installation log snippet:

[ INFO ] Downloading https://casaos.oss-cn-shanghai.aliyuncs.com/.../linux-arm64-casaos-gateway-v0.4.9-alpha4.tar.gz...
[FAILED] Failed to download package

Debugging Information

  1. Manual download test (fails):
    curl -I https://casaos.oss-cn-shanghai.aliyuncs.com/.../linux-arm64-casaos-gateway-v0.4.9-alpha4.tar.gz
    # Returns: HTTP/2 403 (or timeout)
  2. Successful download test from GitHub:
    wget https://github.com/IceWhaleTech/CasaOS-Gateway/releases/download/v0.4.9-alpha4/linux-arm64-casaos-gateway-v0.4.9-alpha4.tar.gz
    # Downloads successfully

Suggested Fixes

  1. Add GitHub Releases as a fallback mirror.
  2. Verify Aliyun OSS bucket permissions/availability.
  3. Update installation scripts to handle download failures gracefully.

System Info
• Affected Architecture: arm64
• Installer Version: v0.4.9-alpha4
• Observed in: Raspberry Pi OS, Ubuntu Server (arm64)


This version:
✔️ Focuses exclusively on the OSS download issue
✔️ Provides verifiable failure/success cases
✔️ Suggests actionable solutions
✔️ Omits unrelated details (e.g., UID warnings)

Submit this to: CasaOS GitHub Issues with labels bug and arm64.

@BetterLuke BetterLuke added the bug Something isn't working label Mar 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant