Skip to content

[Bug]: Strapi v5 Plugin Controller Override IssueΒ #2397

@serkanboztepe

Description

@serkanboztepe

Link to the documentation page or resource

https://docs.strapi.io/dev-docs/admin-panel-customization/extension

Describe the bug

Strapi v5 Plugin Controller Override Issue

I'm using Strapi v5 and trying to override the plugin::upload.file controller (modifying the /admin/plugins/upload API response). However, overrides via the extensions system or src/index.ts do not work, and no logs appear in the terminal.

Previously, in Strapi v4, overriding via src/extensions/upload/strapi-server.ts or manually modifying the controller in src/index.ts worked. But in Strapi v5, these methods seem ineffective.

Is there an updated approach or alternative solution for this in Strapi v5? πŸš€

Additional context

No response

Suggested improvements or fixes

No response

Related issue(s)/PR(s)

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions