0

I am running jenkins in eks cluster. Till yesterday it worked, but today when I want to change any configuration in the jenkins system configuration page, it is not saving anything and page is also not loading properly.

Below is the log I got from the jenkins pod. Log file github link

I tried to paste here but character limit exceeded.

Could you please suggest what need to be fixed?

user2331760
  • 155
  • 4
  • 12
  • Check file permissions. See what user jenkins runs as, then check if the dirs and files indeed grant access to said user. – bviktor Mar 21 '23 at 16:29
  • it is running in kubernetes container, so permission should not be an issue right – user2331760 Mar 21 '23 at 17:07
  • Why? Kubernetes is not exempt from file permissions. Unless absolutely everything is run as root, that is. – bviktor Mar 21 '23 at 17:11
  • it is used to work earlier, only since yesterday getting this error.If it is permissions, it should not work before also right? And using the official image only https://hub.docker.com/r/jenkinsci/jenkins/ There it defaults to jenkins user. Even when I try to access the shell of pod and try to run sudo, gets error as sudo command not found. – user2331760 Mar 21 '23 at 18:11
  • Right, then don't try to figure out what's wrong :) Because it used to work. And FYI sudo is not installed by default in most distro containers, so that doesn't seem abnormal to me. – bviktor Mar 21 '23 at 19:09
  • permissions are there to the jenkins user. Because using the default image only jenkins/jenkins. COuld you please suggest any other steps. Because changing to root user also not supporting as no sudo command – user2331760 Mar 23 '23 at 02:38

0 Answers0