Strapi not showing admin panel after updating version from 3.5.4 to version 3.6.9

System Information
  • Strapi Version: 3.5.4
  • Operating System: Ubuntu
  • Database: MongoDB
  • Node Version: 14.20.0
  • NPM Version: 6.14.17

Hi guys, I am trying to upgrade the version of strapi from v3.5.4 to v3.6.9 but after updating the dependencies strapi is not showing the admin panel instead it is showing a white blank screen. Also, I am getting the following error in my console. I am following the official documentation for upgrading the version - https://docs-v3.strapi.io/developer-docs/latest/update-migration-guides/update-version.html

Uncaught Error: Reducer "menu" returned undefined when handling "@@redux/INITw.f.9.m.u" action. To ignore an action, you must explicitly return the previous state.
    at t.default (main.314bb097.chunk.js:1:4973920)
    at main.314bb097.chunk.js:1:4972403
    at Array.forEach (<anonymous>)
    at main.314bb097.chunk.js:1:4972332
    at Pe.withMutations (main.314bb097.chunk.js:1:443725)
    at main.314bb097.chunk.js:1:4972303
    at v (main.314bb097.chunk.js:1:651497)
    at u (main.314bb097.chunk.js:1:651870)
    at main.314bb097.chunk.js:1:652431
    at u (main.314bb097.chunk.js:1:650986)

Dependencies:

  "dependencies": {
    "config": "^3.3.6",
    "strapi": "3.6.9",
    "strapi-admin": "3.6.9",
    "strapi-connector-mongoose": "3.6.9",
    "strapi-plugin-content-manager": "3.6.9",
    "strapi-plugin-content-type-builder": "3.6.9",
    "strapi-plugin-email": "3.6.9",
    "strapi-plugin-upload": "3.6.9",
    "strapi-plugin-users-permissions": "3.6.9",
    "strapi-provider-upload-google-cloud-storage": "^3.6.2",
    "strapi-utils": "3.6.9"
  },