On my dev instance today, I'd left my cluster set in rolling upgrade mode when I went to upgrade from 8.5 to 9.2 and set all my boxes to upgrade at the same time, the upgraded boxes wouldn't start, citing they don't support a rolling upgrade between major versions, which is fine, however I couldn't find a way to get the system out of thinking it was in rolling upgrade mode so I could just finish upgrading one box with the other two down. Since I couldn't get to the GUI.
I restored from a backup and ran my upgrade again on a single box and it went through fine.
My question is, is there a db command or config file line change to stop the system thinking its in rolling upgrade mode without the browser GUI, so on the offchance this happens again, we dont have to roll all the way back to a backup and upgrade again.
For clarity, running on Linux as a service
Hi @Steve Letch
While the Confluence cluster is typically managed through the browser GUI, it is possible to exit rolling upgrade mode without using the graphical interface.
This can be achieved by directly modifying the database, but it's essential to exercise caution and only resort to this method as a last option.
It's crucial to note that modifying the database directly should only be done with caution and after ensuring you have a recent backup.
This method can be useful in situations where accessing the GUI is not possible or when nodes are offline. For future upgrades, especially when moving between major versions, it's recommended to disable rolling upgrade mode before starting the upgrade process and perform a full cluster upgrade rather than a rolling upgrade.
If a rollback is necessary, be sure to follow the official rollback procedures provided by Atlassian. Remember that rolling upgrades are primarily designed for minor version updates and patches, not for major version upgrades.
Hope this helps - Happy to help further!!
Thank you very much and have a great one!
Warm regards
@Humashankar VJ I am stuck with the exact same problem but for Jira instead of confluence. Do you have any suggestions that might help out? Appreciate any response as soon as you could, we've been trying ways without luck for weeks now. Thank you so much!
Regards,
Akhil.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
To manually disable rolling upgrade mode in Jira, follow a similar approach to Confluence, as Jira also stores system properties in its database. Rolling upgrade settings in Jira are typically stored in the propertyentry and propertystring tables. To begin, execute the following SQL queries to identify and inspect relevant upgrade properties:
First, run this query to find upgrade properties: SELECT * FROM propertyentry WHERE property_key LIKE '%upgrade%'; Additionally, you may need to query propertystring to check the stored values: SELECT * FROM propertystring WHERE id IN (SELECT id FROM propertyentry WHERE property_key LIKE '%upgrade%');
To disable rolling upgrade mode, locate the relevant property, such as "jira.cluster.rolling.upgrade", and then update or delete it. One option is to update the value by executing the following SQL query: UPDATE propertystring SET propertyvalue = 'false' WHERE id IN (SELECT id FROM propertyentry WHERE property_key = 'jira.cluster.rolling.upgrade'); This will set the rolling upgrade mode to "false", effectively disabling it.
Regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.