ory / cli

Create bulk action scripts, automate your tasks, manage your projects, and seamlessly interact with the Ory Network using the Ory command line interface (CLI).
https://www.ory.sh/cli?utm_source=github&utm_medium=banner&utm_campaign=cli
Apache License 2.0
43 stars 22 forks source link

cli: SIGSEV on fresh install #310

Open Karitham opened 1 year ago

Karitham commented 1 year ago

Preflight checklist

Describe the bug

❯ curl https://raw.githubusercontent.com/ory/meta/master/install.sh | sh -s ory % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 9970 100 9970 0 0 56713 0 --:--:-- --:--:-- --:--:-- 56971 ory/ info checking GitHub for latest tag ory/ info found version: 0.2.2 for v0.2.2/linux/64bit ory/ info installed ./bin/ory

❯ ./bin/ory fish: Job 1, './bin/ory' terminated by signal SIGSEGV (Address boundary error)

Reproducing the bug

Using the pre-made install command results in an runtime error

Relevant log output

No response

Relevant configuration

❯ uname -sa
Linux nixos 6.1.31 #1-NixOS SMP PREEMPT_DYNAMIC Tue May 30 13:03:33 UTC 2023 x86_64 GNU/Linux

Version

latest

On which operating system are you observing this issue?

Linux

In which environment are you deploying?

Ory Network

Additional Context

Also tried to go install the cli, but it fails since it has replace directive, doesn't matter for the bug at hand though

aeneasr commented 1 year ago

I have unfortunately no idea what the problem could be here. But it might be related to go cross compiling or some Nix specific CGO issue. Try running the Ory CLI commands in a Docker container, that should work!