Skip to content

Spurious notification "Upgrade your admin panel" #20134

@stevewlrls

Description

@stevewlrls

Bug report

Required System information

  • Node.js version: v20
  • NPM version: yarn 1.22.21 (npm 10.2.5)
  • Strapi version: 4.23.0
  • Database: sqlite
  • Operating system: darwin-arm64 (Sonoma 14.4.1 (23E224))
  • Is your project Javascript or Typescript: Javascript

Describe the bug

On upgrading a Strapi project to the latest version - or even when creating a new project with the latest version - the Admin panel shows a spurious notification, "Upgrade your admin panel". This appears to be due to the distributed Admin panel code (@strapi/admin/dist) not having been rebuilt since some previous release. For example, the distribution for Strapi 4.23.0 refers to 4.22.1.

Steps to reproduce the behavior

  1. yarn create strapi-app my-test
  2. Select Quickstart
  3. Wait for Strapi to start
  4. Create initial admin user
  5. See error

Expected behavior

The notification count should be zero, and the link to "Upgrade your admin panel" should not be shown.

Screenshots

image

Code snippets

Here's the offending snippet from ./node_modules/@strapi/admin/dist/_chunks/AuthenticatedApp-SHeC-UG0.js within v4.23.0:

const name = "@strapi/admin";
const version = "4.22.1";
const description = "Strapi Admin";

Additional context

See also https://forum.strapi.io/t/update-your-admin-panel/14359/4.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions