nextcloud / nextcloud/calendar
Calendar does not start
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 1.2k
- Forks
- 332
- Avg merge
- 16h 13m
- Merged PRs (30d)
- 137
Description
Steps to reproduce
- Click calendar on toolbar
Expected behavior
Calendar starts, existing events are displayed and new events can be created.
Actual behaviour
- No entries in calendar
- The little circle icon next to each calendar in the sidebar spins for ages (eventually stops)
- Adding an entry pops the new event dialog but no entry is added.
- Error in JS console
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.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the reported TypeError in calendars.js:909 and the related call path through calendarObjects.js:396, using the browser log and issue 4921 for context. Reproduce the failure with Calendar 3.2.0 and verify that calendars load, existing events appear, and newly created events are added without the error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100