Main CSS and mobile style not working after update "2.9.0.beta10"

AI-generated summary

After updating to “2.9.0.beta10”, users reported that the main CSS and mobile responsiveness stopped working, with visual issues observed on the site askvill.net. hiccup first raised the issue, noting the complete loss of styling and mobile responsiveness. JammyDodger confirmed a similar problem when switching to Arabic, suspecting a bug. user12 confirmed the issue and suggested reverting to Beta9 via the params.version option as a temporary fix. However, RGJ clarified that reverting requires an older backup. Osama provided a fix via a merged pull request (https://github.com/discourse/discourse/pull/18446), which was backported to the beta branch. hiccup confirmed the issue was resolved after upgrading. user12 noted the fix worked without issues, possibly due to a single version rollback, while hiccup emphasized that the fix was particularly helpful for RTL sites.

Hi,

Am just updated to " 2.9.0.beta10"

then the discourse style complaty change no css also no mobile Responsive!

Can somebody HELP me?

websit: https://askvill.net/

2 Likes

I’ve just flipped my test site into Arabic for its default locale and I’m seeing a similar effect. I think this may be a bug. I will investigate further. :+1:

4 Likes

Can replicate. I faced the same issue.

The temporary fix is to revert to Beta9, by specifying the previous commit you used in the params.version option.

1 Like

10 posts were split to a new topic: Reverting version after problematic update

You cannot revert an update without restoring an older backup as well.

1 Like

Apologies for the disruption @hiccup, here’s a fix for the problem:

https://github.com/discourse/discourse/pull/18446

We’ll backport this to the beta branch as soon as it’s merged.

Edit: PR has been merged and backported. The problem should go away if you upgrade now @hiccup.

7 Likes

Thank You All
I’ll be grateful for your help always. Thank you from the bottom of my heart
Solved..

2 Likes

interesting, It did work with no problems, maybe because i reverted just one version?

if you revert a version that’s enough. but because my website is is RTL, so the update FIX: Workaround a bug in the R2 gem to produce valid RTL CSS by OsamaSayegh · Pull Request #18446 · discourse/discourse · GitHub was more helpful and easy more than revert to other version.