Error 500 when attempting to install Reader Mode

AI-generated summary

Error 500 when installing Reader Mode

User Cédric_DANIEL reported encountering an Error 500 when attempting to install Reader Mode via GitHub or the “Install this theme component” button. Jagster and Heliosurge suggested that it might have been a temporary glitch, as they were able to install it successfully.

However, RGJ identified the root cause of the issue: an error in the .discourse-compatibility file due to a non-existent commit in the stable branch. This problem affects multiple theme components. The issue was caused by a pinned theme skeleton commit.

jordan-vidrine acknowledged the issue and reported that it has been fixed in a recent PR (https://github.com/discourse/discourse-theme-skeleton/pull/20). The compatibility file will also be removed from the repository.

Hello

Thx a lot but am I alone to have error 500 when installing Reader Mode via github deposit or “Install this theme component” button ?

It worked for me yesterday.

Could you check your Discourse instance’s /logs and look for the associated error?

Ok. Does this tell you enough?

Can you try installing a different theme component from github as well? Does it work?

I would maybe try installing again. It might have just been a glitch. The other day I was getting a 502 error on Discourse. It resolved though in about an hour later.

@jordan.vidrine There is a problem installing this theme component on the stable branch because of an error in the .discourse-compatibility file. The mentioned commit a7aca0e8a009937e4166530af40f31636457431a does not exist in that repository.

This is an issue in other theme components as well Code search results · GitHub

and it happened because someone pinned the theme skeleton… DEV: Pin theme for Discourse < 3.3.0.beta1-dev (#18) · discourse/discourse-theme-skeleton@2848b62 · GitHub

Richard thanks for bringing this to our attention. The issue has now been fixed in this PR → Revert "DEV: Pin theme for Discourse < 3.3.0.beta1-dev (#18)" by pmusaraj · Pull Request #20 · discourse/discourse-theme-skeleton · GitHub

I am also going to remove the compatibility file from my repo