Skip to content

Bug: Linux installer script fails to install nightly (Database version) releases #12550

@Robinlovelace

Description

@Robinlovelace

Search first

  • I searched and no similar issues were found

What Happened?

The scripts/install-linux.sh installer script currently fails to install the "nightly" (Database version) release. This is due to two main reasons:

  1. Tag resolution: The script defaults to the latest release endpoint, which excludes pre-releases like nightly.
  2. Asset naming convention: The script expects assets to be named Logseq-linux-x64-*.zip. However, the nightly releases use Logseq-linux-x86_64-*.zip (and include additional version metadata in the filename).

If a user tries to run bash scripts/install-linux.sh nightly, the script fails to find the asset because it constructs an incorrect URL.

Reproduce the Bug

Run the following command:

curl -fsSL https://raw.githubusercontent.com/logseq/logseq/master/scripts/install-linux.sh | bash -s -- nightly

Output:

[INFO] Installing Logseq nightly to /opt/logseq
[INFO] Download URL: https://github.com/logseq/logseq/releases/download/nightly/Logseq-linux-x64-nightly.zip
[INFO] Downloading Logseq...
[ERROR] Failed to download Logseq nightly
[ERROR] Please check if version nightly exists on GitHub releases

Expected Behavior

The script should detect the nightly argument, fetch the correct metadata from the nightly release tag, and download the appropriate x86_64 (or arm64) zip asset.

Desktop or Mobile Platform Information

Linux (Ubuntu 24.04/26.04)

Are you willing to submit a PR? If you know how to fix the bug.

  • I'm willing to submit a PR (Thank you!)

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