Hacktoberfest 2026: die Issues, die Maintainer für den Oktober markiert haben – offen und einsteigerfreundlich. Hacktoberfest-Issues durchsuchen

Install script not working

Offen Anfängerfreundlich
#13,638 0 Kommentare 2 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Maintainer antworten meist innerhalb von 1 Tag

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
2/5
Geschätzter Aufwand
1-3 Stunden
Anfängerfreundlichkeit
78/100
Issue-Typ
Bug
Klarheit
Klar beschrieben
Aktivitätsstatus
Aktiv
Tech-Stack
bash
Bereich
cli

Rechercherichtung

Beginne mit scripts/install-linux.sh, das der Issue als fehlerhaften Einstiegspunkt identifiziert. Vergleiche die Ermittlung der Download-URL, das Entpacken der ZIP-Datei und die Annahmen zum Namen der ausführbaren Datei mit den hier beschriebenen Release-Assets und Inhalten der Version 2.0. Führe die bereitgestellten curl-Befehle für die neueste und festgelegte Version aus; die Aufgabe ist erledigt, wenn beide Installationen ohne die gemeldeten Fehler erfolgreich sind.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

Search first
  • I searched and no similar issues were found
What Happened?

This is my first issue report.
Since the new 2.0 release the files in the assets tab are nominated with x86_64, the script searches for x64 only triggering the error log_error "Could not find download URL for latest version" or log_error "Please check if version $VERSION exists on GitHub releases".

Therefore DOWNLOAD_URL variable should be fixed.

Reproduce the Bug

$ curl -fsSL https://raw.githubusercontent.com/logseq/logseq/master/scripts/install-linux.sh | bash
[INFO] Installing Logseq latest to /opt/logseq
[INFO] Fetching latest release information...
[ERROR] Could not find download URL for latest version

or

$ curl -fsSL https://raw.githubusercontent.com/logseq/logseq/master/scripts/install-linux.sh | bash -s -- 2.0.1
[INFO] Installing Logseq 2.0.1 to /opt/logseq
[INFO] Download URL: https://github.com/logseq/logseq/releases/download/2.0.1/Logseq-linux-x64-2.0.1.zip
[INFO] Downloading Logseq...
[ERROR] Failed to download Logseq 2.0.1
[ERROR] Please check if version 2.0.1 exists on GitHub releases

EDIT: Also, the .zip contents now are not presented "in a folder" so the line EXTRACTED_DIR=$(find . -maxdepth 2 -type d -name "Logseq-linux-x86_64*" | head -1) fails, resulting in the error log_error "Could not find extracted Logseq directory" .
A temporary workaround could be unzipping in a folder like: unzip -q -d "Logseq-linux-x86_64-$VERSION" logseq.zip.

The new 2.0 versions don't have all the resources like the icons for the desktop app (not sure if this was intended).

Last thing, the executable extracted is now lowercase "logseq", previously was "Logseq". So for example the line chmod +x "$INSTALL_DIR/Logseq" gives error.

Expected Behavior

No response

Screenshots

No response

Desktop or Mobile Platform Information

No response

Additional Context

No response

Are you willing to submit a PR? If you know how to fix the bug.
  • I'm willing to submit a PR (Thank you!)
Vorherrschende Sprache
Clojure
Sterne
45.2k
Forks
2.8k
Ø Merge
1 T. 3 Std.
Gemergte PRs (30 T.)
275

Entwicklungsumgebung

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus logseq/logseq

Alle Issues in logseq/logseq

Ähnliche Issues

Weitere Issues zu Clojure

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.