Upgrading a Strapi Cloud project to Strapi 5: why and when
A team running a Strapi Cloud project on v4 has a clear deadline to act on. Strapi v4 reached end of life on April 30, 2026, and its final release, 4.26.2 of June 9, 2026, will receive no further updates. The supported path to Strapi 5 on Cloud is three steps: take a backup of the database, upgrade the code locally using Strapi's step-by-step migration guide, and deploy with the Cloud CLI, which runs the data migration script automatically. Strapi's upgrade tool and codemods handle much of the code change, but the migration is not something to start from the Cloud dashboard alone.
Strapi Cloud can still run existing v4 projects, but Strapi states that this may change without warning. That means a v4 project on Cloud is running without a guaranteed future, and waiting carries a risk the team does not control. The reader should confirm with Strapi what Cloud support for v4 looks like today and plan the migration window before any forced change arrives, not after it.
The most important constraint is that downgrading is not supported. Once the Strapi 5 data migration has run on a project, returning to v4 is not a simple redeploy, which is why the backup is taken first and why the team should confirm it can restore that backup before deploying. Ask Strapi and your own team who will approve the production deploy, how long a restore would take, and which environment will be tested first.
What changes between Strapi v4 and Strapi 5 and what each change asks of you
This table lists the Strapi 5 changes that affect a Cloud project during upgrade, with the impact of each and the action your team needs to take. Read it before you copy the code locally, because the data migration runs on deploy and cannot be reversed by downgrading. The main takeaway is that the database backup and the code changes both have to be ready before the Cloud CLI deploy.
| Change | Impact | Action needed |
|---|---|---|
| Upgrade tool and codemods | Rewrites many v4 code patterns automatically but not all of them | Run the upgrade tool on a local copy, review each codemod change, then fix what it leaves behind |
| Data migration on first start | Strapi 5 migrates your data when it first starts, and the Cloud CLI deploy triggers this run | Take a database backup first, because the docs say downgrading is not supported |
| Document Service API replaces Entity Service API | Custom back-end code that calls the old API will not work as written | Find every Entity Service call in controllers, services and lifecycle hooks, then rewrite them by hand |
| Changed REST response format | Front ends that read v4 responses may break or show missing fields | Send the Strapi-Response-Format: v4 header during the switch, then update each client and remove the header |
| Database support | PostgreSQL 14 or later, MySQL 8.0 or later, MariaDB 10.3 or later and SQLite 3 are supported | Confirm your database version before upgrading and upgrade it first if it is older |
| No MongoDB or other NoSQL support | A project on a NoSQL database cannot move to Strapi 5 as it is | Plan a database move with a separate project before upgrading |
| Node.js versions | Strapi 5 runs only on Active or Maintenance LTS Node.js versions | Check the Node.js version your Cloud project uses and set a supported one in the local build before deploying |
| Cloud v4 projects may change without warning | Strapi Cloud can still run v4 projects, but Strapi says this may change without notice | Plan the upgrade window and avoid waiting for a forced change |
What to prepare before you touch the code
Each of these four items is something the team must hold in hand before the upgrade starts. Together they let you roll back if the data migration fails, find every custom piece that will break, rehearse the change on a copy, and know which clients need a response-format change at the same time as the back end.
Database backup taken first
Take a full backup of the production database before any change to code or hosting. Strapi's guidance is to back up the database first because downgrading is not supported, so the backup is your only way back to v4 data. Confirm that you can restore it to a separate database, check the file opens, and record when it was taken and which environment it came from. Keep it outside the project so a failed deploy cannot overwrite it.
Upgrade FAQInventory of custom code and integrations
List every custom plugin, controller, service, policy, middleware, admin extension and third-party plugin in the project, along with the external systems each one calls, such as search, email, media storage or a webhook receiver. Mark which items use the Entity Service API, which read response fields directly, and which hook into database lifecycle events. This list tells you which parts need manual work after the codemods run and which third-party packages need a Strapi 5 version before you can deploy.
Rehearsal copy of the project
Create a separate copy of the code repository and a copy of the database, then run the full upgrade there before touching production. Use a branch or a second Cloud project so the rehearsal does not write to live content. Record every error, every codemod change you had to edit by hand, and the time the data migration took. The rehearsal result sets the cutover plan and shows whether your test data includes the content types and locales that production uses.
Client list reading v4 responses
Make a list of every front end, mobile app, script, static site build and third-party service that calls the Strapi API and reads v4 response fields. For each client, note the endpoint, whether it uses REST or GraphQL, and who owns it. Strapi 5 changes the response format, and the Strapi-Response-Format: v4 header is available during migration. Know which clients must be updated in step with the back end, because a Cloud deploy changes what they receive immediately.
How the Cloud upgrade runs, step by step
The sequence moves a Strapi Cloud project from v4 to Strapi 5 with a verified backup, a locally tested code upgrade and a deploy that runs the data migration, so each stage has a check before the next one begins.
Create and verify the pre-upgrade backup
Before any code changes, create a backup of the Strapi Cloud project's database and media, following Strapi's guidance to back up the database first. Strapi states that downgrading is not supported, so this backup is the only rollback point once a Strapi 5 deploy has run. Confirm the backup is complete by checking that you can locate it and that its contents match what the project holds. Record the current Strapi version, Node.js version and the commit hash of the production code so you can rebuild the v4 state if needed.
Upgrade the code locally with the codemods
On a local copy of the project, follow Strapi's step-by-step v4 to v5 guide and run the upgrade tool, which applies codemods to configuration and source files. Review every change the codemods make in version control rather than accepting the output unread, because some code needs manual work the tool cannot detect. Commit the result to a branch that is not deployed. The check is that the project installs and the admin panel builds without errors on the Node.js version that Strapi 5 supports.
Review the breaking changes list against the code
Work through Strapi's breaking changes list and mark each item as not affected, handled by the codemods, or needing a manual change in your code. Focus on the areas that differ most in practice: the Document Service API replacing the Entity Service API, the changed API response format, plugin compatibility and database requirements. The output is a short written list of open items with an owner for each. Do not move on while an item is marked unknown.
Run the upgraded project against a copy of the data
Restore the backup into a local or separate environment that is not the live Cloud project, then start the upgraded code against that copy. Strapi 5 runs its data migration scripts on first start, so this run shows what the migration does to your content before production is involved. Watch the start-up logs for migration errors and confirm the admin panel loads with the migrated content. Repeat the run after each fix until the migration completes cleanly on the copy.
Deploy with the Cloud CLI and run the migration
Deploy the tested branch to the Strapi Cloud project with the Cloud CLI. Strapi's documented path runs the data migration script automatically during this deploy, so no separate migration command is needed. Make the deploy during a window agreed with the content team and freeze editing while it runs. The check is that the deployment completes and the project starts; if it fails, the pre-upgrade backup from the first step is the rollback point, and the code should be restored to the recorded commit.
Verify content, roles and API responses
After deploy, check that content in each content type matches the pre-upgrade backup, including draft and published entries, media references and relations. Confirm that admin roles and permissions still grant the access they did before. Call the public and authenticated API endpoints your front ends use and compare the response shape with what the clients expect, using the v4 compatibility header only as a temporary bridge if clients have not been updated. Record the results and sign off with the content and engineering owners.
What Strapi Cloud still allows for v4 projects
Strapi Cloud can still run existing v4 projects, but Strapi says that this may change without warning. That makes staying on v4 a decision with an expiry date you do not control. Before you choose to wait, ask Strapi to confirm in writing the current Cloud position for v4 projects, including whether the platform will keep deploying and hosting v4 code, how much notice you would receive before any change, and whether the Cloud CLI upgrade path will remain available to you. Record the answer with the date you received it, because the position may have moved by the time your team reviews the plan.
The underlying risk is end of life. Strapi v4 reached end of life on April 30, 2026, and its final release, 4.26.2 of June 9, 2026, will receive no further updates. A v4 project on Cloud therefore carries no upstream fixes for security issues found after that date, even if the hosting platform keeps running it. Your security team should treat the v4 codebase as frozen and count any known vulnerability in its dependencies as an open item that you must accept, mitigate or remove by moving to Strapi 5.
If you wait, put the decision in writing with an owner and a review date. Confirm which Cloud plan and project settings you need to keep the current environment running, and check whether a backup taken now would still be restorable if you later move to self-hosting. Starting the backup and local upgrade work early keeps the option open. Waiting until Cloud changes its v4 position forces the upgrade under pressure, and that is when teams skip the staging run and the pre-upgrade backup check.
How the backup, code and Cloud deploy steps connect
The flow starts with the live v4 project and its database, which are backed up before anything changes. The upgrade runs locally with the upgrade tool and is rehearsed on a copy of the database, so problems surface before production is touched. The Cloud CLI deploy then runs the data migration script automatically on first start of Strapi 5. Check the result against the breaking changes list and your own test cases, and if verification fails, restore the pre-upgrade backup, because Strapi does not support downgrading.
Backup, local upgrade, rehearsal and Cloud deploy, with restore as the only failure path.
What makes a Strapi Cloud upgrade take longer
This table lists the project characteristics that most change how much work a Strapi Cloud move to Strapi 5 involves. Read each row against your own codebase and content, and use the right-hand column to decide what to inventory before you ask for a quote. The main takeaway is that the upgrade is rarely limited to the codemods, and the unknowns sit in plugins, admin code, back-end queries and front-end clients.
| Driver | Why it matters | What to check |
|---|---|---|
| Custom and third-party plugins | Plugins written for v4 may depend on APIs or helper packages that Strapi 5 removed or changed, and each one must be compatible before the upgrade can be tested end to end. | List every plugin in package.json and src/plugins, then confirm Strapi 5 support for each third-party plugin with its maintainer. |
| Custom admin panel code | Admin customizations, injected components and branding rely on the admin build and the Design System, which changed in Strapi 5. | Identify admin extensions, custom webpack or bundler config, and any components built on the older design library. |
| Entity Service API in back-end code | Controllers, services and lifecycle hooks that call the Entity Service must move to the Document Service API, and codemods do not cover every call. | Search the codebase for Entity Service calls, and note where code relies on numeric IDs instead of documentId. |
| Front-end clients on the v4 response format | Each client that reads the v4 response shape must be updated or kept on the compatibility header, so the number of clients sets the coordination load. | Count every consumer of the REST and GraphQL APIs, including mobile apps, static site builds and third-party integrations. |
| Data volume and media storage | Larger databases lengthen the data migration that runs on first start, and media stored in external providers may need separate configuration checks. | Confirm database size, the media upload provider in use, and whether the provider needs an updated package for Strapi 5. |
| Internationalization and draft and publish usage | Projects that use i18n or publication state need query and parameter changes, and content states must be checked after migration. | Check for publicationState queries, locale parameters, and whether any content relies on locale=all. |
Questions teams ask before upgrading a Strapi Cloud project
What drives the cost of upgrading a Strapi Cloud project to Strapi 5?
The cost is driven by how much code and content behavior sits on top of the default project, not by the upgrade command itself. Strapi's documented path for Cloud is to create a backup, update the code locally with the step-by-step guide, and deploy with the Cloud CLI, which runs the data migration script automatically. The work that adds cost is custom controllers and services that call the Entity Service API, plugins that need porting, front ends that consume v4 response shapes, and custom admin code. Hosting is a separate recurring cost: Strapi Cloud lists Starter at 35 US dollars per month per project, Pro at 90 and Business at 450. Ask any partner for a quote that separates one-time upgrade work from recurring hosting and support.
Can our internal team upgrade a Strapi Cloud project without a partner?
Yes, a team with Node.js and Strapi experience can follow Strapi's documented steps, but the decision depends on what the project contains. A plain project with standard content types and no custom plugins is a narrower job than one with custom server code, admin extensions or a large front end. Check whether your engineers have worked with the Document Service API, whether anyone owns the front-end response changes, and whether you have a staging environment to rehearse the migration. If the answer to two or more of these is no, a partner's scope review is worth the cost. Your team should still own the sign-off, because only they know which editorial workflows must keep working.
What does the upgrade need from our side?
The work needs access, a backup, representative test data and a named person who signs off the result. Access means repository rights, Strapi Cloud project permissions to deploy with the Cloud CLI, and credentials for any third-party providers such as email or media storage. The backup is the most important input: Strapi's docs say to back up the database first because downgrading is not supported, so the backup must be verified and restorable before the deploy. Test data should cover the content types, locales and drafts your editors actually use. Sign-off should be written against a list of workflows, such as publishing, previewing and media uploads, that must pass before production cutover.
How long does the upgrade take, and why does it depend on scope?
No fixed duration can be stated here because it depends on the size of the codebase, the number of content types and plugins, and how many front ends consume the API. Strapi's own migration documentation describes the core steps but does not set a timeline for a specific project. Ask for a plan with phases: an inventory of custom code and plugins, the local code update, a rehearsal deploy against a copy of production data, front-end changes, and the production cutover. Each phase has a different driver. Plugin compatibility and front-end changes are the most common causes of delay, so ask any partner how they will assess them before committing to a date.
Can our Strapi v4 project stay on Strapi Cloud as it is?
Strapi Cloud can still run existing v4 projects, but Strapi has said that this may change without warning. Strapi v4 reached end of life on April 30, 2026, and its final release, 4.26.2, will receive no further updates. That means a v4 project on Cloud runs without upstream fixes, so security exposure grows over time. Staying on v4 may be a reasonable short-term choice while you plan, but it should be a dated decision with a named owner and a target date for the Strapi 5 move. Do not wait for Cloud to force the change, because the migration will then happen under pressure.
What should we do if the upgrade fails in production?
Stop, restore the pre-upgrade database and code, and investigate on a copy before trying again. Strapi's documentation states that downgrading is not supported, so the recovery path is the backup you took before deploying, not an automated reversal. This is why the backup must be tested before the upgrade starts and why the rehearsal on production-like data matters. Keep the restore steps written down, agree who can trigger them, and confirm how editors will be informed of any content changed since the backup. A failed upgrade should be treated as an incident with a review, not as a reason to rush a second deploy.
Does an upgrade change the data our editors have already entered?
The Cloud CLI deploy runs Strapi's data migration script automatically, so content and schema are transformed during the upgrade. Editors should expect the content to be present, but the structure behind it changes, so their checks should focus on publishing, drafts, relations and media. Confirm with your Strapi contact exactly which data changes apply to your project before the rehearsal, and record the expected result for each content type. Compare counts and sample entries before and after the rehearsal so the sign-off rests on evidence rather than a quick look.
How to test the upgrade and roll back if it fails
Test the upgrade on a copy of the production project before anything reaches the live Strapi Cloud environment. Restore the backup you took in step one into a separate environment, run the upgraded code against it, and check the areas where Strapi 5 changes behavior most: content entries that were migrated by the data migration script, draft and publish state (confirm that drafts still show as drafts and published entries still resolve), roles and permissions for each admin and end-user role, REST and GraphQL responses for every front end and client that consumes the API, media uploads and the URLs that point to them, and scheduled jobs or lifecycle-driven tasks such as emails and syncs. Record the results per area so the sign-off is traceable. Confirm with your team which front ends must be ready for the response format change before you cut over, since the Strapi-Response-Format: v4 header is a transition aid, not a permanent fix.
Plan the rollback before the production deploy, because there is no automated downgrade. Strapi's documentation says to back up the database first because downgrading is not supported, so the only way back is to restore the pre-upgrade database and the v4 code from the backup taken in step one. Keep that code in version control with its exact commit, keep the backup retrievable and verified, and write down who decides to roll back and how long the team will wait before deciding. Ask Strapi Cloud support, or confirm in the Cloud documentation, how a restored backup is redeployed to the project and what happens to content created after the backup was taken, since that content will not exist in the restored copy.
Treat the rollback path as a drill, not a document. Run the restore sequence on the test copy once, time it with your own environment, and verify that the restored project serves the same content and permissions as before the upgrade. Finally, decide whether you will freeze content edits during the cutover window, because any editor changes made after the backup and before a rollback will need to be re-entered by hand.
How DeployOpen scopes and delivers a Strapi Cloud upgrade
A Strapi Cloud upgrade to Strapi 5 is easier to price and safer to run when the scope, the rehearsal and the production deploy are agreed in writing before work starts. The cards below cover what goes into that written scope, how the work is rehearsed, how the Cloud deploy is staged, and how ongoing support fits after launch.
Written scope and inventory
The scope starts with an inventory of the project: content types, custom controllers and services, lifecycle hooks, installed plugins, admin customizations, and every client that calls the API. Each item is marked as upgrade, replace or retire. The written scope names the plugins that must have a Strapi 5 compatible release and the front ends that need response format changes. Ask for this inventory in any quote, because it is the main input to the effort.
Upgrade FAQPlugin and client compatibility review
Community and custom plugins often decide the schedule. DeployOpen checks each plugin against Strapi 5 and records whether a fixed release exists, a port is needed, or the feature should be removed. Front-end and integration clients are listed with the response format they expect, so the team knows which consumers need changes during the switch. Confirm each plugin's Strapi 5 status with its maintainer before the scope is signed.
Rehearsal upgrade on a copy
Before anything touches the live Cloud project, the upgrade runs on a copy of the database and code. The rehearsal records the codemod changes, the data migration output, the failing tests and the manual fixes. It also gives a measured run time for the production window. Because Strapi does not support downgrading, the rehearsal is the main protection against discovering problems after go-live.
Cloud deploy with backup and rollback points
The production path follows Strapi's steps: create a backup, update the code locally, then deploy with the Cloud CLI so the data migration script runs automatically. DeployOpen fixes the backup point, the code tag to return to, and the go or no-go checks before the deploy starts. Rollback in Strapi 5 means restoring the pre-upgrade database and code, so the written plan names who performs that restore and how long it is expected to take.
Migration FAQCloud v4 posture and support retainers
Strapi Cloud can still run existing v4 projects, but Strapi says that may change without warning, so waiting is not a neutral choice. Where the upgrade cannot finish on the planned date, DeployOpen can propose a retainer that covers minor and patch updates, plugin compatibility checks and monitoring after launch. Retainers are optional and recur, and they are quoted separately from the one-time upgrade scope.
Pricing and quote basis
DeployOpen does not publish a price list. A quote follows from the written scope, so the quote reflects the inventory, the plugin decisions, the number of client applications and the test plan. Ask the quote to show what is one-time and what recurs, which items are assumptions, and which are excluded, such as hosting fees paid to Strapi Cloud. Hosting plan prices are set by Strapi, not DeployOpen.

