Cannot install plugin - nothing happens

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

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 in Discourse 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:

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:

Any ideas?

Alt logo is not a plugin, it is a theme. To install themes follow How do I install a Theme or Theme Component?

1 Like

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.