Is it safe to upgrade from 1.9.x stable to 2.0.x stable?

Has anyone upgraded from 1.9.x stable to 2.0.x stable? I wanted to know how safe it is to do so (I’m on 1.9.6). I’ve looked at the release notes and could only see notes for beta releases (is that intentional? Topics tagged release-notes <-- this is the link included in the upgrade notification email; I couldn’t infer from the git commits if any are backward incompatible).

I’m running a few plugins (1 non-official):

The discourse-mathjax plugin is from here: because the official one is/was still buggy and not supporting some features, breaking our existing mathjax posts created with this plugin.

The dicourse_manager plugin is from here

Good question indeed. I guess you’ll have to run the upgrade to find out… :rofl:

If I were you, I would upgrade with ssh ( command line ). Simply because you can update ubuntu, your plugins and discourse all at once, and then restart. I never had any issues this way.

:warning: And please make a backup of your forum.

Well, the purpose of my post was precisely because I didn’t want to be the first one to upgrade. Our Discourse is mission critical - I’m hoping there are others for which it isn’t. If not I’ll setup a copy but would rather save the time if someone confirms they upgraded without issues.

Meta, this forum you are on now, runs on latest and is updated very regularly. I’ve also never had a problem with keeping my own setup on latest for the last several years, and like most people I consider my own setup to be mission critical. :slight_smile: But then I use only a few plugins that are not official plugins, and I usually only update when prompted to update on the dashboard.

But yes, as @Carlo writes, you still want to run the backup each time before you update. Better safe than sorry.

We run almost all our forums on stable and we have upgraded 98% of our customers from 1.9.7 to 2.0.0 without any issues at all. (The other 2% didn’t have issues either, they were just not upgraded or on a beta version).

We did switch mathjax for the official math plugin though.


I did 1.9.x to 2.0.x (multisite, single container) recently and it went fine. I was using the checklist plugin pegged to an older branch and was finally able to let that update to latest. Since stable only updates occasionally I almost always update via ssh and the paranoid in me takes snapshots and a few other precautions first since the extra downtime is not a huge drama for my situation.

1 Like

Can you clarify in what way the new discourse-math plugin in is buggy? In my experience, the old plugin was quite buggy but the new on is not.


@mcmcclur I missed your post, and it’s been a long time - IIRC we had all sort of issues, with it not having the same syntax for curly braces (one was requiring more backslashes than the other) and not supporting things like \begin{align} etc, all which broke a lot of our posts, so we went back. I haven’t tried it since but if we can’t automate the transition then we’ll have to stick to the old one (lack of time for manual adjustments).

Could the devs consider creating an upgrading script from the old plugin to the the new one, for those like me who have a lot of latex content? I don’t know who the devs are for the new plugin.

Sorry, can you do a simple post here with old markdown you have that no longer works with the supported version of the mathjax plugin?

I’d followed the old Golden rule of it isn’t broken no need fixing it except it is extremely necessary. Just an humble opinion from an ever cautious guy.

An actually pesky and dangerous saying that bit me in the proverbial many times. Wait till you fall behind too much because you wanted to play safe, and then had 100x more broken stuff when you actually had to upgrade (either because some of it became unsupported/incompatible/etc or whatever else), invariably at the worst possible time (by definition of “had to upgrade”), and you wished you upgraded more regularly with little/negligible hassle every time.

@sam I’ll need to install the new one again to compare. Is the new plugin installed anywhere on Meta? I could post there some snippets to see how they are rendered.


I think it may be on try, but I am not sure it is certainly not on meta