#After upgrading to `1.3.0` when try to login to Console getting `Invalid Cred`
62 messages · Page 1 of 1 (latest)
did you do the migration as well?
there's two steps to upgrading appwrite:
- download and install appwrite
- migrate all the data inside appwrite
it's just one command that you need to run that'll migrate your data.
I guess I didn't migrated, mm... but then why I was not able to Signup ?
umm, after migration does docker need to be restarted ?
nope. i did the migration and just started using appwrite as usual
no restart required.
there probably is some underlying variable that has your email or number of users stored. not sure.
umm wired, I still getting the error
Did you changed the api key by any chance ?
Where did you run the upgrade command? What's in your appwrite folder now?
umm, I guess I have login into the aws console again, one min
I run the docker command at default AWS user dir itself
nope,
btw, I run the default command which I run during first time setup, so it did ask me for port & hostname etc...
so I retain all same things which was in past
Okay 🤔 Because I did and I wasn't able to login, so I reinstalled with the old api key and redo the migration and it fixed it
mm, if I not mistake api key mean url endpoint by any chance? or something else, sorry if I am mistaken
hum no it's when you step the appwrite install after the http/https port config you have to give a secret api key (I think it's used to encrypt passwords)
oh, I think I did pass the same secete key which I had last time
In that appwrite folder should be a .env and a backup one. Can you compare the openssl variable in both?
So did you migrate yet?
yap did run the command that was suggested in doc
have to do manually or is there automatic may to show diff ?
diff .env backup | grep openssl this command ?
No the backup isn't called just backup
this whole docker-compose.yml.1681296173.backup will go
diff .env docker-compose.yml.1681296173.backup | grep openssl like this
No. Wrong file. Use ls -a to see (hidden) files and folders that start with a dot
did this
got these env, ubuntu@ip-012-34-56-789:~/appwrite$ ls -a . .. .env .env.1681296173.backup docker-compose.yml docker-compose.yml.1681296173.backup
there seems not difference between backup and new one, ```
ubuntu@ip-012-34-56-789:~/appwrite$ ls -a
. .. .env .env.1681296173.backup docker-compose.yml docker-compose.yml.1681296173.backup
ubuntu@ip-012-34-56-789:~/appwrite$ diff .env .env.1681296173.backup | grep openssl
ubuntu@ip-012-34-56-789:~/appwrite$
Don't grep
ubuntu@ip-172-31-30-161:~/appwrite$ diff .env .env.1681296173.backup | openssl
help:
Standard commands
asn1parse ca ciphers cmp
cms crl crl2pkcs7 dgst
dhparam dsa dsaparam ec
ecparam enc engine errstr
fipsinstall gendsa genpkey genrsa
help info kdf list
mac nseq ocsp passwd
pkcs12 pkcs7 pkcs8 pkey
pkeyparam pkeyutl prime rand
rehash req rsa rsautl
s_client s_server s_time sess_id
smime speed spkac srp
storeutl ts verify version
x509
Message Digest commands (see the `dgst' command for more details)
blake2b512 blake2s256 md4 md5
rmd160 sha1 sha224 sha256
sha3-224 sha3-256 sha3-384 sha3-512
sha384 sha512 sha512-224 sha512-256
shake128 shake256 sm3
Cipher commands (see the `enc' command for more details)
aes-128-cbc aes-128-ecb aes-192-cbc aes-192-ecb
aes-256-cbc aes-256-ecb aria-128-cbc aria-128-cfb
aria-128-cfb1 aria-128-cfb8 aria-128-ctr aria-128-ecb
aria-128-ofb aria-192-cbc aria-192-cfb aria-192-cfb1
aria-192-cfb8 aria-192-ctr aria-192-ecb aria-192-ofb
aria-256-cbc aria-256-cfb aria-256-cfb1 aria-256-cfb8
aria-256-ctr aria-256-ecb aria-256-ofb base64
bf bf-cbc bf-cfb bf-ecb
bf-ofb camellia-128-cbc camellia-128-ecb camellia-192-cbc
camellia-192-ecb camellia-256-cbc camellia-256-ecb cast
cast-cbc cast5-cbc cast5-cfb cast5-ecb
cast5-ofb des des-cbc des-cfb
des-ecb des-ede des-ede-cbc des-ede-cfb
des-ede-ofb des-ede3 des-ede3-cbc des-ede3-cfb
des-ede3-ofb des-ofb des3 desx
rc2 rc2-40-cbc rc2-64-cbc rc2-cbc
rc2-cfb rc2-ecb rc2-ofb rc4
rc4-40 seed seed-cbc seed-cfb
seed-ecb seed-ofb sm4-cbc sm4-cfb
sm4-ctr sm4-ecb sm4-ofb
I meant don't pipe to grep at all. Just try the diff by itself
oh
mmm, got message saying Files .env and .env.1681296173.backup differ
93a94
> _APP_GRAPHQL_MAX_DEPTH=3
``` after running ` diff .env .env.1681296173.backup`
So that's the only difference?
yap as per the command that I run
Then maybe your password is wrong
umm, is there any way to reset the password other then setting the SMTP? because I am very sure password is correct
Set the SMTP host to a non empty string, do the password recovery, and then check the appwrite-worker-mails logs for the URL
appwrite-worker-mails logs for the URL this part would need help, but let me do the first 2 part
is it fine?
Sure
So now you can check the docker logs for the appwrite-worker-mails container
thank you it worked 🙂
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?
yaa sure, in .env file ?
seems database is wiped or does migration didn't happened successful;y
I can see the collections but don't show any attributes nor does it show any documents
no in the console
nope it' s not empty
for this, please see https://discord.com/channels/564160730845151244/1095695113432354856
oh thank you no worries