SuiteCRM upgrade metadata merge: keep, merge or override

When a SuiteCRM 8 upgrade touches customized view layouts, the -m option of upgrade-finalize decides whether your changes are kept, merged with new core metadata or replaced. This page explains each mode, where the files land and how to review them.

On this page

Why SuiteCRM upgrade metadata merge decides what happens to your layouts

When you upgrade a customized SuiteCRM 8 instance, the choice that decides what happens to your view layouts is made with the -m option of the suitecrm:app:upgrade-finalize command, which accepts keep, merge or override. Keep is the default and skips merging, merge combines your customizations with the new core metadata and saves a backup, and override replaces your customizations with core metadata. Treat this as a deliberate decision for each environment rather than a default you accept without reading it.

The layout decision is one step within a larger path. SuiteCRM 8 upgrades run through the 8.x minor releases, and the current line in the researched facts is 8.10.2, published on July 31, 2026. Minor releases arrive roughly every eight weeks, so an instance that skipped several releases will pass through more than one metadata state. This page covers only the metadata step: how the three modes behave, where merged files and backups land, and how to review layouts afterwards. Version ordering, PHP and database prerequisites, and database migrations are covered on their own pages.

Before you pick a mode, inventory what you have changed. List every customized view layout, field placement and related panel in the instance, and record which of them users depend on for daily work. Keep mode leaves those customizations in place and skips the merge, so new core fields or layout changes may not appear where you expect them. Merge can combine your changes with new core metadata, but the result needs a human review, and the backup it saves is the reference point if the combined layout is wrong. Override is the most destructive option because it replaces your customizations with core metadata, so it suits only instances where those customizations have been retired or reproduced elsewhere.

Before running any mode, take a full backup of files and database and rehearse the upgrade on a staging copy. The SuiteCRM migration documentation also warns that non-core files under the public/legacy folder may be removed, and from SuiteCRM 8.8.0 the upgrade shows a warning listing the non-core files it will delete. Confirm the exact paths and output of your target release in the SuiteCRM 8 upgrade troubleshooting page and record which mode you chose, why, and who signed off.

What changes in SuiteCRM 8 upgrades that affects layouts

This table compares the three settings of the upgrade-finalize metadata option and the 8.8.0 deletion warning, with the effect of each on customized view layouts. Read each row as a decision: find the mode you plan to use, check what happens to your layouts, then complete the action in the last column before running the upgrade on production.

ChangeEffect on customized layoutsAction needed
keep (default)Metadata merging is skipped, so existing customized layouts stay as they areConfirm the layouts still fit the new core fields before relying on this mode
mergeCustomizations are combined with new core metadata and a backup is savedLocate the backup and compare merged layouts against it during review
overrideCustomizations are replaced with core metadataExport your current layouts first, since this mode discards them
Non-core file deletion warning (8.8.0+)The upgrade lists non-core files it will delete, which can include custom layout filesRead the warning list and move any files you need out of the deletion path
Staging rehearsalEach mode can produce different layouts, so results depend on your customizationsRun each planned mode on a staging copy and compare the results
Post-upgrade layout reviewMerged or kept layouts may hide missing fields, broken order or stale labelsCheck key list, detail and edit views for each module against your requirements

Keep, merge or override: which mode fits your customizations

Keep is the default mode of the suitecrm:app:upgrade-finalize command. It skips metadata merging, so your existing customized view layouts stay in place after the upgrade and the new core metadata is not applied to them. This suits a team with few or no layout customizations, or a team that wants to hold current layouts stable while it reviews what the new core metadata changes.

  • Stable screens: Users see the same layouts they used before the upgrade, which limits surprise changes on release day.
  • Possible drift from core: Layouts that stay on the old definition will not pick up new fields or structure that the core release adds.
  • Deferred review: The review of core changes moves to a later step, so the team must schedule it or it may never happen.
  • Fit check: Confirm which layouts you have customized and whether any of them depend on fields that the target release changed.

Before you choose keep, list the customized layouts and compare them with the core release notes for each version in your upgrade path.

Where merged files and backups land and how to find them

The -m merge option on suitecrm:app:upgrade-finalize does two things: it combines your customized view metadata with the new core metadata, and it saves a backup of the customizations it is combining. Before you run finalize in merge mode, decide where that backup should live and who will review it. The backup is your only copy of the pre-merge state for those layouts if the combined result is wrong, so confirm it is captured in the same backup routine you use for the files and database. Do not assume the location; check the metadata merge troubleshooting page and your own install, since this guide does not give the exact directories for the merged files or the backup.

Once finalize completes, find the merged metadata by searching your instance for the module view files that the command touched, sorted by modification time, and compare them with the copies in your staging instance. Confirm the exact output and backup paths on a staging copy first, because the paths in your installation may differ from the documented defaults and the path you need may depend on your version. Record the paths in your upgrade runbook so the reviewer does not have to rediscover them under time pressure on production.

Also check the non-core file warning that SuiteCRM 8.8 and later show during upgrade. That list is a second place to look: any customized file it names is outside the merge logic, so a merged view layout does not protect it. Before you accept the upgrade, match the warning list against your backup inventory and note which files you have already preserved. Treat any file in the list that you cannot account for as a blocker until someone has confirmed what it is and whether it must be kept.

How to run the metadata merge during an upgrade

This sequence lets you inventory customized layouts, rehearse the upgrade on a copy, choose how upgrade-finalize treats view metadata, and confirm the result before production users see it. It ends with a verified rollback point you can restore if the layouts misbehave.

  1. Inventory custom view layouts

    Before anything changes, list every customized view layout in the instance, including list views, detail views, edit views and any layouts built in Studio or Module Builder. Record the module, the view and the date of the last change, and note which customizations were made by hand in files. Keep the list with the change record. The step is done when someone other than the author can read the list and identify each customized layout that the upgrade could touch.

  2. Take a full rollback point

    Back up the SuiteCRM files and the database before the first upgrade run, and store the copies somewhere the production servers cannot overwrite. The SuiteCRM migration documentation advises file and database backups before any structural change, so treat this as a prerequisite rather than an optional extra. Confirm that the database dump restores into a scratch database and that the file archive opens and contains the custom folders. The step is done when a restore has been tested, not just the backup job reporting success.

  3. Run the upgrade on a staging instance

    Restore a recent copy of production into a staging environment with the same PHP, web server and database versions, then run the upgrade there first. Use the target release and the matching compatibility matrix for the PHP and database versions. Watch the console output for errors during the upgrade and finalize steps. The step is done when the staging upgrade completes without errors and the instance loads, so you know the process works on your data before production is touched.

  4. Choose the metadata mode

    Decide how upgrade-finalize should treat the layouts from step one. The keep mode is the default and skips merging, so existing customizations stay as they are. The merge mode combines your customizations with the new core metadata and saves a backup of the originals. The override mode replaces customizations with core metadata. Record the chosen mode per module in the change record, and note the reason. Merge suits most layouts that carry local changes; override is only sensible where you know the core layout is the intended result. The step is done when each customized module has a recorded mode.

  5. Run upgrade-finalize with the chosen mode

    On staging first, run the finalize command with the -m option set to your chosen mode, for example suitecrm:app:upgrade-finalize -m merge, and capture the full output. Note which layouts were merged, which were skipped and where any backup files were written. Repeat the same command on production during the agreed change window, using the same mode that passed staging. The step is done when the command exits cleanly and the output lists the layouts it processed.

  6. Review merged and backed-up layouts

    Compare each customized layout against the pre-upgrade inventory. For merged layouts, check that your fields, column order and filters survived and that new core fields appear where expected. For backed-up layouts, locate the backup files written by the merge and confirm they match the originals. Look for duplicate fields, missing fields and layouts that now show core defaults. The step is done when every item on the inventory has a reviewed outcome: kept, merged, backed up or overridden.

  7. Test key views with real roles

    Sign in with accounts for each main role, such as sales, service and administrator, and open the views those users rely on daily: list views, detail views, edit and create forms, and any dashboard that depends on a custom layout. Save a test record in each module to confirm that fields persist. Record any view that errors, drops a field or shows the wrong access. The step is done when each role has completed its test script and every defect is either fixed or accepted in writing.

  8. Confirm the rollback point before closing

    Before the change is signed off, confirm that the rollback point from step two is still intact and that the restore steps are written down with the file paths and database names. Keep the backup until the business has accepted the upgrade and the agreed monitoring period has passed. If a serious layout problem appears, restore files and database together so the code and data stay in step. The step is done when the restore procedure has been written, the backup location is named in the change record and an owner is assigned to decide when the backup can be retired.

What to prepare before choosing a metadata merge mode

Choosing between keep, merge and override is only safe once you know which layouts you have customized, who depends on them, and what a rollback looks like. The cards below cover the inventory, backups, staging, file review, compatibility checks and user sign-off that should be complete before anyone runs the finalize command.

Inventory customized layouts and owners

List every view layout your team has changed, such as detail, edit and list views for accounts, cases and leads, and name the person who requested each change. Note which changes were made in Studio or Module Builder and which were edited by hand in files. This list tells you which customizations the merge will need to reconcile and who to ask when a layout looks different after the upgrade.

File and database backups

Take a full backup of the application files and the database before the upgrade starts, and confirm you can restore both together. The metadata merge mode you choose saves its own backup of customizations, but that copy does not replace a restorable snapshot of the whole instance. Test the restore on a separate host so you know the backup works before you need it.

Pre-change checklist

Staging instance matching production

Build a staging copy with the same code version, PHP settings, database engine, customizations and data volume as production. Run the metadata merge there first and compare the resulting layouts with production. A staging instance that differs in extensions or custom files can hide the problems you are trying to find.

Non-core files flagged for deletion

From SuiteCRM 8.8.0, the upgrade warns about non-core files it will delete. Before you proceed, review that list against your own custom files, templates and extensions, and move anything you need outside the core directories. Do not assume a file is safe to keep because it sits next to core code. Confirm the exact behavior for your release in the 8.8 release notes.

8.8 release notes

Target version and compatibility

Confirm the target SuiteCRM 8 version, then check the PHP version, Apache version and database version against the compatibility matrix for that release. Upgrade the runtime stack before the application where the matrix requires it. A layout merge run on an unsupported stack leaves you with two problems to untangle at the same time.

Compatibility matrix

Sign-off list of critical layouts

Agree with business owners on the layouts that sales, service and marketing staff use every day, and the fields they must see in each one. Write the list down before the upgrade so reviewers test against it rather than against memory. Use the same list for post-merge review and for deciding whether a layout needs manual rework.

How to review layouts after the upgrade

Start the review by comparing each merged layout against two references: the backup that merge saved before it combined anything, and the new core defaults shipped with the release. Keep both open side by side for each customized view. Where the merged file differs from the backup, confirm that every customization you intended to keep is still present, and that no core field or panel has been dropped or reordered in a way users will notice. If you ran override, the comparison runs the other way: you are checking which of your customizations you need to rebuild, using the backup as your inventory. Note where the backup and the defaults disagree, because those are the places where a decision was made for you.

Test the views your sales and service teams use most first. In a typical CRM that means the Accounts, Contacts, Opportunities and Cases detail and edit views, plus the list views and any subpanels that staff open daily. For each one, open an existing record with real history, check that related records still load, and create a test record to confirm the edit view saves every custom field. Include one user from each role that sees the view, because field-level access can hide fields differently by role. Test on the staging instance first, and keep the test accounts and steps in a short script so the same checks can be repeated after later patch releases.

Record every decision in a layout register: view name, the mode used, the backup file location, what changed, who approved it, and the test result. This register is the evidence you will need when a user asks why a field moved, and it helps the next upgrade start from known facts. Before you close the review, read the release notes for the specific minor version you upgraded to and confirm what they say about metadata, layouts and any non-core files that the upgrade may delete, since that list changes between versions. Your change record should cite the release notes you checked, not your memory of them.

What makes metadata merge reviews take longer

How does the number of customized layouts affect a metadata merge review?

The more customized view layouts an instance has, the more files a reviewer must compare against the new core metadata. Each customized layout can carry field placements, panel groups and labels that the merge either keeps or combines with new core definitions, so each one needs a check. A team with a handful of layouts can review them in one pass. A team with dozens of changed layouts usually needs a shared checklist, a named owner for each module, and a second reviewer for anything that touches a high-traffic screen. Ask your partner or internal lead to count changed layouts from the instance before estimating review work.

Why do the number of affected modules change the review scope?

Each module has its own detail, list and edit views, so every affected module adds a separate set of screens to inspect. Modules that share fields or relationships with others can also surface problems in places that look unrelated. Reviewers should list which modules have customized metadata before the upgrade starts, then group them by business owner. This turns a vague concern into a bounded list that can be assigned, tracked and signed off.

How do custom fields and relationships deepen a metadata merge review?

Custom fields and custom relationships are where merge decisions carry the most consequence, because a layout may display a field that depends on a relationship, a dropdown list or a calculated value. A reviewer has to confirm that the field still exists, that its definition has not changed in a way that breaks display, and that the relationship still links the records users expect. Deeply nested dependencies mean one layout change can require checks in several modules. Document the custom fields and relationships first so reviewers know which dependencies to trace.

Which non-core files need checking during a SuiteCRM 8 upgrade review?

Non-core files need checking because the upgrade process does not treat them like core metadata. From SuiteCRM 8.8.0, the upgrade shows a warning listing non-core files that will be deleted, so the reviewer must read that list and decide whether each file should be moved, kept elsewhere or retired. Custom templates, scripts and extension files outside the core tree need the same scrutiny. Ask whether the warning list was saved and who approved each deletion before the production run.

How many environments must match before a metadata merge review is trustworthy?

Reviews are only meaningful when the test, staging and production environments hold the same customized metadata and the same core version before the merge runs. If staging has drifted from production, a layout that looks correct in testing may merge differently in production. The reviewer should confirm that each environment was built from the same source, that customizations were promoted through the same path, and that the backups taken before each run are recorded. Ask who owns the environment comparison and when it was last checked.

How much user acceptance testing does a metadata merge review need?

User acceptance testing adds time because a layout can look correct to an engineer and still fail the way a sales, service or marketing user works. The amount depends on how many roles use the affected screens, how often those screens are used, and how many business processes depend on them. Each role should walk through its daily tasks on staging after the merge, and each finding should be logged with a clear owner. Confirm with your internal business owners which roles must sign off before go-live, since that sign-off is usually the longest step in the review.

Can our own team run the metadata merge review, or do we need a partner?

Your own team can run the review if it has someone who knows the customized layouts, can read the metadata files, and can test with business users. A partner adds the most value when the instance has many customizations, few people who know them, or a short window before a support deadline. Either way, the review needs written scope, named reviewers, and a record of the backups and merge mode chosen. DeployOpen plans and delivers this work under a fixed scope agreed in writing, and a quote follows from that scope.

How the metadata merge decision flows through an upgrade

The path starts on a staging copy of the instance, where the team inventories customized view layouts before any production change. The chosen mode (keep, merge or override) then sets what suitecrm:app:upgrade-finalize does with those layouts. Merged files and backups are reviewed against the new core metadata, and the upgrade is either accepted or rolled back. Check each layout explicitly before accepting, because the mode you pick decides which customizations survive.

Decision path from staging inventory through upgrade-finalize to accept or roll back.

How DeployOpen works on this

DeployOpen treats the metadata merge mode as a decision made before the upgrade starts, not during it. We inventory which view layouts your team customized, agree in writing how each group should be handled, then run the upgrade on a staging copy of your own SuiteCRM 8 instance before production. Work runs in infrastructure you control, and the written scope sets what is delivered.

How we scope

  • Inventory the customized view layouts and metadata files on your instance and record which ones your users depend on.
  • Agree in writing which keep, merge or override mode applies to each group, with the reason for each choice.
  • Confirm the target 8.x release, the suitecrm:app:upgrade-finalize steps and the staging environment before any work starts.

How we build

  • Rehearse the upgrade on a staging instance copied from production, including the -m option you agreed for each layout group.
  • Check where merged files and backups are written, and confirm that backups exist before finalize runs in production.
  • Review the non-core file deletion warning shown by the upgrade and confirm each listed file is safe to remove or to keep.

How we hand over

  • Deliver a written record of the merge mode used, the backup locations and the layouts that were merged or overridden.
  • Provide a layout review checklist covering the modules, fields and views your sales, service and marketing teams use daily.
  • Walk your administrators through the post-upgrade review so they can repeat the check on later 8.x releases.

How we support

  • Fixed-scope engagements have deliverables and timelines agreed in writing before work starts, and a quote follows from that scope.
  • Ongoing support, upgrades and continuous testing are available as a retainer for later SuiteCRM 8 minor releases.
  • Confirm with DeployOpen during scoping which support terms apply after handover, since these are set in the written agreement.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.