nx theme:upload:watch theme_name コマンドを使用してテーマをアップロードしようとしています。
しかし、このコマンドを実行すると、次のエラーが表示されます。
https://example.com/admin/themes/import.json に対するエラー 500
このエラーにより、テーマのアップロードプロセスが失敗します。何がこの問題を引き起こしている可能性があり、どのように解決できるか、誰か助けていただけませんか?
nx theme:upload:watch theme_name コマンドを使用してテーマをアップロードしようとしています。
しかし、このコマンドを実行すると、次のエラーが表示されます。
https://example.com/admin/themes/import.json に対するエラー 500
このエラーにより、テーマのアップロードプロセスが失敗します。何がこの問題を引き起こしている可能性があり、どのように解決できるか、誰か助けていただけませんか?
nxですか?お探しのものはdiscourse_themeではないでしょうか?
[quote=“saish, post:1, topic:398471”]
https://example.com/admin/themes/import.jsonでエラー500
このエラーにより、テーマのアップロードプロセスが失敗します。この問題の原因と解決方法について、どなたかご説明いただけますでしょうか?
[/quote]より的確な支援ができるよう、エラーログ(example.com/logs)を共有してください。
Install the Discourse Theme CLI console app to help you build themes をインストールしようとしていますか、それとも Installing a theme or theme component をインストールしようとしていますか?
いいえ、DiscourseテーマCLIはすでにインストールされています。アップロードしていたところです。
また、このエラーはコマンドを実行するたびに発生するわけではなく、時々しか発生しません。
私が把握していない既存の問題/バグがない限り、500が具体的に何を意味するのかを知るためには、引き続きログを確認する必要があります。
2
DEPRECATION NOTICE: add_to_serializerのrespect_plugin_enabled引数はキーワード引数として渡す必要があります /var/www/discourse/plugins/eas-progressive-user/plugin.rb:224:in block in Plugin::In 12 Mar 7:22 am 2 DEPRECATION NOTICE: add_to_serializerのrespect_plugin_enabled引数はキーワード引数として渡す必要があります At /var/www/discourse/plugins/eas-progressive-user/plugin.rb:253:in block in Plugin::In
12 Mar 7:22 am
8
ActionView::Template::Error (ルートが見つかりません {action: “votes_feed”, controller: “list”}) app/views/list/list.erb:136 app/views/list/list.erb:134 lib/topic_list_responder.rb:16:in 'block (2 levels) in
12 Mar 10:31 am
OIDC Debugging: リクエスト POST https://example.com/api/auth/oauth2/token ヘッダー: {“User-Agent” => “Faraday v2.14.1”, “Content-Type” => “application/x-www-form-urlencoded”} ボディ: {“client_id”
14 Mar 1:15 am
OIDC Debugging: レスポンス ステータス 200 POST https://example.com/api/auth/oauth2/token から ヘッダー: {“user-agent” => "Discourse/2026.3.0-latest-37d307e061fe6acfb6a0b76e9808e0fc7a203fdd; +https
14 Mar 1:15 am
OIDC Debugging: リクエスト GET https://example.com/api/auth/oauth2/userinfo ヘッダー: {“User-Agent” => “Faraday v2.14.1”, “Authorization” => “Bearer QhHsKrkVzuYupCFPEvmGPRYKQEQNtqRw”} ボディ:
14 Mar 1:15 am
OIDC Debugging: レスポンス ステータス 200 GET https://example.com/api/auth/oauth2/userinfo から ヘッダー: {“user-agent” => "Discourse/2026.3.0-latest-37d307e061fe6acfb6a0b76e9808e0fc7a203fdd; +htt
14 Mar 1:15 am
17
NoMethodError (nilに対して‘more_topics_url=’というメソッドが見つかりません) app/controllers/list_controller.rb:89:in ‘block (2 levels) in class:ListController’ app/controllers/application_controller.rb:443:in 'bloc
14 Mar 1:32 am
6
OIDC Log: 発見ドキュメントを https://example.com/api/auth/.well-known/openid-configuration からフェッチしています
14 Mar 2:43 am
7
OIDC Log: 発見ドキュメントは — scopes_supported: - openid - profile - email - offline_access issuer: https://example.com/api/auth authorization_endpoint: https://example.com/ap
14 Mar 2:43 am
3
DEPRECATION NOTICE: OmniAuth strategy ‘oidc’ はコールバックURLで重複したscript_nameを含んでいます。script_nameがcallback_pathと連結されている可能性があります。OmniAuth v2 includ
14 Mar 2:43 am
4
OIDC Log: 発見ドキュメントはキャッシュからロードされました
14 Mar 2:43 am
4
OIDC Log: 発見ドキュメントは — scopes_supported: - openid - profile - email - offline_access issuer: https://example.com/api/auth authorization_endpoint: https://example.com/ap
14 Mar 2:43 am
3
DEPRECATION NOTICE: OmniAuth strategy ‘oidc’ はコールバックURLで重複したscript_nameを含んでいます。script_nameがcallback_pathと連結されている可能性があります。OmniAuth v2 includ
14 Mar 2:43 am
OIDC Debugging: リクエスト POST https://example.com/api/auth/oauth2/token ヘッダー: {“User-Agent” => “Faraday v2.14.1”, “Content-Type” => “application/x-www-form-urlencoded”} ボディ: {“client_id”
14 Mar 2:43 am
OIDC Debugging: レスポンス ステータス 200 POST https://example.com/api/auth/oauth2/token から ヘッダー: {“user-agent” => "Discourse/2026.3.0-latest-37d307e061fe6acfb6a0b76e9808e0fc7a203fdd; +https
14 Mar 2:43 am
OIDC Debugging: リクエスト GET https://example.com/api/auth/oauth2/userinfo ヘッダー: {“User-Agent” => “Faraday v2.14.1”, “Authorization” => “Bearer RPuKTUJEVFePFlsoNSxeWkXUEiQFBAaD”} ボディ:
14 Mar 2:43 am
OIDC Debugging: レスポンス ステータス 200 GET https://example.com/api/auth/oauth2/userinfo から ヘッダー: {“user-agent” => "Discourse/2026.3.0-latest-37d307e061fe6acfb6a0b76e9808e0fc7a203fdd; +htt
14 Mar 2:43 am
DEPRECATION NOTICE: add_to_serializerのrespect_plugin_enabled引数はキーワード引数として渡す必要があります At /var/www/discourse/plugins/eas-progressive-user/plugin.rb:152:in block in Plugin::In 14 Mar 3:20 am DEPRECATION NOTICE: add_to_serializerのrespect_plugin_enabled引数はキーワード引数として渡す必要があります At /var/www/discourse/plugins/eas-progressive-user/plugin.rb:156:in block in Plugin::In
14 Mar 3:20 am
DEPRECATION NOTICE: add_to_serializerのrespect_plugin_enabled引数はキーワード引数として渡す必要があります At /var/www/discourse/plugins/eas-progressive-user/plugin.rb:160:in block in Plugin::In 14 Mar 3:20 am DEPRECATION NOTICE: add_to_serializerのrespect_plugin_enabled引数はキーワード引数として渡す必要があります At /var/www/discourse/plugins/eas-progressive-user/plugin.rb:164:in block in Plugin::In
14 Mar 3:20 am
DEPRECATION NOTICE: add_to_serializerのrespect_plugin_enabled引数はキーワード引数として渡す必要があります At /var/www/discourse/plugins/eas-progressive-user/plugin.rb:173:in block in Plugin::In 14 Mar 3:20 am DEPRECATION NOTICE: add_to_serializerのrespect_plugin_enabled引数はキーワード引数として渡す必要があります At /var/www/discourse/plugins/eas-progressive-user/plugin.rb:189:in block in Plugin::In
14 Mar 3:20 am
DEPRECATION NOTICE: add_to_serializerのrespect_plugin_enabled引数はキーワード引数として渡す必要があります At /var/www/discourse/plugins/eas-progressive-user/plugin.rb:209:in block in Plugin::In 14 Mar 3:20 am DEPRECATION NOTICE: add_to_serializerのrespect_plugin_enabled引数はキーワード引数として渡す必要があります At /var/www/discourse/plugins/eas-progressive-user/plugin.rb:224:in block in Plugin::In
14 Mar 3:20 am
DEPRECATION NOTICE: add_to_serializerのrespect_plugin_enabled引数はキーワード引数として渡す必要があります At /var/www/discourse/plugins/eas-progressive-user/plugin.rb:253:in block in Plugin::In 14 Mar 3:20 am MaxMindDB (/var/www/discourse/vendor/data/GeoLite2-City.mmdb) が見つかりませんでした: No such file or directory @ rb_sysopen - /var/www/discourse/vendor/data/GeoLite2-City.mmdb 14 Mar 8:44 am MaxMindDB (/var/www/discourse/vendor/data/GeoLite2-ASN.mmdb) が見つかりませんでした: No such file or directory @ rb_sysopen - /var/www/discourse/vendor/data/GeoLite2-ASN.mmdb 14 Mar 8:44 am ActionView::Template::Error (ルートが見つかりません {action: "votes_feed", controller: "list"}) app/views/list/list.erb:136 app/views/list/list.erb:134 lib/topic_list_responder.rb:16:in 'block (2 levels) in 14 Mar 1:52 pm DEPRECATION NOTICE: add_to_serializerのrespect_plugin_enabled引数はキーワード引数として渡す必要があります At /var/www/discourse/plugins/eas-progressive-user/plugin.rb:152:in block in Plugin::In
14 Mar 9:11 pm
DEPRECATION NOTICE: add_to_serializerのrespect_plugin_enabled引数はキーワード引数として渡す必要があります At /var/www/discourse/plugins/eas-progressive-user/plugin.rb:156:in block in Plugin::In 14 Mar 9:11 pm DEPRECATION NOTICE: add_to_serializerのrespect_plugin_enabled引数はキーワード引数として渡す必要があります At /var/www/discourse/plugins/eas-progressive-user/plugin.rb:160:in block in Plugin::In
14 Mar 9:11 pm
DEPRECATION NOTICE: add_to_serializerのrespect_plugin_enabled引数はキーワード引数として渡す必要があります At /var/www/discourse/plugins/eas-progressive-user/plugin.rb:164:in block in Plugin::In 14 Mar 9:11 pm DEPRECATION NOTICE: add_to_serializerのrespect_plugin_enabled引数はキーワード引数として渡す必要があります At /var/www/discourse/plugins/eas-progressive-user/plugin.rb:173:in block in Plugin::In
14 Mar 9:11 pm
DEPRECATION NOTICE: add_to_serializerのrespect_plugin_enabled引数はキーワード引数として渡す必要があります At /var/www/discourse/plugins/eas-progressive-user/plugin.rb:189:in block in Plugin::In 14 Mar 9:11 pm DEPRECATION NOTICE: add_to_serializerのrespect_plugin_enabled引数はキーワード引数として渡す必要があります At /var/www/discourse/plugins/eas-progressive-user/plugin.rb:209:in block in Plugin::In
14 Mar 9:11 pm
DEPRECATION NOTICE: add_to_serializerのrespect_plugin_enabled引数はキーワード引数として渡す必要があります At /var/www/discourse/plugins/eas-progressive-user/plugin.rb:224:in block in Plugin::In 14 Mar 9:11 pm DEPRECATION NOTICE: add_to_serializerのrespect_plugin_enabled引数はキーワード引数として渡す必要があります At /var/www/discourse/plugins/eas-progressive-user/plugin.rb:253:in block in Plugin::In
14 Mar 9:11 pm
19
MiniRacer::ScriptTerminatedError (terminated) lib/asset_processor.rb:169:in ‘MiniRacer::Context#call’ lib/asset_processor.rb:169:in ‘block in AssetProcessor.v8_call’ lib/asset_processor.rb:168:in 'Thr
11:58 am
DEPRECATION NOTICE: OmniAuth strategy ‘oidc’ はコールバックURLで重複したscript_nameを含んでいます。script_nameがcallback_pathと連結されている可能性があります。OmniAuth v2 includ
12:30 pm
DEPRECATION NOTICE: OmniAuth strategy ‘oidc’ はコールバックURLで重複したscript_nameを含んでいます。script_nameがcallback_pathと連結されている可能性があります。OmniAuth v2 includ
12:30 pm
5
MaxMindDB (/var/www/discourse/vendor/data/GeoLite2-City.mmdb) が見つかりませんでした: No such file or directory @ rb_sysopen - /var/www/discourse/vendor/data/GeoLite2-City.mmdb
12:30 pm
5
MaxMindDB (/var/www/discourse/vendor/data/GeoLite2-ASN.mmdb) が見つかりませんでした: No such file or directory @ rb_sysopen - /var/www/discourse/vendor/data/GeoLite2-ASN.mmdb
12:30 pm
これらはログです
投稿はトリプルバッククォートで囲んでください。
```
ここにログ
```
ありがとうございます!
まず、ビルドからこれを削除してください。これらは単なる非推奨の警告ですが、数が多すぎるため、ビルドの一部としてそのプラグインを信頼しません。