I setup a new appwrite instance on a VPS and I now get the following error inside the appwrite container:
TypeScript
Using deprecated logging configuration. Please update your configuration to use DSN format.Unable to parse DSN: scheme is required
[Error] Timestamp: 2024-09-24T14:55:49+00:00
[Error] Method: POST
[Error] URL: /v1/account
[Error] Type: Appwrite\Extend\Exception
[Error] Message: Method unsupported over HTTP. Please use HTTPS instead.
[Error] File: /usr/src/code/app/controllers/general.php
[Error] Line: 622
Failed to initialize logging provider: Unable to parse DSN: scheme is required
Did I do something wrong with my .env variables? Furthermore I think the https://appwrite.io/docs/advanced/self-hosting/environment-variables is not up to date.
TL;DR
New appwrite instance on VPS throwing error about failed logging provider initialization due to missing scheme in DSN. Error log indicates need to switch from HTTP to HTTPS. Check .env variables. Documentation may be outdated.
Solution: Update .env variables and switch to HTTPS.Recommended threads
- how to access the value of account statu...
- Redirect from clicking team invite link ...
Hi all! Pretty new to app development in general so this might be something more generic than appwrite, but I've found (after reading the docs for the Teams API...
- Hosting Issues with Static IP not domain...
I have a machine with Static Public IP. I want to host Appwrite Site on it but I tried it but it doesn't allow IP addresses in Domain names. What should I do h...