#Reset HA password

1 messages · Page 1 of 1 (latest)

torpid fossil
#

Always share the command you used and what it puts out. Let me look over your shoulder basically.

lofty flare
#

Ran -> :~# docker exec -ti homeassistant bash
Shows -> :/config#

torpid fossil
#

Please use code blocks. I shared how earlier. Try my jq commands now.

lofty flare
#

That would be awesome, looking over my shoulder, I feel like im only giving you half the info, and im not sure which half

#
jq - commandline JSON processor [version 1.7.1]

Usage:  jq [options] <jq filter> [file...]
        jq [options] --args <jq filter> [strings...]
        jq [options] --jsonargs <jq filter> [JSON_TEXTS...]

jq is a tool for processing JSON inputs, applying the given filter to
its JSON text inputs and producing the filter's results as JSON on
standard output.

The simplest filter is ., which copies jq's input to its output
unmodified except for formatting. For more advanced filters see
the jq(1) manpage ("man jq") and/or https://jqlang.github.io/jq/.

Example:

        $ echo '{"foo": 0}' | jq .
        {
          "foo": 0
        }

For listing the command options, use jq --help.
Salter-Cloud:/config#
torpid fossil
#

Just simply jq will not do much.

lofty flare
#

can you resend that for me?

torpid fossil
#

Just click the link to the message.

lofty flare
#

just to verify, i had to scroll up to find it

torpid fossil
#

Discord can be buggy sometimes but clicking that link there should take you to the message.

lofty flare
#
jq . /config/.storage/auth_provider.homeassistant 
jq .data.credentials[].data /config/.storage/auth
torpid fossil
#

So does running these return anything useful?

lofty flare
#

sorry, had to take a phone call

#

I will run them now

#

first command gives me and "id" and "name"

#

I assume that is my login?

torpid fossil
#

I think so.

lofty flare
#

second command gives me "key": "auth_provider.homeassistant"

#

long iwth username and encrypted password

torpid fossil
#

Username should be the same. Don't you recognize it?

lofty flare
#

yes

#

Im trying to login I think I know the password

torpid fossil
#

If not you can now try the password reset command.

lofty flare
#

Im back in now

torpid fossil
#

🎉

lofty flare
#

so as im reading through the installtion section again, I see the part where it says best practices are not to use admin

#

that is where I went wrong

#

thank you so much for your help!