Skip to content
Back

Error after update from 1.5 to 1.6 (Failed to initialize logging provider)

  • 0
  • Self Hosted
wolfgang
2 Nov, 2024, 12:29

I have done the update from version 1.5 to 1.6 via this article: https://appwrite.io/docs/advanced/self-hosting/update

After the update, i tried to load the website, but i just got this message: Gateway Timeout

I have checked the docker logs. and there i've got this error:

Failed to initialize logging provider: Unable to parse DSN: scheme is required [Error] Timestamp: 2024-11-02T12:16:33+00:00 [Error] Method: [Error] URL: /service-worker.js [Error] Type: Appwrite\Extend\Exception [Error] Message: The requested route was not found. Please refer to the API docs and try again. [Error] File: /usr/src/code/app/controllers/general.php [Error] Line: 1051

Does anyone have an idea what i'm doing wrong? Thanks ind advance

TL;DR
Developers are getting an error "Failed to initialize logging provider" after updating from version 1.5 to 1.6 following the official guide. They've checked the .yaml and .env files, run migration commands, but still face a "Gateway Timeout" when loading the website. Error in docker logs suggests a DSN parsing issue. **Solution:** Ensure the DSN in the logging provider is correctly configured with the required scheme, as the error indicates.
D5
2 Nov, 2024, 12:38

Do you have upgraded first to the latest 1.5.x patch, run the migration command and then to 1.6.0 and run the migration command?

wolfgang
2 Nov, 2024, 12:53

yes, i have done both

wolfgang
2 Nov, 2024, 12:54

i have also compared the .yaml and .env file with new ones

wolfgang
2 Nov, 2024, 12:54

everything seems to be right

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more