nextcloud / server

☁️ Nextcloud server, a safe home for all your data
https://nextcloud.com
GNU Affero General Public License v3.0
26.67k stars 4k forks source link

[Bug]: Epoch doesn't fit in a PHP integer #35950

Open bcutter opened 1 year ago

bcutter commented 1 year ago

⚠️ This issue respects the following points: ⚠️

Bug description

NOTE I'M RUNNING ON A 32 BIT OS (but I had to tick Nextcloud Server is running on 64bit capable CPU, PHP and OS. * to file this issue - and as NC v25 is still supporting 32 bit, that should make no difference until NC 26/October 2023)


Encouraged by https://github.com/nextcloud/server/issues/34010#issuecomment-1358987042 and following up on https://github.com/nextcloud/server/issues/34010#issuecomment-1358527693 I'd like to report:

After applying the two 32 bit related changes (see linked issue), in nextcloud.log there sometimes (to be precise: quite rarely) is a Epoch doesn't fit in a PHP integer error.

Here's the full log searched for that error. Note it also includes entries from before applying https://github.com/nextcloud/server/issues/34010#issuecomment-1358527693 (2022-12-19 23:52 local time): (see logs section below)

Steps to reproduce

  1. Use a 32 bit system
  2. Use Nextcloud. As you can see in the logs, various classes / parts of NC are causing this error.
  3. Look at the logs.

Expected behavior

No log errors.

Installation method

Community Manual installation with Archive

Operating system

Other

PHP engine version

PHP 8.1

Web server

Nginx

Database engine version

MariaDB

Is this bug present after an update or on a fresh install?

Updated to a major version (ex. 22.2.3 to 23.0.1)

Are you using the Nextcloud Server Encryption module?

None

What user-backends are you using?

Configuration report

No response

List of activated Apps

Enabled:
  - activity: 2.17.0
  - admin_audit: 1.15.0
  - announcementcenter: 6.4.0
  - audioplayer: 3.3.1
  - backup: 1.1.3
  - bruteforcesettings: 2.5.0
  - calendar: 4.2.0
  - camerarawpreviews: 0.8.0
  - checksum: 1.2.0
  - circles: 25.0.0
  - cloud_federation_api: 1.8.0
  - comments: 1.15.0
  - contacts: 5.0.2
  - contactsinteraction: 1.6.0
  - dashboard: 7.5.0
  - dav: 1.24.0
  - deck: 1.8.3
  - encryption: 2.13.0
  - end_to_end_encryption: 1.11.1
  - extract: 1.3.5
  - federatedfilesharing: 1.15.0
  - federation: 1.15.0
  - files: 1.20.1
  - files_accesscontrol: 1.15.1
  - files_external: 1.17.0
  - files_linkeditor: 1.1.13
  - files_locking: true
  - files_markdown: 2.3.6
  - files_mindmap: 0.0.27
  - files_pdfviewer: 2.6.0
  - files_rightclick: 1.4.0
  - files_share_qr: 0.1
  - files_sharing: 1.17.0
  - files_trashbin: 1.15.0
  - files_versions: 1.18.0
  - firstrunwizard: 2.14.0
  - forms: 3.0.3
  - imageconverter: 1.3.4
  - impersonate: 1.11.0
  - keeweb: 0.6.10
  - logreader: 2.10.0
  - lookup_server_connector: 1.13.0
  - maps: 0.2.4
  - news: 15.4.5
  - nextcloud_announcements: 1.14.0
  - notes: 4.6.0
  - notifications: 2.13.1
  - oauth2: 1.13.0
  - password_policy: 1.15.0
  - photos: 2.0.1
  - polls: 4.0.0
  - previewgenerator: 5.1.1
  - privacy: 1.9.0
  - provisioning_api: 1.15.0
  - qownnotesapi: 22.10.0
  - quota_warning: 1.15.0
  - ransomware_protection: 1.14.0
  - recommendations: 1.4.0
  - related_resources: 1.0.3
  - serverinfo: 1.15.0
  - settings: 1.7.0
  - sharebymail: 1.15.0
  - sharerenamer: 3.1.0
  - side_menu: 3.5.0
  - spreed: 15.0.2
  - support: 1.8.0
  - survey_client: 1.13.0
  - suspicious_login: 4.3.0
  - systemtags: 1.15.0
  - tasks: 0.14.5
  - text: 3.6.0
  - theming: 2.0.1
  - twofactor_admin: 4.1.9
  - twofactor_backupcodes: 1.14.0
  - twofactor_email: 2.7.1
  - twofactor_nextcloud_notification: 3.5.0
  - twofactor_totp: 7.0.0
  - updatenotification: 1.15.0
  - user_migration: 2.0.1
  - user_status: 1.5.0
  - user_usage_report: 1.9.0
  - video_converter: 1.0.5
  - viewer: 1.9.0
  - weather_status: 1.5.0
  - workflowengine: 2.7.0
Disabled:
  - external: 5.0.0
  - files_antivirus: 4.0.1
  - files_clipboard: 0.7.1
  - files_downloadactivity: 1.15.0
  - music: 1.8.0
  - nextbackup: 21.1.0
  - ocr: 6.0.58
  - radio: 1.0.3
  - sharelisting: 1.1.1
  - social: 0.4.2
  - socialsharing_email: 2.5.0
  - unsplash: 2.1.1
  - uploaddetails: 0.1.3
  - user_ldap
  - weather: 1.7.7

Nextcloud Signing status

No response

Nextcloud Logs

{"reqId":"EnktMhxxxxxxxxxxcbA8","level":3,"time":"2022-11-30T17:35:03+01:00","remoteAddr":"","user":"--","app":"cron","method":"","url":"/cron.php","message":"Epoch doesn't fit in a PHP integer","userAgent":"--","version":"25.0.1.1","exception":{"Exception":"ValueError","Message":"Epoch doesn't fit in a PHP integer","Code":0,"Trace":[{"file":"/var/www/nextcloud/3rdparty/sabre/vobject/lib/Recur/RRuleIterator.php","line":489,"function":"getTimestamp","class":"DateTimeImmutable","type":"->"},{"file":"/var/www/nextcloud/3rdparty/sabre/vobject/lib/Recur/RRuleIterator.php","line":118,"function":"nextMonthly","class":"Sabre\\VObject\\Recur\\RRuleIterator","type":"->"},{"file":"/var/www/nextcloud/3rdparty/sabre/vobject/lib/Recur/EventIterator.php","line":362,"function":"next","class":"Sabre\\VObject\\Recur\\RRuleIterator","type":"->"},{"file":"/var/www/nextcloud/apps/dav/lib/CalDAV/Reminder/ReminderService.php","line":514,"function":"next","class":"Sabre\\VObject\\Recur\\EventIterator","type":"->"},{"file":"/var/www/nextcloud/apps/dav/lib/CalDAV/Reminder/ReminderService.php","line":185,"function":"deleteOrProcessNext","class":"OCA\\DAV\\CalDAV\\Reminder\\ReminderService","type":"->"},{"file":"/var/www/nextcloud/apps/dav/lib/BackgroundJob/EventReminderJob.php","line":68,"function":"processReminders","class":"OCA\\DAV\\CalDAV\\Reminder\\ReminderService","type":"->"},{"file":"/var/www/nextcloud/lib/public/BackgroundJob/Job.php","line":78,"function":"run","class":"OCA\\DAV\\BackgroundJob\\EventReminderJob","type":"->"},{"file":"/var/www/nextcloud/lib/public/BackgroundJob/TimedJob.php","line":103,"function":"start","class":"OCP\\BackgroundJob\\Job","type":"->"},{"file":"/var/www/nextcloud/lib/public/BackgroundJob/TimedJob.php","line":93,"function":"start","class":"OCP\\BackgroundJob\\TimedJob","type":"->"},{"file":"/var/www/nextcloud/cron.php","line":152,"function":"execute","class":"OCP\\BackgroundJob\\TimedJob","type":"->"}],"File":"/var/www/nextcloud/3rdparty/sabre/vobject/lib/Recur/RRuleIterator.php","Line":489,"CustomMessage":"--"}}
{"reqId":"d9sQ5SxxxxxxxxxxI3Zs","level":3,"time":"2022-11-30T17:51:33+01:00","remoteAddr":"xxx.xxx.xxx.xxx","user":"Username1","app":"dav","method":"PUT","url":"/remote.php/caldav/calendars/Username1/persoenlich/XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX.ics","message":"Error cleaning up reminders of a calendar object: Epoch doesn't fit in a PHP integer","userAgent":"iOS/16.1.1 (20B101) dataaccessd/1.0","version":"25.0.1.1","exception":{"Exception":"ValueError","Message":"Epoch doesn't fit in a PHP integer","Code":0,"Trace":[{"file":"/var/www/nextcloud/3rdparty/sabre/vobject/lib/Recur/RRuleIterator.php","line":489,"function":"getTimestamp","class":"DateTimeImmutable","type":"->"},{"file":"/var/www/nextcloud/3rdparty/sabre/vobject/lib/Recur/RRuleIterator.php","line":118,"function":"nextMonthly","class":"Sabre\\VObject\\Recur\\RRuleIterator","type":"->"},{"file":"/var/www/nextcloud/3rdparty/sabre/vobject/lib/Recur/EventIterator.php","line":362,"function":"next","class":"Sabre\\VObject\\Recur\\RRuleIterator","type":"->"},{"file":"/var/www/nextcloud/apps/dav/lib/CalDAV/Reminder/ReminderService.php","line":320,"function":"next","class":"Sabre\\VObject\\Recur\\EventIterator","type":"->"},{"file":"/var/www/nextcloud/apps/dav/lib/CalDAV/Reminder/ReminderService.php","line":335,"function":"onCalendarObjectCreate","class":"OCA\\DAV\\CalDAV\\Reminder\\ReminderService","type":"->"},{"file":"/var/www/nextcloud/apps/dav/lib/Listener/CalendarObjectReminderUpdaterListener.php","line":139,"function":"onCalendarObjectEdit","class":"OCA\\DAV\\CalDAV\\Reminder\\ReminderService","type":"->"},{"file":"/var/www/nextcloud/lib/private/EventDispatcher/ServiceEventListener.php","line":87,"function":"handle","class":"OCA\\DAV\\Listener\\CalendarObjectReminderUpdaterListener","type":"->"},{"file":"/var/www/nextcloud/3rdparty/symfony/event-dispatcher/EventDispatcher.php","line":251,"function":"__invoke","class":"OC\\EventDispatcher\\ServiceEventListener","type":"->"},{"file":"/var/www/nextcloud/3rdparty/symfony/event-dispatcher/EventDispatcher.php","line":73,"function":"callListeners","class":"Symfony\\Component\\EventDispatcher\\EventDispatcher","type":"->"},{"file":"/var/www/nextcloud/lib/private/EventDispatcher/EventDispatcher.php","line":88,"function":"dispatch","class":"Symfony\\Component\\EventDispatcher\\EventDispatcher","type":"->"},{"file":"/var/www/nextcloud/lib/private/EventDispatcher/EventDispatcher.php","line":100,"function":"dispatch","class":"OC\\EventDispatcher\\EventDispatcher","type":"->"},{"file":"/var/www/nextcloud/apps/dav/lib/CalDAV/CalDavBackend.php","line":1336,"function":"dispatchTyped","class":"OC\\EventDispatcher\\EventDispatcher","type":"->"},{"file":"/var/www/nextcloud/3rdparty/sabre/dav/lib/CalDAV/CalendarObject.php","line":103,"function":"updateCalendarObject","class":"OCA\\DAV\\CalDAV\\CalDavBackend","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php","line":1137,"function":"put","class":"Sabre\\CalDAV\\CalendarObject","type":"->"},{"file":"/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/CorePlugin.php","line":492,"function":"updateFile","class":"Sabre\\DAV\\Server","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/nextcloud/3rdparty/sabre/event/lib/WildcardEmitterTrait.php","line":89,"function":"httpPut","class":"Sabre\\DAV\\CorePlugin","type":"->"},{"file":"/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php","line":472,"function":"emit","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php","line":253,"function":"invokeMethod","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php","line":321,"function":"start","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/var/www/nextcloud/apps/dav/appinfo/v1/caldav.php","line":121,"function":"exec","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/var/www/nextcloud/remote.php","line":171,"args":["/var/www/nextcloud/apps/dav/appinfo/v1/caldav.php"],"function":"require_once"}],"File":"/var/www/nextcloud/3rdparty/sabre/vobject/lib/Recur/RRuleIterator.php","Line":489,"message":"Error cleaning up reminders of a calendar object: Epoch doesn't fit in a PHP integer","exception":{},"CustomMessage":"Error cleaning up reminders of a calendar object: Epoch doesn't fit in a PHP integer"}}
{"reqId":"qyHyVpxxxxxxxxxxAwn6","level":3,"time":"2022-12-04T13:35:11+01:00","remoteAddr":"","user":"--","app":"cron","method":"","url":"/cron.php","message":"Epoch doesn't fit in a PHP integer","userAgent":"--","version":"25.0.1.1","exception":{"Exception":"ValueError","Message":"Epoch doesn't fit in a PHP integer","Code":0,"Trace":[{"file":"/var/www/nextcloud/3rdparty/sabre/vobject/lib/Recur/EventIterator.php","line":363,"function":"getTimestamp","class":"DateTimeImmutable","type":"->"},{"file":"/var/www/nextcloud/apps/dav/lib/CalDAV/Reminder/ReminderService.php","line":514,"function":"next","class":"Sabre\\VObject\\Recur\\EventIterator","type":"->"},{"file":"/var/www/nextcloud/apps/dav/lib/CalDAV/Reminder/ReminderService.php","line":185,"function":"deleteOrProcessNext","class":"OCA\\DAV\\CalDAV\\Reminder\\ReminderService","type":"->"},{"file":"/var/www/nextcloud/apps/dav/lib/BackgroundJob/EventReminderJob.php","line":68,"function":"processReminders","class":"OCA\\DAV\\CalDAV\\Reminder\\ReminderService","type":"->"},{"file":"/var/www/nextcloud/lib/public/BackgroundJob/Job.php","line":78,"function":"run","class":"OCA\\DAV\\BackgroundJob\\EventReminderJob","type":"->"},{"file":"/var/www/nextcloud/lib/public/BackgroundJob/TimedJob.php","line":103,"function":"start","class":"OCP\\BackgroundJob\\Job","type":"->"},{"file":"/var/www/nextcloud/lib/public/BackgroundJob/TimedJob.php","line":93,"function":"start","class":"OCP\\BackgroundJob\\TimedJob","type":"->"},{"file":"/var/www/nextcloud/cron.php","line":152,"function":"execute","class":"OCP\\BackgroundJob\\TimedJob","type":"->"}],"File":"/var/www/nextcloud/3rdparty/sabre/vobject/lib/Recur/EventIterator.php","Line":363,"CustomMessage":"--"}}
{"reqId":"txAkrVxxxxxxxxxxSKRg","level":3,"time":"2022-12-18T13:30:04+01:00","remoteAddr":"","user":"--","app":"cron","method":"","url":"/cron.php","message":"Epoch doesn't fit in a PHP integer","userAgent":"--","version":"25.0.2.3","exception":{"Exception":"ValueError","Message":"Epoch doesn't fit in a PHP integer","Code":0,"Trace":[{"file":"/var/www/nextcloud/3rdparty/sabre/vobject/lib/Recur/EventIterator.php","line":363,"function":"getTimestamp","class":"DateTimeImmutable","type":"->"},{"file":"/var/www/nextcloud/apps/dav/lib/CalDAV/Reminder/ReminderService.php","line":527,"function":"next","class":"Sabre\\VObject\\Recur\\EventIterator","type":"->"},{"file":"/var/www/nextcloud/apps/dav/lib/CalDAV/Reminder/ReminderService.php","line":198,"function":"deleteOrProcessNext","class":"OCA\\DAV\\CalDAV\\Reminder\\ReminderService","type":"->"},{"file":"/var/www/nextcloud/apps/dav/lib/BackgroundJob/EventReminderJob.php","line":68,"function":"processReminders","class":"OCA\\DAV\\CalDAV\\Reminder\\ReminderService","type":"->"},{"file":"/var/www/nextcloud/lib/public/BackgroundJob/Job.php","line":78,"function":"run","class":"OCA\\DAV\\BackgroundJob\\EventReminderJob","type":"->"},{"file":"/var/www/nextcloud/lib/public/BackgroundJob/TimedJob.php","line":103,"function":"start","class":"OCP\\BackgroundJob\\Job","type":"->"},{"file":"/var/www/nextcloud/lib/public/BackgroundJob/TimedJob.php","line":93,"function":"start","class":"OCP\\BackgroundJob\\TimedJob","type":"->"},{"file":"/var/www/nextcloud/cron.php","line":152,"function":"execute","class":"OCP\\BackgroundJob\\TimedJob","type":"->"}],"File":"/var/www/nextcloud/3rdparty/sabre/vobject/lib/Recur/EventIterator.php","Line":363,"CustomMessage":"--"}}
{"reqId":"0H7IZ7xxxxxxxxxxt48y","level":3,"time":"2022-12-19T23:11:20+01:00","remoteAddr":"xxx.xxx.xxx.xxx","user":"Username2","app":"webdav","method":"SEARCH","url":"/remote.php/dav","message":"Epoch doesn't fit in a PHP integer","userAgent":"Mozilla/5.0 (iOS) Nextcloud-iOS/4.5.7","version":"25.0.2.3","exception":{"Exception":"ValueError","Message":"Epoch doesn't fit in a PHP integer","Code":0,"Trace":[{"file":"/var/www/nextcloud/apps/dav/lib/Files/FileSearchBackend.php","line":436,"function":"getTimestamp","class":"DateTime","type":"->"},{"file":"/var/www/nextcloud/apps/dav/lib/Files/FileSearchBackend.php","line":390,"function":"castValue","class":"OCA\\DAV\\Files\\FileSearchBackend","type":"->"},{"function":"transformSearchOperation","class":"OCA\\DAV\\Files\\FileSearchBackend","type":"->"},{"file":"/var/www/nextcloud/apps/dav/lib/Files/FileSearchBackend.php","line":373,"function":"array_map"},{"function":"transformSearchOperation","class":"OCA\\DAV\\Files\\FileSearchBackend","type":"->"},{"file":"/var/www/nextcloud/apps/dav/lib/Files/FileSearchBackend.php","line":373,"function":"array_map"},{"function":"transformSearchOperation","class":"OCA\\DAV\\Files\\FileSearchBackend","type":"->"},{"file":"/var/www/nextcloud/apps/dav/lib/Files/FileSearchBackend.php","line":373,"function":"array_map"},{"file":"/var/www/nextcloud/apps/dav/lib/Files/FileSearchBackend.php","line":326,"function":"transformSearchOperation","class":"OCA\\DAV\\Files\\FileSearchBackend","type":"->"},{"file":"/var/www/nextcloud/apps/dav/lib/Files/FileSearchBackend.php","line":178,"function":"transformQuery","class":"OCA\\DAV\\Files\\FileSearchBackend","type":"->"},{"file":"/var/www/nextcloud/apps/dav/lib/Files/LazySearchBackend.php","line":63,"function":"search","class":"OCA\\DAV\\Files\\FileSearchBackend","type":"->"},{"file":"/var/www/nextcloud/3rdparty/icewind/searchdav/src/DAV/SearchHandler.php","line":82,"function":"search","class":"OCA\\DAV\\Files\\LazySearchBackend","type":"->"},{"file":"/var/www/nextcloud/3rdparty/icewind/searchdav/src/DAV/SearchPlugin.php","line":119,"function":"handleSearchRequest","class":"SearchDAV\\DAV\\SearchHandler","type":"->"},{"file":"/var/www/nextcloud/3rdparty/sabre/event/lib/WildcardEmitterTrait.php","line":89,"function":"searchHandler","class":"SearchDAV\\DAV\\SearchPlugin","type":"->"},{"file":"/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php","line":472,"function":"emit","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php","line":253,"function":"invokeMethod","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php","line":321,"function":"start","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/var/www/nextcloud/apps/dav/lib/Server.php","line":360,"function":"exec","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/var/www/nextcloud/apps/dav/appinfo/v2/remote.php","line":35,"function":"exec","class":"OCA\\DAV\\Server","type":"->"},{"file":"/var/www/nextcloud/remote.php","line":171,"args":["/var/www/nextcloud/apps/dav/appinfo/v2/remote.php"],"function":"require_once"}],"File":"/var/www/nextcloud/apps/dav/lib/Files/FileSearchBackend.php","Line":436,"message":"Epoch doesn't fit in a PHP integer","exception":{},"CustomMessage":"Epoch doesn't fit in a PHP integer"}}
{"reqId":"ynoHuxxxxxxxxxxxoMNx","level":3,"time":"2022-12-19T23:11:52+01:00","remoteAddr":"xxx.xxx.xxx.xxx","user":"Username2","app":"webdav","method":"SEARCH","url":"/remote.php/dav","message":"Epoch doesn't fit in a PHP integer","userAgent":"Mozilla/5.0 (iOS) Nextcloud-iOS/4.5.7","version":"25.0.2.3","exception":{"Exception":"ValueError","Message":"Epoch doesn't fit in a PHP integer","Code":0,"Trace":[{"file":"/var/www/nextcloud/apps/dav/lib/Files/FileSearchBackend.php","line":436,"function":"getTimestamp","class":"DateTime","type":"->"},{"file":"/var/www/nextcloud/apps/dav/lib/Files/FileSearchBackend.php","line":390,"function":"castValue","class":"OCA\\DAV\\Files\\FileSearchBackend","type":"->"},{"function":"transformSearchOperation","class":"OCA\\DAV\\Files\\FileSearchBackend","type":"->"},{"file":"/var/www/nextcloud/apps/dav/lib/Files/FileSearchBackend.php","line":373,"function":"array_map"},{"function":"transformSearchOperation","class":"OCA\\DAV\\Files\\FileSearchBackend","type":"->"},{"file":"/var/www/nextcloud/apps/dav/lib/Files/FileSearchBackend.php","line":373,"function":"array_map"},{"function":"transformSearchOperation","class":"OCA\\DAV\\Files\\FileSearchBackend","type":"->"},{"file":"/var/www/nextcloud/apps/dav/lib/Files/FileSearchBackend.php","line":373,"function":"array_map"},{"file":"/var/www/nextcloud/apps/dav/lib/Files/FileSearchBackend.php","line":326,"function":"transformSearchOperation","class":"OCA\\DAV\\Files\\FileSearchBackend","type":"->"},{"file":"/var/www/nextcloud/apps/dav/lib/Files/FileSearchBackend.php","line":178,"function":"transformQuery","class":"OCA\\DAV\\Files\\FileSearchBackend","type":"->"},{"file":"/var/www/nextcloud/apps/dav/lib/Files/LazySearchBackend.php","line":63,"function":"search","class":"OCA\\DAV\\Files\\FileSearchBackend","type":"->"},{"file":"/var/www/nextcloud/3rdparty/icewind/searchdav/src/DAV/SearchHandler.php","line":82,"function":"search","class":"OCA\\DAV\\Files\\LazySearchBackend","type":"->"},{"file":"/var/www/nextcloud/3rdparty/icewind/searchdav/src/DAV/SearchPlugin.php","line":119,"function":"handleSearchRequest","class":"SearchDAV\\DAV\\SearchHandler","type":"->"},{"file":"/var/www/nextcloud/3rdparty/sabre/event/lib/WildcardEmitterTrait.php","line":89,"function":"searchHandler","class":"SearchDAV\\DAV\\SearchPlugin","type":"->"},{"file":"/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php","line":472,"function":"emit","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php","line":253,"function":"invokeMethod","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php","line":321,"function":"start","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/var/www/nextcloud/apps/dav/lib/Server.php","line":360,"function":"exec","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/var/www/nextcloud/apps/dav/appinfo/v2/remote.php","line":35,"function":"exec","class":"OCA\\DAV\\Server","type":"->"},{"file":"/var/www/nextcloud/remote.php","line":171,"args":["/var/www/nextcloud/apps/dav/appinfo/v2/remote.php"],"function":"require_once"}],"File":"/var/www/nextcloud/apps/dav/lib/Files/FileSearchBackend.php","Line":436,"message":"Epoch doesn't fit in a PHP integer","exception":{},"CustomMessage":"Epoch doesn't fit in a PHP integer"}}
{"reqId":"43vVsxxxxxxxxxxaXegX","level":3,"time":"2022-12-19T23:15:29+01:00","remoteAddr":"xxx.xxx.xxx.xxx","user":"Username3","app":"webdav","method":"SEARCH","url":"/remote.php/dav","message":"Epoch doesn't fit in a PHP integer","userAgent":"Mozilla/5.0 (iOS) Nextcloud-iOS/4.5.7","version":"25.0.2.3","exception":{"Exception":"ValueError","Message":"Epoch doesn't fit in a PHP integer","Code":0,"Trace":[{"file":"/var/www/nextcloud/apps/dav/lib/Files/FileSearchBackend.php","line":436,"function":"getTimestamp","class":"DateTime","type":"->"},{"file":"/var/www/nextcloud/apps/dav/lib/Files/FileSearchBackend.php","line":390,"function":"castValue","class":"OCA\\DAV\\Files\\FileSearchBackend","type":"->"},{"function":"transformSearchOperation","class":"OCA\\DAV\\Files\\FileSearchBackend","type":"->"},{"file":"/var/www/nextcloud/apps/dav/lib/Files/FileSearchBackend.php","line":373,"function":"array_map"},{"function":"transformSearchOperation","class":"OCA\\DAV\\Files\\FileSearchBackend","type":"->"},{"file":"/var/www/nextcloud/apps/dav/lib/Files/FileSearchBackend.php","line":373,"function":"array_map"},{"function":"transformSearchOperation","class":"OCA\\DAV\\Files\\FileSearchBackend","type":"->"},{"file":"/var/www/nextcloud/apps/dav/lib/Files/FileSearchBackend.php","line":373,"function":"array_map"},{"file":"/var/www/nextcloud/apps/dav/lib/Files/FileSearchBackend.php","line":326,"function":"transformSearchOperation","class":"OCA\\DAV\\Files\\FileSearchBackend","type":"->"},{"file":"/var/www/nextcloud/apps/dav/lib/Files/FileSearchBackend.php","line":178,"function":"transformQuery","class":"OCA\\DAV\\Files\\FileSearchBackend","type":"->"},{"file":"/var/www/nextcloud/apps/dav/lib/Files/LazySearchBackend.php","line":63,"function":"search","class":"OCA\\DAV\\Files\\FileSearchBackend","type":"->"},{"file":"/var/www/nextcloud/3rdparty/icewind/searchdav/src/DAV/SearchHandler.php","line":82,"function":"search","class":"OCA\\DAV\\Files\\LazySearchBackend","type":"->"},{"file":"/var/www/nextcloud/3rdparty/icewind/searchdav/src/DAV/SearchPlugin.php","line":119,"function":"handleSearchRequest","class":"SearchDAV\\DAV\\SearchHandler","type":"->"},{"file":"/var/www/nextcloud/3rdparty/sabre/event/lib/WildcardEmitterTrait.php","line":89,"function":"searchHandler","class":"SearchDAV\\DAV\\SearchPlugin","type":"->"},{"file":"/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php","line":472,"function":"emit","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php","line":253,"function":"invokeMethod","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php","line":321,"function":"start","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/var/www/nextcloud/apps/dav/lib/Server.php","line":360,"function":"exec","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/var/www/nextcloud/apps/dav/appinfo/v2/remote.php","line":35,"function":"exec","class":"OCA\\DAV\\Server","type":"->"},{"file":"/var/www/nextcloud/remote.php","line":171,"args":["/var/www/nextcloud/apps/dav/appinfo/v2/remote.php"],"function":"require_once"}],"File":"/var/www/nextcloud/apps/dav/lib/Files/FileSearchBackend.php","Line":436,"message":"Epoch doesn't fit in a PHP integer","exception":{},"CustomMessage":"Epoch doesn't fit in a PHP integer"}}
{"reqId":"FnptfxxxxxxxxxxUrQbX","level":3,"time":"2022-12-19T23:53:25+01:00","remoteAddr":"xxx.xxx.xxx.xxx","user":"Username2","app":"webdav","method":"SEARCH","url":"/remote.php/dav","message":"Epoch doesn't fit in a PHP integer","userAgent":"Mozilla/5.0 (iOS) Nextcloud-iOS/4.5.7","version":"25.0.2.3","exception":{"Exception":"ValueError","Message":"Epoch doesn't fit in a PHP integer","Code":0,"Trace":[{"file":"/var/www/nextcloud/apps/dav/lib/Files/FileSearchBackend.php","line":436,"function":"getTimestamp","class":"DateTime","type":"->"},{"file":"/var/www/nextcloud/apps/dav/lib/Files/FileSearchBackend.php","line":390,"function":"castValue","class":"OCA\\DAV\\Files\\FileSearchBackend","type":"->"},{"function":"transformSearchOperation","class":"OCA\\DAV\\Files\\FileSearchBackend","type":"->"},{"file":"/var/www/nextcloud/apps/dav/lib/Files/FileSearchBackend.php","line":373,"function":"array_map"},{"function":"transformSearchOperation","class":"OCA\\DAV\\Files\\FileSearchBackend","type":"->"},{"file":"/var/www/nextcloud/apps/dav/lib/Files/FileSearchBackend.php","line":373,"function":"array_map"},{"function":"transformSearchOperation","class":"OCA\\DAV\\Files\\FileSearchBackend","type":"->"},{"file":"/var/www/nextcloud/apps/dav/lib/Files/FileSearchBackend.php","line":373,"function":"array_map"},{"file":"/var/www/nextcloud/apps/dav/lib/Files/FileSearchBackend.php","line":326,"function":"transformSearchOperation","class":"OCA\\DAV\\Files\\FileSearchBackend","type":"->"},{"file":"/var/www/nextcloud/apps/dav/lib/Files/FileSearchBackend.php","line":178,"function":"transformQuery","class":"OCA\\DAV\\Files\\FileSearchBackend","type":"->"},{"file":"/var/www/nextcloud/apps/dav/lib/Files/LazySearchBackend.php","line":63,"function":"search","class":"OCA\\DAV\\Files\\FileSearchBackend","type":"->"},{"file":"/var/www/nextcloud/3rdparty/icewind/searchdav/src/DAV/SearchHandler.php","line":82,"function":"search","class":"OCA\\DAV\\Files\\LazySearchBackend","type":"->"},{"file":"/var/www/nextcloud/3rdparty/icewind/searchdav/src/DAV/SearchPlugin.php","line":119,"function":"handleSearchRequest","class":"SearchDAV\\DAV\\SearchHandler","type":"->"},{"file":"/var/www/nextcloud/3rdparty/sabre/event/lib/WildcardEmitterTrait.php","line":89,"function":"searchHandler","class":"SearchDAV\\DAV\\SearchPlugin","type":"->"},{"file":"/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php","line":472,"function":"emit","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php","line":253,"function":"invokeMethod","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php","line":321,"function":"start","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/var/www/nextcloud/apps/dav/lib/Server.php","line":360,"function":"exec","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/var/www/nextcloud/apps/dav/appinfo/v2/remote.php","line":35,"function":"exec","class":"OCA\\DAV\\Server","type":"->"},{"file":"/var/www/nextcloud/remote.php","line":171,"args":["/var/www/nextcloud/apps/dav/appinfo/v2/remote.php"],"function":"require_once"}],"File":"/var/www/nextcloud/apps/dav/lib/Files/FileSearchBackend.php","Line":436,"message":"Epoch doesn't fit in a PHP integer","exception":{},"CustomMessage":"Epoch doesn't fit in a PHP integer"}}
{"reqId":"CLNc2yFxxxxxxxxxxueX","level":3,"time":"2022-12-19T23:53:41+01:00","remoteAddr":"xxx.xxx.xxx.xxx","user":"Username2","app":"webdav","method":"SEARCH","url":"/remote.php/dav","message":"Epoch doesn't fit in a PHP integer","userAgent":"Mozilla/5.0 (iOS) Nextcloud-iOS/4.5.7","version":"25.0.2.3","exception":{"Exception":"ValueError","Message":"Epoch doesn't fit in a PHP integer","Code":0,"Trace":[{"file":"/var/www/nextcloud/apps/dav/lib/Files/FileSearchBackend.php","line":436,"function":"getTimestamp","class":"DateTime","type":"->"},{"file":"/var/www/nextcloud/apps/dav/lib/Files/FileSearchBackend.php","line":390,"function":"castValue","class":"OCA\\DAV\\Files\\FileSearchBackend","type":"->"},{"function":"transformSearchOperation","class":"OCA\\DAV\\Files\\FileSearchBackend","type":"->"},{"file":"/var/www/nextcloud/apps/dav/lib/Files/FileSearchBackend.php","line":373,"function":"array_map"},{"function":"transformSearchOperation","class":"OCA\\DAV\\Files\\FileSearchBackend","type":"->"},{"file":"/var/www/nextcloud/apps/dav/lib/Files/FileSearchBackend.php","line":373,"function":"array_map"},{"function":"transformSearchOperation","class":"OCA\\DAV\\Files\\FileSearchBackend","type":"->"},{"file":"/var/www/nextcloud/apps/dav/lib/Files/FileSearchBackend.php","line":373,"function":"array_map"},{"file":"/var/www/nextcloud/apps/dav/lib/Files/FileSearchBackend.php","line":326,"function":"transformSearchOperation","class":"OCA\\DAV\\Files\\FileSearchBackend","type":"->"},{"file":"/var/www/nextcloud/apps/dav/lib/Files/FileSearchBackend.php","line":178,"function":"transformQuery","class":"OCA\\DAV\\Files\\FileSearchBackend","type":"->"},{"file":"/var/www/nextcloud/apps/dav/lib/Files/LazySearchBackend.php","line":63,"function":"search","class":"OCA\\DAV\\Files\\FileSearchBackend","type":"->"},{"file":"/var/www/nextcloud/3rdparty/icewind/searchdav/src/DAV/SearchHandler.php","line":82,"function":"search","class":"OCA\\DAV\\Files\\LazySearchBackend","type":"->"},{"file":"/var/www/nextcloud/3rdparty/icewind/searchdav/src/DAV/SearchPlugin.php","line":119,"function":"handleSearchRequest","class":"SearchDAV\\DAV\\SearchHandler","type":"->"},{"file":"/var/www/nextcloud/3rdparty/sabre/event/lib/WildcardEmitterTrait.php","line":89,"function":"searchHandler","class":"SearchDAV\\DAV\\SearchPlugin","type":"->"},{"file":"/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php","line":472,"function":"emit","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php","line":253,"function":"invokeMethod","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php","line":321,"function":"start","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/var/www/nextcloud/apps/dav/lib/Server.php","line":360,"function":"exec","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/var/www/nextcloud/apps/dav/appinfo/v2/remote.php","line":35,"function":"exec","class":"OCA\\DAV\\Server","type":"->"},{"file":"/var/www/nextcloud/remote.php","line":171,"args":["/var/www/nextcloud/apps/dav/appinfo/v2/remote.php"],"function":"require_once"}],"File":"/var/www/nextcloud/apps/dav/lib/Files/FileSearchBackend.php","Line":436,"message":"Epoch doesn't fit in a PHP integer","exception":{},"CustomMessage":"Epoch doesn't fit in a PHP integer"}}
{"reqId":"tM4GmixxxxxxxxxxqiNX","level":3,"time":"2022-12-19T23:53:45+01:00","remoteAddr":"xxx.xxx.xxx.xxx","user":"Username2","app":"webdav","method":"SEARCH","url":"/remote.php/dav","message":"Epoch doesn't fit in a PHP integer","userAgent":"Mozilla/5.0 (iOS) Nextcloud-iOS/4.5.7","version":"25.0.2.3","exception":{"Exception":"ValueError","Message":"Epoch doesn't fit in a PHP integer","Code":0,"Trace":[{"file":"/var/www/nextcloud/apps/dav/lib/Files/FileSearchBackend.php","line":436,"function":"getTimestamp","class":"DateTime","type":"->"},{"file":"/var/www/nextcloud/apps/dav/lib/Files/FileSearchBackend.php","line":390,"function":"castValue","class":"OCA\\DAV\\Files\\FileSearchBackend","type":"->"},{"function":"transformSearchOperation","class":"OCA\\DAV\\Files\\FileSearchBackend","type":"->"},{"file":"/var/www/nextcloud/apps/dav/lib/Files/FileSearchBackend.php","line":373,"function":"array_map"},{"function":"transformSearchOperation","class":"OCA\\DAV\\Files\\FileSearchBackend","type":"->"},{"file":"/var/www/nextcloud/apps/dav/lib/Files/FileSearchBackend.php","line":373,"function":"array_map"},{"function":"transformSearchOperation","class":"OCA\\DAV\\Files\\FileSearchBackend","type":"->"},{"file":"/var/www/nextcloud/apps/dav/lib/Files/FileSearchBackend.php","line":373,"function":"array_map"},{"file":"/var/www/nextcloud/apps/dav/lib/Files/FileSearchBackend.php","line":326,"function":"transformSearchOperation","class":"OCA\\DAV\\Files\\FileSearchBackend","type":"->"},{"file":"/var/www/nextcloud/apps/dav/lib/Files/FileSearchBackend.php","line":178,"function":"transformQuery","class":"OCA\\DAV\\Files\\FileSearchBackend","type":"->"},{"file":"/var/www/nextcloud/apps/dav/lib/Files/LazySearchBackend.php","line":63,"function":"search","class":"OCA\\DAV\\Files\\FileSearchBackend","type":"->"},{"file":"/var/www/nextcloud/3rdparty/icewind/searchdav/src/DAV/SearchHandler.php","line":82,"function":"search","class":"OCA\\DAV\\Files\\LazySearchBackend","type":"->"},{"file":"/var/www/nextcloud/3rdparty/icewind/searchdav/src/DAV/SearchPlugin.php","line":119,"function":"handleSearchRequest","class":"SearchDAV\\DAV\\SearchHandler","type":"->"},{"file":"/var/www/nextcloud/3rdparty/sabre/event/lib/WildcardEmitterTrait.php","line":89,"function":"searchHandler","class":"SearchDAV\\DAV\\SearchPlugin","type":"->"},{"file":"/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php","line":472,"function":"emit","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php","line":253,"function":"invokeMethod","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php","line":321,"function":"start","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/var/www/nextcloud/apps/dav/lib/Server.php","line":360,"function":"exec","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/var/www/nextcloud/apps/dav/appinfo/v2/remote.php","line":35,"function":"exec","class":"OCA\\DAV\\Server","type":"->"},{"file":"/var/www/nextcloud/remote.php","line":171,"args":["/var/www/nextcloud/apps/dav/appinfo/v2/remote.php"],"function":"require_once"}],"File":"/var/www/nextcloud/apps/dav/lib/Files/FileSearchBackend.php","Line":436,"message":"Epoch doesn't fit in a PHP integer","exception":{},"CustomMessage":"Epoch doesn't fit in a PHP integer"}}
{"reqId":"uofxxxxxxxxxxlRhggSX","level":3,"time":"2022-12-19T23:57:17+01:00","remoteAddr":"xxx.xxx.xxx.xxx","user":"Username3","app":"webdav","method":"SEARCH","url":"/remote.php/dav","message":"Epoch doesn't fit in a PHP integer","userAgent":"Mozilla/5.0 (iOS) Nextcloud-iOS/4.5.7","version":"25.0.2.3","exception":{"Exception":"ValueError","Message":"Epoch doesn't fit in a PHP integer","Code":0,"Trace":[{"file":"/var/www/nextcloud/apps/dav/lib/Files/FileSearchBackend.php","line":436,"function":"getTimestamp","class":"DateTime","type":"->"},{"file":"/var/www/nextcloud/apps/dav/lib/Files/FileSearchBackend.php","line":390,"function":"castValue","class":"OCA\\DAV\\Files\\FileSearchBackend","type":"->"},{"function":"transformSearchOperation","class":"OCA\\DAV\\Files\\FileSearchBackend","type":"->"},{"file":"/var/www/nextcloud/apps/dav/lib/Files/FileSearchBackend.php","line":373,"function":"array_map"},{"function":"transformSearchOperation","class":"OCA\\DAV\\Files\\FileSearchBackend","type":"->"},{"file":"/var/www/nextcloud/apps/dav/lib/Files/FileSearchBackend.php","line":373,"function":"array_map"},{"function":"transformSearchOperation","class":"OCA\\DAV\\Files\\FileSearchBackend","type":"->"},{"file":"/var/www/nextcloud/apps/dav/lib/Files/FileSearchBackend.php","line":373,"function":"array_map"},{"file":"/var/www/nextcloud/apps/dav/lib/Files/FileSearchBackend.php","line":326,"function":"transformSearchOperation","class":"OCA\\DAV\\Files\\FileSearchBackend","type":"->"},{"file":"/var/www/nextcloud/apps/dav/lib/Files/FileSearchBackend.php","line":178,"function":"transformQuery","class":"OCA\\DAV\\Files\\FileSearchBackend","type":"->"},{"file":"/var/www/nextcloud/apps/dav/lib/Files/LazySearchBackend.php","line":63,"function":"search","class":"OCA\\DAV\\Files\\FileSearchBackend","type":"->"},{"file":"/var/www/nextcloud/3rdparty/icewind/searchdav/src/DAV/SearchHandler.php","line":82,"function":"search","class":"OCA\\DAV\\Files\\LazySearchBackend","type":"->"},{"file":"/var/www/nextcloud/3rdparty/icewind/searchdav/src/DAV/SearchPlugin.php","line":119,"function":"handleSearchRequest","class":"SearchDAV\\DAV\\SearchHandler","type":"->"},{"file":"/var/www/nextcloud/3rdparty/sabre/event/lib/WildcardEmitterTrait.php","line":89,"function":"searchHandler","class":"SearchDAV\\DAV\\SearchPlugin","type":"->"},{"file":"/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php","line":472,"function":"emit","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php","line":253,"function":"invokeMethod","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php","line":321,"function":"start","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/var/www/nextcloud/apps/dav/lib/Server.php","line":360,"function":"exec","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/var/www/nextcloud/apps/dav/appinfo/v2/remote.php","line":35,"function":"exec","class":"OCA\\DAV\\Server","type":"->"},{"file":"/var/www/nextcloud/remote.php","line":171,"args":["/var/www/nextcloud/apps/dav/appinfo/v2/remote.php"],"function":"require_once"}],"File":"/var/www/nextcloud/apps/dav/lib/Files/FileSearchBackend.php","Line":436,"message":"Epoch doesn't fit in a PHP integer","exception":{},"CustomMessage":"Epoch doesn't fit in a PHP integer"}}
{"reqId":"0phOxxxxxxxxxxgMb6FX","level":3,"time":"2022-12-19T23:57:33+01:00","remoteAddr":"xxx.xxx.xxx.xxx","user":"Username3","app":"webdav","method":"SEARCH","url":"/remote.php/dav","message":"Epoch doesn't fit in a PHP integer","userAgent":"Mozilla/5.0 (iOS) Nextcloud-iOS/4.5.7","version":"25.0.2.3","exception":{"Exception":"ValueError","Message":"Epoch doesn't fit in a PHP integer","Code":0,"Trace":[{"file":"/var/www/nextcloud/apps/dav/lib/Files/FileSearchBackend.php","line":436,"function":"getTimestamp","class":"DateTime","type":"->"},{"file":"/var/www/nextcloud/apps/dav/lib/Files/FileSearchBackend.php","line":390,"function":"castValue","class":"OCA\\DAV\\Files\\FileSearchBackend","type":"->"},{"function":"transformSearchOperation","class":"OCA\\DAV\\Files\\FileSearchBackend","type":"->"},{"file":"/var/www/nextcloud/apps/dav/lib/Files/FileSearchBackend.php","line":373,"function":"array_map"},{"function":"transformSearchOperation","class":"OCA\\DAV\\Files\\FileSearchBackend","type":"->"},{"file":"/var/www/nextcloud/apps/dav/lib/Files/FileSearchBackend.php","line":373,"function":"array_map"},{"function":"transformSearchOperation","class":"OCA\\DAV\\Files\\FileSearchBackend","type":"->"},{"file":"/var/www/nextcloud/apps/dav/lib/Files/FileSearchBackend.php","line":373,"function":"array_map"},{"file":"/var/www/nextcloud/apps/dav/lib/Files/FileSearchBackend.php","line":326,"function":"transformSearchOperation","class":"OCA\\DAV\\Files\\FileSearchBackend","type":"->"},{"file":"/var/www/nextcloud/apps/dav/lib/Files/FileSearchBackend.php","line":178,"function":"transformQuery","class":"OCA\\DAV\\Files\\FileSearchBackend","type":"->"},{"file":"/var/www/nextcloud/apps/dav/lib/Files/LazySearchBackend.php","line":63,"function":"search","class":"OCA\\DAV\\Files\\FileSearchBackend","type":"->"},{"file":"/var/www/nextcloud/3rdparty/icewind/searchdav/src/DAV/SearchHandler.php","line":82,"function":"search","class":"OCA\\DAV\\Files\\LazySearchBackend","type":"->"},{"file":"/var/www/nextcloud/3rdparty/icewind/searchdav/src/DAV/SearchPlugin.php","line":119,"function":"handleSearchRequest","class":"SearchDAV\\DAV\\SearchHandler","type":"->"},{"file":"/var/www/nextcloud/3rdparty/sabre/event/lib/WildcardEmitterTrait.php","line":89,"function":"searchHandler","class":"SearchDAV\\DAV\\SearchPlugin","type":"->"},{"file":"/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php","line":472,"function":"emit","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php","line":253,"function":"invokeMethod","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php","line":321,"function":"start","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/var/www/nextcloud/apps/dav/lib/Server.php","line":360,"function":"exec","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/var/www/nextcloud/apps/dav/appinfo/v2/remote.php","line":35,"function":"exec","class":"OCA\\DAV\\Server","type":"->"},{"file":"/var/www/nextcloud/remote.php","line":171,"args":["/var/www/nextcloud/apps/dav/appinfo/v2/remote.php"],"function":"require_once"}],"File":"/var/www/nextcloud/apps/dav/lib/Files/FileSearchBackend.php","Line":436,"message":"Epoch doesn't fit in a PHP integer","exception":{},"CustomMessage":"Epoch doesn't fit in a PHP integer"}}
{"reqId":"xDS1xxxxxxxxxx9IKhYX","level":3,"time":"2023-01-01T13:35:03+01:00","remoteAddr":"","user":"--","app":"cron","method":"","url":"/cron.php","message":"Epoch doesn't fit in a PHP integer","userAgent":"--","version":"25.0.2.3","exception":{"Exception":"ValueError","Message":"Epoch doesn't fit in a PHP integer","Code":0,"Trace":[{"file":"/var/www/nextcloud/3rdparty/sabre/vobject/lib/Recur/EventIterator.php","line":363,"function":"getTimestamp","class":"DateTimeImmutable","type":"->"},{"file":"/var/www/nextcloud/apps/dav/lib/CalDAV/Reminder/ReminderService.php","line":527,"function":"next","class":"Sabre\\VObject\\Recur\\EventIterator","type":"->"},{"file":"/var/www/nextcloud/apps/dav/lib/CalDAV/Reminder/ReminderService.php","line":198,"function":"deleteOrProcessNext","class":"OCA\\DAV\\CalDAV\\Reminder\\ReminderService","type":"->"},{"file":"/var/www/nextcloud/apps/dav/lib/BackgroundJob/EventReminderJob.php","line":68,"function":"processReminders","class":"OCA\\DAV\\CalDAV\\Reminder\\ReminderService","type":"->"},{"file":"/var/www/nextcloud/lib/public/BackgroundJob/Job.php","line":78,"function":"run","class":"OCA\\DAV\\BackgroundJob\\EventReminderJob","type":"->"},{"file":"/var/www/nextcloud/lib/public/BackgroundJob/TimedJob.php","line":103,"function":"start","class":"OCP\\BackgroundJob\\Job","type":"->"},{"file":"/var/www/nextcloud/lib/public/BackgroundJob/TimedJob.php","line":93,"function":"start","class":"OCP\\BackgroundJob\\TimedJob","type":"->"},{"file":"/var/www/nextcloud/cron.php","line":152,"function":"execute","class":"OCP\\BackgroundJob\\TimedJob","type":"->"}],"File":"/var/www/nextcloud/3rdparty/sabre/vobject/lib/Recur/EventIterator.php","Line":363,"CustomMessage":"--"}}

Additional info

https://github.com/nextcloud/server/issues/34010#issuecomment-1358527693

kesselb commented 1 year ago

Thanks for your report :+1:

FileSearchBackend.php

https://github.com/nextcloud/server/blob/961dcdd255f3108a642dfe0ede87b1a536f0cef1/apps/dav/lib/Files/FileSearchBackend.php#L436

Guess we need to catch ValueError from getTimestamp (cf. https://github.com/php/php-src/blob/master/ext/date/tests/bug52062.phpt). Dunno if the request (to search something) then works properly.

RRuleIterator

https://github.com/sabre-io/vobject/blob/7b17e07fd87f73e6bae84ae7a47284d2379b6c27/lib/Recur/RRuleIterator.php#L464

Looks similar.

Please patch your local Nextcloud installation and let us and the sabre team know if that works for you.

bcutter commented 1 year ago

Please patch your local Nextcloud installation and let us and the sabre team know if that works for you.

Thx for that quick reaction. Questions on that (answers on a user level please, no dev on this end here 😀):

  1. What files specifically need to be modified?
  2. How to test "if it works"?

Regarding 2: Before creating the issue I tried to reproduce the errors - but couldn't redo the actions e. g. in the NC app (one incident seems to be related to background jobs for calendar events). So I decided to report this anyway as there are a few incidents in the logs.

Best I could do as of now is patch the necessary files and have a look at the log in a few weeks (new incidents?) which is not very efficient unfortunately. I would prefer being able to provoke the errors.