-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Upgrade from 10.0.2 to 11.0.0 breaks carddav and caldav URIs #2649
Comments
cc @rullzer |
Sorry but can you share with the rest of the class where and what you edited to make it work? |
I put the rewrites in the nginx config. |
I can't make it work with your workaround. I even tried to tweak it for my config, but still no success. |
@rullzer Told me he takes a quick look. Roeland, if you have no time or disagree feel free to reassign :) |
I nailed it for my config :) |
Well it might have some specials for my nginx configuration. Like the variables request_uri and request_url which might be named otherwise in yours. |
Fixes: #2649 Seem that this code is now obsolete and actually breaks the old endpoint. Since we request the current principal which then gets converted to 'principals/users/<user>' but in the old endpoint we work with 'principals/<user>' Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
#2653 should (tm) fix the issue. Please have a look. |
#2653 applied on top of normal 11.0.0 doesn't fix the issue for me (so unless there is something else that has sideeffects in one of the other commits, I'd consider it still unfixed). |
The tests now run also against the old endpoint and pass. If somebody encounters other issues please open a new issue. |
After a upgrade from 10.0.2 the URIs of /caldav and /carddav changed to /dav which breaks older clients. And I had to do some rewrites on my machine:
Nginx config:
Expected behaviour
When a client requests:
https://cloud.org/nextcloud/remote.php/caldav/calendars/(user)/defaultcalendar
It should get the answers as before the upgrade.
Actual behaviour
Client gets a 404 because real URI changed to https://cloud.org/nextcloud/remote.php/dav/calendars/(user)/defaultcalendar
Same for carddav
Server configuration
Operating system:
CentOS release 6.8 (Final)
Web server:
nginx version: nginx/1.10.2
Database:
mysql Ver 14.14 Distrib 5.5.52, for Linux (x86_64) using readline 5.1
PHP version:
5.6.28
Nextcloud version: (see Nextcloud admin page)
11.0.0
Updated from an older Nextcloud/ownCloud or fresh install:
Update from 10.0.2 to 11.0.0
The text was updated successfully, but these errors were encountered: