Skip to content

Error : update strapi v4 to v5 #21462

@ra-devmaster

Description

@ra-devmaster
  • Node.js version: v20.17.0
  • NPM version: 10.8.3
  • Strapi version: 4.25.11 to 5.0.0
  • Database: "mysql2": "^3.11.1",
  • Operating system: LocalHost windows
  • Is your project Javascript or Typescript: JS

The bug

Hi,
I managed to upgrade my strapi 4.25.10 to 4.25.11, however when I want to go from v4 to v5 I get this error after running npx @strapi/upgrade major as on the documentation

Screenshots

image
image

And on github i have only that change :
image

After that, if I run npx strapi -v, I'm obviously still in 4.25.11.

Metadata

Metadata

Assignees

No one assigned

    Labels

    flag: EEIssues correlates to internal EE ticketissue: bugIssue reporting a bugseverity: highIf it breaks the basic use of the productsource: utils:upgradeSource is utils/upgradestatus: confirmedConfirmed by a Strapi Team member or multiple community membersversion: 5Issue is present in Strapi 5

    Type

    No type

    Projects

    Status

    Fixed/Shipped

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions