みなさん、こんにちは。discourse-alt-logo プラグイン(https://meta.discourse.org/t/alternative-logos-for-dark-light-themes/88502)のインストールを試みているのですが、全くうまくいきません。
すでにシステム内でいくつかの他のプラグインは正常にインストール済みです。私の app.yml の内容は以下の通りです。
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
(プラグインのインストールに関するトピック Install plugins on a self-hosted site は最近更新され、git clone コマンドの前に "sudo -E -u discourse" プレフィックスが追加されました。ただし、残りの行にも sudo を付けるべきかどうかは明確ではありません。そこで、すべてに sudo を付ける、何にも付けない、最初の行だけ sudo を付けるなど、あらゆる組み合わせを試してみました。正しい設定はどれでしょうか?)
以下は再構築ログの一部です。
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.499587 #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 -- :
しかし、何をやってもプラグインがインストールされず、オプションも表示されません。また、管理画面の「プラグイン」セクションに移動すると、以前インストールしたプラグインのみがインストール済みとしてリストされています。
何かご存知の方はいらっしゃいますか?
