# Cannot install plugin - nothing happens

**URL:** https://meta.discourse.org/t/cannot-install-plugin-nothing-happens/155696
**Category:** Self-hosting
**Created:** [June 23, 2020, 2:45pm UTC](https://meta.discourse.org/t/cannot-install-plugin-nothing-happens/155696 "2020-06-23T14:45:00Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![wlandgraf](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/wlandgraf/32/154660_2.png) [@wlandgraf](https://meta.discourse.org/u/wlandgraf)
#### Post date: [June 23, 2020, 2:45pm UTC](https://meta.discourse.org/t/cannot-install-plugin-nothing-happens/155696/1 "2020-06-23T14:45:00Z")

</div>

Hi all, I trying to install the discourse-alt-logo plugin ([https://meta.discourse.org/t/alternative-logos-for-dark-light-themes/88502](https://meta.discourse.org/t/alternative-logos-for-dark-light-themes/88502)), but I’m failing miserably.  
I have already successfully installed several other plugins in my system, this is how my app.yml looks like:

```plaintext
hooks:
  after_code:
    - exec:
        cd: $home/plugins
        cmd:
          - sudo -E -u discourse git clone https://github.com/discourse/docker_manager.git
          - git clone https://github.com/discourse/discourse-voting.git
          - git clone https://github.com/discourse/discourse-solved.git
          - git clone https://github.com/discourse/discourse-canned-replies.git
          - git clone https://github.com/discourse/discourse-alt-logo.git

```

(Note that the topic about installing plugins [Install plugins on a self-hosted site](https://meta.discourse.org/t/install-plugins-in-discourse/19157) has been recently updated with a `"sudo -E -u discourse"` prefix before the git clone command. It’s not clear though if the remaining lines should have sudo as well. But I have tried all combinations: everything wit sudo, everything without sudo, just the first with sudo, etc. What is the correct one?).

Here is part of the rebuild log:

```plaintext
I, [2020-06-23T14:26:42.313875 #1] INFO -- : > cd /var/www/discourse/plugins && sudo -E -u discourse git clone https://github.com/discourse/docker_manager.git
Cloning into 'docker_manager'...
warning: unable to access '/root/.config/git/attributes': Permission denied
I, [2020-06-23T14:26:43.128902 #1] INFO -- : 
I, [2020-06-23T14:26:43.129404 #1] INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-voting.git
Cloning into 'discourse-voting'...
I, [2020-06-23T14:26:43.499586 #1] INFO -- : 
I, [2020-06-23T14:26:43.500165 #1] INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-solved.git
Cloning into 'discourse-solved'...
I, [2020-06-23T14:26:43.860313 #1] INFO -- : 
I, [2020-06-23T14:26:43.860856 #1] INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-canned-replies.git
Cloning into 'discourse-canned-replies'...
I, [2020-06-23T14:26:44.243782 #1] INFO -- : 
I, [2020-06-23T14:26:44.244411 #1] INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-alt-logo.git
Cloning into 'discourse-alt-logo'...
I, [2020-06-23T14:26:44.531174 #1] INFO -- : 

```

However, whatever I do, the plugin doesn’t get installed, no options are displayed, and when I go to the Plugins section in the Admin area, only the previous plugins are listed as installed:

 ![image](https://global.discourse-cdn.com/meta/original/3X/0/b/0be0fe4a6b51d23868784f25d401107b230fa284.png)

Any ideas?

---

<div class="post-metadata">

### Author: ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)
#### Post date: [June 23, 2020, 2:53pm UTC](https://meta.discourse.org/t/cannot-install-plugin-nothing-happens/155696/2 "2020-06-23T14:53:28Z")

</div>

Alt logo is not a plugin, it is a theme. To install themes follow [How do I install a Theme or Theme Component?](https://meta.discourse.org/t/how-do-i-install-a-theme-or-theme-component/63682)

---

<div class="post-metadata">

### Author: ![wlandgraf](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/wlandgraf/32/154660_2.png) [@wlandgraf](https://meta.discourse.org/u/wlandgraf)
#### Post date: [June 23, 2020, 2:56pm UTC](https://meta.discourse.org/t/cannot-install-plugin-nothing-happens/155696/3 "2020-06-23T14:56:14Z")

</div>

Silly me. Thanks for pointing out. By the way, what is the correct way to modify the app.yml for plugins? Should I prefix all git clone commands with “sudo”?  
Did you see the “permission denied” in the log above? Could you please enlighten me? Thank you very much in advance.
