t3code icon indicating copy to clipboard operation
t3code copied to clipboard

[Bug]: Electron updater failed to download the update on channel nightly.

Open niVoque opened this issue 2 months ago • 2 comments

Before submitting

  • [x] I searched existing issues and did not find a duplicate.
  • [x] I included enough detail to reproduce or investigate the problem.

Area

Not sure

Steps to reproduce

  1. Start the app
  2. Click update
  3. Error message is displayed
  • Running as admin doesn't fix the issue.
  • Can't update at all
Image

Expected behavior

Normal update - then restart prompt

Actual behavior

Fails. Been stuck like this for a while.

Impact

Minor bug or occasional failure

Version or commit

No response

Environment

No response

Logs or stack traces


Screenshots, recordings, or supporting files

No response

Workaround

None. Does not work even with manual release downloads.

niVoque avatar Sep 14 '26 06:09 niVoque

Thanks for the report — triage notes below.

The title matches the generic wrapper in apps/desktop/src/electron/ElectronUpdater.ts (ElectronUpdaterDownloadUpdateError). That string is built from the update channel only and does not include the underlying electron-updater cause (#3280), so we cannot tell from the title alone why the download failed.

What we can see:

  • The update check worked. The screenshot is Settings → About offering 0.0.41-nightly.20260914.1687 (“Update ready to download”), with notes from 0.0.41-nightly.20260913.1675. That is the pre-download / retry-available state, not the error dialog.
  • That nightly tag is published, so this is not a missing feed.
  • “Running as admin doesn’t help” usually means Windows. The closest prior is closed #6035 (same error on Windows 11; download failed in ~200ms). Open #4812 is the same string but a different failure (macOS + TLS-inspecting proxy, stall at 0%). #10685 / #10782 are AppImage install after a successful download — not this path.
  • Manual GitHub release downloads also failing is a strong hint this may be local network, antivirus, proxy, or CDN, not a T3-only updater bug. We still need logs to confirm.

Please reply with:

  1. OS / arch (e.g. Windows 11 x64, macOS, Linux AppImage) and how the app was installed.
  2. Exact error text from the toast/dialog (screenshot of the error itself, not only “ready to download”).
  3. Updater log slice from ~/.t3/userdata/logs/desktop.trace.ndjson (Windows: %USERPROFILE%\.t3\userdata\logs\desktop.trace.ndjson) around the failed click — lines with desktop-updater, ElectronUpdaterDownloadUpdateError, or DesktopUpdaterReportedError.
  4. Whether a browser can download the installer for that tag from the GitHub release (and what happens if you run that installer).
  5. Whether the updater cache has a partial file or stays empty (%LOCALAPPDATA%\t3code-updater on Windows; ~/Library/Caches/t3code-updater on macOS; ~/.cache/t3code-updater on Linux).

Not closing this, and not marking it a duplicate of #4812. Once we have OS + logs we can route it (Windows download vs local network vs better error surfacing).

juliusmarminge avatar Sep 14 '26 06:09 juliusmarminge

Hi Guys, My sincerest apologies - it looks like my main SSD is failing on some writes - and this was directly impacting my ability to update. I've just swapped Storage location and works perfectly. Sorry to waste everyone's time! Thanks for the swift response.

niVoque avatar Sep 14 '26 06:09 niVoque