Internal Server Error on theme update


(Nathan E. Lilly) #1

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?


(David Taylor) #2

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


(Nathan E. Lilly) #3

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:inresponse_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


(David Taylor) #4

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


(Nathan E. Lilly) #5

Unfortunately it’s in a private repo


(David Taylor) #6

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


(Nathan E. Lilly) #7

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


(Nathan E. Lilly) #8

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
)