안녕하세요!
플러그인을 설치하려고 하는데 앱을 다시 빌드해도 플러그인이 전혀 인식되지 않는 것 같습니다.
앱은 정상적으로 컴파일되지만, 플러그인은 전혀 처리되지 않습니다.
제 서버에는 디스코스의 기본 설치 환경이 구성되어 있습니다.
가장 먼저 확인해봐야 할 명백한 사항들이 있을까요?
감사합니다
안녕하세요!
플러그인을 설치하려고 하는데 앱을 다시 빌드해도 플러그인이 전혀 인식되지 않는 것 같습니다.
앱은 정상적으로 컴파일되지만, 플러그인은 전혀 처리되지 않습니다.
제 서버에는 디스코스의 기본 설치 환경이 구성되어 있습니다.
가장 먼저 확인해봐야 할 명백한 사항들이 있을까요?
감사합니다
플러그인이
/admin/plugins
에 표시되는가요?
설치하려는 플러그인이 무엇인지도 알면 도움이 될 것입니다.
그리고 app.yml에서 플러그인을 표시하도록 하는 것도 좋습니다.
불행히도 관리자 페이지에 표시되지 않습니다.
아래는 app.yml 파일입니다:
## Docker 컨테이너는 상태가 없으며(stateless), 모든 데이터는 /shared에 저장됩니다.
volumes:
- volume:
host: /var/discourse/shared/standalone
guest: /shared
- volume:
host: /var/discourse/shared/standalone/log/var-log
guest: /var/log
## 플러그인은 여기에 설치됩니다
## 자세한 내용은 https://meta.discourse.org/t/19157 을 참조하세요
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
## 빌드 후 실행할 모든 사용자 지정 명령
run:
- exec: echo "Beginning of custom commands"
## 첫 번째 가입 시 'From' 이메일 주소를 설정하려면 주석을 해제하고 변경하세요:
## 첫 번째 가입 이메일을 받은 후, 해당 줄을 다시 주석 처리하세요. 한 번만 실행하면 됩니다.
#- exec: rails r "SiteSetting.notification_email='info@unconfigured.discourse.org'"
- exec: echo "End of custom commands"
잘못된 형식의 app.yml 파일입니다.
우선, hooks 앞에는 공백이 없어야 합니다! (이것은 volumes의 하위 섹션이 아닙니다)
문제는 바로 위 주석 라인에서 시작되는 것으로 보입니다.
와, 알겠습니다. 탭에 민감한 줄 몰랐어요. 감사합니다!