Cannot install plugin - nothing happens

AI-generated summary

Cannot install plugin - nothing happens

The user is trying to install the discourse-alt-logo plugin but is failing. They have successfully installed other plugins and have tried different combinations of sudo commands in their app.yml file. However, the plugin doesn’t get installed, and no options are displayed in the Admin area.

Falco points out that the discourse-alt-logo is not a plugin, but a theme, and provides a link to the correct installation instructions.

The user then asks for clarification on the correct way to modify the app.yml for plugins, specifically whether to prefix all git clone commands with sudo.

Hi all, I trying to install the discourse-alt-logo plugin (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:

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 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?

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.