How to plan a GLPI 12 upgrade without breaking production
The GLPI 12 upgrade is mostly preparation: confirming runtime versions, checking every plugin, backing up the right files, and rehearsing php bin/console db:update on a staging copy. If that work is done properly, the production cutover itself is short. The risk sits in the steps before the switch, not in the switch. Start by inventorying your current GLPI version, PHP and database versions, web server configuration and plugin list, then compare them against the GLPI 12.0.0 requirements in the GLPI README, which list PHP 8.3 or later and MariaDB 10.11 or later (or MySQL 8.0 or later). Many instances will need a PHP or database upgrade before GLPI 12 can even be tested, and those changes affect the whole platform, not only GLPI.
The upgrade is harder than it looks for three reasons. First, since GLPI 11.0 plugins are suspended once a new version is detected and must be reactivated after major updates, so every plugin needs a confirmed GLPI 12 compatible version and an owner who will test it before go-live. Second, the update procedure requires backing up the database, the files and the config directory, including glpi.key and glpicrypt.key. Losing those keys can leave encrypted data unreadable, so confirm they are stored outside the application tree and that a restore has been tested. Third, the runtime changes mean the web server, PHP settings and document root may need changes as well. Check the GLPI installation docs on updating against your own environment and write the steps into a runbook with named owners and a rollback point.
Which GLPI components the upgrade touches
A GLPI 12 upgrade touches the runtime, the database, the web server, the encryption keys, the plugins and the data itself. Each one can block the upgrade on its own, so plan them together. Review them on a staging copy before any change reaches production.
PHP runtime
GLPI 12 requires PHP 8.3 or later. The GLPI 11.0 installation docs list PHP 8.2 or later, so a server that was accepted for GLPI 11 may not be accepted for GLPI 12. Check the PHP version the web server actually loads, including any separate PHP-FPM pool, and confirm the required extensions are present on the new version before you replace application files.
Prerequisites docsDatabase engine and version
GLPI 12 supports MariaDB 10.11 or later or MySQL 8.0 or later, and no other database engines. Confirm the server version, not just the client, and review the SQL mode and character set settings your current database uses. If the database is older than these minimums, plan the database upgrade as its own step before the GLPI upgrade.
Prerequisites docsWeb server document root
The document root must point to GLPI's public directory, not the installation root, and URL rewriting must route requests through index.php. This applies to Apache, Nginx, lighttpd and IIS. Existing installations sometimes expose the installation root directly, so verify the vhost after the upgrade and confirm that configuration files are not reachable over HTTP.
Config directory and encryption keys
The config directory holds glpi.key and glpicrypt.key. The update procedure requires backing up both before application files are replaced. Losing these keys can make stored credentials and encrypted values unreadable after restore. Keep copies outside the web tree, record their checksums, and test that a restored instance can decrypt stored values on staging.
Plugins directory and plugin state
Since GLPI 11.0, plugins are suspended when a new version is detected and must be reactivated after a major update. Inventory every installed plugin, check its GLPI 12 compatibility with the plugin author, and plan the reactivation order. A plugin that is not compatible should stay disabled until a supported version exists, so confirm that owners are named for each one.
Update docsFiles and database changed by db:update
The update replaces application files and then runs php bin/console db:update, which changes the database schema and data. Treat this step as irreversible without a restore. Record the database and files backup before it runs, and compare the schema and file tree on staging against the production copy so that any unexpected change is caught before cutover.
Which upgrade route and runtime choices fit your estate
This table compares the main decisions behind a GLPI 12 move: update in place or rebuild, packaged install or official Docker image, staying on GLPI 11 or moving now, and MariaDB or MySQL 8.0. Read each row against your current PHP, database and plugin inventory, since the operational cost of each option depends mostly on how many plugins you run and how fast you need to roll back.
| Decision | Fits when | Operational cost and trade-off |
|---|---|---|
| In-place update of existing server | Server already runs PHP 8.3 or later and MariaDB 10.11 or later or MySQL 8.0 or later, and the platform is stable | Lowest build effort, but rollback depends on restoring files, database and config directory together. Confirm the backup set before touching application files. |
| Rebuilt server on new PHP and database versions | Current runtime is older than the GLPI 12 requirements or the host is near end of life | Requires new OS, PHP and database builds, web server configuration and a data migration test. Rollback is simpler because the old server stays intact until cutover. |
| Official Docker image | Your platform team already runs and patches container hosts and keeps persistent volumes for files and config | Adds image rebuild and tag tracking, volume and secret handling for glpi.key and glpicrypt.key, and a need to check plugin install steps inside the container. |
| Packaged install on the host | Your standard is OS packages and configuration management, with no container platform | You own PHP extension and web server patching directly. Plugin installs follow the host layout, which is easier to audit but tied to OS package timing. |
| Stay on GLPI 11 for now | Key plugins or integrations are not yet confirmed on GLPI 12, or change freeze limits what you can test | Keeps current behavior and fewer plugin changes, but you still plan the 11 to 12 move later and keep applying 11.x updates. |
| Move to GLPI 12 | Need the rewritten knowledge base, session list with revocation, or step-up authentication for administrative actions | Requires staging tests of every plugin, custom forms and integrations, plus a dated rollback plan. Plugins are suspended after a new version is detected and must be reactivated. |
| MariaDB 10.11 or later | Your database team already runs MariaDB and the version meets the listed minimum | Confirm the exact supported version against the current GLPI prerequisites before build. Replication and backup tooling should be checked for this engine. |
| MySQL 8.0 or later | Your organization standardizes on MySQL or needs a vendor-supported Oracle line | Same schema and backup testing needed. Confirm that your replication, backup and monitoring tools support the chosen version and that only MySQL and MariaDB are supported by GLPI. |
How the upgrade path moves from production to staging and back
This is the planning sequence for a GLPI 12 upgrade. It starts with an inventory of the current version, plugins and runtimes, then backs up the database, the files and the config directory, including glpi.key and glpicrypt.key, which protect stored secrets. The backup is restored to a staging copy, where the application files are replaced and php bin/console db:update runs. Plugins are reactivated and tested before a go or no-go decision. Only a go moves the upgrade to production, and a no-go restores production from the backup.
Planning sequence for moving GLPI 12 from staging to production.
What sequence to follow for the GLPI 12 upgrade
The sequence proves the upgrade on a staging copy of your GLPI before anything changes in production, so the production window only repeats steps already verified. It also keeps encryption keys and rollback material in hand from the start.
Confirm current GLPI and plugin versions
Record the GLPI version now running, the version of every installed plugin, and the PHP and database versions of the server. Compare the plugin list against each plugin's stated support for GLPI 12 and flag any plugin that has no confirmed compatible release, since those plugins decide whether the upgrade can proceed. Confirm the path your version allows, because GLPI 12.0.0 was released on October 7, 2026 and the upgrade is planned from a supported GLPI 11 release. Done when you have a written inventory with a compatibility status for each plugin.
Check PHP and database prerequisites
Verify that the target environment provides PHP 8.3 or later and either MariaDB 10.11 or later or MySQL 8.0 or later, as listed in the GLPI README. Confirm that the web server document root points to GLPI's public directory with URL rewriting in place. Your platform team or hosting provider performs this check on both the staging and production hosts. Done when a version query on each host returns the required versions and the web server configuration passes a test request.
Back up database, files and key files
Take a database dump, a copy of the GLPI application files, and a copy of the config directory. The config directory must include glpi.key and glpicrypt.key, because the installation docs require both before the update. Store the backup outside the GLPI server and record its checksum. Your administrator performs this step with a documented restore owner. Done when a restore of the backup has been listed as complete in the change record and both key files are confirmed present in the copy.
Restore the backup to a staging copy
Build a staging environment with the same PHP, database and web server versions as production, then restore the database, files and config directory into it. Keep staging on a separate network path so no outbound notifications, mail collectors or agent tasks reach real users. Done when staging loads the login page, the database connection succeeds and the record counts for tickets and assets match the production snapshot.
Replace application files on staging
Deploy the GLPI 12 application files over the staging copy while keeping the config directory and the key files intact. Do not copy old files on top of the new release. Your team performs this step and records the release version deployed. Done when the GLPI version shown in the administration console matches the release you intended to install.
Run db:update on staging
From the GLPI root, run php bin/console db:update on the staging copy and review the output for errors or skipped migrations. GLPI 11.0 and later suspend plugins when a new version is detected, so expect plugins to be inactive afterwards. Your administrator runs the command and keeps the output with the change record. Done when the command finishes without errors, the database schema reports the new version and the console confirms the update.
Reactivate plugins one at a time
Reactivate plugins individually in a planned order, checking the GLPI log and the administration pages after each one before enabling the next. If a plugin fails, leave it disabled, record the error and resolve it with the plugin maintainer before continuing. Done when every plugin on the compatibility list is either active and tested or deliberately left disabled with a recorded decision.
Test tickets, assets, LDAP login and cron
Test on staging: create, update and close a ticket with the standard notifications; check an asset record and an inventory import from GLPI Agent; log in with an LDAP or Active Directory account and confirm the expected profile; and verify that scheduled cron tasks and mail collectors run. Also review the new knowledge base and session controls with your security owner, since they change how users and administrators work. Done when each test has a recorded pass with the tester's name, and any failure has a fix and a retest. After staging passes, repeat the same steps on production in a planned window with the backup from step three ready for rollback.
What the new knowledge base and session controls change for administrators
The GLPI 12.0.0 release notes list three changes that affect administrators directly: a rewritten knowledge base, a view of active user sessions with the ability to revoke them, and step-up authentication for certain administrative actions. Before cutover, confirm the exact scope of each item in the release notes for 12.0.0, since the notes name the feature but the behavior you need to reconfigure depends on the details published there. The release is listed at the GLPI 12.0.0 release page, and that is where to start.
Because the knowledge base was rewritten, test your existing articles on the staging copy before anyone else sees the new version. Export a representative set covering every entity and every visibility setting you use, then check that each article still displays to the intended audience, that restricted articles stay restricted to the right profiles and groups, and that links and attachments survive the migration. Record what you find, since visibility mistakes in a knowledge base are easy to miss and expensive to explain after go-live.
Session and step-up controls change who can act on the platform and how. Decide which profiles may view active sessions and revoke them, and confirm that this capability is limited to the administrators who need it, because revoking a session is an incident response action. Review the list of administrative actions that require step-up authentication in the release notes, map each one to the roles that perform it, and agree in advance how users will be told why they were asked to re-authenticate. Test both the admin path and the help desk path, because a step-up prompt that fails silently will stall routine work.
How the upgrade differs by deployment model
On a dedicated server or virtual machine, the upgrade is a file replacement followed by a database update. You back up the database, the files and the config directory, including glpi.key and glpicrypt.key, replace the application files, and run the update command from the GLPI root. Since GLPI 11.0, plugins are suspended when a new version is detected, so reactivating them is a planned step after the update. The GLPI installation update procedure is the reference for the order of steps.
- Runtime versions: Upgrade PHP to 8.3 or later and MariaDB to 10.11 or later, or MySQL 8.0 or later, on the staging copy before you touch production.
- Document root: Confirm the web server still points to GLPI's public directory with URL rewriting in place, because the new file tree must keep the same layout.
- Key files: Copy
glpi.keyandglpicrypt.keyto an encrypted store and verify that the restored configuration reads them correctly. - Update command: Run
php bin/console db:updateas the web server user, then review the output for errors before you start users on the system. - Plugin reactivation: Reactivate each plugin only after confirming it supports the target version, and record which ones were disabled.
Confirm the rollback path, including a tested restore of the database, files and config directory, and who approves the change window.
With the official Docker image, the application code comes from the image, so the upgrade is mainly a tag change plus careful handling of the state that must survive the container. Configuration, files and plugin directories belong on persistent volumes, and the database runs separately. Confirm the paths the image expects before you map volumes, because mounting over the wrong location can hide existing configuration after the change.
- Pinned tag: Pin the target to a specific release, such as 12.0.0, and avoid floating tags so the same image is deployed in staging and production.
- Persistent volumes: Confirm that configuration and file directories sit on volumes that outlive the container, with ownership matching the user the container runs as.
- Key files: Hold
glpi.keyandglpicrypt.keyin a secrets store or encrypted backup, and confirm the new container reads the same copies before the update runs. - Update inside the container: Run the database update command in a container built from the same image and volumes you will use in production, using a staging copy of the database first.
- Plugin directories: Confirm plugin code is on a persistent volume, and plan reactivation after the major version change.
Confirm the base PHP and database versions the image expects, and test the rollback step, which is returning to the previous tag with the saved volumes and a database restore.
In an air-gapped or restricted network, the server cannot download packages, images or plugin updates during the change window, so every input must be staged in advance. The procedure steps stay the same, but each artifact must cross the boundary through your approved transfer process, be verified and be tested on an isolated staging copy before production. Plan this work as a separate preparation phase, because missing dependencies are the most common reason a restricted-network change stalls.
- Application archive: Transfer the GLPI 12.0.0 release archive with its published checksums and verify them before the file enters the restricted zone.
- Runtime packages: Stage PHP 8.3 or later, the required PHP extensions and their dependencies, plus MariaDB 10.11 or later or MySQL 8.0 or later, from an internal mirror.
- Container images: If you run the official image, mirror it and its base layers into an internal registry, then confirm the tag resolves without outbound access.
- Plugins: Collect a version of each plugin that supports GLPI 12 along with its dependencies, because marketplace installs often assume internet access.
- Key material and agents: Keep key file backups inside the restricted zone, and confirm which GLPI Agent versions your endpoints need, since agents also depend on the packages you stage.
Confirm that the complete bundle has been tested end to end on an isolated copy and that its contents match the list in the change record.
What drives the effort of a GLPI 12 upgrade
This table lists the factors that most change the effort of moving a self-hosted GLPI instance to version 12, with the reason each one matters and how to keep it under control. Read each row against your own environment to see where the work will concentrate. The main takeaway is that plugin inventory, a restored staging copy and a limited customization set do more to control effort than any other single step.
| Driver | Why it changes effort | How to keep effort down |
|---|---|---|
| Plugins and GLPI 12 compatibility | Since GLPI 11.0, plugins are suspended when a new version is detected and must be reactivated after major updates, so each installed plugin needs a compatibility check and a test pass. | List every plugin and its version early, confirm GLPI 12 support with each publisher, and remove plugins nobody uses before the upgrade. |
| Custom code and template changes | Custom PHP, altered core templates or modified configuration files must be retested and may need rework against the new release. | Keep customizations in plugins or documented configuration, freeze changes during the upgrade window, and record each override. |
| Database size and backup window | Backing up the database, files and config directory must complete before application files are replaced, so a large database lengthens the change window and the rollback plan. | Measure the database and file sizes now, time a full backup and restore on a copy, and schedule the change around that measured window. |
| Web nodes and shared files | Multiple web nodes must all run the same GLPI files, and session and file storage must be shared, so each node needs the update and a consistent configuration. | Document the node layout, update one node in a test environment first, and confirm shared storage and session settings before cutover. |
| PHP and database version gaps | GLPI 12 requires PHP 8.3 or later and MariaDB 10.11 or later, or MySQL 8.0 or later, so older servers need runtime or database upgrades before GLPI itself can move. | Check current PHP and database versions against the GLPI 12 prerequisites, plan OS or runtime upgrades as separate tested changes, and confirm the supported combination in the official docs. |
| Integrations: LDAP, mail, agents and API | LDAP authentication, mail collectors, GLPI Agent inventory and API clients each depend on the application behaving as before, and a silent break may show up days later. | Write a test list per integration, run a login, mail collection, agent check-in and API call on the staging copy, and watch logs after cutover. |
| Compliance evidence for change control | Change boards and assessors usually ask for a dated backup, a rollback plan, test results and approval records, which adds documentation work beyond the technical upgrade. | Agree the evidence list with the change board before work starts, and capture test outputs and backup checksums as they are produced. |
How to verify the upgraded GLPI 12 instance and fail safely
The verification plan has one job: prove on a staging copy that the GLPI 12 instance works for real users before anything touches production. Start with the update itself. Run php bin/console db:update against the staging database and keep the full output, because a clean run is the first pass condition. Then test login for an internal database account and for a directory user, since authentication is tried in order (database, then LDAP, then IMAP and other external methods), and a failure in the directory path can look like a general login problem. Confirm that group-based profile assignment still gives the same rights it gave before the upgrade.
Next, test the business objects with a checklist written against your own data. Open a sample of tickets across entities and check that SLAs and OLAs calculate as expected, since group-managed OLAs are part of the 12.0.0 changes. Search and render assets, contracts and knowledge base articles. The knowledge base was rewritten in this release, so compare article rendering, attachments and search results against the pre-upgrade instance rather than assuming they match. Reactivate each plugin that was suspended after the new version was detected, and test its main function, not only whether it is listed as active. Run scheduled tasks and at least one mail collector manually, and confirm that their output reaches the right ticket. For the session view and step-up prompts, check the behavior described in the GLPI 12.0.0 release notes with a test administrator account, including revoking a test session and confirming that the revoked user is forced to sign in again.
Define the rollback before the upgrade starts. The rollback restores the database, the files and the config directory, including glpi.key and glpicrypt.key, from the same pre-upgrade backup set. Restoring only the database leaves encrypted values unreadable, so treat the three parts as one unit and rehearse the restore on staging at least once. Write down who can call a rollback, the trigger conditions, and the steps in order. Production is not cut over until every item on the signed test list has passed, and any failure in a critical item (login, tickets, mail collectors) means the change stays on hold until the cause is fixed and the list is run again from the start. Confirm the exact restore steps with your own platform team and your tested backup tooling, since they depend on your environment.
What to monitor, back up and document after the upgrade
A GLPI 12 upgrade is not finished at db:update. The four items below cover what keeps the platform recoverable and supportable once users are back on it. Each one feeds the next: monitoring shows when something broke, backups let you restore it, the plugin register shows what must be checked, and the change record shows what was decided and how to reverse it.
Watch errors and cron health
Track web server, PHP and database error logs for the first days after the change, since most upgrade faults appear under real traffic rather than during the staging run. Confirm that scheduled GLPI tasks, such as mail collectors and notifications, still run on schedule and that the cron job points at the upgraded installation. Set alerts on repeated PHP fatal errors and on database connection failures, and record a baseline so later changes can be compared against it.
GLPI update docsBack up keys separately
Back up the database, the application files and the config directory, and make sure glpi.key and glpicrypt.key are included in every backup set. Store copies of the key files somewhere other than the GLPI server, under access controls that match the sensitivity of stored credentials. Without these keys, encrypted values in the database may not be recoverable from a restored backup, so test a restore that includes them before you rely on the schedule.
Maintain a plugin register
Keep a register that lists each plugin, its installed version, the GLPI release it was tested against, and whether it is currently active. GLPI suspends plugins when it detects a new version and requires reactivation after major updates, so the register is the checklist for that step. Record who reactivated each plugin and what was tested. Ask plugin vendors or authors to confirm GLPI 12 support before you schedule the change.
Keep a change record
Write a change record for each upgrade that names the source and target versions, the PHP and database versions in use, the decisions taken, the staging test results and the rollback steps. Include the backup identifiers and the time the backup was verified. Store the record with the platform documentation so an auditor, a new administrator or a later upgrade can see what changed and how to reverse it. The same record template is reused for each later release, including 12.x point updates.
Questions buyers ask before hiring help for a GLPI 12 upgrade
Can our in-house team run the GLPI 12 upgrade without a partner?
Yes, if your team has Linux, web server, PHP and database administration skills and time for a staging rehearsal. The upgrade itself follows the documented sequence: back up the database, files and config directory, replace the application files, and run php bin/console db:update. The harder parts are the environment checks and plugin decisions, which need someone who can read logs and test each business workflow. Ask whether your team has done a major GLPI update before and who will own the go or no-go decision. A partner is useful when the team lacks that experience or cannot free people for testing.
What drives the cost and timing of a GLPI 12 upgrade?
The main drivers are the number of installed plugins, how much of GLPI has been customized, how many environments exist, and how much testing your business processes need. Each plugin needs a compatibility decision, and each custom form, notification or business rule needs a retest. Environment differences, such as PHP extensions, database versions and web server configuration, add checks before any data changes. Ask any provider for a written scope that lists each plugin, each customization, the staging and production environments, the test cases and the rollback plan. The quote should separate one-time work from any retainer for later support.
What does the upgrade need from our team?
It needs read and write access to a staging copy, a recent production-like database, and enough access to the web server and cron jobs to test them. Plugin owners must confirm whether each plugin is still needed and whether a compatible release exists. Your team should also book change windows for the staging rehearsal and the production cutover, and name someone who can approve rollback. Confirm these inputs before work starts, because missing access or unclear plugin ownership is a common cause of schedule slips. Ask the provider to list each dependency in the written scope.
How are the glpi.key and glpicrypt.key files backed up?
Both files must be copied before any application file is replaced, and they must be stored separately from the database backup. The GLPI update documentation names the glpi.key and glpicrypt.key files as part of the config backup set. Without them, encrypted data stored in GLPI may not be readable after a restore. Keep copies in a controlled location with restricted access, and test a restore on a staging copy to confirm that encrypted fields decrypt. Ask the provider how the key files are recorded, who holds the copies and how they are verified before the production cutover.
Does a plugin that is not yet compatible block the GLPI 12 upgrade?
It does not have to, but the plugin must be handled before go-live. GLPI 11 and later suspend plugins when a new version is detected, and plugins must be reactivated after major updates. Your options are to upgrade the plugin to a version that supports GLPI 12, replace it with a supported alternative, remove it, or accept a documented gap for a non-critical feature. Check the plugin publisher's release notes and test the workflow on staging. Ask for a written decision for each plugin, because an unresolved plugin can stop a ticket or asset process after cutover.
What should we get in writing before we hire a provider?
Get a written scope that names the GLPI version path, the PHP and database versions you will run, and the exact list of plugins and customizations in scope. Include the environments, the backup and restore method, the staging rehearsal, the test cases, the cutover plan and the rollback steps. Ask who is responsible for each item, what client inputs are required, and what happens if a plugin needs a fix. Also request the fee structure, any recurring support terms and the acceptance criteria. Confirm these details with the provider before signing, since they determine both cost and risk.
How DeployOpen plans, tests and hands over a GLPI 12 upgrade
DeployOpen approaches a GLPI 12 upgrade as a planned change inside your own infrastructure, starting with an inventory of your current version, plugins and encryption keys. The work moves through a staging copy first, so your team sees the database update, plugin reactivation and session behavior before production is touched.
How we scope
- Inventory your current GLPI version, PHP and MariaDB or MySQL versions, web server and document root layout.
- List every installed plugin and confirm compatibility with GLPI 12 before the upgrade is scheduled.
- Agree the written, fixed scope, deliverables and timeline with your team before any work starts.
How we build
- Prepare a staging copy of the database, files and config directory that matches production as closely as possible.
- Confirm PHP 8.3 and MariaDB 10.11 prerequisites, then run the database update on staging with php bin/console db:update.
- Test the new knowledge base, session view and step-up authentication settings against your roles and approval workflows.
How we hand over
- Document the backup set, including glpi.key and glpicrypt.key, with restore steps your team can follow.
- Record the production cutover runbook, plugin reactivation steps and the rollback plan agreed for your environment.
- Deliver written findings, configuration notes and a validation checklist that your operators and auditors can review.
How we support
- Confirm post-upgrade checks for tickets, assets, agents, mail collectors and scheduled tasks after go-live.
- Available as a retainer for ongoing support, upgrades and periodic testing as later GLPI releases arrive.
- Ask during scoping which post-go-live support window and retainer terms apply to your environment.

