How to recovery password if I forget it and didn't setup the SMTP in self-hosting
Trigger the forgot password and then check the docker logs for the appwrite-worker-mails container for the url. You might have to set the SMTP host env var to some non empty string
SMTP Error: Could not connect to SMTP host.
This looks like the output of docker compose exec appwrite doctor
What you need to do is
Step 1
Make sure you're in the appwrite directory where the docker-compose.yml stays by doing
$ cd appwrite
Step 2
Edit the .env file in the appwrite directory.
$ nano .env
Step 3
Change the value of _APP_SMTP_HOST to any truthy value
_APP_SMTP_HOST=abc
Step 4
Restart appwrite containers to use the new environment variables by doing
$ docker compose up -d
P.S. Make sure you're in the appwrite directory
Step 5
Trigger the Forgot Password from the login screen, and then check the logs for the container by doing
docker logs appwrite-worker-mails
You should then see the email that was generated, which will include the link to reset the password. Copy it, and reset your password.
I can see the reset link in log
And able to reset now
But it won’t send email out
I followed the video of mailgun created by community
This is a separate story. Since your issue has been resolved, you should create another post.
[CLOSED] Forget Password and No SMTP Setup
Recommended threads
- TablesDB `updateRows` returns `database_...
Hi Appwrite team! I’m seeing a strange issue with TablesDB bulk row updates on a self-hosted Appwrite instance. **Environment** - Appwrite self-hosted `1.9.0` ...
- [SOLVED] Realtime Missing Channels
```js useEffect(() => { let subscription: RealtimeSubscription; async function loadChips() { try { const {rows: chi...
- Functions executed by events does not ap...
Hello, Running self-hosted Appwrite version 1.9.0 (with console 7.8.26). When functions are triggered by an event (eg. databases.\*tables.\*.rows.\*.create) doe...