jexia / semaphore

Take control of your data, connect with anything, and expose it anywhere through protocols such as HTTP, GraphQL, and gRPC.

Home Page:https://jexia.github.io/semaphore/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Unable to install Semaphore with curl + sh

jeroenrinzema opened this issue · comments

Hi,

I am trying to run Semaphore on Ubuntu and executing below command.

$ curl -k https://raw.githubusercontent.com/jexia/semaphore/master/install.sh | sh -s -- -b ./bin v2.0.0-beta.19
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  9626  100  9626    0     0   4022      0  0:00:02  0:00:02 --:--:--  4020
jexia/semaphore info checking GitHub for tag 'v2.0.0-beta.19'
jexia/semaphore crit unable to find 'v2.0.0-beta.19' - use 'latest' or see https://github.com/jexia/semaphore/releases for details

But getting above mentioned error. Is there anything wrong in command. Could you please help me?

Originally posted by @Purushottamlpa in #94 (comment)

👋 @Purushottamlpa, thanks for the report. Would you be able to run the command again with debugging enabled?

$ curl https://raw.githubusercontent.com/jexia/semaphore/master/install.sh | sh -s -- -d -b ./bin v2.0.0-beta.19

@jeroenrinzema, thanks for your response. Tried with above command. Please find response:

curl -k https://raw.githubusercontent.com/jexia/semaphore/master/install.sh | sh -s -- -d -b  ./bin v2.0.0-beta.19
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  9626  100  9626    0     0   6210      0  0:00:01  0:00:01 --:--:--  6210
jexia/semaphore info checking GitHub for tag 'v2.0.0-beta.19'
jexia/semaphore debug http_download https://github.com/jexia/semaphore/releases/v2.0.0-beta.19
jexia/semaphore debug http_download_curl received HTTP status 000
jexia/semaphore crit unable to find 'v2.0.0-beta.19' - use 'latest' or see https://github.com/jexia/semaphore/releases for details

@Purushottamlpa, the received HTTP status code is 000 which often means that a network error occurred. Would you be able to check if you are able to resolve the DNS for github.com and githubusercontent.com?

$ dig github.com
$ dig githubusercontent.com

In the meantime would you be able to download the binaries manually from the latest release. Please select a linux binary for your CPU architecture.

@jeroenrinzema, thanks again. I made semaphore up with binaries.