Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Calendar Export : Skipping calendar containing invalid calendar data #784

Open
acazenave opened this issue Oct 21, 2024 · 2 comments
Open
Labels
0. Needs triage Pending approval or rejection bug Something isn't working

Comments

@acazenave
Copy link

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
@acazenave acazenave added 0. Needs triage Pending approval or rejection bug Something isn't working labels Oct 21, 2024
@acazenave
Copy link
Author

I also have this issue when calendar is empty (but that's not really disturbing).
But I also have it for some calendars that are not empty, and log is not verbose enough to make me understand why.

@Pytal
Copy link
Member

Pytal commented Oct 23, 2024

Could you provide the .ics file of the calendar which exports successfully via web but not the command?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0. Needs triage Pending approval or rejection bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants