Skip to content
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

After Update to 8: Syncing via CardDAV- or CalDAV-Link doesn't work anymore #14104

Closed
Phillinger opened this issue Feb 11, 2015 · 3 comments
Closed

Comments

@Phillinger
Copy link

Running owncloud on Debian 7.0. Updating owncloud 7 to 8 via repository http://download.opensuse.org/repositories/isv:ownCloud:community/Debian_7.0/ ran flawlessly.

Syncing contacts and calendar via CardDAV- or CalDAV-Link doesn't work anymore.

Owncloud runs under 'https://mydomain.org/owncloud'.

In the access.log of the apache2 the request shows up as follows:
"PROPFIND /owncloud/remote.php/carddav/addressbooks/20...2/kontakte/ HTTP/1.1" 207 410 "-" "CardDAV-Sync (Android) (like iOS/5.0.1 (9A405) dataaccessd/1.0) gzip"
which seems correct (disguised ID in URL).

But in error.log in shows up as follows:
script '/var/www/mydomain.org/groupdav.php' not found or unable to stat
script '/var/www/mydomain.org/remote.php' not found or unable to stat

So the folder "owncloud" isn't present anymore in the calling URL. To my understanding, it should call the script under '/var/www/mydomain.org/owncloud/groupdav.php'.

Even deactivating Contacts- and Calendar-App and activating Contacts 8.0 and Calendar 8.0 app didn't fix it.

@PVince81
Copy link
Contributor

Did you add any custom rewrite rules or are using old style URLs ?

AFAIK you should use the URL "https://mydomain.org/owncloud/remote.php/caldav" and "https://mydomain.org/owncloud/remote.php/carddav" from your clients.

@Phillinger
Copy link
Author

I have an rewrite rule in my VirtualHost-section to redirect anything from http to https:

RedirectMatch ^/(.*)$ https://mydomain.org/$1

This worked very well with owncloud 7 all the time.

I found another configuration, added by owncloud-setup in /etc/apache2/conf.d/owncloud.conf:

Alias /owncloud "/var/www/owncloud/"
<Directory "/var/www/owncloud">
Options +FollowSymLinks
AllowOverride All

This seems correct to me.

What do you mean with old style URLs?

/UPDATE: The URLs I'm using are the suggested DAV-URLs from owncloud (when clicking on the settings-symbol in Contacts for example).

@Phillinger
Copy link
Author

This one can be closed. See solution in #14275.

LukasReschke pushed a commit that referenced this issue Feb 23, 2015
@lock lock bot locked as resolved and limited conversation to collaborators Aug 13, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants