Skip to content

[Linux] Help > Check for Updates always fails: linux/version.json returns 404 #1216

Open

Description

@jinlaohu

Version: 2.4.1 stable, Linux x86_64 flatpak

Steps to reproduce

  1. Open Snapmaker Orca on Linux.
  2. Click Help > Check for Updates.

Actual result
A dialog always shows:

request to server update soft fail with body:,error:,status:404

The log shows:

config/get rejected: code 604000, msg 配置不存在, fallback to static version.json
Error getting: `check_new_version_sf`: HTTP 404,

Expected result
The app reports the latest version, or says that it is already up to date.

Cause
request_version_from_config() is rejected with code 604000, so the app falls back to
check_new_version_sf(). The static manifest it requests exists for Windows and macOS,
but not for Linux:

Platform URL Result
Windows https://meta-cfg.snapmaker.com/upgrade/orca/win/en/version.json 200
macOS https://meta-cfg.snapmaker.com/upgrade/orca/mac/en/version.json 200
Linux https://meta-cfg.snapmaker.com/upgrade/orca/linux/en/version.json 404
Linux https://meta-cfg.snapmaker.com/upgrade/orca/linux/zh_CN/version.json 404

The v2.4.2-alpha source still uses /upgrade/orca/linux/, so this needs a server-side
manifest or a client change.

Suggested fix
Publish linux/en and linux/zh_CN manifests. Alternatively, have Linux builds check
GitHub Releases, or show a clear message that in-app update checks are not available
on Linux.

Activity

  1. alandebortolo commented on Nov 19, 2026

    @alandebortolo

    I checked the four URLs again today and got the same result as you: 200 for win/en and mac/en, 404 for linux/en and linux/zh_CN.

    One thing to add to the cause: a server-side manifest alone would not fix it. In check_new_version_sf() the parser only handles platform_type win and mac; for anything else it logs don't support linux upgrade and returns without a dialog. The config/get path rejects other platform types too. So with linux/en/version.json published, Help > Check for Update would stop showing the 404 and show nothing instead.

    I opened #1222 with the client change you listed as the alternative: on Linux the check reads the latest stable release from GitHub Releases, where the AppImage and the flatpaks are already published, and uses the existing dialogs (new version with a Download button that opens the release page, or "This is the newest version."). I did not build the app; what I ran and what I did not is in the PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions