Why a SuiteCRM 8.7 upgrade needs more than a file swap
A self-hosted SuiteCRM 8 instance has to reach SuiteCRM 8.7 when the Symfony 6.4 and API Platform 3.2 framework change, the SAML rework or a later target release makes the older install unsupported for your plans. The 8.7 move is an in-place upgrade of an existing SuiteCRM 8 instance, and it changes the application's configuration and authentication layer, so a copy of the code tree and a database migration will not cover it. Plan it as a change to configuration, login, session handling and any custom backend code, not only as a version number.
The supported path runs through the 8.x line. SuiteCRM 8.7.0 was released on October 3, 2024, and SuiteCRM 8.10.2 was published on July 31, 2026, so an older install should be assessed against the 8.7 release notes and then carried forward to the 8.10 line rather than jumped straight to the newest build. Check your current version and the release notes for every minor release between it and your target, and confirm with your environment that the PHP, Apache and database versions you run are supported for the release you choose. The SuiteCRM 8.7 release notes are the first document to read before you schedule any work.
If your current instance is SuiteCRM 7, this page does not apply. SuiteCRM documents the move from 7 to 8 as a migration into a new SuiteCRM 8 environment, not an upgrade, and the SuiteCRM 7 extended support line has its own upgrade path. The sibling pages on the SuiteCRM 7 upgrade to the 7.15 extended support release and on the SuiteCRM 8.x to 8.10 upgrade cover those steps, so use them for sequencing rather than repeating the work here.
What 8.7 changes and what each change means for your team
This table lists the main changes in SuiteCRM 8.7.0, released on October 3, 2024, and what each one means for the people running the instance and any custom code. Read each row as a question to answer before the upgrade: does our configuration, login setup or custom backend depend on this? Rows marked for code review are the ones most likely to need developer time.
| Change | Impact | Action needed |
|---|---|---|
| Symfony 6.4 and API Platform 3.2 | The framework and API layer underneath SuiteCRM 8 move to new major versions, so custom backend code built on older APIs may stop working. | Have developers review custom PHP and API code against the 8.7 release notes before staging the upgrade. |
| Required APP_SECRET | The APP_SECRET environment property becomes mandatory. The upgrade generates one if it is missing, so the value must be kept and backed up. | Confirm the generated value is stored in your environment file or secret store and included in backups. |
| SAML replaced by Nbgrp bundle | The Hslavich SAML dependency is replaced by the nbgrp onelogin-saml-bundle, and the SAML configuration changes. | Rebuild SAML settings from the 8.7 SAML reference and test sign-in with each identity provider in staging. |
| New SAML settings | Existing SAML configuration may not carry over unchanged, and logout behavior has limits in 8.7.0 and later. | Plan for SP-initiated logout only, and tell users that ending the identity provider session does not end SuiteCRM. |
| Legacy session swapping and LEGACYSESSID removed | The LEGACYSESSID cookie no longer exists, so any script, proxy rule or integration that reads it will fail. | Search custom code, reverse proxy rules and monitoring checks for LEGACYSESSID and update them. |
| Data Providers and Data Persisters deprecated | Custom API code using these classes still runs for now but is marked for replacement by StateProvider and StateProcessor. | List custom providers and persisters, then plan rewrites into StateProvider and StateProcessor. |
How the SAML rework and single session cookie affect sign-on
SuiteCRM 8.7 changed how SAML sign-on works, so an instance that already uses SAML needs its identity provider settings reviewed as part of the upgrade, not after it. The release replaced the Hslavich SAML dependency with Nbgrp, and SAML is still enabled with AUTH_TYPE=saml, but the configuration keys changed. Before you cut over, compare your current SAML values with the 8.7.0+ SAML configuration reference, confirm each key name and value on a staging instance, and check the entity ID, assertion consumer URL, certificate and attribute mappings against what your identity provider sends. Do not assume an older configuration file carries over unchanged.
The same release removed legacy session swapping and the LEGACYSESSID cookie, so SuiteCRM now relies on a single session cookie. Test sign-in in a fresh browser session, a session started before the upgrade, and any single sign-on links or bookmarks your users rely on. Reverse proxies, load balancers and custom scripts that read or set LEGACYSESSID will break silently, so search your environment for it. Users who had old sessions open may need to sign in again, and your support team should expect that question on release day.
The most important operational limit is that 8.7.0+ SAML does not support IdP-initiated logout or POST binding to the logout service. Signing out at the identity provider therefore does not end the SuiteCRM session, and a shared workstation can remain signed in to the CRM after the user has left the identity provider. Decide whether your security policy accepts this, set session lifetimes and idle timeouts to match, and document the user-facing guidance. Confirm the logout behavior of your specific identity provider in a test before you rely on it for shared-device or offboarding controls.
Which custom backend code breaks in 8.7
Custom API resources in SuiteCRM 8 often hook into the API layer through Data Providers and Data Persisters. SuiteCRM 8.7 deprecated both in favour of StateProvider and StateProcessor, which are the newer API Platform hooks. Deprecated does not mean removed in the 8.7 release, but it sets the direction for every custom resource you maintain, and new work should not add more code on the old pattern.
- Inventory: Search your custom modules and extensions for classes implementing data provider or data persister interfaces, and for API resource annotations or attributes that reference them.
- Map each resource: Record which entity it reads or writes, which filters and serialization groups it uses, and which clients call it.
- Test read and write paths: Run authenticated GET, POST, PATCH and DELETE calls against a staging instance and compare responses with the pre-upgrade baseline.
- Check deprecation output: Review logs for deprecation notices after the 8.7 upgrade in a non-production environment.
- Decide the migration scope: Choose whether to port each resource in the same change or keep it on the deprecated pattern for one release, and document the reason.
Confirm the exact deprecation behavior and any removal timeline in the 8.7 release notes before committing to a plan.
SuiteCRM 8.7 removed legacy session swapping and the LEGACYSESSID cookie. Custom code that read that cookie, switched sessions to call legacy entry points, or assumed two session identifiers will stop working as written. Failures often appear only for specific flows, such as custom entry points, integrations that reuse browser sessions, or scripts that bridge to older pages.
- Search for references: Look for
LEGACYSESSID, session swap helpers, and any code that sets or reads a second session cookie. - Identify callers: Confirm which integrations, portals or scheduled jobs call those paths, since some may run without a browser at all.
- Test authenticated flows: Walk through login, module access, custom entry points and logout as each role, checking that one session cookie is enough.
- Review session settings: Confirm the single session cookie works with any reverse proxy, load balancer or SSO configuration in front of SuiteCRM.
- Decide the replacement: Choose whether each flow should use the standard authenticated API, a service account, or be retired.
Check the session behavior of any single sign-on setup in the same test cycle, because a changed cookie can break both custom code and login.
Custom Symfony services, event subscribers and bundles run inside the framework versions that SuiteCRM 8.7 moved to: Symfony 6.4 and API Platform 3.2. Code that depends on framework internals, deprecated component methods or specific bundle versions may fail at container compilation or at runtime. The risk is highest for code that extends core classes rather than using public extension points.
- Inventory dependencies: List every custom bundle, service tag, event listener and Composer requirement, and note which core classes each one extends.
- Compare against the new versions: Check each dependency against the Symfony 6.4 and API Platform 3.2 documentation for removed or changed APIs.
- Build and clear caches in staging: Run container compilation and cache clearing before any production change, and capture every warning.
- Run automated tests: Execute existing unit and functional tests, and add tests for any service that has none.
- Decide the ownership: Assign each custom bundle to an owner who can approve its update, and decide whether to rebuild, pin or remove it.
Do not assume a passing front page proves the backend works. Confirm that every custom service loads and that its endpoints return the expected data.
Custom front-end extensions are a separate concern from backend code. They depend on the Angular, Node.js and Yarn toolchain and on the shared common library, and they need their own build and test cycle. This tab covers only the decision to treat them separately; the detailed steps are on the dedicated front-end extensions page.
- Separate the inventory: Keep a distinct list of front-end extensions so they are not lost between backend and client reviews.
- Confirm the handoff: Make sure the team owning the Angular work has the 8.7 change list before starting.
- Schedule the build check: Plan a frontend build and browser test in staging as its own step after the backend passes.
- Identify shared dependencies: Note any extension that imports from core frontend packages, since those are the most likely to break.
- Agree the release order: Decide whether backend and frontend changes ship together or in sequence.
Record the front-end result alongside the backend results so the go or no-go decision uses one set of evidence.
What to prepare before touching the 8.7 instance
Most 8.7 upgrade problems start before any file changes, in backups, inventories and environments nobody checked first. The cards below cover the preparation steps that connect the backup, the custom code review, the staging rehearsal and the SAML and APP_SECRET changes.
Full file and database backup
Take a complete backup of both the files and the database before any step. The SuiteCRM migration documentation advises backing up files and database together, because a rollback needs both to match. Confirm that you can restore the backup to a clean server and that the restored instance logs in. Note that the migration may remove non-core files under the public/legacy folder, so keep a copy of anything you have placed there.
Pre-migration checklistInventory of custom code
List every custom module, logic hook, extension and API endpoint in the instance, including files under public/legacy. The 8.7 release moved the backend to Symfony 6.4 and API Platform 3.2, and it deprecated Data Providers and Data Persisters in favour of StateProvider and StateProcessor. Each item on the list needs an owner and a status: unchanged, needs rewriting or retired.
Staging instance matching production
Build a staging copy with the same SuiteCRM version, PHP and database versions, file layout, SAML settings and cron jobs as production. Run the upgrade there first and record every error and warning. A staging environment that differs from production in its web server, environment variables or identity provider configuration will not show the problems you need to find.
Generated APP_SECRET stored securely
Version 8.7 makes the APP_SECRET environment property required, and the migration generates one on upgrade. Decide where the value will live, such as a secrets manager or a protected environment file, and confirm it is not committed to version control. Record the generated value in your secrets store before the upgrade, and confirm that backups do not expose it in plain text to people who should not read them.
Documented SAML test with the identity provider
If the instance uses SAML, test sign-on on staging against the identity provider, using the 8.7.0+ configuration reference as your checklist. Note that SAML in 8.7.0 and later does not support IdP-initiated logout or POST binding to the logout service, so a logout at the identity provider does not end the SuiteCRM session. Record the test results and the users involved.
SAML configuration referenceNamed rollback owner
Assign one person with authority to stop the upgrade and restore the backup, and name a second person who can approve the restore on the day. Agree in writing the conditions that trigger a rollback, such as failed sign-on, broken custom modules or data mismatches. Without a named owner, teams often keep a partly upgraded instance running while they debate the fix.
The upgrade sequence from a supported 8.x install to 8.7
This sequence moves an existing SuiteCRM 8 install onto 8.7 in a rehearsed order, so the Symfony 6.4 change, the required APP_SECRET, the SAML rework and custom backend code are each checked before production is touched. Each step ends with a check and a rollback point.
Confirm the current version and upgrade path
Record the exact SuiteCRM 8.x version in production, including any installs still on older 8.x releases. If the instance is older than the release range that upgrades directly, plan the 8.2.x stepping stone first, since the 8.7 upgrade assumes an 8.x starting point that the release notes support. Confirm the path against the 8.7 release notes and the current SuiteCRM Core releases. Done when the version, the target path and the list of intermediate upgrades are written down and agreed by the application owner. Rollback point: the untouched production instance and its current file and database backups remain the fallback until the path is approved.
Check PHP and database versions against the matrix
Compare the server's PHP, Apache and MariaDB or MySQL versions with the SuiteCRM compatibility matrix for the target release. The 8.7 release moved to Symfony 6.4 and API Platform 3.2, so PHP and extension readiness should be verified before any code changes land. Record each mismatch as a separate work item, because PHP or database upgrades may need their own rehearsal. Done when every component is listed as supported, or each gap has a named owner and a planned change. Rollback point: no change is made at this step, so the existing stack is unaffected.
Set APP_SECRET and SAML variables in staging
In a staging copy of the instance, set the APP_SECRET environment property, which 8.7 requires, and review the SAML settings for the nbgrp-based bundle. The 8.7 release generates an APP_SECRET during upgrade, so decide whether to accept the generated value or supply one from your secrets manager, and record where it is stored. Update the SAML configuration against the 8.7.0 SAML reference, using the AUTH_TYPE=saml setting only where SAML is the chosen login method. Done when the staging config loads without errors and the APP_SECRET source is documented. Rollback point: the staging copy is disposable, so restore it from its own snapshot if the configuration fails.
Run the upgrade in staging
Take a fresh backup of the staging instance, then run the upgrade using the documented SuiteCRM upgrade procedure for the target version. Capture the full console output, including any migration messages that generate the APP_SECRET or change configuration. Note every step that required manual intervention, because the same steps must be repeated in production. Done when the upgrade completes without fatal errors and the application loads for an administrator. Rollback point: restore the staging snapshot and rerun the upgrade after the cause is fixed.
Verify the generated secret and session behavior
Confirm that the APP_SECRET is present in the environment used by the web and worker processes, not just in the file the upgrade wrote, and that it matches what your secrets process expects. Then test the session model: 8.7 removed legacy session swapping and the LEGACYSESSID cookie, so sign in, use several modules, open a second browser session and confirm the single session cookie behaves as expected. Check that any reverse proxy or load balancer passes the cookie through unchanged. Done when a user can sign in and stay signed in across normal navigation and the cookie set matches the new design. Rollback point: reverting the APP_SECRET and restoring the pre-upgrade snapshot returns staging to its prior state.
Test SAML login and logout
Run a full SAML sign-in against the identity provider used in production, including first-time user provisioning and any role mapping. Then test logout. The 8.7.0+ SAML implementation does not support IdP-initiated logout or POST binding to the logout service, so signing out at the identity provider leaves the SuiteCRM session open. Document this behavior for users and decide whether session timeouts or a local logout link cover the gap. Done when sign-in, attribute mapping and the documented logout behavior are each recorded in a test log. Rollback point: switch AUTH_TYPE back to the previous login method in staging while the SAML settings are corrected.
Test custom backend code and integrations
Review custom code that depends on the framework layers changed in 8.7. The release deprecated Data Providers and Data Persisters in favor of StateProvider and StateProcessor, and it moved to API Platform 3.2, so any custom endpoint, API resource or persister must be checked. Run the API calls your integrations use, including token authentication, and compare responses with the pre-upgrade baseline. Done when each custom endpoint returns the expected results, deprecation warnings are logged as tickets, and integration owners sign off. Rollback point: keep the previous custom code release tagged so it can be redeployed with the matching core version.
Take a rollback point and run production
Before production changes, take a full backup of files and the database, record the current versions of SuiteCRM, PHP and the database, and export the production APP_SECRET and SAML settings to your secrets store. Schedule the window with the business owners, repeat the steps proven in staging in the same order, and verify the same checks in production. Done when the production checks match staging and the rollback point has been tested for restore. Rollback point: the pre-upgrade backup and the recorded previous version, restored only after the restore path has been rehearsed.
How to test the upgrade and roll back if it fails
Test the upgrade against a staging copy that matches production, and cover every path a user or system relies on before the production cutover. Start with login through each AUTH_TYPE in use. If the instance uses SAML, confirm sign-on for each identity provider group and check sign-out behavior, because SuiteCRM 8.7.0 and later do not support IdP-initiated logout or POST binding to the logout service, so ending the identity provider session will not end the SuiteCRM session. Record that behavior as an accepted limitation or plan a compensating control, and tell users what to expect. Confirm that the single session cookie replaces the legacy session handling and that a second browser session behaves as your security team expects.
Next, test the code and jobs that the upgrade is most likely to break. Call every API client and custom endpoint with real tokens, since custom backend code built on Data Providers or Data Persisters needs review against the StateProvider and StateProcessor approach introduced in this release. Run scheduled jobs and confirm they complete, and send and receive email and file attachments through the paths your teams use. Walk through the user-facing workflows that matter most to sales, service and marketing, and compare results with the pre-upgrade baseline. Confirm the APP_SECRET value is set and stored in your secrets store, not only in a file on the server.
Rollback depends on the backup taken before the change. Take a verified backup of the database and application files immediately before production work starts, and test restoring it on a separate host, so you know the restore works before you need it. Agree in advance who makes the rollback decision, which named role can authorize it, which checks trigger it, and how long the old instance stays available and read-only, so that data created after the cutover is either carried forward or deliberately discarded. Confirm these details with your own change process and with the upgrade documentation, and do not assume that a rollback to the previous release leaves the database compatible without testing it.
What makes a SuiteCRM 8.7 upgrade take longer
This table lists the factors that expand a SuiteCRM 8.7 upgrade beyond the core steps, with the reason each one adds work and the input a written scope should capture. Read it before requesting a quote, because each row names something to measure in your instance now. The main takeaway is that custom backend code, identity setup and the number of environments matter more than the platform version alone.
| Driver | Why it adds work | What to ask for |
|---|---|---|
| Custom backend classes using Data Providers or Persisters | These were deprecated in 8.7 in favour of StateProvider and StateProcessor, so each class needs review and likely rewriting and testing. | An inventory of every custom class and service that uses them, with owner and test coverage noted |
| SAML integrations with multiple identity providers | 8.7 replaced the SAML dependency and changed SAML configuration, so each identity provider needs its settings rebuilt and sign-on tested separately. | A list of identity providers, their current settings, and which user groups depend on each |
| Heavy logic hook use | Logic hooks that touch login, sessions or the removed legacy session handling need checking against the new single session cookie behavior. | A count of active logic hooks and any that read session or cookie values |
| Custom API clients | Clients that rely on session behavior, the LEGACYSESSID cookie or older endpoints must be identified and retested against the upgraded API layer. | A list of integrations, their authentication method and the team that maintains each one |
| Database size | Larger databases lengthen backup, the upgrade run and rehearsal cycles, and make rollback slower if a step fails. | Current database size, largest tables, and measured backup and restore times from a copy |
| Number of environments to rehearse | Each environment such as test, staging and production needs its own rehearsal, configuration check and sign-off. | The full list of environments, their configuration differences, and who approves each go-live |
| PHP or database changes needed first | The PHP version, extensions and database release must be brought to what the target release supports before the SuiteCRM change, which adds a separate sequence of work. | Current PHP, extension and MariaDB or MySQL versions compared with the SuiteCRM 8.7 requirements the team confirms from the release documentation |
Questions teams ask before upgrading SuiteCRM to 8.7
What drives the cost and effort of a SuiteCRM 8.7 upgrade?
The main drivers are how much custom backend code you run, how many integrations depend on the API and login flow, and how many environments need to be brought along. Custom code that uses the Data Providers or Data Persisters deprecated in 8.7 needs rework toward StateProvider and StateProcessor, and any SAML login needs its configuration rebuilt for the new bundle. Costs come in two parts: the people time to inventory, change, test and cut over, and the staging infrastructure used to rehearse. The one-time work is the upgrade itself. Recurring costs are the support and patching you carry afterwards. Ask any quote to list the custom code count, the integrations in scope and the number of rehearsal runs it assumes.
How long does a SuiteCRM 8.7 upgrade take?
Duration depends on scope, so no fixed figure applies to every instance. The biggest variables are the amount of customized backend code, the SAML and identity provider work, the number of test cases you need to sign off, and how many rehearsals your change process requires. A small instance with little custom code and a working staging copy will move faster than one with several integrations and a formal change window. No duration has been supplied for this page, so ask any provider to state its planned timeline in writing, tied to the agreed scope and the rehearsal count.
What does the team need to provide before the upgrade starts?
Three things unblock most projects. First, an inventory of the installation: the current version, PHP and database versions, custom modules, extensions, logic hooks, cron jobs and integrations that call the API. Second, access to the identity provider administration console, so SAML application settings, certificates and attribute mappings can be checked and changed during testing. Third, test accounts with the roles real users hold, including administrators, so access can be verified after the change. A staging copy of the database and files, and a named business owner for sign-off, round out the list. Confirm each item with your own environment before work begins.
Can our internal team perform the SuiteCRM 8.7 upgrade without a partner?
Yes, a capable internal team can do this, provided it has someone comfortable with Symfony-based PHP applications, the SuiteCRM configuration files and the identity provider in use. The work that most often stalls internal teams is the SAML rebuild, the review of custom backend code against the 8.7 changes, and testing with real roles after the change. A partner is useful when the team lacks that skill set, when the timeline is fixed, or when the upgrade must be documented for an external assessment. Whichever route you take, agree on the test cases and rollback plan before you start.
Is SuiteCRM 8.7 a required stop on the way to 8.10?
Not for every installation, but it matters for older ones. SuiteCRM 8.7.0 introduced the Symfony 6.4 and API Platform 3.2 changes and made APP_SECRET required, so an instance on an earlier 8.x line must pass through these changes before it reaches the 8.10 line. Teams on a much older 8.x release should follow the stepping-stone guidance in the sibling page on the 8.10 upgrade, which covers the 8.2.x route for older installs. Check your current version first, then read the SuiteCRM 8.7 release notes before choosing a path. PHP version changes are covered separately in the page on upgrading PHP for SuiteCRM 8.10.
What happens to SAML logout after the 8.7 upgrade?
SAML logout in 8.7.0 and later does not support IdP-initiated logout or POST binding to the logout service. In practice, signing out at the identity provider does not end the SuiteCRM session, so a user may remain signed in to SuiteCRM after leaving the identity provider. Plan for this in your access policy, for example by setting shorter session lifetimes or by training users to sign out of SuiteCRM directly. Test the logout path with each identity provider you use. The AUTH_TYPE setting must be saml for this behavior to apply, so confirm the setting and document the limitation for your security review.
What must change in our custom backend code for 8.7?
Start by listing every custom class that uses Data Providers or Data Persisters, since 8.7 deprecates both in favor of StateProvider and StateProcessor. Review any code that depended on the legacy session swapping or the LEGACYSESSID cookie, which 8.7 removed, and any code that assumed the old SAML library. Also confirm that APP_SECRET is set in the environment, because a migration generates one on upgrade and your deployment tooling must keep it stable afterwards. Test each custom endpoint against staging before production. Developers should confirm each item against the release notes for their exact version.
How SAML sign-on and the single session cookie fit together in 8.7
The flow starts when a user opens SuiteCRM 8.7 in the browser, which runs on Symfony 6.4 and hands sign-on to the Nbgrp SAML bundle. The browser is redirected to the identity provider across the trust boundary, and the signed assertion comes back to SuiteCRM, which then issues one session cookie. Logging out at the identity provider does not reach that cookie, because IdP-initiated logout is not supported in the 8.7.0+ SAML implementation, so check how your team ends sessions before go-live.
Sign-on crosses the trust boundary once, and IdP logout does not end the SuiteCRM session.
How DeployOpen scopes and delivers a SuiteCRM 8.7 upgrade
DeployOpen treats the SuiteCRM 8.7 upgrade as a planned change to a running CRM, not a version bump. The work starts with your current instance, its custom code and your SAML setup, then moves through a staging rehearsal to a production cutover that your team can review at each step. Engagements are fixed-scope, with the scope agreed in writing before any work begins.
How we scope
- The written scope lists your current SuiteCRM version, PHP and database stack, and every custom module, extension and integration that touches the backend.
- We confirm how you sign in today, whether through LDAP, SAML or local accounts, and which identity provider settings the 8.7 SAML changes will affect.
- The scope names who provides the APP_SECRET handling, the staging environment, backups and the sign-off owner for each stage.
How we build
- We run the upgrade first on a staging copy of your instance, with files and database backed up before any change is made.
- We review custom backend code against the Symfony 6.4 and API Platform 3.2 changes, and flag Data Providers and Data Persisters for planned rework.
- We test SAML sign-in end to end, including the single session cookie behavior, and document each configuration key we change.
How we hand over
- You receive a written record of every configuration change, including the APP_SECRET setup, SAML settings and any code edits made during the upgrade.
- Test results from staging, with the login, logout and custom-module checks we ran and the outcome of each, are delivered before cutover.
- A runbook covers the production cutover steps, rollback points and the known gap that SAML logout at the identity provider does not end the SuiteCRM session.
How we support
- Post-upgrade support can be arranged as a retainer covering patch and minor release checks on the SuiteCRM 8 line.
- Retainers can include recurring testing of custom code and SAML settings whenever a new SuiteCRM minor release is published.
- Ask for the support terms, response expectations and change handling in the written quote so they are agreed before work starts.

