Tacitus86
Tacitus86

Reputation: 1394

Jenkins 2.289.1 Upgrade Read Permission

I just updated Jenkins using the automatic upgrade to version 2.289.1. Everything was working absolutely fine until I upgraded. Now I can't get in to revert. When I go to the home page I get the following:

enter image description here

When I attempt to log in I get a 403 error saying "No valid crumb was included in the request".

Digging into the logs I see this:

2021-06-22 19:49:58.012+0000 [id=12]    WARNING  
h.i.i.InstallUncaughtExceptionHandler#handleException: Caught unhandled exception with ID 
5f1b24fc-2e52-43fa-81f6-e551f44c432d
hudson.security.AccessDeniedException3: anonymous is missing the Overall/Read permission

I edited the config file to set security to false and it let me in but is unsustainable because this disables all login and removes security completely.

Edit: After updating the plug-ins, I no longer got the above screen after reactivation security. Now after logging in I get a 404 servlet error, but I can manually enter localhost:8080 to bring me to the dashboard. Any idea what is with the bad redirect?

Upvotes: 1

Views: 877

Answers (1)

Dmitriy Tarasevich
Dmitriy Tarasevich

Reputation: 1242

Update steps are the following:

  • read jenkins changelogs;
  • read plugins changelogs;
  • make a backup before the update;
  • probably you will need to update java version;
  • remove unnecessary plugins;
  • update plugins;
  • update jenkins;
  • update plugins;
  • run several jobs to check plugins are still working.

Upvotes: 1

Related Questions