안녕하세요, 모두.
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 미사용, 첫 번째 줄만 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.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 -- :
하지만 무엇을 해도 플러그인이 설치되지 않고, 옵션이 표시되지 않으며, 관리자 영역의 플러그인 섹션에 가보면 이전 플러그인들만 설치된 것으로 나열됩니다:
어떤 아이디어라도 있을까요?
