# Getting error while uploading theme

**URL:** https://meta.discourse.org/t/getting-error-while-uploading-theme/398471
**Category:** Support
**Created:** [March 15, 2026, 6:18am UTC](https://meta.discourse.org/t/getting-error-while-uploading-theme/398471 "2026-03-15T06:18:15Z")
**Posts on this page:** 9
**Page:** 1

<div class="post-metadata">

### Author: ![saish](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/saish/32/539116_2.png) [@saish](https://meta.discourse.org/u/saish)
#### Post date: [March 15, 2026, 6:18am UTC](https://meta.discourse.org/t/getting-error-while-uploading-theme/398471/1 "2026-03-15T06:18:15Z")

</div>

I am trying to upload a theme using the NX command:

`nx theme:upload:watch theme_name`

However, when I run this command, I receive the following error:

**Error 500 for** `https://example.com/admin/themes/import.json`

Due to this error, the theme upload process fails. Could someone please help me understand what might be causing this issue and how to resolve it?

---

<div class="post-metadata">

### Author: ![darkpixlz](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/darkpixlz/32/549896_2.png) [@darkpixlz](https://meta.discourse.org/u/darkpixlz)
#### Post date: [March 15, 2026, 6:45am UTC](https://meta.discourse.org/t/getting-error-while-uploading-theme/398471/2 "2026-03-15T06:45:37Z")

</div>

> [@saish](#):
>
> I am trying to upload a theme using the NX command:
> 
> `nx theme:upload:watch theme_name`

`nx`? Are you not looking for `discourse_theme`?

> [@saish](#):
>
> **Error 500 for** `https://example.com/admin/themes/import.json`
> 
> Due to this error, the theme upload process fails. Could someone please help me understand what might be causing this issue and how to resolve it?

Please share the error logs ([example.com/logs](http://example.com/logs)) for us to be able to help better

---

<div class="post-metadata">

### Author: ![NateDhaliwal](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/natedhaliwal/32/313494_2.png) [@NateDhaliwal](https://meta.discourse.org/u/NateDhaliwal)
#### Post date: [March 15, 2026, 7:16am UTC](https://meta.discourse.org/t/getting-error-while-uploading-theme/398471/3 "2026-03-15T07:16:42Z")

</div>

Are you trying to [Install the Discourse Theme CLI console app to help you build themes](https://meta.discourse.org/t/install-the-discourse-theme-cli-console-app-to-help-you-build-themes/82950) or [Installing a theme or theme component](https://meta.discourse.org/t/installing-a-theme-or-theme-component/63682)?

---

<div class="post-metadata">

### Author: ![saish](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/saish/32/539116_2.png) [@saish](https://meta.discourse.org/u/saish)
#### Post date: [March 15, 2026, 7:48am UTC](https://meta.discourse.org/t/getting-error-while-uploading-theme/398471/4 "2026-03-15T07:48:41Z")

</div>

no i have Discourse theme cli already installed i was just uploading it.

---

<div class="post-metadata">

### Author: ![saish](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/saish/32/539116_2.png) [@saish](https://meta.discourse.org/u/saish)
#### Post date: [March 15, 2026, 7:51am UTC](https://meta.discourse.org/t/getting-error-while-uploading-theme/398471/5 "2026-03-15T07:51:52Z")

</div>

also I am not getting this error every time I run the command; it only occurs occasionally.

---

<div class="post-metadata">

### Author: ![darkpixlz](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/darkpixlz/32/549896_2.png) [@darkpixlz](https://meta.discourse.org/u/darkpixlz)
#### Post date: [March 15, 2026, 8:09am UTC](https://meta.discourse.org/t/getting-error-while-uploading-theme/398471/6 "2026-03-15T08:09:07Z")

</div>

> [@saish](#):
>
> it only occurs occasionally

Unless there’s an existing issue/bug I’m not aware of, we still need to see logs to know what the 500 specifically means

---

<div class="post-metadata">

### Author: ![saish](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/saish/32/539116_2.png) [@saish](https://meta.discourse.org/u/saish)
#### Post date: [March 15, 2026, 8:34am UTC](https://meta.discourse.org/t/getting-error-while-uploading-theme/398471/7 "2026-03-15T08:34:02Z")

</div>

```plaintext
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 Mar 7:22 am 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 Mar 7:22 am
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 Mar 10:31 am
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 Mar 1:15 am
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 Mar 1:15 am
OIDC Debugging: request GET https://example.com/api/auth/oauth2/userinfo Headers: {“User-Agent” => “Faraday v2.14.1”, “Authorization” => “Bearer QhHsKrkVzuYupCFPEvmGPRYKQEQNtqRw”} Body:
14 Mar 1:15 am
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 Mar 1:15 am
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 Mar 1:32 am
6
OIDC Log: Fetching discovery document from https://example.com/api/auth/.well-known/openid-configuration
14 Mar 2:43 am
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 Mar 2:43 am
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 Mar 2:43 am
4
OIDC Log: Discovery document loaded from cache
14 Mar 2:43 am
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 Mar 2:43 am
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 Mar 2:43 am
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 Mar 2:43 am
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 Mar 2:43 am
OIDC Debugging: request GET https://example.com/api/auth/oauth2/userinfo Headers: {“User-Agent” => “Faraday v2.14.1”, “Authorization” => “Bearer RPuKTUJEVFePFlsoNSxeWkXUEiQFBAaD”} Body:
14 Mar 2:43 am
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 Mar 2:43 am
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 Mar 3:20 am 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 Mar 3:20 am
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 Mar 3:20 am 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 Mar 3:20 am
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 Mar 3:20 am 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 Mar 3:20 am
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 Mar 3:20 am 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 Mar 3:20 am
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 Mar 3:20 am 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 Mar 8:44 am 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 Mar 8:44 am 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 Mar 1:52 pm 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 Mar 9:11 pm
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 Mar 9:11 pm 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 Mar 9:11 pm
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 Mar 9:11 pm 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 Mar 9:11 pm
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 Mar 9:11 pm 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 Mar 9:11 pm
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 Mar 9:11 pm 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 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’ 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 pm
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 pm
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 pm
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 pm

```

these are the logs

---

<div class="post-metadata">

### Author: ![merefield](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/merefield/32/176214_2.png) [@merefield](https://meta.discourse.org/u/merefield)
#### Post date: [March 15, 2026, 9:02am UTC](https://meta.discourse.org/t/getting-error-while-uploading-theme/398471/9 "2026-03-15T09:02:08Z")

</div>

> [@saish](#):
>
> eas-progressive-user/plugin

Remove this from your build to start with. Whilst those are just deprecation warnings, there are so many of them I’d not trust that plugin as part of my build.

---

<div class="post-metadata">

### Author: ![saish](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/saish/32/539116_2.png) [@saish](https://meta.discourse.org/u/saish)
#### Post date: [March 15, 2026, 10:02am UTC](https://meta.discourse.org/t/getting-error-while-uploading-theme/398471/10 "2026-03-15T10:02:13Z")

</div>

okay i will try to solve them if not possible i will remove it
