How to fetch Confluence version from Database
Platform Notice: Data Center Only - This article only applies to Atlassian products on the Data Center platform.
Note that this KB was created for the Data Center version of the product. Data Center KBs for non-Data-Center-specific features may also work for Server versions of the product, however they have not been tested. 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 article will help you fetch Confluence version information from the Database. This can be useful when the server is down or you don't have access to the Filesystem of Confluence.
Solution
We can run the below query to fetch the version information
1
SELECT BANDANAVALUE FROM BANDANA b WHERE BANDANAKEY = 'version.history';
The result will be like below which shows the version as 7.14.1
1
2
3
4
5
6
<map>
<entry>
<string>7.14.1</string>
<string>2021-12-18T22:32:09.915+05:30</string>
</entry>
</map>
Was this helpful?