Back

After upgrading to `1.3.0` when try to login to Console getting `Invalid Cred`

  • 0
  • Self Hosted
Drake
12 Apr, 2023, 13:57

I meant don't pipe to grep at all. Just try the diff by itself

TL;DR
Upgraded to version 1.3.0 and unable to login to the console, receiving an 'Invalid Cred' error. Checking the `.env` file and API keys/function variables for valid values or blank/false. Solution: Set the SMTP host to a non-empty string, reset the password, and check the `appwrite-worker-mails` logs for the URL.
Vedsaga
12 Apr, 2023, 13:57

oh

Vedsaga
12 Apr, 2023, 13:58

mmm, got message saying Files .env and .env.1681296173.backup differ

Vedsaga
12 Apr, 2023, 13:59
TypeScript
93a94
> _APP_GRAPHQL_MAX_DEPTH=3
``` after running ` diff .env .env.1681296173.backup`
Drake
12 Apr, 2023, 14:05

So that's the only difference?

Vedsaga
12 Apr, 2023, 14:05

yap as per the command that I run

Drake
12 Apr, 2023, 14:06

Then maybe your password is wrong

Vedsaga
12 Apr, 2023, 14:07

umm, is there any way to reset the password other then setting the SMTP? because I am very sure password is correct

Drake
12 Apr, 2023, 14:09

Set the SMTP host to a non empty string, do the password recovery, and then check the appwrite-worker-mails logs for the URL

Vedsaga
12 Apr, 2023, 14:10

appwrite-worker-mails logs for the URL this part would need help, but let me do the first 2 part

Vedsaga
12 Apr, 2023, 14:12

is it fine?

Drake
12 Apr, 2023, 14:13

Sure

Vedsaga
12 Apr, 2023, 14:14

I guess all the worker started now... hope it's fine

Vedsaga
12 Apr, 2023, 14:15

done

Drake
12 Apr, 2023, 15:07

So now you can check the docker logs for the appwrite-worker-mails container

Vedsaga
12 Apr, 2023, 15:42

thank you it worked πŸ™‚

Drake
12 Apr, 2023, 15:43

after you log in, would you please check your API keys and function variables to see if they still have valid values or if they're blank/false?

Vedsaga
12 Apr, 2023, 15:44

yaa sure, in .env file ?

Vedsaga
12 Apr, 2023, 15:48

seems database is wiped or does migration didn't happened successful;y

Vedsaga
12 Apr, 2023, 15:49

I can see the collections but don't show any attributes nor does it show any documents

Drake
12 Apr, 2023, 16:51

no in the console

Vedsaga
12 Apr, 2023, 16:52

nope it' s not empty

Drake
12 Apr, 2023, 16:52
Vedsaga
12 Apr, 2023, 16:53

oh thank you no worries

Vedsaga
12 Apr, 2023, 17:13

I think this issue is solved marking Solved

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more