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 use Sites on selfhosted appwrite
whenever I try to create a site even with template it says 404 nginx error
- How to send Webhooks to internal network
When saving the URL for sending Webhooks, Appwrite checks if it's a valid external domain name so entering internal IP address or docker hostnames won't save th...
- Collections list not showing up when try...
I'm trying to create new relationship attribute but both one way and two way relationship is not showing up collections list to connect with my relationship att...