Closed larrypl closed 2 years ago
Can you re-run with the --debug
flag and post the output?
/tmp/s is a download of the script, necessary because --debug doesn't work on piping to shells.
$ (curl -Ls --tlsv1.2 --proto "=https" --retry 3 https://cli.doppler.com/install.sh || wget -t 3 -qO- https://cli.doppler.com/install.sh) | sh --debug
Downloading Doppler CLI
ERROR: Binary download failed with status code 404.
Please report this issue:
https://github.com/DopplerHQ/cli/issues/new?template=bug_report.md&title=[BUG]%20Unexpected%20404%20using%20CLI%20install%20script
$ /tmp/s --debug
DEBUG: Detected OS 'macos'
DEBUG: Detected architecture 'amd64'
DEBUG: Detected format 'rpm'
DEBUG: Using /opt/local/bin/gpg for signature verification
DEBUG: Using temp directory /Users/larryp/.tmp.FbGDH8uK
Downloading Doppler CLI
DEBUG: Using /opt/local/bin/curl for requests
DEBUG: Downloading binary from https://cli.doppler.com/download?os=macos&arch=amd64&format=rpm&verify=1
DEBUG: Request failed with http status 404
DEBUG: Response headers:
DEBUG: HTTP/1.1 404 Not Found
Date: Tue, 11 Jan 2022 01:08:04 GMT
Content-Type: text/plain;charset=UTF-8
Content-Length: 14
Connection: keep-alive
Cache-Control: no-cache, no-store, max-age=0, must-revalidate
Expect-CT: max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"
Report-To: {"endpoints":[{"url":"https:\/\/a.nel.cloudflare.com\/report\/v3?s=osf2IgGyDPflxzf264fSQ6hmGz2437sbsA1PlSqk1xyGShm6EFAOOOAekfRoOghciumaKFAwI7t6sTOVSn2OH1YIp4f3h3I3DdTj%2FHjGaa1qMRn50XAHler5vY0V6rzCYg%3D%3D"}],"group":"cf-nel","max_age":604800}
NEL: {"success_fraction":0,"report_to":"cf-nel","max_age":604800}
Strict-Transport-Security: max-age=31536000; includeSubDomains; preload
X-Content-Type-Options: nosniff
Server: cloudflare
CF-RAY: 6cba40784d133b09-SJC
alt-svc: h3=":443"; ma=86400, h3-29=":443"; ma=86400, h3-28=":443"; ma=86400, h3-27=":443"; ma=86400
404
ERROR: Binary download failed with status code 404.
Please report this issue:
https://github.com/DopplerHQ/cli/issues/new?template=bug_report.md&title=[BUG]%20Unexpected%20404%20using%20CLI%20install%20script
DEBUG: Removing temp directory
It's pretty obvious the script is trying to download an RPM to a MacOS system, from the URL https://cli.doppler.com/download?os=macos&arch=amd64&format=rpm&verify=1
Definitely haven't seen this issue before. It seems to be detecting the rpm
binary on your machine. Could you post the output from running the following commands:
$ command -v rpm
$ rpm --help
/tmp/s is a download of the script, necessary because --debug doesn't work on piping to shells.
You need to add in the -s
flag, i.e. (curl ... || wget ...) | sh -s -- --debug
Describe the bug Install script gets 404 - not found
To Reproduce (curl -Ls --tlsv1.2 --proto "=https" --retry 3 https://cli.doppler.com/install.sh || wget -t 3 -qO- https://cli.doppler.com/install.sh) | sh
Expected behavior Not sure - a doppler binary installation and ?
Screenshots N/A
Desktop (please complete the following information): Darwin 20.6.0 Darwin Kernel Version 20.6.0: Wed Nov 10 22:23:07 PST 2021; root:xnu-7195.141.14~1/RELEASE_X86_64 x86_64
CLI Version: N/A
Additional context N/A.