I’ve been tasked at work with updating a Discourse instance we have that has been sitting at version 1.0.1 since…well…whenever v1.0.1 was released.
Side note: It’s so strange to see how Discourse used to look…
Anyway, over the next few days, I’m going to be working to get it up to date. I’m assuming I’ll need to use the console to rebuild, not Docker Manager, but other than that anything I should be looking out for? I only started working with Discourse at 1.5, so I won’t have read anything about Discourse prior to that.
Oops, sorry…broke out into song there. This instance is hosted locally, and not on DO where I can simply make a new droplet to play with. I can try to convince IT, but I’m not sure I’ll be able to. Lots of extra stuff, (like DNS), to deal with if I was to make a new instance.
Don’t necessarily migrate to the new instance; create a temporary instance, restore onto it, check it all works OK, then create a new container in the original location, shut down the old one, and restore the upgraded backup. Not that that should be any different, functionally, to doing an in-place upgrade, but at least you won’t blow up the live site if things don’t go according to plan (which, given how old that instance is, I wouldn’t rule out).
Pretty much, although you don’t have to move all of /var/discourse out of the way, just shared/app (or whatever it’s called). Run a ./launcher bootstrap rather than a rebuild, because I think that does extra stuff to setup the shared directory again.