Change calendar owner

I’ve searched for a proper, clean answer to this question, but I come up empty handed: is there a way to change a calendar owner or claim ownership of a shared calendar ? Exporting a calendar and re-importing it is tedious and not reliable.

If you have access to the database you can change the value principaluri in table [PREFIX]calendars of the nextcloud database to the desired users principaluri.
If you don‘t know what the principaluri of that user should be: look it up in that table from a calendar owned by that user.

EDIT (25.02.2021): I think a much better way is to transfer the ownership of a calendar with the occ command:

That’s what I had gathered through reading the doc. It did the trick for me and I thank you for chiming in.
Cheers !

1 Like