-
-
Notifications
You must be signed in to change notification settings - Fork 110
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Carddav sync error : data too long for colum prop_value #519
Comments
SnappyMail now stores the whole vCard in the database. database prop_value Will change that to MEDIUMTEXT (16,777,215 bytes) |
Why not LONGTEXT (4GB)? This would match better with sqlite and pgsql than MEDIUMTEXT (16MB). |
On Nextcloud database, it seems to be stored as longblob |
True, but i wonder who has a single vCard larger then 16 MiB. |
Solved with v2.18.2? |
I'm afraid I won't be able to help you anymore, we have switched to the Nextcloud official webmail here. |
Just tested CardDAV sync on my installation with 2.18.3. It worked perfectly fine for me. |
Describe the bug
Syncing addressbook with Nextcloud sometimes causes error
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The sync should work or give a relevant error
Please complete the following information:
Debug/logging information
This error is throwed in the debug log :
[2022-09-15 12:08:30.119][de2bf97e] JSON[DATA]: {"Action":"ContactsSync","Result":false,"ErrorCode":999,"ErrorMessage":"22001 - SQLSTATE[22001]: String data, right truncated: 1406
Data too long for column 'prop_value' at row 1","ErrorMessageAdditional":"","Time":1720}
Additional context
I've got error 3 times in a row, but now there is no more error. Sync is going on with some other problem that I will describe in another bug.
The text was updated successfully, but these errors were encountered: