هل مكونات الإضافات A و Theme تم إعادة بنائها ولكن غير متاحة؟

Following the docs, I added a few Theme components and plugins in the 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-reactions.git
          - git clone https://github.com/paviliondev/discourse-ratings.git
          - git clone https://github.com/discourse/reader-mode.git
          - git clone https://github.com/VaperinaDEV/discourse-modal-grip.git
          - git clone https://github.com/nolosb/discourse-tag-styles.git
          - git clone https://github.com/merefield/discourse-tc-tag-cloud.git

The ./launcher rebuild seems to pass ok:

[...]
I, [2024-05-16T10:49:19.172929 #1]  INFO -- : Replacing # redis with sv start redis || exit 1 in /etc/service/unicorn/run
I, [2024-05-16T10:49:19.173814 #1]  INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/docker_manager.git
Cloning into 'docker_manager'...
I, [2024-05-16T10:49:20.511901 #1]  INFO -- :
I, [2024-05-16T10:49:20.512493 #1]  INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-reactions.git
Cloning into 'discourse-reactions'...
I, [2024-05-16T10:49:21.315121 #1]  INFO -- :
I, [2024-05-16T10:49:21.315491 #1]  INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/paviliondev/discourse-ratings.git
Cloning into 'discourse-ratings'...
I, [2024-05-16T10:49:21.917044 #1]  INFO -- :
I, [2024-05-16T10:49:21.917367 #1]  INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/reader-mode.git
Cloning into 'reader-mode'...
I, [2024-05-16T10:49:22.499069 #1]  INFO -- :
I, [2024-05-16T10:49:22.499672 #1]  INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/VaperinaDEV/discourse-modal-grip.git
Cloning into 'discourse-modal-grip'...
I, [2024-05-16T10:49:23.030998 #1]  INFO -- :
I, [2024-05-16T10:49:23.031349 #1]  INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/nolosb/discourse-tag-styles.git
Cloning into 'discourse-tag-styles'...
I, [2024-05-16T10:49:23.535520 #1]  INFO -- :
I, [2024-05-16T10:49:23.535773 #1]  INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/merefield/discourse-tc-tag-cloud.git
Cloning into 'discourse-tc-tag-cloud'...
I, [2024-05-16T10:49:24.330857 #1]  INFO -- :

[....]

I, [2024-05-16T10:52:07.932848 #1]  INFO -- : > cd /var/www/discourse && su discourse -c 'LOAD_PLUGINS=0 bundle exec rake plugin:pull_compatible_all'
I, [2024-05-16T10:52:15.062445 #1]  INFO -- : discourse-modal-grip is already at latest compatible version
discourse-ratings is already at latest compatible version
discourse-reactions is already at latest compatible version
discourse-tag-styles is already at latest compatible version
discourse-tc-tag-cloud is already at latest compatible version
docker_manager is already at latest compatible version
reader-mode is already at latest compatible version

But the site restarted with only some of them. only one of them is under /admin/customize/components and others I found by searching the settings page.
Is this a version compatibility issue with 3.3.0b3? where can I see it in the logs to see what causes some of them to be skiped, like Discourse-ratings, reader-mode, etc.

إعجاب واحد (1)

That is how you install plugins. But to install theme components you have to follow Install a theme or theme component

إعجابَين (2)

I tried that, but I got a message that the GIT url does not contain a theme component, so I tried the other way. I see what happened. It still leaves the discourse-ratings out, it’s not installed either way.

إعجاب واحد (1)

These ones are theme components.

https://github.com/discourse/reader-mode
https://github.com/VaperinaDEV/discourse-modal-grip
https://github.com/nolosb/discourse-tag-styles
https://github.com/merefield/discourse-tc-tag-cloud

Remove them from your app.yml file and follow the documentation to install them:

5 إعجابات

yup. removed those 4 and indeed managed to add them as components, but I still have discourse-ratings, that installs and shows up in the settings, enabled, but no widgets show up in topics. I’ll focus on that then. Thanks for the help!

إعجاب واحد (1)

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