Open perrin opened 3 years ago
had same exact issue. no time to triage so had to revert.
@dcd How could we do this in Unraid? I tried looking in the template and the appdata files but couldnt find where I could make similar changes.
@Swagnoor19 I just spent the evening trying to get this sorted. Will be a quick-ish fix for now, I'll work on massaging it into something for a PR later.
docker exec -it Pihole-DoT-DoH /bin/bash
curl -L -H "Accept: application/octet-stream" https://api.github.com/repos/cloudflare/cloudflared/releases/assets/48626359 -o cloudflared-linux-amd64.deb
(this is specifically for the 2021.11.0 release)dpkg -i cloudflared-linux-amd64.deb
This should get rid of the spam in your logs. You can verify it's in the proper location (/usr/local/bin/cloudflared) by running which cloudflared
Hope this helps!
To further clarify, the issue is related to the PR listed above. While changing the wget
command to curl -o
helps avoid the issue that wget
isn't installed, it's pulling the file from equinox.io, which shut down and deleted all accounts and binaries on Sept 30th, 2021, so there's no cloudflared binary where the install.sh script is trying to pull from.
Unfortunately, pulling the release from GitHub via API is a bit of a chore, as it needs the release asset_id (48626359 for 2021.11.0 above), and the cloudflare repo doesn't use a "latest" tag or anything for their releases, so automating a script to pull the latest isn't going to be as straightforward as it could be.
Created PR testdasi/pihole-base-buster-plus/pull/2 to pull most recent binary from Cloudflare directly, as well as add fix to change wget
to curl
and apt install
to dpkg -I
I updated my docker to latest [s210520] and I was no longer able do to DNS resolution. Looking at the docker logs, I found the following lines repeating
I entered the docker shell and "find" wasn't able to find the executable. Reverting the docker to s210506 resolved the issue and everything worked as expected.