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

add some hints for best migration to nextcloud-calendar #777

Closed
DJCrashdummy opened this issue Mar 16, 2018 · 7 comments
Closed

add some hints for best migration to nextcloud-calendar #777

DJCrashdummy opened this issue Mar 16, 2018 · 7 comments
Labels
1. to develop Accepted and waiting to be taken care of bug needs info
Milestone

Comments

@DJCrashdummy
Copy link

DJCrashdummy commented Mar 16, 2018

it is not a big issue, but it could save much time and headache (especially for newbies):

in advance i use nextcloud mainly as sync-server and its webGUI as fallback solution... now i had to move local calendars (with special recurring events and tasks) into the cloud and because i was also changing the client, i simply used the import-function within nextcloud, but then the calendar was messed up! 😞 (some events were present with the hint that this recurring-rule is not supported, but some events completely vanished!)

BUT when i create a new calendar in the webGUI, integrate it into the local client and then move the events within the client from the old calendar to the new one, everything is fine (and it seems also in the webGUI)! at least the ics-file downloaded via the webGUI is almost identical to the original ics-file. 😌

i would suggest to include a mini migration-guide resp. hint for a flawless migration in the readme or at least at the wiki (although it seems not to be used that much)...!


Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

@georgehrke
Copy link
Member

i simply used the import-function within nextcloud

What did the import function show you? If events are missing, it probably told you that were where errors while importing.

some events were present with the hint that this recurring-rule is not supported,

This hint is only about editing those rules. They should still be displayed correctly.

@georgehrke georgehrke added 1. to develop Accepted and waiting to be taken care of bug needs info labels Mar 18, 2018
@georgehrke georgehrke added this to the 1.7.0 milestone Mar 18, 2018
@DJCrashdummy
Copy link
Author

DJCrashdummy commented Mar 18, 2018

What did the import function show you?

i tried it with several calendars, and some were imported without any hassle, but the most problematic one kept the "importing-info" for ages (more than 15-20 minutes), although the calendar only contains a handful of entries. but after reloading, the calendar was displayed and seemed to be imported.
i also had a look at the admin-logs, but neither down to the info- nor debug-level, there wasn't even a word about it. (another sign, why i assumed it should have worked.)

This hint is only about editing those rules. They should still be displayed correctly.

yes, this hint is displayed when opening the event, where you may edit it (if supported).
--> this is perfectly fine for me (as long as the event stays untouched, is synced anyway and can be edited with other clients - which all seems to be the case 👍).
whats really problematic is, that some events completely vanished!


BUT i have to admit, i may have mixed some things in order to get everything working:
thinking once again about the whole process and its details, it may be possible, that recurring todos with alarms caused the issues while importing and the vanished entries may be a consequential error. 😕

@georgehrke
Copy link
Member

georgehrke commented Mar 18, 2018

but the most problematic one kept the "importing-info" for ages (more than 15-20 minutes), although the calendar only contains a handful of entries. but after reloading, the calendar was displayed and seemed to be imported.

What are you referring to by importing-info? The progress bar?

whats really problematic is, that some events completely vanished!

Did the import show you some error message that the import failed for a certain number of events?

--> this is perfectly fine for me (as long as the event stays untouched, is synced anyway and can be edited with other clients - which all seems to be the case 👍).

Yes, the recurrence rule is only reset / change if you decide to edit the recurrence setting. Otherwise it stays untouched.


It would be really important to have the javascript error log / browser network log here to find out what kind of errors we are talking about. Otherwise we are simply fumbling in the dark.

@DJCrashdummy
Copy link
Author

What are you referring to by importing-info? The progress bar?

yes and no...:
nextcloud

Did the import show you some error message that the import failed for a certain number of events?

no, not any message at all! neither within the import-function nor in the nextcloud-logs.
as already said, the only "error-indicator" is the stalled import.


It would be really important to have the javascript error log / browser network log here to find out what kind of errors we are talking about.

if you can give me some hints/advise/recourses how i can gather and provide this info (firefox & linux preferred) i'll do it with pleasure.


while retrying i noticed some interesting and irritating behavior:

  • when i try to import the calendar in question, the first existing calendar is selected by default in the import-message (and everything seems fine)
  • when i choose to create a new calendar, also everything seems fine
  • BUT when i change the calendar to an other existing one (an empty and in nextcloud newly created one), in front of the drop-down a small (and a little but cut) exclamation mark shows up with the tool-tip "the file contains objects, which are not compatible with the chosen calendar"
  • and when i change back to the first calendar (which was chosen by default without any notice), the notice stays there!

@DJCrashdummy
Copy link
Author

DJCrashdummy commented Mar 18, 2018

additional i have to say: for sure, importing, editing and processing everything correct and not having to think about anything would be the ideal solution... but as a "quick workaround" i think of a hint - like described in my initial post - in the readme and maybe also in conjunction with this exclamation mark while importing (which is IMHO a kind of misleading), because the calendars seem to support the recurring-rules of the todos, only nextcloud may have problems displaying them?!
--> otherwise my "alternative migration-process" from the initial post wouldn't have worked.

@DJCrashdummy
Copy link
Author

DJCrashdummy commented Mar 18, 2018

and funny once again...
if i import the calendar (with recurring todos and alarms) into an existing calendar in defiance of the described exclamation mark, the import-process does NOT stall and the elements seem to get imported.
to check what didn't work i downloaded the ics-file from the nextcloud webGUI and beside the differences in the "calendar-header" which are present in all calendars from nextcloud, only in the VALARM-section were differences present:
the line TRIGGER;VALUE=DURATION;RELATED=END:PT0S was changed to TRIGGER;RELATED=END:PT0S.

@no-response
Copy link

no-response bot commented Oct 21, 2019

This issue has been automatically closed because there has been no response to our request for more information from the original author. With only the information that is currently in the issue, we don't have enough information to take action. Please reach out if you have or find the answers we need so that we can investigate further.

@no-response no-response bot closed this as completed Oct 21, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
1. to develop Accepted and waiting to be taken care of bug needs info
Projects
None yet
Development

No branches or pull requests

2 participants