Interview Prep/Jenkins/Controller health, disk & upgrades

After restoring from backup, credentials appear but jobs fail with `hudson.util.Secret` decryption errors and empty passwords

AdvancedTroubleshootingController health, disk & upgrades
Answer

Likely causes → secrets/master.key and secrets/hudson.util.Secret were not restored (or came from a different instance), so stored secrets can't be decrypted.

Diagnose → Compare secrets/ with the original backup; controller log for Failed to decrypt warnings.

Fix → Restore the matching secrets/ directory and restart. If lost, recreate every credential.

Prevent → Back up secrets/ with the rest of JENKINS_HOME, test restores, keep secrets in an external store.

All Jenkins questions Roadmap: Jenkins

More on Controller health, disk & upgrades