Unable to update Jenkins helm chart version 5.1.5 to 5.3.5

I am trying to upgrade jenkins helm chart version 5.1.5 to 5.3.5 which is deployed on EKS version 1.28 but getting below error for git plugin.
Currently my Jenkins is down so I am unable to upgrade token-macro plugin from Jenkins GUI. Could you please guide me how can I install token-macro plugin version 400.v35420b_922dcb_ or higher from Jenkins pod. I have tried to remove the token-macro directory from plugin directory from Jenkins Pod but getting text file busy error. I have also tried to remove plugins.txt file but no luck

4-07-11 07:55:13.950+0000 [id=33]    INFO    jenkins.InitReactorRunner$1#onAttained: Listed all plugins                                                                                                                                    │
│ 2024-07-11 07:55:14.477+0000 [id=30]    SEVERE    jenkins.InitReactorRunner$1#onTaskFailed: Failed Loading plugin Git plugin v5.2.2 (git)                                                                                                     │
│ java.io.IOException: Failed to load: Git plugin (git 5.2.2)                                                                                                                                                                                   │
│  - Update required: Token Macro Plugin (token-macro 384.vf35b_f26814ec) to be updated to 400.v35420b_922dcb_ or higher                                                                                                                        │
│     at hudson.PluginWrapper.resolvePluginDependencies(PluginWrapper.java:992)                                                                                                                                                                 │
│     at hudson.PluginManager$2$1$1.run(PluginManager.java:552)                                                                                                                                                                                 │
│     at org.jvnet.hudson.reactor.TaskGraphBuilder$TaskImpl.run(TaskGraphBuilder.java:177)                                                                                                                                                      │
│     at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:305)                                                                                                                                                                             │
│     at jenkins.model.Jenkins$5.runTask(Jenkins.java:1175)   

Below yaml file configuration for plugins

  installPlugins:
    - kubernetes:4253.v7700d91739e5
    - workflow-aggregator:600.vb_57cdd26fdd7
    - git:5.2.2
    - configuration-as-code:1810.v9b_c30a_249a_4c
  additionalPlugins:
    - matrix-auth:2.6.11
    - allure-jenkins-plugin:2.30.2
    - job-dsl:1.83
    - rebuild:1.33.1
    - pipeline-utility-steps:2.12.1
    - workflow-support:896.v175a_a_9c5b_78f
    - ace-editor:1.1
    - pipeline-model-definition:2.2131.vb_9788088fdb_5
    - parameterized-scheduler:1.2
    - file-parameters:205.vf6ce13b_e5dee
    - htmlpublisher:1.30
    - build-user-vars-plugin:1.8
    - kubernetes-client-api:6.10.0-240.v57880ce8b_0b_2
    - kubernetes-credentials:0.11
    - saml:2.333.vc81e525974a_c
    - snakeyaml-api:2.2-111.vc6598e30cc65
    - email-ext:2.99
    - workflow-job:1400.v7fd111b_ec82f

Its got resolved by removing token-macro.jpi file from plugin directory, Thanks :slight_smile: