nextcloud / calendar

📆 Calendar app for Nextcloud
https://apps.nextcloud.com/apps/calendar
GNU Affero General Public License v3.0
984 stars 241 forks source link

Calender Abonement not working #1846

Closed gnilebein closed 4 years ago

gnilebein commented 4 years ago

Steps to reproduce

  1. Add new Abo of Calendar URL http://heusenstamm.mein-abfallkalender.de/ical.ics?sid=24360&cd=attachment&ft=6&fp=next_1000&wids=626,624,625,627,623,629,628&uid=110061&pwid=552dad48ff&cid=91&fn=Mein-Abfallkalender_Stadt_Heusenstamm_Zuk%FCnftige_Termine.ics
  2. Same behaviour with existing calendar abonement

Expected behaviour

Calendar app should show events

Actual behaviour

No events are shown.

Calendar app

Calendar app version: 2.0.0

CalDAV-clients used: None

Client configuration

Browser: Chrome 79.0.3945.117

Operating system: Windows 10

Server configuration

Operating system: Ubuntu 18.04

Web server: Apache

Database: MySQL

PHP version: 7.2.24-0ubuntu0.18.04.2

Nextcloud Version: 18

Updated from an older installed version or fresh install:

List of activated apps:

Enabled:
  - accessibility: 1.4.0
  - apporder: 0.9.0
  - calendar: 2.0.0
  - cloud_federation_api: 1.1.0
  - contacts: 3.1.6
  - dav: 1.14.0
  - federatedfilesharing: 1.8.0
  - files: 1.13.1
  - files_external: 1.9.0
  - files_pdfviewer: 1.7.0
  - files_rightclick: 0.15.2
  - files_sharing: 1.10.1
  - files_trashbin: 1.8.0
  - files_versions: 1.11.0
  - files_videoplayer: 1.7.0
  - logreader: 2.3.0
  - lookup_server_connector: 1.6.0
  - news: 14.1.2
  - notifications: 2.6.0
  - oauth2: 1.6.0
  - password_policy: 1.8.0
  - passwords: 2020.1.0
  - photos: 1.0.0
  - previewgenerator: 2.2.0
  - privacy: 1.2.0
  - provisioning_api: 1.8.0
  - recommendations: 0.6.0
  - richdocuments: 3.5.1
  - serverinfo: 1.8.0
  - settings: 1.0.0
  - support: 1.1.0
  - systemtags: 1.8.0
  - theming: 1.9.0
  - twofactor_backupcodes: 1.7.0
  - twofactor_totp: 4.1.2
  - updatenotification: 1.8.0
  - user_external: 0.8.0
  - viewer: 1.2.0
  - workflowengine: 2.0.0
Disabled:
  - activity
  - admin_audit
  - comments
  - deck
  - encryption
  - federation
  - files_mindmap
  - firstrunwizard
  - mail
  - nextcloud_announcements
  - rainloop
  - sharebymail
  - survey_client
  - text
  - user_ldap

Nextcloud configuration:

{
    "system": {
        "instanceid": "***REMOVED SENSITIVE VALUE***",
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "trusted_domains": [
            "nextcloud.gnilebein.de",
            "www.nextcloud.gnilebein.de"
        ],
        "datadirectory": "***REMOVED SENSITIVE VALUE***",
        "overwrite.cli.url": "https:\/\/nextcloud.gnilebein.de",
        "dbtype": "mysql",
        "version": "18.0.0.10",
        "dbname": "***REMOVED SENSITIVE VALUE***",
        "dbhost": "***REMOVED SENSITIVE VALUE***",
        "dbport": "",
        "dbtableprefix": "oc_",
        "dbuser": "***REMOVED SENSITIVE VALUE***",
        "dbpassword": "***REMOVED SENSITIVE VALUE***",
        "logtimezone": "UTC",
        "installed": true,
        "defaultapp": "rainloop",
        "loglevel": 0,
        "debug": false,
        "appstoreenabled": true,
        "appstore.experimental.enabled": true,
        "maintenance": false,
        "theme": "",
        "remember_login_cookie_lifetime": 2592000,
        "session_lifetime": 604800,
        "session_keepalive": true,
        "trashbin_retention_obligation": "5,14",
        "user_backends": [
            {
                "class": "OC_User_IMAP",
                "arguments": [
                    "server01.gnilebein.de",
                    993,
                    "ssl",
                    ""
                ]
            }
        ],
        "mysql.utf8mb4": true,
        "updater.release.channel": "stable",
        "mail_smtpmode": "smtp",
        "mail_smtpauthtype": "PLAIN",
        "mail_from_address": "***REMOVED SENSITIVE VALUE***",
        "mail_domain": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpauth": 1,
        "mail_smtphost": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpport": "587",
        "mail_smtpname": "***REMOVED SENSITIVE VALUE***",
        "mail_smtppassword": "***REMOVED SENSITIVE VALUE***",
        "memcache.local": "\\OC\\Memcache\\APCu",
        "memcache.distributed": "\\OC\\Memcache\\Redis",
        "redis": {
            "host": "***REMOVED SENSITIVE VALUE***",
            "port": 6379
        },
        "memcache.locking": "\\OC\\Memcache\\Redis",
        "app_install_overwrite": [
            "rainloop"
        ]
    },
    "apps": {
        "Object": {
            "enabled": "no"
        },
        "accessibility": {
            "enabled": "yes",
            "installed_version": "1.4.0",
            "types": ""
        },
        "activity": {
            "enabled": "no",
            "installed_version": "2.5.2",
            "types": "filesystem"
        },
        "apporder": {
            "enabled": "yes",
            "hidden": "[\"\/apps\/rainloop\/\",\"\/apps\/gallery\/\"]",
            "installed_version": "0.9.0",
            "order": "[\"\/apps\/files\/\",\"\/apps\/rainloop\/\",\"\/apps\/contacts\/\",\"\/apps\/calendar\/\",\"\/apps\/news\/\",\"\/apps\/gallery\/\"]",
            "types": ""
        },
        "backgroundjob": {
            "lastjob": "217"
        },
        "bruteforcesettings": {
            "enabled": "no",
            "installed_version": "1.1.0",
            "types": ""
        },
        "calendar": {
            "enabled": "yes",
            "installed_version": "2.0.0",
            "types": ""
        },
        "camerarawpreviews": {
            "enabled": "no",
            "installed_version": "0.7.0",
            "types": "filesystem"
        },
        "checksum": {
            "enabled": "no",
            "installed_version": "0.4.0",
            "types": "filesystem"
        },
        "cloud_federation_api": {
            "enabled": "yes",
            "installed_version": "1.1.0",
            "types": "filesystem"
        },
        "comments": {
            "enabled": "no",
            "installed_version": "1.6.0",
            "types": "logging"
        },
        "contacts": {
            "enabled": "yes",
            "installed_version": "3.1.6",
            "types": ""
        },
        "core": {
            "backgroundjobs_mode": "cron",
            "enterpriseLogoChecked": "yes",
            "installed.bundles": "[\"CoreBundle\"]",
            "installedat": "1482711149.7391",
            "lastcron": "1579392615",
            "lastupdateResult": "[]",
            "lastupdatedat": "1579389767",
            "moveavatarsdone": "yes",
            "oc.integritycheck.checker": "{\"user_external\":{\"INVALID_HASH\":{\"appinfo\\\/info.xml\":{\"expected\":\"06b250c3a2c2ae01c8a2c4b963d6449c99645dca36ee197c3aa513fb7ac3e90e42dc1408ee6957408d85f9f9a973b8983719e9c15125d42211d43f0853c7bf75\",\"current\":\"e5da848ca44b3b60abb1c99a3d26455d78464f94ea1f5f522b07d642096a771dcde9a1a5289e271805292659edc42925a86b5d6ad22ffa98b79ecec5bfed69ff\"},\"lib\\\/smb.php\":{\"expected\":\"283a99667fd865e54423d575953423bc6e15862b7683885cb5675aafdb3b2cbc1400a1318ec81cdbd90ce827c3f839aa6daf6a0f6e3ac6bd2742947498dd14f9\",\"current\":\"1c12005d92f88017564fb4135a532810aab33ffab22eac67c19501a59d213518e417cceb83f5e9ea4b448ea81fff3149da37eefb0100a61bce3140ce67f8decc\"}}}}",
            "previewsCleanedUp": "1",
            "public_files": "files_sharing\/public.php",
            "public_webdav": "dav\/appinfo\/v1\/publicwebdav.php",
            "repairlegacystoragesdone": "yes",
            "scss.variables": "db81cddf52fdb3c8ca1e4c859e214124",
            "shareapi_allow_resharing": "no",
            "shareapi_exclude_groups": "no",
            "shareapi_exclude_groups_list": "[\"\"]",
            "theming.variables": "b92d206521717ac032f8aa58d3c7ff2f",
            "updater.secret.created": "1547738759",
            "vendor": "nextcloud"
        },
        "dashboard": {
            "enabled": "no",
            "installed_version": "4.0.5",
            "types": ""
        },
        "dav": {
            "buildCalendarReminderIndex": "yes",
            "buildCalendarSearchIndex": "yes",
            "chunks_migrated": "1",
            "enabled": "yes",
            "generateBirthdayCalendar": "no",
            "installed_version": "1.14.0",
            "regeneratedBirthdayCalendarsForYearFix": "yes",
            "sendEventRemindersPush": "yes",
            "types": "filesystem"
        },
        "deck": {
            "enabled": "no",
            "installed_version": "0.8.0",
            "types": "dav"
        },
        "direct_menu": {
            "enabled": "no",
            "installed_version": "0.10.2",
            "ocsid": "169148",
            "types": ""
        },
        "drawio": {
            "DrawioLang": "auto",
            "DrawioTheme": "kennedy",
            "DrawioUrl": "https:\/\/www.draw.io",
            "DrawioXml": "yes",
            "enabled": "no",
            "installed_version": "0.9.0",
            "types": "filesystem"
        },
        "event_update_notification": {
            "enabled": "no",
            "installed_version": "1.0.1",
            "types": "logging,dav"
        },
        "federatedfilesharing": {
            "enabled": "yes",
            "installed_version": "1.8.0",
            "types": ""
        },
        "federation": {
            "enabled": "no",
            "installed_version": "1.8.0",
            "types": "authentication"
        },
        "files": {
            "cronjob_scan_files": "500",
            "enabled": "yes",
            "installed_version": "1.13.1",
            "types": "filesystem"
        },
        "files_clipboard": {
            "enabled": "no",
            "installed_version": "0.7.1",
            "types": ""
        },
        "files_external": {
            "allow_user_mounting": "yes",
            "enabled": "yes",
            "installed_version": "1.9.0",
            "types": "filesystem",
            "user_mounting_backends": "ftp,dav,owncloud,sftp,amazons3,dropbox,googledrive,swift,smb,\\OC\\Files\\Storage\\SFTP_Key,\\OC\\Files\\Storage\\SMB_OC"
        },
        "files_mindmap": {
            "enabled": "no",
            "installed_version": "0.0.15",
            "types": ""
        },
        "files_pdfviewer": {
            "enabled": "yes",
            "installed_version": "1.7.0",
            "types": ""
        },
        "files_retention": {
            "enabled": "no",
            "installed_version": "1.2.0",
            "types": "filesystem"
        },
        "files_rightclick": {
            "enabled": "yes",
            "installed_version": "0.15.2",
            "types": ""
        },
        "files_sharing": {
            "enabled": "yes",
            "installed_version": "1.10.1",
            "types": "filesystem"
        },
        "files_texteditor": {
            "enabled": "no",
            "installed_version": "2.8.0",
            "types": ""
        },
        "files_trashbin": {
            "enabled": "yes",
            "installed_version": "1.8.0",
            "types": "filesystem,dav"
        },
        "files_versions": {
            "enabled": "yes",
            "installed_version": "1.11.0",
            "types": "filesystem,dav"
        },
        "files_videoplayer": {
            "enabled": "yes",
            "installed_version": "1.7.0",
            "types": ""
        },
        "firstrunwizard": {
            "enabled": "no",
            "installed_version": "2.6.0",
            "types": "logging"
        },
        "gallery": {
            "enabled": "no",
            "installed_version": "18.4.0",
            "types": ""
        },
        "gpxedit": {
            "enabled": "no",
            "installed_version": "0.0.7",
            "ocsid": "174782",
            "types": ""
        },
        "gpxpod": {
            "enabled": "no",
            "installed_version": "2.2.0",
            "types": ""
        },
        "keeweb": {
            "enabled": "no",
            "installed_version": "0.4.0",
            "types": ""
        },
        "logreader": {
            "enabled": "yes",
            "installed_version": "2.3.0",
            "types": ""
        },
        "lookup_server_connector": {
            "enabled": "yes",
            "installed_version": "1.6.0",
            "types": "authentication"
        },
        "mail": {
            "enabled": "no",
            "installed_version": "1.0.0",
            "types": ""
        },
        "metadata": {
            "enabled": "no",
            "installed_version": "0.7.0",
            "types": ""
        },
        "mindmaps": {
            "enabled": "no",
            "installed_version": "0.1.0",
            "types": ""
        },
        "music": {
            "enabled": "no",
            "installed_version": "0.5.6",
            "ocsid": "164319",
            "types": "filesystem"
        },
        "news": {
            "enabled": "yes",
            "installed_version": "14.1.2",
            "types": ""
        },
        "nextcloud_announcements": {
            "enabled": "no",
            "installed_version": "1.7.0",
            "pub_date": "Thu, 24 Oct 2019 00:00:00 +0200",
            "types": "logging"
        },
        "notifications": {
            "enabled": "yes",
            "installed_version": "2.6.0",
            "types": "logging"
        },
        "oauth2": {
            "enabled": "yes",
            "installed_version": "1.6.0",
            "types": "authentication"
        },
        "passman": {
            "enabled": "no",
            "installed_version": "2.1.4",
            "types": ""
        },
        "password_policy": {
            "enabled": "yes",
            "enforceNumericCharacters": "1",
            "enforceUpperLowerCase": "1",
            "installed_version": "1.8.0",
            "minLength": "13",
            "types": ""
        },
        "passwords": {
            "SSEv1ServerKey": "oF5ef2SX3G\/ZnlQKJeWgFoqqICMDikOFhzWVIvTz+\/BZt4M6pnRg3w8r4nTs0xR6qsq7y4y9Zw7VlU1lhBzkmqEQss\/vFOnP\/PP+03gN3mrMXyJGWOSG\/1HHSO8ttpYO1nz4NzxnI4M8Xh5GIDOLe+aDYpg0g0VZYjNGHrGrIp332mbawD5f2z7CtK4XZRE4DTERALpFvc0GoUarBpR1DLBUj41ai752WT68aF\/3\/awK3Dd8Ie+JdcvIzZCExt3nA\/5zodoq4iE2y1bOEgZ3E+i8O3RltW6qXZEulz6gcKR8Q87Xvpka6AD5je\/MLqJAGMv7Sk+XeMbfScoianbMo+UEByEwuPP9Y9ua77heIObmhoWvjmQGzJqZQIE4EZY3MpT2WJAi2X76gEk4yuKwrAEdShKIUcYWKzRV04HjrylGTICZVhTVWLOxFGOSeZws5wdpMpnxGc6ID9Qfeq0dP87PnFVEJq583NLaGX9GHam90ewsUSaVF1jA1aTFQHmDnQTzPpeFPyTg6smizlT8xDtzd23PxYZyP0jIer3uKzswioHKFKWG24dR9sw242iML4e9Jy4H5zSSIKZRxUIodxMedPkl5L3pJDP\/+RD\/goOeNsU\/4R62qKevMmKezCVbwmj3SYQDFD\/J+3CwddgO7fpUqux0B0L1dBvjUnXuhGRovDYQsi2o\/7qgrm0GkOW2KmisODi7MkZu4rgUhrQrzvFSbUpB20hdnFgNOjzlIKgsx7EwCEGThcAjHXzeNfzawTkpFKBD9LxgnY9oVO4gdZw9gGG0QehwC1A0Ty+px7ye\/9f81wkkQ2xLfzwBtBFOJieNW1OhSF8T6s9tdkZpzJzIHdCetChhETgOlz4qgrbAAn7P\/4F4UFC14FcCzMEvUhpuP12yzIP4nxyp6jFGsKT5TBGwz3PRenZBNscySHYQsQ7qGAdELFqeM\/CcWcce9OO2adtt36SMjdFpxJkq4cOMw5GNrpglUBG3tTznvnNGUCJbtRD8b+kFEXivVZhX",
            "backup\/timestamp": "1564906512",
            "backups\/moved": "yes",
            "deleted_users": "[]",
            "enabled": "yes",
            "installed_version": "2020.1.0",
            "legacy_last_used": "1533302687",
            "migration\/customFields": "2019.7.2",
            "migration\/hibp": "1",
            "passwords\/localdb\/type": "hibp",
            "service\/images": "imagick",
            "survey\/server\/notification": "1571665514",
            "types": "",
            "users\/deleted": "[]"
        },
        "phonetrack": {
            "enabled": "no",
            "installed_version": "0.0.8",
            "types": ""
        },
        "photos": {
            "enabled": "yes",
            "installed_version": "1.0.0",
            "types": ""
        },
        "previewgenerator": {
            "enabled": "yes",
            "installed_version": "2.2.0",
            "types": "filesystem"
        },
        "privacy": {
            "enabled": "yes",
            "installed_version": "1.2.0",
            "types": ""
        },
        "provisioning_api": {
            "enabled": "yes",
            "installed_version": "1.8.0",
            "types": "prevent_group_restriction"
        },
        "qownnotesapi": {
            "enabled": "no",
            "installed_version": "19.9.0",
            "types": ""
        },
        "rainloop": {
            "enabled": "no",
            "installed_version": "6.0.4",
            "rainloop-autologin": "1",
            "types": ""
        },
        "ransomware_detection": {
            "debug": "0",
            "enabled": "no",
            "installed_version": "0.4.1",
            "types": "logging"
        },
        "ransomware_protection": {
            "enabled": "no",
            "installed_version": "1.4.0",
            "types": "logging"
        },
        "recommendations": {
            "enabled": "yes",
            "installed_version": "0.6.0",
            "types": ""
        },
        "richdocuments": {
            "disable_certificate_verification": "yes",
            "doc_format": "odf",
            "enabled": "yes",
            "installed_version": "3.5.1",
            "types": "filesystem,dav,prevent_group_restriction",
            "wopi_url": "https:\/\/office.gnilebein.de"
        },
        "serverinfo": {
            "enabled": "yes",
            "installed_version": "1.8.0",
            "types": ""
        },
        "settings": {
            "enabled": "yes",
            "installed_version": "1.0.0",
            "types": ""
        },
        "sharebymail": {
            "enabled": "no",
            "enforcePasswordProtection": "yes",
            "installed_version": "1.7.0",
            "types": "filesystem"
        },
        "spreed": {
            "enabled": "no",
            "installed_version": "3.1.0",
            "stun_servers": "***REMOVED SENSITIVE VALUE***",
            "types": "prevent_group_restriction"
        },
        "support": {
            "enabled": "yes",
            "installed_version": "1.1.0",
            "types": "session"
        },
        "survey_client": {
            "enabled": "no",
            "installed_version": "1.5.0",
            "types": ""
        },
        "systemtags": {
            "enabled": "yes",
            "installed_version": "1.8.0",
            "types": "logging"
        },
        "tasks": {
            "enabled": "no",
            "installed_version": "0.11.3",
            "ocsid": "164356",
            "types": ""
        },
        "text": {
            "enabled": "no",
            "installed_version": "1.1.1",
            "types": ""
        },
        "theming": {
            "enabled": "yes",
            "installed_version": "1.9.0",
            "types": "logging"
        },
        "twofactor_backupcodes": {
            "enabled": "yes",
            "installed_version": "1.7.0",
            "types": ""
        },
        "twofactor_totp": {
            "enabled": "yes",
            "installed_version": "4.1.2",
            "types": ""
        },
        "updatenotification": {
            "apporder": "0.9.0",
            "bruteforcesettings": "1.1.0",
            "calendar": "2.0.0",
            "camerarawpreviews": "0.7.0",
            "contacts": "3.1.6",
            "core": "17.0.2.1",
            "deck": "0.6.1",
            "direct_menu": "0.10.2",
            "enabled": "yes",
            "event_update_notification": "0.3.4",
            "files_clipboard": "0.7.1",
            "files_mindmap": "0.0.15",
            "files_pdfviewer": "1.2.1",
            "files_rightclick": "0.15.0",
            "installed_version": "1.8.0",
            "keeweb": "0.4.0",
            "news": "14.1.2",
            "passwords": "2020.1.0",
            "previewgenerator": "2.2.0",
            "qownnotesapi": "19.4.0",
            "rainloop": "6.0.4",
            "ransomware_protection": "1.1.2",
            "richdocuments": "3.5.1",
            "tasks": "0.9.7",
            "theming": "1.4.5",
            "twofactor_totp": "4.1.2",
            "types": "",
            "update_check_errors": "0",
            "user_external": "0.8.0"
        },
        "user_external": {
            "enabled": "yes",
            "installed_version": "0.8.0",
            "types": "prelogin,authentication"
        },
        "viewer": {
            "enabled": "yes",
            "installed_version": "1.2.0",
            "types": ""
        },
        "workflowengine": {
            "enabled": "yes",
            "installed_version": "2.0.0",
            "types": "filesystem"
        }
    }
}

Logs

Web server error log (e.g. /var/log/apache)

No errors

Log file (data/nextcloud.log)

{"reqId":"SdRueMZt6KnS2RjlCA1N","level":1,"time":"2020-01-19T00:14:16+00:00","remoteAddr":"217.230.42.147","user":"patrick@gnilebein.de","app":"no app in context","method":"MKCOL","url":"/remote.php/dav/calendars/patrick@gnilebein.de/heusenstammmein-abfallkalenderde","message":"Deprecated event type for \\OCA\\DAV\\CalDAV\\CalDavBackend::createSubscription: Symfony\\Component\\EventDispatcher\\GenericEvent","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.117 Safari/537.36","version":"18.0.0.10"}

Browser log

No Errors
gnilebein commented 4 years ago

The import of the downloaded file works without problems.

georgehrke commented 4 years ago

Duplicate of #1843