For general upgrade instructions, see the upgrading documentation for your type of installation.
Upgrading from version 2.0.x
Before upgrading from version 2.0.x to any subsequent version, you must first upgrade to v2.1.x. Attempting to upgrade directly from v2.0.x to v3.0.x will fail. For discussion of this requirement, see this github issue.