How to fetch Confluence version from Database

Still need help?

The Atlassian Community is here for you.

Ask the community


Platform notice: Server and Data Center only. This article only applies to Atlassian products on the Server and Data Center platforms.

Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.

*Except Fisheye and Crucible

Summary

This KB will help you fetch Confluence version information from Database. This can be useful when the Server is down or you do not have access to the Filesystem of Confluence

Solution

We can run the below query to fetch the version information

Version info
SELECT BANDANAVALUE FROM BANDANA b WHERE BANDANAKEY = 'version.history'


The result will be like below which shows the version as 7.14.1

Result
<map>
  <entry>
    <string>7.14.1</string>
    <string>2021-12-18T22:32:09.915+05:30</string>
  </entry>
</map>

Last modified on Dec 27, 2021

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.