cloudflare / cloudflare/cloudflared

Updates on Windows with `cloudflared.exe update` can fail 🐛

Open
#667 16 comments 9 reactions 0 assignees View on GitHub
Confirmed OS: Windows Priority: Deferred Type: Bug
Dominant language
Go
Stars
15.6k
Forks
1.4k
PR merge metrics
No merged PRs in 30d

Description

**Describe the bug**
On Windows cloudflared.exe, (sometimes) does not updates with command `cloudflare.exe update`.

**To Reproduce**
Steps to reproduce the behavior:
1. Download cloudflared.exe from github to C:\Cloudflared\bin\cloudflared.exe
3. Within a terminal cmd, run `cd C:\Cloudflared\bin` and then `cloudflared.exe update`
4. Sometimes it works, sometimes it fails

When it fails, cloudfared.exe does not exists anymore, but there is 3 "new" files :
- cloudflared.exe.old
- cloudflared.exe.new
- cfd_update.bat

**Expected behavior**
Cloudflared is updated and service is up

**Environment and versions**
- OS: Windows 2019 Standard edition (1809)
- Architecture: Intel x86_64
- Version: 2022.5.3 (built 2022-05-30-1513 UTC) from github

**Logs and errors**
No errors, it says :
```
2022-06-16T13:48:52Z INF cloudflared has been updated version=2022.6.1
cloudflared has been updated to version 2022.6.1
```
And return code is 11

but cloudflare.exe does not exists anymore and service is down

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.