hasura / hasura/graphql-engine

Error when installing CLI on Raspberry Pi 5

Open
#10,291 0 comments 0 reactions 0 assignees View on GitHub
k/v3-bug
Dominant language
TypeScript
Stars
32.1k
Forks
3k
PR merge metrics
PR metrics pending

Description

### Component

`CLI` `c/v3-cli`

(can't add label to the issue)

### What is the current behaviour?

```sh
$ curl -L http://graphql-engine-cdn.hasura.io/ddn/cli/v2/get.sh | bash
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 3375 100 3375 0 0 17404 0 --:--:-- --:--:-- --:--:-- 17396
--> Selecting version...
--> Selected version: latest
-->
--> NOTE: Install a specific version of the CLI by using VERSION variable
--> curl -L https://graphql-engine-cdn.hasura.io/ddn/cli/v2/get.sh | VERSION=2024.06.06 bash
-->
--> Downloading DDN for linux-arm64 to /tmp/cli-ddn-linux-arm64
curl: (22) The requested URL returned error: 404

FAILED> failed executing: curl -L# -f -o /tmp/cli-ddn-linux-arm64 https://graphql-engine-cdn.hasura.io/ddn/cli/v2/latest/cli-ddn-linux-arm64
```

### What is the expected behaviour?

It should install CLI correctly

### How to reproduce the issue?

1. Raspberry Pi 5 clean installation
2. Run `curl -L http://graphql-engine-cdn.hasura.io/ddn/cli/v2/get.sh | bash` (taken from [docs](https://hasura.io/docs/3.0/getting-started/prerequisites))

### Please provide any traces or logs that could help here.

Specs:
https://www.linkedin.com/pulse/introduction-raspberry-pi-5-specs-harshvardhan-mishra-wkbmf/

### Any possible solutions/workarounds you're aware of?

None

### Keywords

Hasura DDN Raspberry Pi 5 ARM64 Failed Executing cli-ddn-linux-arm64 cli installation

Contributor guide

Open the contributing guide

Research direction

Start with the documented `curl -L http://graphql-engine-cdn.hasura.io/ddn/cli/v2/get.sh | bash` command and inspect the `get.sh` installer referenced by the failure. Reproduce on a Raspberry Pi 5, trace why the `linux-arm64` download URL returns 404, and verify that the documented installation completes successfully.

Written by the indexing model from the issue text.

Assessment

Tech stack
linux, raspberry-pi, shell
Domain
cli, operating-systems
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.