# Stuck on 2FA auth when login on Umbrel 0.4.10

**URL:** <https://community.umbrel.com/t/stuck-on-2fa-auth-when-login-on-umbrel-0-4-10/5186>\
**Category:** Support and Troubleshooting\
**Created:** [December 13, 2021, 7:35pm UTC](https://community.umbrel.com/t/stuck-on-2fa-auth-when-login-on-umbrel-0-4-10/5186 "2021-12-13T19:35:14Z")\
**Posts on this page:** 16\
**Page:** 1

<div class="post-metadata">

**Author:** ![flowerpot28](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.umbrel.com/flowerpot28/32/1847_2.png) [@flowerpot28](https://community.umbrel.com/u/flowerpot28)\
**Post date:** [December 13, 2021, 7:35pm UTC](https://community.umbrel.com/t/stuck-on-2fa-auth-when-login-on-umbrel-0-4-10/5186/1 "2021-12-13T19:35:14Z")

</div>

Today I updated Umbrel to latest version 0.4.10 and after that I activated 2FA for Umbrel login.

I am using Yubico authenticator.

Activation went well but after logging out and trying to login again nothing happens after I input the 2FA numbers from the authenticator app. If I reload the page I get back to the input password page for Umbrel then back to 2FA auth and then nothing happens after inputting the new 2FA numbers.

I have restarted Umbrel and the also updated and restarted the Ubuntu 18.04 server its running on, no change.

Any suggestions for a fix or how to disable 2FA again?

Thanks

---

<div class="post-metadata">

**Author:** ![jonsyu](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.umbrel.com/jonsyu/32/1803_2.png) [@jonsyu](https://community.umbrel.com/u/jonsyu)\
**Post date:** [December 13, 2021, 7:47pm UTC](https://community.umbrel.com/t/stuck-on-2fa-auth-when-login-on-umbrel-0-4-10/5186/2 "2021-12-13T19:47:14Z")

</div>

Hey flowerpot28, sorry to hear that you’re having issues with the 2FA. I’ve seen this happen once before, and it was actually an issue with the browser:

> [@2FA not working](http://community.umbrel.com/t/2fa-not-working/4909/2):
>
> with chrome, go back to the first digit, click it and press enter Something with chrome is screwy

Alternatively, if you really just want to kill 2fa and start over, if you can ssh in, this command will delete 2fa (it deletes a otpURI parameter in user.json which stores your 2fa):  
json\_file=“/home/umbrel/umbrel/db/user.json” && contents=“$(jq ‘del(.otpUri)’ ${json\_file})” && echo “${contents}” \> ${json\_file}

---

<div class="post-metadata">

**Author:** ![flowerpot28](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.umbrel.com/flowerpot28/32/1847_2.png) [@flowerpot28](https://community.umbrel.com/u/flowerpot28)\
**Post date:** [December 13, 2021, 8:01pm UTC](https://community.umbrel.com/t/stuck-on-2fa-auth-when-login-on-umbrel-0-4-10/5186/3 "2021-12-13T20:01:51Z")

</div>

Thank for the quick help @jonsyu!

The chrome trick worked like a charm. I am running Edge and that is also a chromium browser so I guess its an issue with chrome.

Thanks.

---

<div class="post-metadata">

**Author:** ![BaleNordicWinter](https://avatars.discourse-cdn.com/v4/letter/b/9de0a6/32.png) [@BaleNordicWinter](https://community.umbrel.com/u/BaleNordicWinter)\
**Post date:** [January 31, 2022, 10:34am UTC](https://community.umbrel.com/t/stuck-on-2fa-auth-when-login-on-umbrel-0-4-10/5186/4 "2022-01-31T10:34:19Z")

</div>

json\_file="/home/umbrel/umbrel/db/user.json" && contents="$(jq ‘del(.otpUri)’ ${json\_file})" && echo “${contents}” \> ${json\_file}

i am getting this error can someone correct this  
-bash: command substitution: line 17: syntax error near unexpected token `(' -bash: command substitution: line 17: `jq ‘del(.otpUri)’ ${json\_file})"’

---

<div class="post-metadata">

**Author:** ![mayank](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.umbrel.com/mayank/32/26_2.png) [@mayank](https://community.umbrel.com/u/mayank)\
**Post date:** [January 31, 2022, 12:30pm UTC](https://community.umbrel.com/t/stuck-on-2fa-auth-when-login-on-umbrel-0-4-10/5186/5 "2022-01-31T12:30:19Z")

</div>

@BaleNordicWinter Can you please try this command instead (it fixes a comma in the previous command):

`json_file="/home/umbrel/umbrel/db/user.json" && contents="$(jq 'del(.otpUri)' ${json_file})" && echo "${contents}" > ${json_file}`

---

<div class="post-metadata">

**Author:** ![flowerpot28](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.umbrel.com/flowerpot28/32/1847_2.png) [@flowerpot28](https://community.umbrel.com/u/flowerpot28)\
**Post date:** [February 3, 2022, 9:37am UTC](https://community.umbrel.com/t/stuck-on-2fa-auth-when-login-on-umbrel-0-4-10/5186/6 "2022-02-03T09:37:31Z")

</div>

I noticed with version 0.4.12 this issue has been resolved, for me at least. No need to move to first digit anymore. Thanks Umbrel team!

---

<div class="post-metadata">

**Author:** ![kaltoNA](https://avatars.discourse-cdn.com/v4/letter/k/76d3ee/32.png) [@kaltoNA](https://community.umbrel.com/u/kaltoNA)\
**Post date:** [March 15, 2022, 10:22am UTC](https://community.umbrel.com/t/stuck-on-2fa-auth-when-login-on-umbrel-0-4-10/5186/7 "2022-03-15T10:22:39Z")

</div>

> [@mayank](#):
>
> json\_file=“/home/umbrel/umbrel/db/user.json” && contents=“$(jq ‘del(.otpUri)’ ${json\_file})” && echo “${contents}” \> ${json\_file}

Really cool, lost my authenticator. It works very fine big THX to you !

---

<div class="post-metadata">

**Author:** ![louminaughty](https://avatars.discourse-cdn.com/v4/letter/l/4af34b/32.png) [@louminaughty](https://community.umbrel.com/u/louminaughty)\
**Post date:** [April 11, 2022, 2:31pm UTC](https://community.umbrel.com/t/stuck-on-2fa-auth-when-login-on-umbrel-0-4-10/5186/8 "2022-04-11T14:31:57Z")

</div>

> [@mayank](#):
>
> json\_file=“/home/umbrel/umbrel/db/user.json” && contents=“$(jq ‘del(.otpUri)’ ${json\_file})” && echo “${contents}” \> ${json\_file}

My 2FA broke after an unexpected power outage/hard shutdown and this saved the day - thank you!

---

<div class="post-metadata">

**Author:** ![MR.S](https://avatars.discourse-cdn.com/v4/letter/m/cdc98d/32.png) [@MR.S](https://community.umbrel.com/u/MR.S)\
**Post date:** [June 27, 2022, 2:35pm UTC](https://community.umbrel.com/t/stuck-on-2fa-auth-when-login-on-umbrel-0-4-10/5186/9 "2022-06-27T14:35:00Z")

</div>

Hi!,  
My umbrel will not 2FA. I would like to SSH and delete the @FA usig the JSON command. However. How do I log into the PI using SSH. Total Noob, Sorry. Thanks in advance for your help.

---

<div class="post-metadata">

**Author:** ![MR.S](https://avatars.discourse-cdn.com/v4/letter/m/cdc98d/32.png) [@MR.S](https://community.umbrel.com/u/MR.S)\
**Post date:** [June 27, 2022, 5:46pm UTC](https://community.umbrel.com/t/stuck-on-2fa-auth-when-login-on-umbrel-0-4-10/5186/10 "2022-06-27T17:46:26Z")

</div>

I figured SSH out now im getting this response  
json\_file="/home/umbrel/umbrel/db/user.json" && contents="$(jq ‘del(.otpUri)’ ${json\_file})" && echo “${contents}” \> ${json\_file}: permission denied

---

<div class="post-metadata">

**Author:** ![MR.S](https://avatars.discourse-cdn.com/v4/letter/m/cdc98d/32.png) [@MR.S](https://community.umbrel.com/u/MR.S)\
**Post date:** [June 27, 2022, 10:05pm UTC](https://community.umbrel.com/t/stuck-on-2fa-auth-when-login-on-umbrel-0-4-10/5186/11 "2022-06-27T22:05:13Z")

</div>

> [@mayank](#):
>
> json\_file=“/home/umbrel/umbrel/db/user.json” && contents=“$(jq ‘del(.otpUri)’ ${json\_file})” && echo “${contents}” \> ${json\_file}

I am getting an error “permission denied” when I try this command. Please help. locked out of my Umbrel.

---

<div class="post-metadata">

**Author:** ![lukechilds](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.umbrel.com/lukechilds/32/4381_2.png) [@lukechilds](https://community.umbrel.com/u/lukechilds)\
**Post date:** [June 30, 2022, 9:57am UTC](https://community.umbrel.com/t/stuck-on-2fa-auth-when-login-on-umbrel-0-4-10/5186/12 "2022-06-30T09:57:42Z")

</div>

Can you please try:

```auto
json_file="/home/umbrel/umbrel/db/user.json" && contents="$(jq 'del(.otpUri)' ${json_file})" && echo "${contents}" | sudo tee ${json_file}

```

---

<div class="post-metadata">

**Author:** ![MR.S](https://avatars.discourse-cdn.com/v4/letter/m/cdc98d/32.png) [@MR.S](https://community.umbrel.com/u/MR.S)\
**Post date:** [June 30, 2022, 10:32am UTC](https://community.umbrel.com/t/stuck-on-2fa-auth-when-login-on-umbrel-0-4-10/5186/13 "2022-06-30T10:32:54Z")

</div>

Thanks for the response. I was able to research and find out i needed to use a ssh command that gave me permission; sudo. This allowed me to delete to 2fa script! Works great now!

---

<div class="post-metadata">

**Author:** ![nelson157](https://avatars.discourse-cdn.com/v4/letter/n/7cd45c/32.png) [@nelson157](https://community.umbrel.com/u/nelson157)\
**Post date:** [August 3, 2022, 1:48am UTC](https://community.umbrel.com/t/stuck-on-2fa-auth-when-login-on-umbrel-0-4-10/5186/14 "2022-08-03T01:48:57Z")

</div>

jonsyu- I’m very new but have this problem. Can you tell me what ‘ssh in’ means? Thanks in advance!

---

<div class="post-metadata">

**Author:** ![usernameisJim](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.umbrel.com/usernameisjim/32/3309_2.png) [@usernameisJim](https://community.umbrel.com/u/usernameisJim)\
**Post date:** [May 7, 2023, 1:01pm UTC](https://community.umbrel.com/t/stuck-on-2fa-auth-when-login-on-umbrel-0-4-10/5186/15 "2023-05-07T13:01:42Z")

</div>

hey @nelson157 if you’re still having any issue you can reference steps under “How to SSH” in the [Official FAQ here](http://community.umbrel.com/t/official-umbrel-troubleshooting-guide-and-faq/9873)

Steps for v5+ are also there under “Lost Two-Factor Authentication (2FA) Access”

---

<div class="post-metadata">

**Author:** ![DontSellHODL](https://avatars.discourse-cdn.com/v4/letter/d/a88e4f/32.png) [@DontSellHODL](https://community.umbrel.com/u/DontSellHODL)\
**Post date:** [October 1, 2023, 1:36am UTC](https://community.umbrel.com/t/stuck-on-2fa-auth-when-login-on-umbrel-0-4-10/5186/16 "2023-10-01T01:36:23Z")

</div>

2FA problem still occurs using Chrome v117.0.5938.132 and Umbrel v0.5.4. Click first number plus Enter button as a workaround is still good thankfully. Any new insights on how to resolve this permanently?
