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

Exporting Calendars sometimes failing #28114

Closed
kwoxer opened this issue Jun 10, 2017 · 12 comments
Closed

Exporting Calendars sometimes failing #28114

kwoxer opened this issue Jun 10, 2017 · 12 comments

Comments

@kwoxer
Copy link

kwoxer commented Jun 10, 2017

Steps to reproduce

  1. go to https://xxxx.xx/apps/calendar/
  2. click on a calendar 3 dots for dropdown and then Download
  3. try to download

Expected behaviour

I get to download dialog

Actual behaviour

I get an error page
2017-06-10 06_57_11-owncloud - firefox developer edition

HINT: I have 9 Calendars. 5 of them are working properly when trying to download. But 4 are giving this error page! But I cannot find any pattern of these calendars. Maybe some bad string in a task or so. I really have no clue...

Server configuration

Operating system: Ubuntu 16

Web server: nginx

Database: mysql

PHP version: 7

ownCloud version: (see ownCloud admin page) 10.0.2

Updated from an older ownCloud or fresh install: 9.0.x

Where did you install ownCloud from: zip

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 into https://gist.github.com/ and puth the link here.

No errors have been found.

The content of config/config.php:

{
"system": {
"instanceid": "och9rt0hdzz3",
"passwordsalt": "REMOVED SENSITIVE VALUE",
"secret": "REMOVED SENSITIVE VALUE",
"trusted_domains": [
"xxx.eu",
"xxx.eu:443",
"oc.xxx.eu",
"oc.xxx.eu:443"
],
"datadirectory": "/var/www/owncloud/data",
"overwrite.cli.url": "https://oc.xxx.eu",
"dbtype": "mysql",
"version": "10.0.2.1",
"dbname": "owncloud",
"dbhost": "localhost",
"dbtableprefix": "oc_",
"dbuser": "REMOVED SENSITIVE VALUE",
"dbpassword": "REMOVED SENSITIVE VALUE",
"logtimezone": "Europe/Berlin",
"syslog_tag": "ownCloud",
"default_language": "de",
"defaultapp": "calendar,files",
"installed": true,
"memcache.local": "\OC\Memcache\APCu",
"theme": "",
"loglevel": 2,
"maintenance": false,
"mail_from_address": "xxx.xxx",
"mail_smtpmode": "php",
"mail_domain": "xxx.de",
"mail_smtpauthtype": "LOGIN",
"mail_smtpsecure": "ssl",
"mail_smtpauth": 1
}
}

List of activated apps:

Enabled:

  • activity: 2.3.4
  • calendar: 1.4.2
  • comments: 0.3.0
  • configreport: 0.1.1
  • contacts: 1.5.2
  • dav: 0.2.9
  • external: 1.2
  • federatedfilesharing: 0.3.0
  • federation: 0.1.0
  • files: 1.5.1
  • files_external: 0.7.0
  • files_pdfviewer: 0.8.2
  • files_sharing: 0.10.0
  • files_texteditor: 2.2
  • files_trashbin: 0.9.0
  • files_versions: 1.3.0
  • files_videoplayer: 0.9.8
  • firstrunwizard: 1.1
  • gallery: 16.0.2
  • market: 0.1.0
  • notifications: 0.3.0
  • provisioning_api: 0.5.0
  • systemtags: 0.3.0
  • templateeditor: 0.1
  • updatenotification: 0.2.1
    Disabled:
  • encryption
  • files_antivirus
  • theme-example
  • user_external

Are you using encryption: no

Client configuration

Browser: firefox latest

Operating system: windows 10

Logs

Web server error log

Insert your webserver log here

ownCloud log (data/owncloud.log)

Insert your ownCloud log here

Browser log

Insert your browser log here, this could for example include:

a) The javascript console log
b) The network log 
c) ...
@ghost
Copy link

ghost commented Jun 11, 2017

@kwoxer Unfortunately an "internal server error" is just an generic error without further information about the reasons.

Its required that you provide logfiles as asked in the half-filled issue template to find the reasons for your issue.

@kwoxer
Copy link
Author

kwoxer commented Jun 13, 2017

But there is no error in error.log of my nginx. Where can I find that possible error maybe?

@ghost
Copy link

ghost commented Jun 13, 2017

ownCloud log (data/owncloud.log)

is shown as well where you might find additional info. The PHP error log (please use your favorite search engine for more info) might contain additional info as well.

@kwoxer
Copy link
Author

kwoxer commented Jun 14, 2017

Alright that looks like the error message on level 4. Hopefully that helps.

{"reqId":"NNQbUDICnDnL0HaCcEdZ","level":3,"time":"2017-06-14T05:47:19+02:00","remoteAddr":"95.91.244.112","user":"xxx","app":"PHP","method":"REPORT","url":"/remote.php/dav/calendars/xxx/contact_birthdays/","message":"You

are using a fallback implementation of the intl extension. Installing the native one is highly recommended instead. at /var/www/owncloud/lib/composer/patchwork/utf8/src/Patchwork/Utf8/Bootup/intl.php#18"}
{"reqId":"jHBftDaD71URFgv7aGEw","level":4,"time":"2017-06-14T05:47:27+02:00","remoteAddr":"95.91.244.112","user":"xxx","app":"webdav","method":"GET","url":"/remote.php/dav/calendars/xxx/xxx?export","message":"Exception: {"Message":"Unsupported VALUE parameter for DTEND property. You supplied \"\"","Exception":"Sabre\\VObject\\InvalidDataException","Code":0,"Trace":"#0 \/var\/www\/owncloud\/lib\/composer\/sabre\/vobject\/lib\/Parser\/MimeDir.php(453): Sabre\\VObject\\Document->createProperty('DTEND', NULL, Array)\n#1 \/var\/www\/owncloud\/lib\/composer\/sabre\/vobject\/lib\/Parser\/MimeDir.php(234): Sabre\\VObject\\Parser\\MimeDir->readProperty('DTEND;TZID=Euro...')\n#2 \/var\/www\/owncloud\/lib\/composer\/sabre\/vobject\/lib\/Parser\/MimeDir.php(217): Sabre\\VObject\\Parser\\MimeDir->parseLine('DTEND;TZID=Euro...')\n#3 \/var\/www\/owncloud\/lib\/composer\/sabre\/vobject\/lib\/Parser\/MimeDir.php(181): Sabre\\VObject\\Parser\\MimeDir->parseLine('DTEND;TZID=Euro...')\n#4 \/var\/www\/owncloud\/lib\/composer\/sabre\/vobject\/lib\/Parser\/MimeDir.php(89): Sabre\\VObject\\Parser\\MimeDir->parseDocument()\n#5 \/var\/www\/owncloud\/lib\/composer\/sabre\/vobject\/lib\/Reader.php(46): Sabre\\VObject\\Parser\\MimeDir->parse('BEGIN:VCALENDAR...', 0)\n#6 \/var\/www\/owncloud\/lib\/composer\/sabre\/dav\/lib\/CalDAV\/ICSExportPlugin.php(307): Sabre\\VObject\\Reader::read('BEGIN:VCALENDAR...')\n#7 \/var\/www\/owncloud\/lib\/composer\/sabre\/dav\/lib\/CalDAV\/ICSExportPlugin.php(222): Sabre\\CalDAV\\ICSExportPlugin->mergeObjects(Array, Array)\n#8 \/var\/www\/owncloud\/lib\/composer\/sabre\/dav\/lib\/CalDAV\/ICSExportPlugin.php(151): Sabre\\CalDAV\\ICSExportPlugin->generateResponse('calendars\/curti...', NULL, NULL, false, false, 'text\/calendar', Array, Object(Sabre\\HTTP\\Response))\n#9 [internal function]: Sabre\\CalDAV\\ICSExportPlugin->httpGet(Object(Sabre\\HTTP\\Request), Object(Sabre\\HTTP\\Response))\n#10 \/var\/www\/owncloud\/lib\/composer\/sabre\/event\/lib\/EventEmitterTrait.php(105): call_user_func_array(Array, Array)\n#11 \/var\/www\/owncloud\/lib\/composer\/sabre\/dav\/lib\/DAV\/Server.php(479): Sabre\\Event\\EventEmitter->emit('method:GET', Array)\n#12 \/var\/www\/owncloud\/lib\/composer\/sabre\/dav\/lib\/DAV\/Server.php(254): Sabre\\DAV\\Server->invokeMethod(Object(Sabre\\HTTP\\Request), Object(Sabre\\HTTP\\Response))\n#13 \/var\/www\/owncloud\/apps\/dav\/lib\/Server.php(229): Sabre\\DAV\\Server->exec()\n#14 \/var\/www\/owncloud\/apps\/dav\/appinfo\/v2\/remote.php(31): OCA\\DAV\\Server->exec()\n#15 \/var\/www\/owncloud\/remote.php(165): require_once('\/var\/www\/ownclo...')\n#16 {main}","File":"\/var\/www\/owncloud\/lib\/composer\/sabre\/vobject\/lib\/Document.php","Line":220,"User":"xxx"}"}
{"reqId":"jHBftDaD71URFgv7aGEw","level":3,"time":"2017-06-14T05:47:27+02:00","remoteAddr":"95.91.244.112","user":"xxx","app":"PHP","method":"GET","url":"/remote.php/dav/calendars/xxx/xxx?export","message":"You are using a fallback implementation of the intl extension. Installing the native one is highly recommended instead. at /var/www/owncloud/lib/composer/patchwork/utf8/src/Patchwork/Utf8/Bootup/intl.php#18"}

@ghost
Copy link

ghost commented Jun 14, 2017

Unsupported VALUE parameter for DTEND property. You supplied ""

Looks like you have some broken events in your database.

Ref: owncloud/calendar#799

@kwoxer
Copy link
Author

kwoxer commented Jun 14, 2017

Indeed that's very similar. But I can use the calendar. The error just happens when Downloading it.

And I'm not sure which event it could be, I have a huge number of events in all calendars.

@tomneedham
Copy link
Contributor

So it looks like the property DTEND is NULL for at least one of your events. @DeepDiver1975 for *dav support here. Not sure if this is intended, or just not handled correctly

@PeterPablo
Copy link

Is there something a user can do to heal the data?

@ghost
Copy link

ghost commented Sep 30, 2017

Seems an user has provided some steps to "heal" the broken events in owncloud/calendar#805 (comment)

@kwoxer
Copy link
Author

kwoxer commented Nov 7, 2017

It's nice to have a workaround somehow indeed. But I have currently 3 of 8 calenders. All are heavy used. And this would take me hours to proceed. As there are so many guys having that issue, why not patch this. And automatically do that cleaning of the sql? That should not be hard to manage.

@ownclouders
Copy link
Contributor

Hey, this issue has been closed because the label status/STALE is set and there were no updates for 7 days. Feel free to reopen this issue if you deem it appropriate.

(This is an automated comment from GitMate.io.)

@lock
Copy link

lock bot commented Jul 31, 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 Jul 31, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

5 participants