On version 1.3.7 My Appwrite server on AWS locked up with:
[Error] Timestamp: 2024-05-21T03:45:45+00:00
[Error] Method: GET
[Error] URL: /v1/databases/:databaseId/collections
[Error] Type: PDOException
[Error] Message: MySQL server has gone away
[Error] File: @swoole-src/library/core/Database/PDOStatementProxy.php
[Error] Line: 64
Then on restarting the server, my appwrite log now has this:
[Error] Timestamp: 2024-05-21T04:00:30+00:00
[Error] Method: GET
[Error] URL: /v1/avatars/browsers/:code
[Error] Type: Utopia\Database\Exception\Duplicate
[Error] Message: Duplicated document: Duplicate entry 'cb710f899a5388a5356d2b0e12d6a353*506' for key '_uid'
[Error] File: /usr/src/code/vendor/utopia-php/database/src/Database/Adapter/MariaDB.php
[Error] Line: 619
Seems like the system got stuck dealing with a duplicated document??
Anyone has any tips on how I can deal with this? (not talking about database backup and restore)
I'm not sure if these are related. That said, we've made improvements to Appwrite on both of these fronts since 1.3.7
Recommended threads
- How to Avoid Double Requests in function...
I'm currently using Appwrite's `functions.createExecution` in my project. I want to avoid double requests when multiple actions (like searching or pagination) a...
- Send Email Verification With REST
I am using REST to create a user on the server side after receiving form data from the client. After the account is successfully created i wanted to send the v...
- Use different email hosts for different ...
Hello, I have 2 projects and i want to be able to set up email templates in the projects. Both projects will have different email host configurations. I see ...