Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Calendar Export : Skipping calendar containing invalid calendar data

Open
#784 6 comments 2 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
php
Domain
backend, cli

Research direction

Start by reproducing the issue with php occ user:export USERNAME /tmp/ -t calendar -vvv and compare the command output with a calendar export from the web UI. Trace the calendar export entry point and the validation path responsible for the “invalid calendar data” message. Done means the failing data and reason are identified in the output, and verbose mode provides additional diagnostic detail.

Written by the indexing model from the issue text.

Description

0. Needs triage bug
How to use GitHub
  • Please use the 👍 reaction to show that you are affected by the same issue.
  • Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue.
  • Subscribe to receive notifications on status change and new comments.

Steps to reproduce
  1. php occ user:export USERNAME /tmp/ -t calendar -vvv
    Defaulted container "app" out of: app, web
    Exporting user information in user.json…
    Exporting settings in settings.json…
    Exporting versions in versions.json…
    Exporting calendars into dav/calendars/…
    Skipping calendar "USERNAME" containing invalid calendar data
    Skipping calendar "Anniversaires des contacts" containing invalid calendar data
    Skip non-selected migrator: contacts
    Skip non-selected migrator: trashbin
    Skip non-selected migrator: forms
    Skip non-selected migrator: passwords
    Skip non-selected migrator: account
    Skip non-selected migrator: files
    Export saved in /tmp/USERNAME_2024-10-21_09-27-55.zip
Expected behavior

Calendar should be exported successfully.

Actual behavior
  1. Failing to export calendar with error "containing invalid calendar data" : It doesn't explain which data is invalid and why.
  2. Even with '-vvv' option, log is not more verbose.

The export of this same calendar in web (through the UI in calendar app) works well.

Server configuration

Web server: Nginx

Database: PostgreSQL

PHP version: 8.2.23

Nextcloud version: 28.0.10

List of activated apps - user_migration: 5.0.0
Dominant language
JavaScript
Stars
31
Forks
11
Avg merge
5h 21m
Merged PRs (30d)
12

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from nextcloud/user_migration

All issues in nextcloud/user_migration

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.