バッジの起動エラー

https://www.910500.xyz/badges

その理由は何ですか?それによりユニットにエラーが発生しました。

enable_badges サイト設定を無効にしましたか?

該当するオプションは利用できません

管理画面 > すべてのサイト設定で enable badges を検索してみてください。設定にチェックは入っていますか?入っていない場合は、チェックを入れて保存してください。

でも私です。

このトピックは既存のトピック Discourse badges error? と重複していますか?

セーフモードで起動し、すべてのチェックボックスにチェックを入れてみてください。その後、その設定は表示されますか?その後、バッジページは機能しますか?

ありがとうございます。

セーフモードでは動作しません

#10 の画像は、インストール直後のウェブサイトの初期状態を示していますか?これはカスタマイズされたバージョンでしょうか、それとも他の何かでしょうか。https://github.com/discourse/discourse_docker.git をクローンしてインストールした後の初期状態とは異なっているように見えるためです(例えば、「文档」セクションや「周年纪念日」セクションなど)。ただし、これらがインストール後に手動で追加された可能性を完全に否定することはできません。

おそらく、中国のサーバーでいくつかの機能が無効化された管理型ホスト環境でのインストールかもしれません。制限付きまたは不完全なインストールのように見えます。

構成についてさらに情報を提供いただけますか?セルフホストされた標準的な Docker インストールでしょうか?

Discourse の無料プランのテストフォーラムを起動したところ、バッジ管理ページは以下のようになっています:

templates:
  - "templates/postgres.template.yml"
  - "templates/redis.template.yml"
  - "templates/web.template.yml"
  - "templates/web.ratelimited.template.yml"
  - "templates/web.china.template.yml"

expose:
  - "8001:80"

params:
  db_shared_buffers: "256MB"

env:
  LC_ALL: en_US.UTF-8
  LANG: en_US.UTF-8
  UNICORN_WORKERS: 4
  DISCOURSE_HOSTNAME: www.910500.xyz
  DISCOURSE_DEVELOPER_EMAILS: c135860@outlook.com
  DISCOURSE_SMTP_ADDRESS: 
  DISCOURSE_SMTP_PORT: 
  DISCOURSE_SMTP_USER_NAME: work@sv1.910500.xyz
  DISCOURSE_SMTP_PASSWORD: ""
  DISCOURSE_SMTP_ENABLE_START_TLS: true
  DISCOURSE_SMTP_OPENSSL_VERIFY_MODE: none

# ✅ 唯一ストレージボリューム → USB ドライブのパスを指定
volumes:
  - volume:
      host: /mnt/usbntfs/discoursed/shared/standalone
      guest: /shared

hooks:
  after_code:
    - exec:
        cd: $home/plugins
        cmd:
          - git clone https://gh-proxy.com/https://github.com/discourse/discourse-animated-avatars.git
          - git clone https://gh-proxy.com/https://github.com/discourse/docker_manager.git
          - git clone https://gh-proxy.com/https://github.com/discourse/discourse-saved-searches.git
          - git clone https://gh-proxy.com/https://github.com/discourse/discourse-category-experts.git
          - git clone https://gh-proxy.com/https://github.com/discourse/discourse-bbcode.git
          - git clone https://gh-proxy.com/https://github.com/discourse/discourse-follow.git
          - git clone https://gh-proxy.com/https://github.com/discourse/discourse-yearly-review.git
          - git clone https://gh-proxy.com/https://github.com/discourse/discourse-doc-categories.git
          - git clone https://gh-proxy.com/https://github.com/discourse/discourse-signatures.git
          - git clone https://gh-proxy.com/https://github.com/scavin/discourse-bilibili-onebox.git
          - git clone https://gh-proxy.com/https://github.com/discourse/discourse-livestream.git
          - git clone https://gh-proxy.com/https://github.com/paviliondev/discourse-journal.git
          - git clone https://gh-proxy.com/https://github.com/angusmcleod/discourse-events.git
          - git clone https://gh-proxy.com/https://github.com/discourse/discourse-bcc.git
          - git clone https://gh-proxy.com/https://github.com/paviliondev/discourse-tickets.git
          - git clone https://gh-proxy.com/https://github.com/discourse/discourse-surveys.git
          - git clone https://gh-proxy.com/https://github.com/maiizii/discourse-choujiang.git
          - git clone https://gh-proxy.com/https://github.com/discourse/discourse-user-card-badges.git
          - git clone https://gh-proxy.com/https://github.com/discourse/discourse-video.git
          - git clone https://gh-proxy.com/https://github.com/discourse/discourse-translator.git
          - git clone https://gh-proxy.com/https://github.com/discourse/discourse-theme-creator.git
          - git clone https://gh-proxy.com/https://github.com/discourse/discourse-tag-by-group.git
          - git clone https://gh-proxy.com/https://github.com/discourse/discourse-tag-topic-user-device.git
          - git clone https://gh-proxy.com/https://github.com/discourse/discourse-sketchup-3dwh-onebox.git
          - git clone https://gh-proxy.com/https://github.com/discourse/discourse-solved-reminders-plugin.git
          - git clone https://gh-proxy.com/https://github.com/discourse/discourse-shared-edits.git
          - git clone https://gh-proxy.com/https://github.com/discourse/discourse-route-blocker.git
          - git clone https://gh-proxy.com/https://github.com/discourse/discourse-newsletter-integration.git
          - git clone https://gh-proxy.com/https://github.com/discourse/discourse-logster-transporter.git
          - git clone https://gh-proxy.com/https://github.com/discourse/discourse-just-chat.git
          - git clone https://github.com/discourse/discourse-group-category-banner-ads.git
          - git clone https://gh-proxy.com/https://github.com/discourse/discourse-deprecation-collector.git
          - git clone https://gh-proxy.com/https://github.com/discourse/discourse-docs.git
          - git clone https://gh-proxy.com/https://github.com/discourse/discourse-code-review.git
          - git clone https://gh-proxy.com/https://github.com/discourse/discourse-chart.git
          - git clone https://gh-proxy.com/https://github.com/discourse/discourse-browser-history.git
          - git clone https://gh-proxy.com/https://github.com/discourse/discourse-bbcode-color.git
          - git clone https://gh-proxy.com/https://github.com/spirobel/discourse-matheditor.git
templates:
  - "templates/postgres.template.yml"
  - "templates/redis.template.yml"
  - "templates/web.template.yml"
  - "templates/web.ratelimited.template.yml"
  - "templates/web.china.template.yml"

expose:
  - "8001:80"

params:
  db_shared_buffers: "256MB"

env:
  LC_ALL: en_US.UTF-8
  LANG: en_US.UTF-8
  UNICORN_WORKERS: 4
  DISCOURSE_HOSTNAME: www.910500.xyz
  DISCOURSE_DEVELOPER_EMAILS: c135860@outlook.com
  DISCOURSE_SMTP_ADDRESS: 
  DISCOURSE_SMTP_PORT: 
  DISCOURSE_SMTP_USER_NAME: work@sv1.910500.xyz
  DISCOURSE_SMTP_PASSWORD: ""
  DISCOURSE_SMTP_ENABLE_START_TLS: true
  DISCOURSE_SMTP_OPENSSL_VERIFY_MODE: none

# ✅ 唯一ストレージボリューム → USBメモリパスを指す
volumes:
  - volume:
      host: /mnt/usbntfs/discoursed/shared/standalone
      guest: /shared

hooks:
  after_code:
    - exec:
        cd: $home/plugins
        cmd:
          - git clone https://gh-proxy.com/https://github.com/discourse/discourse-animated-avatars.git
          - git clone https://gh-proxy.com/https://github.com/discourse/docker_manager.git
          - git clone https://gh-proxy.com/https://github.com/discourse/discourse-saved-searches.git
          - git clone https://gh-proxy.com/https://github.com/discourse/discourse-category-experts.git
          - git clone https://gh-proxy.com/https://github.com/discourse/discourse-bbcode.git
          - git clone https://gh-proxy.com/https://github.com/discourse/discourse-follow.git
          - git clone https://gh-proxy.com/https://github.com/discourse/discourse-yearly-review.git
          - git clone https://gh-proxy.com/https://github.com/discourse/discourse-doc-categories.git
          - git clone https://gh-proxy.com/https://github.com/discourse/discourse-signatures.git
          - git clone https://gh-proxy.com/https://github.com/scavin/discourse-bilibili-onebox.git
          - git clone https://gh-proxy.com/https://github.com/discourse/discourse-livestream.git
          - git clone https://gh-proxy.com/https://github.com/paviliondev/discourse-journal.git
          - git clone https://gh-proxy.com/https://github.com/angusmcleod/discourse-events.git
          - git clone https://gh-proxy.com/https://github.com/discourse/discourse-bcc.git
          - git clone https://gh-proxy.com/https://github.com/paviliondev/discourse-tickets.git
          - git clone https://gh-proxy.com/https://github.com/discourse/discourse-surveys.git
          - git clone https://gh-proxy.com/https://github.com/maiizii/discourse-choujiang.git
          - git clone https://gh-proxy.com/https://github.com/discourse/discourse-user-card-badges.git
          - git clone https://gh-proxy.com/https://github.com/discourse/discourse-video.git
          - git clone https://gh-proxy.com/https://github.com/discourse/discourse-translator.git
          - git clone https://gh-proxy.com/https://github.com/discourse/discourse-theme-creator.git
          - git clone https://gh-proxy.com/https://github.com/discourse/discourse-tag-by-group.git
          - git clone https://gh-proxy.com/https://github.com/discourse/discourse-tag-topic-user-device.git
          - git clone https://gh-proxy.com/https://github.com/discourse/discourse-sketchup-3dwh-onebox.git
          - git clone https://gh-proxy.com/https://github.com/discourse/discourse-solved-reminders-plugin.git
          - git clone https://gh-proxy.com/https://github.com/discourse/discourse-shared-edits.git
          - git clone https://gh-proxy.com/https://github.com/discourse/discourse-route-blocker.git
          - git clone https://gh-proxy.com/https://github.com/discourse/discourse-newsletter-integration.git
          - git clone https://gh-proxy.com/https://github.com/discourse/discourse-logster-transporter.git
          - git clone https://gh-proxy.com/https://github.com/discourse/discourse-just-chat.git
          - git clone https://github.com/discourse/discourse-group-category-banner-ads.git
          - git clone https://gh-proxy.com/https://github.com/discourse/discourse-deprecation-collector.git
          - git clone https://gh-proxy.com/https://github.com/discourse/discourse-docs.git
          - git clone https://gh-proxy.com/https://github.com/discourse/discourse-code-review.git
          - git clone https://gh-proxy.com/https://github.com/discourse/discourse-chart.git
          - git clone https://gh-proxy.com/https://github.com/discourse/discourse-browser-history.git
          - git clone https://gh-proxy.com/https://github.com/discourse/discourse-bbcode-color.git
          - git clone https://gh-proxy.com/https://github.com/spirobel/discourse-matheditor.git

プラグインが大量にありますね。

なぜテーマクリエーターをプラグインとしてインストールしているのですか?

おそらくこれがフォーラムを壊しているのでしょう。

これ:

- git clone https://github.com/discourse/discourse-group-category-banner-ads.git

gh-proxy.com/ のパスを通っていません。

プラグインが多すぎます。特にサポートされていない非公式のプラグインはすべて削除し、フォーラムが正常に動作するようにしてから、必要なものを一つずつ追加してください。

SMTP ポートが設定されていません。これではメールが機能しないと思います。

データボリュームを NTFS 形式の USB ドライブから実行しているのでしょうか?それではデータベースのパフォーマンスと安定性が低下します。

GitHub への参照がプロキシなしで行われているそのプラグインは、おそらくファイアウォールが設定された環境では、読み込みに gh-proxy が必要になるため失敗するでしょう。

DISCOURSE_SMTP_OPENSSL_VERIFY_MODE: none

これは開発環境でのインストールですか?意図的に SSL 証明書の検証を回避しているのでしょうか?

GitHub - discourse/discourse-theme-creator · GitHub は削除する必要があるのでしょうか

はい、少なくともそれはそうです。リリーが言ったように、おそらく他にもたくさんあります。まずはそれを試してみて、その後、他の非公式なものを一つずつ削除しながら、再度動作するようになるまで確認してください。これで問題の原因がわかります。

やはりダメなようです。いったい何が原因なのでしょう?私はすでに試しました。

ご提案のセーフモードで試されましたか?その状態で動作すれば、テーマコンポーネントまたはプラグインが原因であることがわかります。

まずはそれを試してください。

まだです。試してみましたが、すべてのプラグインを無効にしました。