Internal Server Error on theme update

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?

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

3 Likes

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

1 Like

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

1 Like

Unfortunately it’s in a private repo

1 Like

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

3 Likes

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

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
)

5 Likes

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