[GH-ISSUE #5265] [bug]: can't self update on ubuntu 2024.04 #2013

Closed
opened 2026-03-16 22:51:20 +03:00 by kerem · 3 comments
Owner

Originally created by @astrowild99 on GitHub (Jul 21, 2025).
Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/5265

Is there an existing issue for this?

  • I have searched existing issues and this bug hasn't been reported yet

Platform

Desktop App

Browser

Chrome

Operating System

Linux

Bug Description

While performing the self update suggested by the app, the binary format of the update is constantly invalid.

The error message I get is the following:

Something went wrong

Failed to install update: invalid updater binary format

the footer states the version as 25.4.2

When I try with Later, the software opens up to a white, unresponsive screen

Debug messages

during the update I get

2025-07-21T19:24:36.190489Z DEBUG tokio-runtime-worker ThreadId(22) reqwest::async_impl::client: redirecting 'https://github.com/hoppscotch/releases/releases/download/v25.6.1-0/Hoppscotch_linux_x64.AppImage' to 'https://objects.githubusercontent.com/github-production-release-asset-2e65be/715960984/105cee02-9cb5-4dc0-89cb-8aae95975c8c?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=releaseassetproduction%2F20250721%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20250721T192436Z&X-Amz-Expires=1800&X-Amz-Signature=582b1b5d2bb29b31accc6c58a6f07a214ea3238ff9b603b96259a245adc4f908&X-Amz-SignedHeaders=host&response-content-disposition=attachment%3B%20filename%3DHoppscotch_linux_x64.AppImage&response-content-type=application%2Foctet-stream'    
2025-07-21T19:24:36.190516Z DEBUG tokio-runtime-worker ThreadId(22) reqwest::connect: starting new connection: https://objects.githubusercontent.com/    
2025-07-21T19:24:36.225446Z DEBUG tokio-runtime-worker ThreadId(22) hyper_util::client::legacy::connect::http: connecting to 185.199.110.133:443
2025-07-21T19:24:36.262640Z DEBUG tokio-runtime-worker ThreadId(21) hyper_util::client::legacy::connect::http: connected to 185.199.110.133:443

but the error is not reported on the debug console

I launched this with $ hoppscotch-desktop

for the whitescreen error, the problem is stated as

2025-07-21T19:26:15.274796Z  WARN                 main ThreadId(01) tauri_plugin_appload::cache::store: File not found in cache. key="hoppscotch:index.html"
2025-07-21T19:26:15.274806Z ERROR                 main ThreadId(01) tauri_plugin_appload::uri::handler: Failed to retrieve file content error=Cache error: Cache entry not found: hoppscotch:index.html host=hoppscotch path=

Deployment Type

Hoppscotch Cloud

Version

25.4.2

Originally created by @astrowild99 on GitHub (Jul 21, 2025). Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/5265 ### Is there an existing issue for this? - [x] I have searched existing issues and this bug hasn't been reported yet ### Platform Desktop App ### Browser Chrome ### Operating System Linux ### Bug Description While performing the self update suggested by the app, the binary format of the update is constantly invalid. The error message I get is the following: ``` Something went wrong Failed to install update: invalid updater binary format ``` the footer states the version as 25.4.2 When I try with Later, the software opens up to a white, unresponsive screen ### Debug messages during the update I get ``` 2025-07-21T19:24:36.190489Z DEBUG tokio-runtime-worker ThreadId(22) reqwest::async_impl::client: redirecting 'https://github.com/hoppscotch/releases/releases/download/v25.6.1-0/Hoppscotch_linux_x64.AppImage' to 'https://objects.githubusercontent.com/github-production-release-asset-2e65be/715960984/105cee02-9cb5-4dc0-89cb-8aae95975c8c?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=releaseassetproduction%2F20250721%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20250721T192436Z&X-Amz-Expires=1800&X-Amz-Signature=582b1b5d2bb29b31accc6c58a6f07a214ea3238ff9b603b96259a245adc4f908&X-Amz-SignedHeaders=host&response-content-disposition=attachment%3B%20filename%3DHoppscotch_linux_x64.AppImage&response-content-type=application%2Foctet-stream' 2025-07-21T19:24:36.190516Z DEBUG tokio-runtime-worker ThreadId(22) reqwest::connect: starting new connection: https://objects.githubusercontent.com/ 2025-07-21T19:24:36.225446Z DEBUG tokio-runtime-worker ThreadId(22) hyper_util::client::legacy::connect::http: connecting to 185.199.110.133:443 2025-07-21T19:24:36.262640Z DEBUG tokio-runtime-worker ThreadId(21) hyper_util::client::legacy::connect::http: connected to 185.199.110.133:443 ``` but the error is not reported on the debug console > I launched this with `$ hoppscotch-desktop` for the whitescreen error, the problem is stated as ``` 2025-07-21T19:26:15.274796Z WARN main ThreadId(01) tauri_plugin_appload::cache::store: File not found in cache. key="hoppscotch:index.html" 2025-07-21T19:26:15.274806Z ERROR main ThreadId(01) tauri_plugin_appload::uri::handler: Failed to retrieve file content error=Cache error: Cache entry not found: hoppscotch:index.html host=hoppscotch path= ``` ### Deployment Type Hoppscotch Cloud ### Version 25.4.2
kerem 2026-03-16 22:51:20 +03:00
Author
Owner

@CuriousCorrelation commented on GitHub (Jul 22, 2025):

Hi @astrowild99, just to confirm, are you using the AppImage or Debian (.deb) package version of the desktop app?

<!-- gh-comment-id:3100831434 --> @CuriousCorrelation commented on GitHub (Jul 22, 2025): Hi @astrowild99, just to confirm, are you using the `AppImage` or Debian (`.deb`) package version of the desktop app?
Author
Owner

@astrowild99 commented on GitHub (Jul 22, 2025):

Installed via apt so I suppose it masks the .deb.

<!-- gh-comment-id:3101739095 --> @astrowild99 commented on GitHub (Jul 22, 2025): Installed via `apt` so I suppose it masks the `.deb`.
Author
Owner

@CuriousCorrelation commented on GitHub (Jul 22, 2025):

Hi @astrowild99, yes that means you're using the .deb package version. Unfortunately, the auto-updater only works with the AppImage version.

This is already under works and tracked https://github.com/hoppscotch/hoppscotch/issues/4978. The issue is that the updater flow currently can't separate notifications from installations, it's designed as one atomic process. While this works fine for AppImage, Debian packages are philosophically meant to be updated through the package manager, so the installation part fails even though you see the notification.

While it would be ideal to hide the updater entirely for .deb versions (as suggested in #4978), that's a bit tricky to implement cleanly at the moment, the efforts to fix that are underway https://github.com/hoppscotch/hoppscotch/pull/5259

If you want working auto-updates, you can switch to the AppImage version. Otherwise, you can manually download updates from the releases page or the website.

<!-- gh-comment-id:3101817938 --> @CuriousCorrelation commented on GitHub (Jul 22, 2025): Hi @astrowild99, yes that means you're using the `.deb` package version. Unfortunately, the auto-updater only works with the `AppImage` version. This is already under works and tracked https://github.com/hoppscotch/hoppscotch/issues/4978. The issue is that the updater flow currently can't separate notifications from installations, it's designed as one atomic process. While this works fine for `AppImage`, Debian packages are philosophically meant to be updated through the package manager, so the installation part fails even though you see the notification. While it would be ideal to hide the updater entirely for .deb versions (as suggested in #4978), that's a bit tricky to implement cleanly at the moment, the efforts to fix that are underway https://github.com/hoppscotch/hoppscotch/pull/5259 If you want working auto-updates, you can switch to the AppImage version. Otherwise, you can manually download updates from the [releases](https://github.com/hoppscotch/releases/releases) page or the [website](https://hoppscotch.com/download).
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/hoppscotch#2013
No description provided.