What do you do when Jenkins itself will not start after an upgrade?
AdvancedProductionJenkins in Production
Answer
Read the logs first (journalctl -u jenkins or the container log), where a plugin dependency error or a ClassNotFoundException usually names the culprit. Typical recovery: move the offending plugin's .jpi out of plugins/ (or roll back plugin versions in plugins.txt), start in safe mode if needed, or restore from the pre-upgrade snapshot. This is why every upgrade starts with a backup and a staging rehearsal, and why the controller is deployable from a known-good image tag.
journalctl -u jenkins -n 200 --no-pager
ls $JENKINS_HOME/plugins | grep -i <plugin>
More on Jenkins in Production
How do you run Jenkins for high availability and scale?AdvancedHow do you tune the Jenkins controller JVM and avoid out-of-memory crashes?AdvancedHow do you back up and restore Jenkins?IntermediateHow do you upgrade Jenkins and its plugins safely?IntermediateHow do you harden a Jenkins controller?AdvancedHow do you configure dynamic Kubernetes agents in Jenkins for production use?Intermediate