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
Fatal errors with macOS clients and CardDAV sync #2004
Comments
Hey! Can you link the vcard? |
@skjnldsv Sorry for the slow reply. I skimmed through the vcard, but a) removing private information would make it empty, and b) in both cases of exporting the vcard from the macOS Contacts app or Nextcloud, there was no export of a field that seemed problematic. Sorry. I did do some more digging though, and the only client creating this fatal error is just macOS (in my case 10.15.7) not any iOS clients. It also occurs with any vcard specified as the "Me card" so it has nothing to do with the specific vcard designated as the "Me card". This also suggests it's a problem only with macOS (though not sure why I haven't had it before, so perhaps only with 10.15.7 or similarly recent...). I do not play to upgrade to macOS 11 soon, but we can also wait to see if the error persists with that version... Also reading the error log more carefully, it seems the issue is not related to updating a particular vcard but instead related to inserting something for the Nextcloud user into oc_properties? Thanks. |
@skjnldsv I can confirm this error persists when macOS Big Sur (11.2) clients connect and there is a "Me card" assigned. |
I can confirm this error persists on macOS 11.3. |
@skjnldsv Confirming that there's still a fatal error with CardDAV sync macOS 11.4 clients and NC 21.0.3 with Contacts 4.0.0. But the error is now quite different. No mention of a 'me card' and seems to be an issue converting a string among other things.
|
I can confirm this error persists on macOS 12.4, |
Persists on macOS 12.4, Nextcloud Server 24.0.1, Contacts 4.1.1. Error log appears to have changed again, but remains fatal:
|
Still present on MacOS 12.4, Nextcloud Server 24.0.2, Contacts 4.1.1
|
The Error is still present in Nextcloud 24.0.3, Contacts App 4.2.0 and latest MacOS 12.5 |
I no longer see errors in log. I just identified a bug in the Apache rewrite rule that do not apply any reverse proxy configuration that would change request scheme from https to http. This may have solve the problem for me. For more details, see issue nextcloud/server#32826 |
After a today upgrade to Nextcloud 24.0.4 (docker image) and Contact 4.2.0, the exact same problem is back. Only line numbers of errors have changed due to code changes.
Can't figure why this error stopped to appear in logs for some time |
This comment was marked as resolved.
This comment was marked as resolved.
I'm having this issue too - Posted my findings on Nextcloud forum but not getting any response. https://help.nextcloud.com/t/this-shows-in-logging-occasionally-something-to-do-with-address-book/ |
I am experiencing the same issue! Using Nextcloud 24.0.7 and Contacts 4.2.2 and also using Nextcloud 25.0.1 and Contacts 5.0.1 |
I would be pleased to provide advanced analysis, but I miss a guide for doing it. Can anyone tell me roughly how to proceed or point out a document explaining it? |
You could try with a loglevel of 0 (debug) and see if you get more insightful data https://docs.nextcloud.com/server/latest/admin_manual/configuration_server/logging_configuration.html |
Thank you @ChristophWurst. |
You have to reproduce the issue one more time after adjusting the log levels. Only then more info will be written. |
Indeed before the upgrade to NC 25, the server was logging several dozens of these fatal errors each day. Since the migration, not only one. I should have noticed before, but this is not the case :-/ |
Describe the bug
Since upgrading to NC 20.0.4 and Contacts 3.4.1, each time an Apple device syncs it produces this fatal error:
To my knowledge, this was not a recurring error on NC 19 and Contacts 3.3.0, so hopefully it's a matter of reverting a regression?
Not sure if this is related to #213.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Sync of all contacts, including Me Card, without fatal error
Actual behavior
Above fatal error inserted into logs for each sync. Updates to the contact card that is set as the Me Card are unreliable. No issues to other contact cards found yet.
Server configuration
Operating system: Ubuntu 20.04
Web server: Nginx
Database: MariaDB
PHP version: 7.4
Nextcloud version: 20.04
Contacts version: 3.4.2
Updated from an older Nextcloud or fresh install: Upgrading from NC 19.0.6
Signing status: No errors have been found.
Client configuration
Operating system: macOS 10.15.7, iOS/iPadOS 14.3
CardDAV-clients: Macs, iPhones, and iPads
Nextcloud log
The following is an example of the full segment of the log that repeats
The text was updated successfully, but these errors were encountered: