# 主题更新时出现内部服务器错误

**URL:** https://meta.discourse.org/t/internal-server-error-on-theme-update/111604
**Category:** Support
**Created:** [2019年三月14日 17:15 UTC](https://meta.discourse.org/t/internal-server-error-on-theme-update/111604 "2019-03-14T17:15:13Z")
**Posts on this page:** 9
**Page:** 1

<div class="post-metadata">

### Author: ![nelilly](https://avatars.discourse-cdn.com/v4/letter/n/c6cbf5/32.png) [@nelilly](https://meta.discourse.org/u/nelilly)
#### Post date: [2019年三月14日 17:15 UTC](https://meta.discourse.org/t/internal-server-error-on-theme-update/111604/1 "2019-03-14T17:15:13Z")

</div>

When I click on “CHECK FOR UPDATES” to refresh my theme from my git repo, I get an Internal Server Error.

This message logs in the console: `Failed to load resource: the server responded with a status of 500 ()`

I was able to do it a few days ago fine, but recently added https.

Any suggestions?

---

<div class="post-metadata">

### Author: ![david](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/david/32/157490_2.png) [@david](https://meta.discourse.org/u/david)
#### Post date: [2019年三月14日 17:19 UTC](https://meta.discourse.org/t/internal-server-error-on-theme-update/111604/2 "2019-03-14T17:19:12Z")

</div>

Please can you check `/logs` on your forum and post the error message here

---

<div class="post-metadata">

### Author: ![nelilly](https://avatars.discourse-cdn.com/v4/letter/n/c6cbf5/32.png) [@nelilly](https://meta.discourse.org/u/nelilly)
#### Post date: [2019年三月14日 17:25 UTC](https://meta.discourse.org/t/internal-server-error-on-theme-update/111604/3 "2019-03-14T17:25:30Z")

</div>

This? `Excon::Error::Forbidden (Expected([200]) <=> Actual(403 Forbidden) ) /var/www/discourse/vendor/bundle/ruby/2.5.0/gems/excon-0.62.0/lib/excon/middlewares/expects.rb:7:in `response\_call’`

Two items right at the same time:  
Uncaught [object Object]  
Url: /assets/ember\_jquery-716f4989c2eb49ad65163ffb56185407340c2b195b81b9392b62cde3e992cade.js  
Line: 15  
Column: 5191  
Window Location: [https://ask.comcast.com/admin/customize/themes/4](https://ask.comcast.com/admin/customize/themes/4)

---

<div class="post-metadata">

### Author: ![david](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/david/32/157490_2.png) [@david](https://meta.discourse.org/u/david)
#### Post date: [2019年三月14日 17:31 UTC](https://meta.discourse.org/t/internal-server-error-on-theme-update/111604/4 "2019-03-14T17:31:55Z")

</div>

Can you share the URL of the theme you are trying to install?

---

<div class="post-metadata">

### Author: ![nelilly](https://avatars.discourse-cdn.com/v4/letter/n/c6cbf5/32.png) [@nelilly](https://meta.discourse.org/u/nelilly)
#### Post date: [2019年三月14日 17:40 UTC](https://meta.discourse.org/t/internal-server-error-on-theme-update/111604/5 "2019-03-14T17:40:44Z")

</div>

Unfortunately it’s in a private repo

---

<div class="post-metadata">

### Author: ![david](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/david/32/157490_2.png) [@david](https://meta.discourse.org/u/david)
#### Post date: [2019年三月14日 17:41 UTC](https://meta.discourse.org/t/internal-server-error-on-theme-update/111604/6 "2019-03-14T17:41:30Z")

</div>

When you say “recently added HTTPS”, do you mean that you added HTTPS to Discourse, or to the private repository hosting?

---

<div class="post-metadata">

### Author: ![nelilly](https://avatars.discourse-cdn.com/v4/letter/n/c6cbf5/32.png) [@nelilly](https://meta.discourse.org/u/nelilly)
#### Post date: [2019年三月14日 17:43 UTC](https://meta.discourse.org/t/internal-server-error-on-theme-update/111604/7 "2019-03-14T17:43:19Z")

</div>

To Discourse. I didn’t think it makes a difference, but there weren’t other changes that would’ve made a difference.

---

<div class="post-metadata">

### Author: ![nelilly](https://avatars.discourse-cdn.com/v4/letter/n/c6cbf5/32.png) [@nelilly](https://meta.discourse.org/u/nelilly)
#### Post date: [2019年三月15日 01:30 UTC](https://meta.discourse.org/t/internal-server-error-on-theme-update/111604/8 "2019-03-15T01:30:31Z")

</div>

It ended up being an issue with the git merge being out of sync (someone forced a merge). I reinstalled a new version and it’s fine.

RuntimeError (/var/www/discourse/lib/theme\_store/git\_importer.rb:30:in `block in commits\_since’: fatal: Invalid revision range de44251d05842be62e37ed331c914234e93a7edb..HEAD  
)

---

<div class="post-metadata">

### Author: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [2019年四月15日 00:33 UTC](https://meta.discourse.org/t/internal-server-error-on-theme-update/111604/12 "2019-04-15T00:33:37Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
