-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
[Bug]: Array to string conversion in CalDAV backend #37025
Comments
|
I just saw the same thing (in 25). I don't see how shares can contain an array itself. 🤔 |
This bug prevents certain events from syncing (from Apple devices, mostly fantastical) and had been fixed in early 26 beta but apparently has now been re-introduced. Unfortunate. Any idea on when this is going to be fixed again? |
Still seeing this running 27.1.3: {
"reqId": "[removed]",
"level": 3,
"time": "2023-11-05T17:35:11+00:00",
"remoteAddr": "[removed]",
"user": "[removed]",
"app": "PHP",
"method": "MOVE",
"url": "/remote.php/dav/calendars/[removed]/[removed]/[GUID].ics",
"message": "Array to string conversion at /var/www/path_to_web_root/apps/dav/lib/CalDAV/Activity/Backend.php#561",
"userAgent": "iOS/17.0.3 (21A360) dataaccessd/1.0",
"version": "27.1.3.2",
"data": {
"app": "PHP"
},
"id": "[removed]"
} |
What if values are flatten before using the arrays, could this fix it?
|
Same error on 28.0.2
|
Same solution as used in #43794 should work here ( |
This comment was marked as duplicate.
This comment was marked as duplicate.
This comment was marked as duplicate.
This comment was marked as duplicate.
This comment was marked as resolved.
This comment was marked as resolved.
Also on my instance 30.0.1 What about a fix or update? |
We actually have some events not syncing only on some users' Iphones. Could you please develop your observations. It could help us to figure out what happened to these events. |
I have this problem too. I just updated to 30.0.2. I will observe this problem ...
|
Hello,
|
Yes, i also Updated to 30.0.2, Same Problem. Also fresh/new Installation in my testing environment. Ist’s clear, that this is a bug. So please dear developers clear this Problem. Thanks a lot |
I know this does not help most of you guys, but I can only say that the issue is gone for me. I updated to 30.0.2, reconfigured my NGINX reverse proxy to include this
and also installed the calender via profiles on my iPhone. Works perfect and nothing in the logs. |
Hi Everyone, Would anyone with this issue here be able to provide a transmission intercept capture? As I don't have a Mac or iDevice to test with. This seems to be caused by the MOVE method, but I need a reliable way to reproduce this issue to test and fix. |
Hey Sebastian, |
I need to see the commands that the mac app is sending, the easiest way to do this would be to use tcpdump on the server and setup the Mac client to connect to NC over non encrypted HTTP. tcpdump -i <interface> -w <output_file> port 80 |
You could also use something like mitmproxy to capture the encrypted connection if a HTTP setup or connection is not possible. |
Ok. I will try it the next days. Perhaps someone else who has this Problem is faster than me, but i will give my best to help you finding the fault. |
Could it be cache value deserialization? Shares loaded from the db should not be nested. |
Bug description
Array to string conversion at https://github.com/nextcloud/server/blob/v26.0.0rc1/apps/dav/lib/CalDAV/Activity/Backend.php#L561
server/apps/dav/lib/CalDAV/Activity/Backend.php
Line 561 in 6466c8e
Steps to reproduce
Expected behavior
No errors
Installation method
None
Operating system
None
PHP engine version
None
Web server
None
Database engine version
None
Is this bug present after an update or on a fresh install?
None
Are you using the Nextcloud Server Encryption module?
None
What user-backends are you using?
Configuration report
List of activated Apps
Nextcloud Signing status
No response
Nextcloud Logs
Additional info
No response
The text was updated successfully, but these errors were encountered: