-
-
Notifications
You must be signed in to change notification settings - Fork 9.2k
Closed
Labels
issue: bugIssue reporting a bugIssue reporting a bugseverity: criticalIf the issue has a security impact or breaks core usage of the productIf the issue has a security impact or breaks core usage of the productsource: core:uploadSource is core/upload packageSource is core/upload packagestatus: confirmedConfirmed by a Strapi Team member or multiple community membersConfirmed by a Strapi Team member or multiple community members
Description
Bug report
Required System information
- Node.js version: 18.16.0
- NPM version: 9.7.1
- Strapi version: 4.13.2
- Database: Mysql
- Operating system: Debian
- Is your project Javascript or Typescript: Typescript
Describe the bug
When I open the media library, I get a white page and the following error
TypeError: Failed to construct 'URL': Invalid URL
Expected behavior
The media library page should appear.
Screenshots
Additional context
| Command | Result |
|---|---|
npx strapi develop --watch-admin |
works fine |
npx strapi develop |
broken |
npx strapi build --no-optimization && npx strapi develop --no-build |
broken |
No change after deleting .cache and dist folders.
Updates:
In my data, all the files.url values in the database start with a slash.
This appears to be the cause.
riblee, agentx3, ChrisCrossCrash, tq-bit and yondmnyclgkd
Metadata
Metadata
Assignees
Labels
issue: bugIssue reporting a bugIssue reporting a bugseverity: criticalIf the issue has a security impact or breaks core usage of the productIf the issue has a security impact or breaks core usage of the productsource: core:uploadSource is core/upload packageSource is core/upload packagestatus: confirmedConfirmed by a Strapi Team member or multiple community membersConfirmed by a Strapi Team member or multiple community members

