Failed to install

When I install Caddy for my server,it’s look like cant install it.Another server is the same message.
[root@*** ~]# curl https://getcaddy.com | bash -s personal http.filebrowser,http.ipfilter
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 7380 100 7380 0 0 13263 0 --:–:-- --:–:-- --:–:-- 13273
Downloading Caddy for linux/amd64 (personal license)…
curl: (22) The requested URL returned error: 500 Internal Server Error
Aborted, error 22 in command: curl -fsSL “$caddy_url” -u “$CADDY_ACCOUNT_ID:$CADDY_API_KEY” -o “$dl”

When I remove plugin,show different message:
[root@*** ~]# curl https://getcaddy.com | bash -s personal
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 7380 100 7380 0 0 13495 0 --:–:-- --:–:-- --:–:-- 13491
Downloading Caddy for linux/amd64 (personal license)…
Download verification OK
Extracting…
Putting caddy in /usr/local/bin (may require password)
bash: line 237: caddy: command not found
Aborted, error 127 in command: $caddy_bin -version

One or both of these two plugins is not working at the moment and the build server can’t provide it. This is likely to be fixed in time.

Looks like Caddy downloaded and verified OK but when the script tried to invoke it it failed.

Is /usr/local/bin missing from your PATH?

Try /usr/local/bin/caddy -version.

1 Like

/usr/local/bin/caddy -version command It’s work.

Caddy v1.0.0 (h1:KI6RPGih2GFzWRPG8s9clKK28Ns4ZlVMKR/v7mxq6+c=)

but when I use which caddy ,show:

/usr/bin/which: no caddy in (/usr/local/sbin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin)

Note that /usr/local/bin is not present in your PATH, which is /usr/local/sbin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin.

You’ll need to add it if you want to invoke it without supplying the absolute filepath every time. Alternately, you could move the Caddy binary to one of those folders that’s already in your PATH.

1 Like

It’s work.Thanks.

1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.