Search first
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:
- Tag resolution: The script defaults to the
latest release endpoint, which excludes pre-releases like nightly.
- 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.
Search first
What Happened?
The
scripts/install-linux.shinstaller script currently fails to install the "nightly" (Database version) release. This is due to two main reasons:latestrelease endpoint, which excludes pre-releases likenightly.Logseq-linux-x64-*.zip. However, the nightly releases useLogseq-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 -- nightlyOutput:
Expected Behavior
The script should detect the
nightlyargument, fetch the correct metadata from the nightly release tag, and download the appropriatex86_64(orarm64) 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.