nextcloud / nextcloud/user_migration
Calendar Export : Skipping calendar containing invalid calendar data
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 30
- Forks
- 10
- Avg merge
- 6h 5m
- Merged PRs (30d)
- 12
Description
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
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
- Failing to export calendar with error "containing invalid calendar data" : It doesn't explain which data is invalid and why.
- 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.0Contributor 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 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.
Assessment
- Tech stack
- php
- Domain
- backend, cli
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100