NossOriginal post
Rank 2: Process
I setup a new appwrite instance on a VPS and I now get the following error inside the appwrite container:
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.
Summary
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.