owncloud / calendar

Calendar app for ownCloud
GNU Affero General Public License v3.0
121 stars 43 forks source link

Calendar not showing at all [datepickerFilter] #771

Open targezed opened 7 years ago

targezed commented 7 years ago

Just did a "bulk" owncloud upgrade and ended with calendar not showing. Datepicker is working fine for example in contacts. Nothing in the webserver logs No access to the database logged by postgres Nothing in the JS console to help either Trying to create a calendar also fails. However sync seems fine with Android CallDav Sync, so looks like a JS problem...

Steps to reproduce

  1. Upgrade 8.2.7 -> 9.0.0 -> 9.0.4 -> 9.1.2 sorry :/

    Expected behaviour

    Calendar to show :)

    Actual behaviour

    calendar

    Server configuration

    Operating system: 10.3-STABLE FreeBSD Web server: Apache/2.4.23 Database: PostgreSQL 9.6.1 PHP version: 5.6.27 Server version: 9.1.2 Calendar version: 1.4.0.0 Updated from an older installed version or fresh install: 8.2.7 -> 9.0.0 -> 9.0.4 -> 9.1.2 Signing status (ownCloud/Nextcloud 9.0 and above): No errors have been found. List of activated apps: Enabled:

    • activity: 2.3.2
    • calendar: true
    • comments: 0.3.0
    • contacts: true
    • dav: 0.2.7
    • federatedfilesharing: 0.3.0
    • federation: 0.1.0
    • files: 1.5.1
    • files_pdfviewer: 0.8.1
    • files_sharing: 0.10.0
    • files_texteditor: 2.1
    • files_trashbin: 0.9.0
    • files_versions: 1.3.0
    • files_videoplayer: 0.9.8
    • firstrunwizard: 1.1
    • gallery: 15.0.0
    • notifications: 0.3.0
    • systemtags: 0.3.0
    • templateeditor: 0.1
    • updatenotification: 0.2.1 Disabled:
    • encryption
    • external
    • files_antivirus
    • files_external
    • provisioning_api
    • user_external
    • user_ldap The content of config/config.php: { "system": { "instanceid": "ocj19u7ggz5o", "passwordsalt": "REMOVED SENSITIVE VALUE", "secret": "REMOVED SENSITIVE VALUE", "trusteddomains": [ "oc.gudul.net" ], "datadirectory": "\/usr\/local\/www\/owncloud\/data", "overwrite.cli.url": "https:\/\/oc.gudul.net", "dbtype": "pgsql", "version": "9.1.2.5", "dbname": "owncloud", "dbhost": "localhost", "dbtableprefix": "oc", "dbuser": "REMOVED SENSITIVE VALUE", "dbpassword": "REMOVED SENSITIVE VALUE", "installed": true, "forcessl": true, "forceSSLforSubdomains": true, "mail_smtpmode": "sendmail", "loglevel": 0, "mail_smtpsecure": "tls", "mail_from_address": "jeff", "mail_domain": "gudul.net", "mail_smtpauthtype": "LOGIN", "mail_smtpauth": 1, "mail_smtphost": "mail.gudul.net", "mail_smtpport": "25", "mail_smtpname": "REMOVED SENSITIVE VALUE", "mail_smtppassword": "REMOVED SENSITIVE VALUE", "maintenance": false, "theme": "", "appstore.experimental.enabled": false, "trashbin_retention_obligation": "auto", "updater.secret": "REMOVED SENSITIVE VALUE", "htaccess.RewriteBase": "\/" }, "apps": { "activity": { "types": "filesystem", "enabled": "yes", "installed_version": "2.3.2" }, "backgroundjob": { "lastjob": "21" }, "calendar": { "types": "", "ocsid": "168707", "signed": "true", "installed_version": "0", "enabled": "yes" }, "comments": { "types": "logging", "enabled": "yes", "installed_version": "0.3.0" }, "contacts": { "types": "", "ocsid": "168708", "enabled": "yes", "installed_version": "0" }, "core": { "installedat": "1432715178.386", "public_files": "files_sharing\/public.php", "public_gallery": "gallery\/public.php", "public_calendar": "calendar\/share.php", "public_caldav": "calendar\/share.php", "public_documents": "documents\/public.php", "repairlegacystoragesdone": "yes", "global_cache_gc_lastrun": "1447784100", "shareapi_default_expire_date": "yes", "backgroundjobs_mode": "cron", "shareapi_allow_public_upload": "no", "shareapi_enabled": "no", "lastupdateResult": "[]", "lastcron": "1480201200", "remote_files": "dav\/appinfo\/v1\/webdav.php", "remote_webdav": "dav\/appinfo\/v1\/webdav.php", "remote_dav": "dav\/appinfo\/v2\/remote.php", "remote_contacts": "dav\/appinfo\/v1\/carddav.php", "remote_carddav": "dav\/appinfo\/v1\/carddav.php", "remote_calendar": "dav\/appinfo\/v1\/caldav.php", "remote_caldav": "dav\/appinfo\/v1\/caldav.php", "public_webdav": "dav\/appinfo\/v1\/publicwebdav.php", "oc.integritycheck.checker": "[]", "updater.secret.created": "1480172206", "lastupdatedat": "1480200508" }, "dav": { "installed_version": "0.2.7", "types": "filesystem", "enabled": "yes" }, "documents": { "installed_version": "0.9.0", "types": "", "ocsid": "168711", "enabled": "no" }, "federatedfilesharing": { "installed_version": "0.3.0", "types": "", "enabled": "yes" }, "federation": { "types": "authentication", "enabled": "yes", "installed_version": "0.1.0", "autoAddServers": "0" }, "files": { "types": "filesystem", "enabled": "yes", "cronjob_scan_files": "500", "installed_version": "1.5.1" }, "files_locking": { "installed_version": "", "types": "filesystem", "enabled": "no" }, "files_pdfviewer": { "ocsid": "166049", "types": "", "enabled": "yes", "installed_version": "0.8.1" }, "files_sharing": { "types": "filesystem", "enabled": "yes", "outgoing_server2server_share_enabled": "no", "incoming_server2server_share_enabled": "no", "installed_version": "0.10.0" }, "files_texteditor": { "ocsid": "166051", "types": "", "enabled": "yes", "installed_version": "2.1" }, "files_trashbin": { "types": "filesystem", "enabled": "yes", "installed_version": "0.9.0" }, "files_versions": { "types": "filesystem", "enabled": "yes", "installed_version": "1.3.0" }, "files_videoplayer": { "installed_version": "0.9.8", "types": "", "enabled": "yes" }, "files_videoviewer": { "installed_version": "0.1.3", "ocsid": "166054", "types": "", "enabled": "no" }, "firstrunwizard": { "installed_version": "1.1", "ocsid": "166055", "types": "", "enabled": "yes" }, "gallery": { "types": "", "enabled": "yes", "installed_version": "15.0.0" }, "mail": { "installed_version": "0.2.1", "types": "", "ocsid": "169914", "enabled": "no" }, "notifications": { "types": "logging", "enabled": "yes", "installed_version": "0.3.0" }, "provisioning_api": { "installed_version": "0.2", "types": "filesystem", "enabled": "no" }, "systemtags": { "types": "logging", "enabled": "yes", "installed_version": "0.3.0" }, "templateeditor": { "installed_version": "0.1", "types": "", "enabled": "yes" }, "updatenotification": { "installed_version": "0.2.1", "types": "", "enabled": "yes" }, "updater": { "types": "", "installed_version": "0.6", "enabled": "no" } } } Are you using external storage, if yes which one: No Are you using encryption: No Are you using an external user-backend, if yes which one: No

      Client configuration

      Browser: firefox 50.0 / Chrome 54.0.2840.99 m Operating system: windows CalDAV-clients: Android CalDav Sync Adapter

      Logs

      Web server error log

      None

      Log file (data/owncloud.log)

      None

      Browser log

      None

parszab commented 7 years ago

Same issue for me, new install, 9.1.2 - added a new calendar, removed "contact birthdays", don't remember doing anything else -> bamm...

HansRoberto commented 7 years ago

I am also having this problem. Just did the update and it stoped working.

pietervk commented 7 years ago

I also had this exact problem after upgrading to 9.1.2. Don't know if it has something to do with it but the calendar worked again after disabling my AdBlock.

alpha197 commented 7 years ago

Same problem here after upgrading to Owncloud 9.1.2 with newest Calendar and after migration to latest Nextcloud. AdBlock is not installed here.

Same problem is described here: https://github.com/nextcloud/calendar/issues/205 The workaround (re-enabling the sharing option inside Admin) didn´t help on my installation.

landryb commented 7 years ago

re-enabling the sharing app fixed the same issue for me.

JackTyson commented 7 years ago

By enabling the 'Allow apps to access the share API' option from the admin page, the date selector started working again for me too.

IwishIcanFLighT commented 7 years ago

I'm still having this issue. Enabling the 'Allow apps to access the share API' option from the admin page didn't work.

heidlma commented 7 years ago

Enabling the Share-API brought the calendar back to live. Thanks for the hint.

ghost commented 7 years ago

@IwishIcanFLighT The plugin named "Share Files" also needs to be enabled, along with the mentioned option.

Quantentunnel commented 7 years ago

@gregnau Thank you! That was the solution! My installation did also an update of "Share Files".

tflidd commented 7 years ago

Nextcloud has a fix for that: https://github.com/nextcloud/calendar/pull/215

Someone wants to try and backport it?