Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps - Status | Demo | Docs | Install
  1. Cloudron Forum
  2. Nextcloud
  3. Nextcloud Tasks/Calendar: Hidden limit of 30 calendars causes "unable to create the list" error

Nextcloud Tasks/Calendar: Hidden limit of 30 calendars causes "unable to create the list" error

Scheduled Pinned Locked Moved Nextcloud
1 Posts 1 Posters 13 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • marcusquinnM Offline
    marcusquinnM Offline
    marcusquinn
    wrote last edited by marcusquinn
    #1

    Problem

    When using the Nextcloud Tasks app, attempting to create a new task list fails with: "An error occurred, unable to create the list."

    Creating tasks via Apple Reminders (CalDAV sync) also silently fails — new lists simply disappear.

    Deleting existing task lists and emptying the trash temporarily fixes the issue, but it returns once you have enough lists again.

    Root Cause

    Nextcloud 32.x introduced a RateLimitingPlugin in the DAV app (apps/dav/lib/CalDAV/Security/RateLimitingPlugin.php) that enforces a hard limit of 30 calendars + subscriptions per user via the dav.maximumCalendarsSubscriptions app config setting (default: 30).

    Two issues with this limit:

    1. The default of 30 is too low for users who use the Tasks app heavily (e.g., project management with one task list per project). Each task list is a CalDAV calendar, so 28 project lists + a personal calendar + a birthday calendar = 30 = limit reached.
    2. Trashed calendars count toward the limit. The getCalendarsForUserCount() method in CalDavBackend.php has no deleted_at filter, so calendars in the trash still count. This is arguably a bug — trashed items shouldn't block creation of new ones.

    There's also a rate limit of 10 calendar creations per hour (dav.rateLimitCalendarCreation), which can be hit when setting up multiple projects.

    Fix

    Increase the calendar+subscription limit (default: 30)

    occ config:app:set dav maximumCalendarsSubscriptions --value=999

    Or disable the limit entirely

    occ config:app:set dav maximumCalendarsSubscriptions --value=-1

    Optionally increase the rate limit (default: 10 per hour)

    occ config:app:set dav rateLimitCalendarCreation --value=50
    Suggestion for Cloudron
    Consider either:

    • Increasing the default maximumCalendarsSubscriptions to 999 in the Cloudron Nextcloud package's start.sh
    • Or documenting this limit in the Cloudron Nextcloud docs
      The error message from the Tasks app ("An error occurred, unable to create the list") gives no indication that a calendar limit has been reached, making this very difficult to diagnose.

    Environment: Cloudron Nextcloud package 5.6.7 (Nextcloud 32.0.6), Tasks app 0.17.1

    Web Design & Development: https://www.evergreen.je
    Technology & Apps: https://www.marcusquinn.com

    1 Reply Last reply
    1

    Hello! It looks like you're interested in this conversation, but you don't have an account yet.

    Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

    With your input, this post could be even better 💗

    Register Login
    Reply
    • Reply as topic
    Log in to reply
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes


    • Login

    • Don't have an account? Register

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Bookmarks
    • Search