Plugin not being installed

AI-generated summary

Plugin not being installed

User AV_C is experiencing issues installing plugins on their Discourse installation. Despite rebuilding the app, the plugins are not being acknowledged.

codergautam and Stephen suggested checking if the plugins appear in the /admin/plugins page and specifying which plugins are being installed.

AV_C provided their app.yml file, which shows the plugins being installed. However, merefield pointed out that the app.yml file is badly formed, with spaces in front of the hooks section. This formatting issue appears to be the cause of the problem. AV_C has acknowledged the mistake and thanked merefield for the correction.

Hi!

I’m trying to install plugins but when i rebuild the app it looks like they aren’t being even acknowledged.
The app compiles properly but not plugins whatsoever.

I have a default discourse installation on my own server.

What are the most obvious things to check?

Thank you

Is the plugin showing in

/admin/plugins

It would help to know which plugins you’re attempting to install, too.

And perhaps show the plugins in the app.yml.

Unfortunately not appearing in admin.

This is the app.yml:

## The Docker container is stateless; all data is stored in /shared
volumes:
  - volume:
      host: /var/discourse/shared/standalone
      guest: /shared
  - volume:
      host: /var/discourse/shared/standalone/log/var-log
      guest: /var/log

## Plugins go here
      ## see https://meta.discourse.org/t/19157 for details
      hooks:
        after_code:
          - exec:
              cd: $home/plugins
              cmd:
                - git clone https://github.com/discourse/docker_manager.git
                - git clone https://github.com/discourse/discourse-spoiler-alert.git
                - git clone https://github.com/discourse/discourse-animated-avatars.git
                - git clone https://github.com/discourse/discourse-whos-online.git
                - git clone https://github.com/discourse/discourse-data-explorer.git
                - git clone https://github.com/discourse/discourse-bbcode.git
                - git clone https://github.com/discourse/discourse-signatures.git
                - git clone https://github.com/discourse/discourse-reactions.git
                - git clone https://github.com/paviliondev/discourse-legal-tools.git
                - git clone https://github.com/theCrius/discourse-ngi-emojis.git
                
## Any custom commands to run after building
run:
  - exec: echo "Beginning of custom commands"
  ## If you want to set the 'From' email address for your first registration, uncomment and change:
  ## After getting the first signup email, re-comment the line. It only needs to run once.
  #- exec: rails r "SiteSetting.notification_email='info@unconfigured.discourse.org'"
  - exec: echo "End of custom commands"

That’s a badly formed app.yml

For a start, hooks should not have any spaces in front of it! (it is not a subsection of volumes)

The issue appears to begin at the comment line above.

Wow ok, i didn’t know it was tab sensitive. thank you!