nextcloud / user_migration

This app allows users to easily migrate from one instance to another using an export of their account
https://apps.nextcloud.com/apps/user_migration
GNU Affero General Public License v3.0
16 stars 7 forks source link

Calendar Export : Skipping calendar containing invalid calendar data #784

Open acazenave opened 1 week ago

acazenave commented 1 week ago

How to use GitHub


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 commented 1 week ago

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 commented 1 week ago

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