
as the title suggests, i forgot my password. now i need to recover it. is there any way for that?

You can click on the recover password button on the console. Then check the logs of the mails worker using
docker compose logs appwrite-worker-mails

You will find your recovery URL in the logs

You can click that and reset your password

i've tried running docker compose logs appwrite-worker-mails
, it says no configuration file provided: not found

You need to cd into the folder where your docker compose is

And then run the command

I don't see any recovery URL in the logs. the attachment shows what I got. only these lines, but repeatedly. It could be something my fault. both appwrite and docker are new to me

Okay do one thing, run docker compose logs -f appwrite-worker-mails
This will follow the logs. Keep this open in the terminal and head to your console and click the recovery button . Then you'll see the new logs come up which will contain the url

hi. as you can see in the attached video, this isn't logging any new logs when i click the recover button

Okay that's because smtp is disabled. You can add some dummy values for the smtp variables in the hidden .env file is the same folder as your docker compose

This will enable smtp and you can see the logs

can you please guide me on what data should i add in .env

This might be helpful: https://appwrite.io/docs/email-delivery
any non-empty string is enough for the smtp host env var

hi @manazo is your query resolved?

sorry for the delay everyone. I've tried passing non-empty strings to the smtp vars, but it's still saying SMTP Disabled

Did you run docker compose up -d
after to apply the changes?

i restarted the container manually from the docker gui. won't it work?

I don't think a restart fetches the updated env vars. Please try the command Steven suggested

Yes, restart is not enough. When updating env vars, you need to recreate containers. Steven's command should do the trick.

[SOLVED]how to recover password while being in development mode?

[SOLVED] how to recover password while being in development mode?
Recommended threads
- No mails from Appwrite
Hello, Since severals days, i have a problem : i d'ont received any mails from Appwrite. I'm using the auth by mail and i don't any code so any mails from App...
- Appwrite Education program
I have applied for the GitHub Student Developer Pack and it was approved so that i can be eligible for the Appwrite Education program in Appwrite BUT it is sh...
- Relationships restricted to a max depth ...
When I do query like: ``` await _databases.listDocuments( databaseId: AppwriteConfig.DATABASE_ID, collectionId: AppwriteConfig.SERVICES_COLLECTI...
