cloudflared: As of October 2020.10.2, installing service on Linux fails.
I have encountered no issues when upgrading the service on Windows 10. But on Ubuntu 20.10, I go to upgrade it manually using the proper binary, via sudo ./cloudflared service install (after sudo ./cloudflared service uninstall of course) and get terminal output as an error. The output is Configuration file /etc/cloudflared/config.yml must contain entries for the tunnel to run and its associated credentials: tunnel: TUNNEL-UUID credentials-file: CREDENTIALS-FILE
I’m uncertain if additional logs or input is needed, I will update the ticket if so. Last time I checked, the documentation doesn’t reflect these changes either.
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Reactions: 7
- Comments: 35 (10 by maintainers)
Here’s a workaround:
sudo cloudflared service install --legacyCurrent CloudFlare Argo Tunnel Documentation on their site is no more working. All this information sometimes working sometimes not. We need clear documentation.
It’s just me or cloudflared looks only in current directory for the credentials-file? the service started to working only after i added this:
WorkingDirectory=/etc/cloudflared
into the service file
See https://community.cloudflare.com/t/unable-to-configure-new-cloudflared-version-on-linux/217145 for continued discussion. I will close the issue.
Started getting this too, nothing changed in our set up so looks like a breaking change was introduced. The docs are terrible – they don’t say what a “credentials file” is, why it is suddenly required, or what it should contain…