Moderator
Finally found the docker-compose.yml and upgraded but now I can't login with the admin account and can't reset the password because SMTP is not setup
Votes
0
Replies
19
Participants
Unknown
Messages
20
Moderator
Finally found the docker-compose.yml and upgraded but now I can't login with the admin account and can't reset the password because SMTP is not setup
What's in the folder with your old docker compose file?
Moderator
Wait so do you have a nested appwrite folder?
Moderator
I found it
Moderator
and moved it
Moderator
is moving it the issue?
Moderator
once I moved it the install and migration worked flawlessly
What was going on before?
Moderator
the errors described in the other Where can I find the original docker-compose.yml that I installed in?
Moderator
I found the docker-compose.yml, stupid place for it (I thought one Appwrite instance per database backend) and so I had it in a dumb place, I moved it, and then ran the upgrade
Moderator
everything works and it launches, no errors, but I can't login anymore
So nothing in the docker logs for the appwrite folder?
Moderator
[Error] Timestamp: 2023-07-08T23:46:09+00:00
[Error] Method: GET
[Error] URL: /v1/account
[Error] Type: Appwrite\Extend\Exception
[Error] Message: User (role: guests) missing scope (account)
[Error] File: /usr/src/code/app/controllers/general.php
[Error] Line: 365
[Error] Timestamp: 2023-07-08T23:46:10+00:00
[Error] Method: POST
[Error] URL: /v1/account/sessions/email
[Error] Type: Appwrite\Extend\Exception
[Error] Message: Rate limit for the current endpoint has been exceeded. Please try again after some time.
[Error] File: /usr/src/code/app/controllers/shared/api.php
[Error] Line: 166
[Error] Timestamp: 2023-07-08T23:48:59+00:00
[Error] Method: POST
[Error] URL: /v1/account/sessions/email
[Error] Type: Appwrite\Extend\Exception
[Error] Message: Rate limit for the current endpoint has been exceeded. Please try again after some time.
[Error] File: /usr/src/code/app/controllers/shared/api.php
[Error] Line: 166
[Error] Timestamp: 2023-07-08T23:50:22+00:00
[Error] Method: POST
[Error] URL: /v1/account/sessions/email
[Error] Type: Appwrite\Extend\Exception
[Error] Message: Rate limit for the current endpoint has been exceeded. Please try again after some time.
[Error] File: /usr/src/code/app/controllers/shared/api.php
[Error] Line: 166
These are fine.
Using your terminal, go to the appwrite folder and run ls -la
Moderator
Compare the two .env files to see if there's a difference in them
Moderator
oh you know what, I changed the Appwrite server instance secret key
Moderator
could that do it?
Ya that would do it. That is used to encrypt things like hashed passwords, session secrets, function variables, etc. If you change the value, Appwrite can't decrypt those values