All Categories
  • 1st Steps
  • Authentication
  • Branding
  • Changelogs
  • Collaboration
  • Compliance
  • Customization
  • Desktop Client
  • External Storage
  • Frequently Asked Questions
  • Installation
  • Migrations
  • Mobile Clients
  • Nextcloud Context Chat
  • Nextcloud Flow (Windmill integration)
  • Nextcloud Talk
  • Operations
  • Partner Products
  • Roundcubemail
  • Scalability
  • Security
  • Restoring a Personal calendar

    1. First, check if the calendar still exists: SELECT * FROM oc_calendars WHERE principaluri = 'principals/users/<your_user_id>' and uri = 'personal';.
      • If the calendar has been renamed, the following query will rename the calendar: UPDATE oc_calendars SET displayname = 'Personal' WHERE principaluri = 'principals/users/<your_user_id>' and uri = 'personal';
      • If the calendar has a deleted_at timestamp it should be restored from the Trash Bin in the frontend (bottom left of the Calendar app) to trigger the necessary events.
    2. If the calendar has been deleted entirely:
    • The user themselves can create a new calendar with the name 'personal' which will create a calendar with the correct ID
    • The sysadmin can create the calendar via the occ command occ dav:create-calendar userId calendarName.

    The user can rename the calendar. As an example, the user interface may be in German, so the user might prefer the name "Persönlich" for their personal calendar.

    The user can select the calendar as the default calendar for invitations in the Calendar app settings (bottom left of the Calendar app).