What does it mean to maintain two version lines of an open-source CMS, and what should be confirmed before upgrading?
Open source CMS maintains two version lines simultaneously, which directly means that the old main branch has not yet entered the maintenance phase, and security fixes will be issued to both branches at the same time. The impact on the site is more practical than it looks - you do not have to upgrade to a major version immediately because the version number is one generation behind, but you also cannot stay on the old branch for a long time, because the old branch usually only receives security fixes and does not receive feature improvements and structural changes. Before the upgrade, it is necessary to confirm three things: backup and rollback points, the compatibility range of templates and custom code, and the execution order of data scripts.
What does it mean that two lines run in parallel?
**, the number of users determines the support length. At the same time, repairs are sent to both sides, indicating that both sides still have considerable sites in use, and the official does not want to create the pressure of 'must migrate immediately'.
Second, the gap between branches has widened. New branches often involve structural changes, such as template mechanisms, adjustments to data table scope, or changes in interface forms, these changes will not be supplemented to the old branch. Therefore, the old branch becomes a 'safe but frozen' state.
Third, the candidate release phase is for testers. For example, Joomla released the candidate version 6.2 on September 29, 2026, and the official statement was to let everyone test the final installation package; at the same time, two parallel releases of 6.1.4 and 5.4.9 for security and bug fixes. Reading this announcement together, the conclusion we can draw is that the candidate version belongs to the test channel, and the production site should follow the official version and security fix version.
| Your situation | Appropriate action | Not recommended action |
|---|---|---|
| Staying on the old branch, only missing security fixes | Latest fix version of the same branch | Crossing major versions for new features |
| To follow the new feature | After validating the migration in the pre-release environment, go live | Directly install the candidate version on the production station |
| Too many customized codes, cannot upgrade temporarily | Converge the exposed surface, shorten the evaluation cycle | Long-term stop on the version with known vulnerabilities |
Three things to confirm before the upgrade
** is a backup and rollback point. Both data and static files must have recoverable copies, and actual recovery tests must be performed, not just check if the backup task is successful. AnQiCMS (AnQi CMS) makes backup and recovery a background capability, covering data and static files; leave a usable rollback point before upgrading, which is more reliable than finding a database snapshot later.
The second is the compatibility range between templates and custom code. The most likely to cause problems during cross-version upgrades is the template layer: changes in tag behavior, adjustments in data reading methods, and changes in the custom interface signature. The judgment method is to first read the official change notes and update records, and confirm whether the positions you have changed are among those that have been changed. Within the site, version v3.6.5 once adjusted the table structure related to MCP tool layer and template backup, and if this kind of change is upgraded directly without reading the instructions, it is manifested as 'Upgrade successful but a block in the background cannot be opened'.
The third is the execution order of the data script. Most system upgrades include database structure changes, and if the order is wrong, it will result in a semi-upgrade state: new code reads old tables, or old code reads new tables. It is important to confirm whether the script is idempotent, whether it can be rerun after failure, and whether there is a clear success indicator.
How to roll back if there is a problem
The target of rolling back is not to return to the old version, but to return to a consistent state. If the upgrade has rewritten the table structure, just switching the program back to the old version may cause mixed use of old and new. The safe order is: first stop writing externally, confirm whether the data has been rewritten by the migration script; if not rewritten, go back to the program, and if rewritten, go back to the backup point with the data together; after recovery, first perform the verification of the background core actions, and then write back in segments.
There is something often overlooked on the content side: the content in draft or pending release status during the upgrade process. Problems with formal content can be discovered immediately, while problems with content not yet released often surface only when scheduled for上线. It is more convenient to check the status list before and after the upgrade than to just monitor the homepage. Within the site, v3.6.6 fixed a high-risk issue related to the list sorting parameters and site switching login credentials, and the official also recommended key rotation and password change for administrators - performing a credential rotation after the upgrade is part of the rollback plan, as it ensures that even if the old credentials are leaked, they are no longer valid.
Common questions
Ask: How long can we safely use the old branch if only security fixes are released?Answer: It depends on your exposure. The old branch will not receive fixes forever, and the official maintenance termination announcement is usually given in advance; before that, you should complete the evaluation rather than wait until the fixes stop being released before taking action.
Ask: Can the candidate version only be installed on one test site?Answer: Yes, that is exactly what it is designed for. The premise is that the data of the test site is a desensitized copy, to avoid bringing production data into the unfinished version.
Ask: Do I have to upgrade during off-peak hours?Answer: The upgrade of data scripts is required, as the rollback window in case of failure during the process is shorter; maintenance upgrades that only change the program and not the structure have much smaller risk windows.