How do I tell what version of Discourse I am on?

Not sure what version of Discourse you are on? Here’s how to tell.

  1. Visit the target Discourse site in your web browser

  2. Press the “view source” button in your web browser. This varies from browser to browser, in Google Chrome you can right-click anywhere on the page to bring up a context menu for it.

    view-source-chrome

  3. Look for the meta version tag near the top of the source, it looks like this

    <meta name="generator" content="Discourse 2.2.0.beta5 - https://github.com/discourse/discourse version 4831c4c2eeef9124fd4bed6d63f26a8e55b6b9c9">

From the first part of that string, you can tell if you are on a beta (latest) or release (1 version behind) version:

Discourse 2.2.0.beta5

Most installations (including all Discourse official hosting) are betas, being on a release version is more conservative. New betas are released every few weeks. Full releases come, at most, every 6 months.

Note that the specific version is referenced by the string at the end:

https://github.com/discourse/discourse version 4831c4c2eeef9124fd4bed6d63f26a8e55b6b9c9

Take the first 7 characters of the version

4831c4c

Browse github.com/discourse/discourse/commits/master for the checkin that correlates to the version in the metatag:

Or, try a search to narrow it down, using the full version hash:

https://github.com/discourse/discourse/search?q=hash%3A4831c4c2eeef9124fd4bed6d63f26a8e55b6b9c9&type=Commits

That produces

So you can see this version is 11 days behind master.

12 Likes