Unsupported Discourse Upgrade Script


(Brendan) #1

Continuing the discussion from Question regarding future updates (Unsupported Install Upgrade How To inside):

I decided to use what I learned from my previous investigations into how Discourse is upgraded in Docker and made a bash script that carries out (most of) the upgrade for you.

It’s a little bit different than Discourse Update-Script in that it’s just an upgrade script (it does no backup of data, nor give you the option of bleeding edge, etc). It must also be configured before being run.

It should also be noted that I have only tested this on CentOS 6.x using the Digital Ocean install method, located here: How To Install Discourse on a CentOS 6.4 x64 VPS | DigitalOcean

Feedback is welcome. Please understand that this script is just as unsupported as the non-Docker install, so please do not blame me if it messes anything up (unlikely, but it must be said).

(Brendan) #2

Updated to add variable clarification and configurable NUM_WEBS