Fehler beim Hochladen des Themes

Ich versuche, ein Theme mit dem NX-Befehl hochzuladen:

nx theme:upload:watch theme_name

Wenn ich diesen Befehl ausführe, erhalte ich jedoch den folgenden Fehler:

Fehler 500 für https://example.com/admin/themes/import.json

Aufgrund dieses Fehlers schlägt der Theme-Upload-Prozess fehl. Könnte mir jemand bitte helfen zu verstehen, was dieses Problem verursachen könnte und wie man es beheben kann?

nx? Suchen Sie nicht nach discourse_theme?

[quote=“saish, post:1, topic:398471”]
Fehler 500 für https://example.com/admin/themes/import.json

Aufgrund dieses Fehlers schlägt der Theme-Upload-Prozess fehl. Könnte mir bitte jemand helfen zu verstehen, was dieses Problem verursachen könnte und wie ich es beheben kann?
[/quote]Bitte teilen Sie die Fehlerprotokolle (example.com/logs), damit wir Ihnen besser helfen können.

Versuchen Sie, Install the Discourse Theme CLI console app to help you build themes oder Installing a theme or theme component zu installieren?

Nein, ich habe das Discourse Theme CLI bereits installiert, ich habe es nur hochgeladen.

Außerdem erhalte ich diesen Fehler nicht jedes Mal, wenn ich den Befehl ausführe; er tritt nur gelegentlich auf.

Sofern mir kein bestehendes Problem/kein Bug bekannt ist, benötigen wir weiterhin Protokolle, um zu erfahren, was genau der 500 bedeutet.

2
DEPRECATION NOTICE: add_to_serializer’s respect_plugin_enabled argument should be passed as a keyword argument At /var/www/discourse/plugins/eas-progressive-user/plugin.rb:224:in block in Plugin::In 12 Mär 7:22 Uhr 2 DEPRECATION NOTICE: add_to_serializer's respect_plugin_enabled argument should be passed as a keyword argument At /var/www/discourse/plugins/eas-progressive-user/plugin.rb:253:in block in Plugin::In
12 Mär 7:22 Uhr
8
ActionView::Template::Error (No route matches {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 Mär 10:31 Uhr
OIDC Debugging: request POST https://example.com/api/auth/oauth2/token Headers: {“User-Agent” => “Faraday v2.14.1”, “Content-Type” => “application/x-www-form-urlencoded”} Body: {“client_id”
14 Mär 1:15 Uhr
OIDC Debugging: response status 200 From POST https://example.com/api/auth/oauth2/token Headers: {“user-agent” => "Discourse/2026.3.0-latest-37d307e061fe6acfb6a0b76e9808e0fc7a203fdd; +https
14 Mär 1:15 Uhr
OIDC Debugging: request GET https://example.com/api/auth/oauth2/userinfo Headers: {“User-Agent” => “Faraday v2.14.1”, “Authorization” => “Bearer QhHsKrkVzuYupCFPEvmGPRYKQEQNtqRw”} Body:
14 Mär 1:15 Uhr
OIDC Debugging: response status 200 From GET https://example.com/api/auth/oauth2/userinfo Headers: {“user-agent” => "Discourse/2026.3.0-latest-37d307e061fe6acfb6a0b76e9808e0fc7a203fdd; +htt
14 Mär 1:15 Uhr
17
NoMethodError (undefined method ‘more_topics_url=’ for nil) app/controllers/list_controller.rb:89:in ‘block (2 levels) in class:ListController’ app/controllers/application_controller.rb:443:in 'bloc
14 Mär 1:32 Uhr
6
OIDC Log: Fetching discovery document from https://example.com/api/auth/.well-known/openid-configuration
14 Mär 2:43 Uhr
7
OIDC Log: Discovery document is — scopes_supported: - openid - profile - email - offline_access issuer: https://example.com/api/auth authorization_endpoint: https://example.com/ap
14 Mär 2:43 Uhr
3
DEPRECATION NOTICE: OmniAuth strategy ‘oidc’ included duplicate script_name in callback url. It’s likely the callback_url method is concatenating script_name with callback_path. OmniAuth v2 includ
14 Mär 2:43 Uhr
4
OIDC Log: Discovery document loaded from cache
14 Mär 2:43 Uhr
4
OIDC Log: Discovery document is — scopes_supported: - openid - profile - email - offline_access issuer: https://example.com/api/auth authorization_endpoint: https://example.com/ap
14 Mär 2:43 Uhr
3
DEPRECATION NOTICE: OmniAuth strategy ‘oidc’ included duplicate script_name in callback url. It’s likely the callback_url method is concatenating script_name with callback_path. OmniAuth v2 includ
14 Mär 2:43 Uhr
OIDC Debugging: request POST https://example.com/api/auth/oauth2/token Headers: {“User-Agent” => “Faraday v2.14.1”, “Content-Type” => “application/x-www-form-urlencoded”} Body: {“client_id”
14 Mär 2:43 Uhr
OIDC Debugging: response status 200 From POST https://example.com/api/auth/oauth2/token Headers: {“user-agent” => "Discourse/2026.3.0-latest-37d307e061fe6acfb6a0b76e9808e0fc7a203fdd; +https
14 Mär 2:43 Uhr
OIDC Debugging: request GET https://example.com/api/auth/oauth2/userinfo Headers: {“User-Agent” => “Faraday v2.14.1”, “Authorization” => “Bearer RPuKTUJEVFePFlsoNSxeWkXUEiQFBAaD”} Body:
14 Mär 2:43 Uhr
OIDC Debugging: response status 200 From GET https://example.com/api/auth/oauth2/userinfo Headers: {“user-agent” => "Discourse/2026.3.0-latest-37d307e061fe6acfb6a0b76e9808e0fc7a203fdd; +htt
14 Mär 2:43 Uhr
DEPRECATION NOTICE: add_to_serializer’s respect_plugin_enabled argument should be passed as a keyword argument At /var/www/discourse/plugins/eas-progressive-user/plugin.rb:152:in block in Plugin::In 14 Mär 3:20 Uhr DEPRECATION NOTICE: add_to_serializer's respect_plugin_enabled argument should be passed as a keyword argument At /var/www/discourse/plugins/eas-progressive-user/plugin.rb:156:in block in Plugin::In
14 Mär 3:20 Uhr
DEPRECATION NOTICE: add_to_serializer’s respect_plugin_enabled argument should be passed as a keyword argument At /var/www/discourse/plugins/eas-progressive-user/plugin.rb:160:in block in Plugin::In 14 Mär 3:20 Uhr DEPRECATION NOTICE: add_to_serializer's respect_plugin_enabled argument should be passed as a keyword argument At /var/www/discourse/plugins/eas-progressive-user/plugin.rb:164:in block in Plugin::In
14 Mär 3:20 Uhr
DEPRECATION NOTICE: add_to_serializer’s respect_plugin_enabled argument should be passed as a keyword argument At /var/www/discourse/plugins/eas-progressive-user/plugin.rb:173:in block in Plugin::In 14 Mär 3:20 Uhr DEPRECATION NOTICE: add_to_serializer's respect_plugin_enabled argument should be passed as a keyword argument At /var/www/discourse/plugins/eas-progressive-user/plugin.rb:189:in block in Plugin::In
14 Mär 3:20 Uhr
DEPRECATION NOTICE: add_to_serializer’s respect_plugin_enabled argument should be passed as a keyword argument At /var/www/discourse/plugins/eas-progressive-user/plugin.rb:209:in block in Plugin::In 14 Mär 3:20 Uhr DEPRECATION NOTICE: add_to_serializer's respect_plugin_enabled argument should be passed as a keyword argument At /var/www/discourse/plugins/eas-progressive-user/plugin.rb:224:in block in Plugin::In
14 Mär 3:20 Uhr
DEPRECATION NOTICE: add_to_serializer’s respect_plugin_enabled argument should be passed as a keyword argument At /var/www/discourse/plugins/eas-progressive-user/plugin.rb:253:in block in Plugin::In 14 Mär 3:20 Uhr MaxMindDB (/var/www/discourse/vendor/data/GeoLite2-City.mmdb) could not be found: No such file or directory @ rb_sysopen - /var/www/discourse/vendor/data/GeoLite2-City.mmdb 14 Mär 8:44 Uhr MaxMindDB (/var/www/discourse/vendor/data/GeoLite2-ASN.mmdb) could not be found: No such file or directory @ rb_sysopen - /var/www/discourse/vendor/data/GeoLite2-ASN.mmdb 14 Mär 8:44 Uhr ActionView::Template::Error (No route matches {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 Mär 1:52 Nachm. DEPRECATION NOTICE: add_to_serializer's respect_plugin_enabled argument should be passed as a keyword argument At /var/www/discourse/plugins/eas-progressive-user/plugin.rb:152:in block in Plugin::In
14 Mär 9:11 Nachm.
DEPRECATION NOTICE: add_to_serializer’s respect_plugin_enabled argument should be passed as a keyword argument At /var/www/discourse/plugins/eas-progressive-user/plugin.rb:156:in block in Plugin::In 14 Mär 9:11 Nachm. DEPRECATION NOTICE: add_to_serializer's respect_plugin_enabled argument should be passed as a keyword argument At /var/www/discourse/plugins/eas-progressive-user/plugin.rb:160:in block in Plugin::In
14 Mär 9:11 Nachm.
DEPRECATION NOTICE: add_to_serializer’s respect_plugin_enabled argument should be passed as a keyword argument At /var/www/discourse/plugins/eas-progressive-user/plugin.rb:164:in block in Plugin::In 14 Mär 9:11 Nachm. DEPRECATION NOTICE: add_to_serializer's respect_plugin_enabled argument should be passed as a keyword argument At /var/www/discourse/plugins/eas-progressive-user/plugin.rb:173:in block in Plugin::In
14 Mär 9:11 Nachm.
DEPRECATION NOTICE: add_to_serializer’s respect_plugin_enabled argument should be passed as a keyword argument At /var/www/discourse/plugins/eas-progressive-user/plugin.rb:189:in block in Plugin::In 14 Mär 9:11 Nachm. DEPRECATION NOTICE: add_to_serializer's respect_plugin_enabled argument should be passed as a keyword argument At /var/www/discourse/plugins/eas-progressive-user/plugin.rb:209:in block in Plugin::In
14 Mär 9:11 Nachm.
DEPRECATION NOTICE: add_to_serializer’s respect_plugin_enabled argument should be passed as a keyword argument At /var/www/discourse/plugins/eas-progressive-user/plugin.rb:224:in block in Plugin::In 14 Mär 9:11 Nachm. DEPRECATION NOTICE: add_to_serializer's respect_plugin_enabled argument should be passed as a keyword argument At /var/www/discourse/plugins/eas-progressive-user/plugin.rb:253:in block in Plugin::In
14 Mär 9:11 Nachm.
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 Uhr
DEPRECATION NOTICE: OmniAuth strategy ‘oidc’ included duplicate script_name in callback url. It’s likely the callback_url method is concatenating script_name with callback_path. OmniAuth v2 includ
12:30 Uhr
DEPRECATION NOTICE: OmniAuth strategy ‘oidc’ included duplicate script_name in callback url. It’s likely the callback_url method is concatenating script_name with callback_path. OmniAuth v2 includ
12:30 Uhr
5
MaxMindDB (/var/www/discourse/vendor/data/GeoLite2-City.mmdb) could not be found: No such file or directory @ rb_sysopen - /var/www/discourse/vendor/data/GeoLite2-City.mmdb
12:30 Uhr
5
MaxMindDB (/var/www/discourse/vendor/data/GeoLite2-ASN.mmdb) could not be found: No such file or directory @ rb_sysopen - /var/www/discourse/vendor/data/GeoLite2-ASN.mmdb
12:30 Uhr

diese sind die Protokolle

Bitte formatieren Sie Ihren Beitrag in dreifachen Backticks:

```
Logs hier
```

Danke!

1 „Gefällt mir“

Entfernen Sie dies zunächst aus Ihrem Build. Obwohl dies nur Deprecation-Warnungen sind, sind es so viele, dass ich diesem Plugin nicht als Teil meines Builds vertrauen würde.