Downgrade from latest stable to 3.2.0

AI-generated summary

The discussion revolves around an issue where a user, Celso_Teixeira, encountered a 403 error when creating a topic with script tags enabled in Discourse 3.2.0. The user attempted to reproduce the issue in a newer version (3.2.3) and found it resolved, prompting an attempt to downgrade from 3.2.3 to 3.2.0. However, the downgrade process failed, leading to further investigation. merefield advised against downgrading, emphasizing that it is not supported due to potential migration issues and that only the latest stable version (3.2.3) is supported. Celso_Teixeira confirmed the issue persisted in 3.2.0, noting the problem relates to HTML tags. merefield reiterated the need to upgrade to 3.2.3 and avoid older unsupported versions. JammyDodger added that the next stable version, 3.3, is expected soon, offering a timely upgrade path.

I’m getting a 403 error when creating a topic with script tags enabled. This issue occurs in an environment running Discourse version 3.2.0.

I attempted to reproduce the same error in another environment using the latest stable version of Discourse (3.2.3), but the issue did not occur there. I was able to create the post successfully in Discourse 3.2.3.

To further investigate, I decided to downgrade from version 3.2.3 to 3.2.0 to reproduce the error, but I encountered an error during the downgrade process. Please see the attached image for details.

thanks


You cannot safely “downgrade” a Discourse instance because migrations might have run and manually picking those apart is a complete waste of your time and not supported.

Only the current version of stable is supported so you are best just to upgrade to 3.2.3 and stick with it?

I’m getting the following error in Discourse version 3.2.0

It looks like the html tags ‘<’ is the problem.

Upgrade to 3.2.3 (ie latest stable)

3.2.0 is not supported here.

No bug fixes will be applied to old stable versions.

On the upside, 3.3 should be released soon, so you don’t have too long to wait until the next stable version arrives. :tada: