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

Wrong caldav URL displayed in web-frontend #23964

Closed
linuxrrze opened this issue Apr 13, 2016 · 10 comments · Fixed by owncloud/calendar#486
Closed

Wrong caldav URL displayed in web-frontend #23964

linuxrrze opened this issue Apr 13, 2016 · 10 comments · Fixed by owncloud/calendar#486

Comments

@linuxrrze
Copy link

Owncloud web-interface reports wrong (?) Caldav URL:

https://myhost/owncloud/remote.php/dave.php/dav/calendars/username/contact_birthdays/

Using this URL Caldav access is denied.

Using a slightly modified URL (without "/dave.php") makes things work for me.

https://myhost/owncloud/remote.php/dav/calendars/username/contact_birthdays/

Maybe this is just a simple typo, that can be fixed easily?

Steps to reproduce

  1. Install OC 9.0.1
  2. Run thunderbird (38.6.0) with Lightning (4.0.5.2) (on Ubuntu 14.04)
  3. Try to add Calendar URL to Lightning

Expected behaviour

Sync with owncloud calendar should start

Actual behaviour

Sync fails - Server reports error 503

Server configuration

Operating system:
Ubuntu 14.04.4 (x86_64)

Web server:
Apache 2.4.7

Database:
mysql 5.5.47
PHP version:

ownCloud version: (see ownCloud admin page)
9.0.1

Updated from an older ownCloud or fresh install:
Fresh install - old data migrated from 8.2

Where did you install ownCloud from:
Downloaded .tar.bz2

Signing status (ownCloud 9.0 and above):

Login as admin user into your ownCloud and access 
http://example.com/index.php/settings/integrity/failed 
paste the results here.

No errors have been found.

List of activated apps:

Enabled:

  • activity: 2.2.1
  • calendar: 1.1
  • comments: 0.2
  • contacts: true
  • dav: 0.1.6
  • documents: true
  • federatedfilesharing: 0.1.0
  • federation: 0.0.4
  • files: 1.4.4
  • files_pdfviewer: 0.8
  • files_sharing: 0.9.1
  • files_texteditor: 2.1
  • files_trashbin: 0.8.0
  • files_versions: 1.2.0
  • files_videoplayer: 0.9.8
  • firstrunwizard: 1.1
  • gallery: 14.5.0
  • provisioning_api: 0.4.1
  • systemtags: 0.2
  • templateeditor: 0.1
  • updatenotification: 0.1.0
  • user_ldap: 0.8.0
    Disabled:
  • encryption
  • external
  • files_external
  • notifications
  • user_external

The content of config/config.php:

'', 'passwordsalt' => '', 'datadirectory' => '/proj.stand/owncloud.data', 'dbtype' => 'mysql', 'version' => '9.0.1.3', 'installed' => true, 'ldapIgnoreNamingRules' => false, 'forcessl' => true, 'loglevel' => 0, 'theme' => '', 'maintenance' => false, 'enable_previews' => true, 'preview_max_x' => NULL, 'preview_max_y' => NULL, 'preview_max_scale_factor' => 10, 'preview_libreoffice_path' => '/usr/bin/libreoffice', 'preview_office_cl_parameters' => ' --headless --nologo --nofirststartwizard --invisible --norestore -convert-to pdf -outdir ', 'enabledPreviewProviders' => array ( 0 => 'OC\Preview\Image', 1 => 'OC\Preview\MP3', 2 => 'OC\Preview\TXT', 3 => 'OC\Preview\MarkDown', ), 'trusted_domains' => array ( 0 => 'www.linux-ng.de', ), 'secret' => '', 'trashbin_retention_obligation' => 'auto', 'memcache.local' => '\OC\Memcache\APCu', 'dbname' => 'owncloud', 'dbhost' => 'localhost:3306', 'dbuser' => 'owncloud', 'dbpassword' => 'mypassowrd', ); ``` If you have access to your command line run e.g.: sudo -u www-data php occ config:list system from within your ownCloud installation folder or Insert your config.php content here (Without the database password, passwordsalt and secret) ``` **Are you using external storage, if yes which one:** local/smb/sftp/... NO **Are you using encryption:** yes/no NO
@ghost
Copy link

ghost commented Apr 13, 2016

Mhhh, this "dave.php" was already reported here: #22988 and normally should have been already fixed with oC 9.0.1

@linuxrrze
Copy link
Author

I just re-checked with a new clean docker instance running oc 9.0.1 and the URL reported in the Calendar app (Version 1.1) still contains "/dave.php", so I guess it's not a leftover somewhere in a database.

On the other hand a "grep" for "dave.php" in the owncloud directory didn't give any results ...

@ghost
Copy link

ghost commented Apr 13, 2016

Yes, this "dave.php" is not part of the ownCloud code. The URL is auto-generated and seems to be generated wrong.

@fischtag
Copy link

I can confirm that for Debian Jessie and oc 9.0.1 ...

@PVince81
Copy link
Contributor

@DeepDiver1975

@Keelan
Copy link

Keelan commented Apr 21, 2016

Sorry didn't see this straight away. Strange how #24169 is davhp and this is dav.php

@Keelan
Copy link

Keelan commented Apr 21, 2016

What is really weird...

I have owncloud in http://mydomain.com/files

I have pointed a subdomain to it:

http://share.mydomain.com

Added it to the trusted domains.

When i navigate via mydomain.com/files the davhp is in the url

http://mydomain.ca/files/remote.php/davhp/dav/calendars/Keelan/default_shared_by_Keelan2/

when i navigate via share.mydomain.com the davhp is removed

http://share.mydomain.ca/files/remote.php/dav/calendars/Keelan/default_shared_by_Keelan2/

Very strange....

@DeepDiver1975 DeepDiver1975 self-assigned this Apr 22, 2016
@DeepDiver1975 DeepDiver1975 added this to the 9.1-current milestone Apr 22, 2016
@DeepDiver1975
Copy link
Member

@DeepDiver1975
Copy link
Member

Fix is in calendar repo - owncloud/calendar#486

@lock
Copy link

lock bot commented Aug 4, 2019

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked as resolved and limited conversation to collaborators Aug 4, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants