How to maintain multiple versions on the same server and what order to follow for multiple sites
When maintaining multiple sites on the same server with multiple modified versions, in what order should we judge the branch affiliation and upgrade priority? The answer depends on the official supported branch list, the release rhythm of the modifier, and the business importance of each site. This article provides the judgment logic and operation list.
Why do we need to distinguish between modified versions
The modified version (fork) is a branching point in the code tree. The official core releases security patches regularly, but the modifier may only follow some branches. If there are three branches 10.4, 10.5, and 11.1 on the server at the same time, and a security announcement only fixes 10.5 and 11.1, the site left on 10.4 will be exposed to vulnerabilities.
Drupal core announcement SA-CORE-2026-004 is a typical example: SQL injection vulnerabilities affect all major branches starting from 8.9.0, and the fixed versions are scattered across seven revision numbers of 10.4.10, 10.5.10, 10.6.9, 11.0.10, 11.1.10, 11.2.12, 11.3.10.Announcement pre-release page PSA-2026-05-18 points out that exploits might be developed within hours or days, and testing time must be reserved before the patch is released.
Confirm the branch ownership
usingdrush core-statusCheck the current core version number, compare it with the support branch list of PSA-2026-05-18. If the version number is in the list, upgrade to the corresponding minor version directly after the official patch is released; if it is not in the list (such as 9.5.x or 8.9.x), check the modifier's Git repository to see if the security patch has been cherry-picked.
Options when there is no official fix
Upgrade to a supported branch. The cost is the highest, and it may require adjustments to templates, modules, or database structures. The official preview page will provide migration guidance for each branch that has stopped supporting.
Depends on the modifier's patch. Large modifiers may continue to maintain their own branches, but the response speed is not transparent. Exploitation code may appear within a few hours, while patches may take several days.
Deploy virtual patches. Intercept known attack vectors at the WAF or reverse proxy layer. AnqieCMS v3.6.6 fixed two high-risk issues of SQL injection in list sorting parameters and the login credentials of the site switching can be forged. The upgrade recommendation mentions the need to rotate one-time tickets and change the administrator password (F039), which is the standard practice for clearing credentials after patching.
Pre-upgrade check
Backup the database and static files (F019). Run the upgrade process in the test environment to confirm that there are no module conflicts. Check the compatibility of custom modules with the new core API. Verify whether the multi-site configuration files are compatible with the new version. Finally, do a gray-scale release: first upgrade the site with the least traffic, observe the logs, and then upgrade one by one.
Common questions
Question: If multiple sites share the core code, will there be mutual impact during the upgrade?
Answer: Yes. It is recommended to create an independent core copy for each site or use symbolic links to point to different versions to achieve a gray-scale upgrade.
Question: What should I do if the version patch is one week later than the official one?
Answer: Deploy virtual patches or intercept attack vectors at the WAF layer. Monitor the modifier repository closely and test immediately after patch release.
| Branch status | Official support | Maintained by the modifier | Suggested action |
|---|---|---|---|
| Within the support list | Is | Optional | Waiting for official patch |
| Just stopped supporting | No | Possible | Check the modifier repository |
| Stopped for over half a year | No | unlikely | migrate to a new branch |
| modifier's private branch | No | Is | evaluate response speed |