# How can I Unlock Jenkins using CLI

**URL:** <https://community.jenkins.io/t/how-can-i-unlock-jenkins-using-cli/7691>\
**Category:** Using Jenkins\
**Created:** [May 30, 2023, 5:27am UTC](https://community.jenkins.io/t/how-can-i-unlock-jenkins-using-cli/7691 "2023-05-30T05:27:19Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![shivraj](https://avatars.discourse-cdn.com/v4/letter/s/aca169/32.png) [@shivraj](https://community.jenkins.io/u/shivraj)\
**Post date:** [May 30, 2023, 5:27am UTC](https://community.jenkins.io/t/how-can-i-unlock-jenkins-using-cli/7691/1 "2023-05-30T05:27:20Z")

</div>

I updated LTS Jenkins week ago. I can see Jenkins status “FAILED” using \>systemctl status jenkins  
So far I can not access Jenkins through UI showing (502-Bad GW)  
Do you have any suggestion to unlock?

Note: Installed Java and Jenkins LTS is supported.
