# Discourse-reactions Github not found

**URL:** https://meta.discourse.org/t/discourse-reactions-github-not-found/306665
**Category:** Self-hosting
**Tags:** reactions
**Created:** [May 3, 2024, 4:53pm UTC](https://meta.discourse.org/t/discourse-reactions-github-not-found/306665 "2024-05-03T16:53:14Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![10ColorsTenkara](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/10colorstenkara/32/94154_2.png) [@10ColorsTenkara](https://meta.discourse.org/u/10ColorsTenkara)
#### Post date: [May 3, 2024, 4:53pm UTC](https://meta.discourse.org/t/discourse-reactions-github-not-found/306665/1 "2024-05-03T16:53:14Z")

</div>

I searched and couldn’t exactly find this issue, even after looking at other similar issues.

I wanted to enable discourse-reactions on my instance. After following the usual procedure and adding the repo URL to my `app.yml`, running `git pull` and `./launcher rebuild app`, the bootstrap fails.

Following is the failure output:

```plaintext
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.

```

I scrolled up and the only error I found above that was this:

```plaintext
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

```

This seems odd since the Github page is easily viewable in a web browser. After commenting out the discourse-reactions, everything builds fine.

Any recommendations or tips for getting this working?

Cheers.

Edit: I tried rebuilding again and now see the following error:

```plaintext
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

```

---

<div class="post-metadata">

### Author: ![Arkshine](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/arkshine/32/298682_2.png) [@Arkshine](https://meta.discourse.org/u/Arkshine)
#### Post date: [May 3, 2024, 4:59pm UTC](https://meta.discourse.org/t/discourse-reactions-github-not-found/306665/2 "2024-05-03T16:59:27Z")

</div>

Hello, welcome back 👋

You miss a `git clone` before the URL, it would seem.

You should add the following:

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

For example, see the last line:

```yaml
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

```

---

<div class="post-metadata">

### Author: ![10ColorsTenkara](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/10colorstenkara/32/94154_2.png) [@10ColorsTenkara](https://meta.discourse.org/u/10ColorsTenkara)
#### Post date: [May 3, 2024, 5:47pm UTC](https://meta.discourse.org/t/discourse-reactions-github-not-found/306665/3 "2024-05-03T17:47:14Z")

</div>

Thanks for the super quick reply and for the welcome!

You were absolutely correct. I had forgotten to include `- git clone` before the Github URL. I ran the build again and it completed the bootstrap without problems.

Thanks again.

---

<div class="post-metadata">

### Author: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [June 2, 2024, 5:47pm UTC](https://meta.discourse.org/t/discourse-reactions-github-not-found/306665/4 "2024-06-02T17:47:48Z")

</div>

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