Discourse-Reaktionen Github nicht gefunden

Ich habe gesucht und dieses Problem nicht genau gefunden, auch nachdem ich mir andere ähnliche Probleme angesehen habe.

Ich wollte Discourse-Reactions auf meiner Instanz aktivieren. Nachdem ich den üblichen Vorgang befolgt und die Repo-URL zu meiner app.yml hinzugefügt habe, git pull und ./launcher rebuild app ausgeführt habe, schlägt der Bootstrap fehl.

Hier ist die Fehlerausgabe:

FAILED
--------------------
Pups::ExecError: cd /var/www/discourse/plugins && https://github.com/discourse/discourse-reactions.git failed with return #<Process::Status: pid 289 exit 127>
Location of failure: /usr/local/lib/ruby/gems/3.2.0/gems/pups-1.2.1/lib/pups/exec_command.rb:132:in `spawn'
exec failed with the params {"cd"=>"$home/plugins", "cmd"=>["mkdir -p plugins", "git clone https://github.com/discourse/docker_manager.git", "git clone https://github.com/davidtaylorhq/discourse-whos-online.git", "git clone https://github.com/discourse/discourse-push-notifications.git", "git clone https://github.com/iunctis/discourse-formatting-toolbar.git", "git clone https://github.com/jannolii/discourse-topic-trade-buttons.git", "git clone https://github.com/discourse/discourse-voting.git", "git clone https://github.com/discourse/discourse-yearly-review.git", "https://github.com/discourse/discourse-reactions.git"]}
bootstrap failed with exit code 127
** FAILED TO BOOTSTRAP ** please scroll up and look for earlier error messages, there may be more than one.

Ich habe nach oben gescrollt und der einzige Fehler, den ich darüber gefunden habe, war dieser:

I, [2024-05-03T16:25:41.537553 #1]  INFO -- :
I, [2024-05-03T16:25:41.538494 #1]  INFO -- : > cd /var/www/discourse/plugins && https://github.com/discourse/discourse-reactions.git
sh: 1: https://github.com/discourse/discourse-reactions.git: not found

Das scheint seltsam zu sein, da die GitHub-Seite leicht in einem Webbrowser sichtbar ist. Nachdem ich Discourse-Reactions auskommentiert hatte, wurde alles einwandfrei erstellt.

Irgendwelche Empfehlungen oder Tipps, um dies zum Laufen zu bringen?

Cheers.

Edit: Ich habe versucht, erneut zu erstellen, und sehe jetzt den folgenden Fehler:

2024-05-03 16:53:54.491 UTC [35] LOG: database system is ready to accept connections
I, [2024-05-03T16:53:59.443099 #1]  INFO -- :
I, [2024-05-03T16:53:59.443248 #1]  INFO -- : > /usr/local/bin/create_db
2024-05-03 16:53:59.519 UTC [54] postgres@postgres ERROR: database "discourse" already exists
2024-05-03 16:53:59.519 UTC [54] postgres@postgres STATEMENT: CREATE DATABASE discourse;
createdb: error: database creation failed: ERROR: database "discourse" already exists
2024-05-03 16:53:59.595 UTC [57] postgres@discourse ERROR: role "discourse" already exists
2024-05-03 16:53:59.595 UTC [57] postgres@discourse STATEMENT: create user discourse;
ERROR: role "discourse" already exists
NOTICE: extension "hstore" already exists, skipping
NOTICE: extension "pg_trgm" already exists, skipping
NOTICE: extension "vector" already exists, skipping
NOTICE: extension "hstore" already exists, skipping
NOTICE: extension "pg_trgm" already exists, skipping
NOTICE: extension "vector" already exists, skipping

Hallo, willkommen zurück :wave:

Sie haben anscheinend ein git clone vor der URL vergessen.

Sie sollten Folgendes hinzufügen:

- git clone https://github.com/discourse/discourse-reactions

Sehen Sie zum Beispiel die letzte Zeile:

hooks:
  after_code:
    - exec:
        cd: $home/plugins
        cmd:
          - git clone https://github.com/discourse/docker_manager.git
          - git clone https://github.com/discourse/discourse-knowledge-explorer
          - git clone https://github.com/discourse/discourse-reactions
4 „Gefällt mir“

Vielen Dank für die superschnelle Antwort und die Begrüßung!

Sie hatten absolut Recht. Ich hatte vergessen, - git clone vor der Github-URL einzufügen. Ich habe den Build erneut ausgeführt und der Bootstrap wurde ohne Probleme abgeschlossen.

Nochmals vielen Dank.

3 „Gefällt mir“

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.