nextcloud / calendar

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

Calendar does not start #4036

Open the-moog opened 2 years ago

the-moog commented 2 years ago

Steps to reproduce

  1. Click calendar on toolbar

Expected behavior

Calendar starts, existing events are displayed and new events can be created.

Actual behaviour

See note at bottom of this ticket.

In previous Calendar versions it was posible to view the source code and the source of the error. In 3.2.0 the code is in dist.js and minified so unreadable. See related tickets linked in the note at the bottom.

Calendar app version

3.2.0

CalDAV-clients used

none

Browser

Firefox, Edge, Chrome

Client operating system

Win10

Server operating system

Ubuntu Server 18.04

Web server

Apache

Database engine version

PostgreSQL

PHP engine version

PHP 7.4

Nextcloud version

No response

Updated from an older installed version or fresh install

No response

List of activated apps

Enabled:
  - accessibility: 1.9.0
  - activity: 2.15.0
  - admin_audit: 1.13.0
  - bruteforcesettings: 2.3.0
  - calendar: 3.2.0
  - circles: 23.0.1
  - cloud_federation_api: 1.6.0
  - comments: 1.13.0
  - contactsinteraction: 1.4.0
  - dashboard: 7.3.0
  - dav: 1.21.0
  - deck: 1.6.1
  - duplicatefinder: 0.0.13
  - external: 3.10.2
  - federatedfilesharing: 1.13.0
  - federation: 1.13.0
  - files: 1.18.0
  - files_external: 1.15.0
  - files_lock: 20.1.0
  - files_pdfviewer: 2.4.0
  - files_rightclick: 1.2.0
  - files_sharing: 1.15.0
  - files_trashbin: 1.13.0
  - files_versions: 1.16.0
  - files_videoplayer: 1.12.0
  - firstrunwizard: 2.12.0
  - group_everyone: 0.1.9
  - groupfolders: 11.1.2
  - impersonate: 1.10.0
  - logreader: 2.8.0
  - lookup_server_connector: 1.11.0
  - notifications: 2.11.1
  - oauth2: 1.11.0
  - password_policy: 1.13.0
  - photos: 1.5.0
  - privacy: 1.7.0
  - provisioning_api: 1.13.0
  - richdocuments: 5.0.3
  - richdocumentscode: 21.11.204
  - serverinfo: 1.13.0
  - settings: 1.5.0
  - sharebymail: 1.13.0
  - socialsharing_email: 2.4.0
  - support: 1.6.0
  - survey_client: 1.11.0
  - systemtags: 1.13.0
  - text: 3.4.0
  - theming: 1.14.0
  - twofactor_backupcodes: 1.12.0
  - updatenotification: 1.13.0
  - user_status: 1.3.1
  - viewer: 1.7.0
  - weather_status: 1.3.0
  - workflowengine: 2.5.0
Disabled:
  - encryption
  - nextcloud_announcements: 1.7.0
  - recommendations: 0.6.0
  - user_ldap

Nextcloud configuration

{
    "system": {
        "instanceid": "***REMOVED SENSITIVE VALUE***",
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "trusted_domains": [
            "cloud.REDACTED.com"
        ],
        "datadirectory": "***REMOVED SENSITIVE VALUE***",
        "dbtype": "pgsql",
        "version": "23.0.2.1",
        "overwrite.cli.url": "https:\/\/cloud.REDACTED.com",
        "dbname": "***REMOVED SENSITIVE VALUE***",
        "dbhost": "***REMOVED SENSITIVE VALUE***",
        "dbport": "",
        "dbtableprefix": "oc_",
        "dbuser": "***REMOVED SENSITIVE VALUE***",
        "dbpassword": "***REMOVED SENSITIVE VALUE***",
        "installed": true,
        "maintenance": false,
        "memcache.local": "\\OC\\Memcache\\APCu",
        "mail_smtpmode": "sendmail",
        "mail_sendmailmode": "smtp",
        "mail_from_address": "***REMOVED SENSITIVE VALUE***",
        "mail_domain": "***REMOVED SENSITIVE VALUE***",
        "updater.release.channel": "stable",
        "theme": "",
        "loglevel": 2,
        "trashbin_retention_obligation": "auto, 60",
        "default_phone_region": "GB"
    }
}

Web server error log

The only entries in the server error log for the Nextcloud virtualbost are (unsuccessful) hacking attempts and not related to this issue.

Log file

Huge.  Can be provided on request but not published publicly as I don't know if it leaks sensitive information.

Browser log

No OC found index.js:46:12
Proxying an event bus of version 2.1.1 with 1.3.0 index.es.js:2337:14
JQMIGRATE: Migrate is installed, version 3.3.2 jquery-migrate.min.js:2:708
jQuery is deprecated: The global jQuery is deprecated. It will be removed in a later versions without another warning. Please ship your own. globals.js:62:15
$ is deprecated: The global jQuery is deprecated. It will be removed in a later versions without another warning. Please ship your own. globals.js:62:15
jQuery is deprecated: The global jQuery is deprecated. It will be removed in a later versions without another warning. Please ship your own. 2 globals.js:62:15
Content Security Policy: The page's settings blocked the loading of a resource at eval ("script-src"). index.js:13:9
Proxying an event bus of version 2.1.1 with 1.3.0 index.es.js:2337:14
Loading theming data for notification bell styling App.vue:138
$ is deprecated: The global jQuery is deprecated. It will be removed in a later versions without another warning. Please ship your own. globals.js:62:15
Registering notifications container as a menu App.vue:148
$ is deprecated: The global jQuery is deprecated. It will be removed in a later versions without another warning. Please ship your own. 2 globals.js:62:15
Notifications permissions granted App.vue:366
Polling interval updated to 30000 App.vue:326
Started background fetcher as session_keepalive is enabled App.vue:204
Proxying an event bus of version 2.1.1 with 1.3.0 index.es.js:2337:14
Got notification data App.vue:289
Polling interval updated to 30000 App.vue:326
Proxying an event bus of version 2.1.1 with 1.3.0 index.es.js:2337:14
[INFO] calendar: 
Initial settings:
    - AppVersion: 3.2.0
    - EventLimit: true
    - FirstRun: true
    - ShowWeekNumbers: true
    - ShowTasks: true
    - ShowWeekends: true
    - SkipPopover: false
    - SlotDuration: 00:30:00
    - DefaultReminder: -3600
    - TalkEnabled: false
    - TasksEnabled: false
    - Timezone: automatic

Object { app: "calendar", uid: "JM" }
ConsoleLogger.js:33:16
[DEBUG] @nextcloud/vue: Using version 2.2019c of the timezone database 
Object { uid: "JM", app: "@nextcloud/vue" }
ConsoleLogger.js:29:16
@nextcloud/calendar-js app is using version 2.2019c of the timezone database index.esm.js:14165:2
Proxying an event bus of version 2.1.1 with 1.3.0 index.es.js:2337:14
[INFO] calendar: Updated moment locale: en-gb 
Object { app: "calendar", uid: "JM" }
ConsoleLogger.js:33:16
jQuery is deprecated: The global jQuery is deprecated. It will be removed in a later versions without another warning. Please ship your own. 4 globals.js:62:15
session heartbeat polling started session-heartbeat.js:101:9
jQuery is deprecated: The global jQuery is deprecated. It will be removed in a later versions without another warning. Please ship your own. 5 globals.js:62:15
jQuery is deprecated: The global jQuery is deprecated. It will be removed in a later versions without another warning. Please ship your own. 3 globals.js:62:15
jQuery is deprecated: The global jQuery is deprecated. It will be removed in a later versions without another warning. Please ship your own. 180 globals.js:62:15
[DEBUG] unified-search: Unified Search initialized with the following providers 
Object { 0: {…}, 1: {…}, 2: {…}, 3: {…}, 4: {…}, 5: {…}, 6: {…}, 7: {…}, 8: {…}, 9: {…}, … }
ConsoleLogger.js:29:16
[DEBUG] calendar: Current user principal is /remote.php/dav/principals/users/JM/ 
Object { app: "calendar", uid: "JM" }
ConsoleLogger.js:29:16
calendar home scanned 
Array [ {…} ]

Array [ {…} ]
calendars.js:572:32
[DEBUG] calendar: calendars and trash bin loaded 
Object { app: "calendar", uid: "JM", calendars: (1) […], trashBin: {…} }
ConsoleLogger.js:29:16
jQuery is deprecated: The global jQuery is deprecated. It will be removed in a later versions without another warning. Please ship your own. 4 globals.js:62:15
l['{DAV:}resourcetype'] is undefined TypeError: l['{DAV:}resourcetype'] is undefined
    qt dist.js:1
    value dist.js:1
    t dist.js:1
    u dist.js:1
    _invoke dist.js:1
    S dist.js:1
    Ze dist.js:1
    o dist.js:1
    promise callback*Ze dist.js:1
    o dist.js:1
    exports dist.js:1
    exports dist.js:1
    value dist.js:1
    t dist.js:1
    u dist.js:1
    _invoke dist.js:1
    S dist.js:1
    Ze dist.js:1
    o dist.js:1
    exports dist.js:1
    exports dist.js:1
    value dist.js:1
    n calendars.js:911
    u dist.js:1
    _invoke dist.js:1
    S dist.js:1
    pR calendarObjects.js:396
    o calendarObjects.js:396
    AR calendarObjects.js:396
    AR calendarObjects.js:396
    getEventsFromCalendarInTimeRange calendars.js:909
    ke vuex.esm.js:851
    dispatch vuex.esm.js:516
    dispatch vuex.esm.js:406
    n eventSource.js:45
    u dist.js:1
    _invoke dist.js:1
    S dist.js:1
    CD eventSourceFunction.js:162
    o eventSource.js:45
    n eventSource.js:45
    n eventSource.js:45
    events eventSource.js:45
    Tb main.js:4681
    fetch main.js:6455
    ry main.js:6130
    ny main.js:6082
    ey main.js:6065
    ty main.js:6056
    Jb main.js:6014
    _handleAction main.js:7064
    runTask main.js:6888
    drain main.js:6880
    drained main.js:6851
    tryDrain main.js:6833
    request main.js:6794
    request main.js:6866
    resetOptions main.js:7029
    resetOptions main.js:102
    handler FullCalendar.js:61
    VueJS 11
    addCalendar calendars.js:75
    ke vuex.esm.js:844
    commit vuex.esm.js:465
    commit vuex.esm.js:465
    _withCommit vuex.esm.js:623
    commit vuex.esm.js:464
    commit vuex.esm.js:409
    e calendars.js:574
    e calendars.js:574
    u dist.js:1
    _invoke dist.js:1
    S dist.js:1
    pR calendarObjects.js:396
    o calendarObjects.js:396
    promise callback*pR calendarObjects.js:396
    o calendarObjects.js:396
    AR calendarObjects.js:396
    AR calendarObjects.js:396
    loadCollections calendars.js:571
    ke vuex.esm.js:851
    dispatch vuex.esm.js:516
    dispatch vuex.esm.js:406
main.js:6114:17
No new notification data received App.vue:294
Polling interval updated to 30000 App.vue:326

Additional info

Related issue where I have collated other information I could find on this.

https://github.com/nextcloud/calendar/issues/4921

Nitaro209 commented 2 years ago

Same here !

the-moog commented 2 years ago

Bug still present in 3.2.1 release

tcitworld commented 2 years ago

Did you try https://github.com/nextcloud/calendar/issues/3551#issuecomment-951755247 ?

the-moog commented 2 years ago

Did you try #3551 (comment) ?

Already looked at that. For me that table is completely empty. There are no items to delete. (As previously mentioned in https://github.com/nextcloud/calendar/issues/4921)