Skip to content

docs: replace removed updateAttributesInterval with current LDAP sync behavior#14941

Open
skjnldsv wants to merge 1 commit into
masterfrom
fix/ldap-remove-updateAttributesInterval-docs
Open

docs: replace removed updateAttributesInterval with current LDAP sync behavior#14941
skjnldsv wants to merge 1 commit into
masterfrom
fix/ldap-remove-updateAttributesInterval-docs

Conversation

@skjnldsv
Copy link
Copy Markdown
Member

☑️ Resolves

What changed and why

The updateAttributesInterval occ config key was removed in Nextcloud 20 via
RemoveRefreshTime migration (nextcloud/server#22583). The section in the
LDAP docs was still documenting this removed parameter and its occ command.

The background sync interval is now auto-calculated in Jobs/Sync.php:

  • Goal: process every mapped user approximately once per day
  • Formula: 24h / (mappedUsers / minPagingSize)
  • Clamped to 30 minutes (min) – 12 hours (max)
  • Recalculated automatically after each background run

The "Attribute update interval" section is replaced with a short "Background
sync interval" section describing the current behavior. The occ command
referencing the removed config key is removed.

🖼️ Screenshots

Text-only change, no screenshots needed.

✅ Checklist

  • I have built the documentation locally and reviewed the output
  • Screenshots are included for visual changes (N/A)
  • I have not moved or renamed pages (or added a redirect if I did)
  • I have run codespell or similar and addressed any spelling issues

…vior

The updateAttributesInterval occ config key was removed in NC20 via
the RemoveRefreshTime migration (nextcloud/server#22583). The background
sync interval is now auto-calculated in Jobs/Sync.php based on the number
of mapped users and the minimum paging size, clamped to 30 min–12 h,
targeting one full sync per day.

Replace the stale "Attribute update interval" section (which still
referenced the removed occ command) with an accurate description of
the current auto-calculated behavior.

Fixes #11088

Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
@skjnldsv
Copy link
Copy Markdown
Member Author

/backport to stable33

@skjnldsv
Copy link
Copy Markdown
Member Author

/backport to stable32

@skjnldsv
Copy link
Copy Markdown
Member Author

/backport to stable34

@github-actions
Copy link
Copy Markdown
Contributor

📖 Documentation Preview

🔍 Open preview →

📄 1 changed documentation page

Last updated: Wed, 20 May 2026 05:59:10 GMT

@szaimen szaimen removed their request for review May 20, 2026 08:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

LDAP docs reference no longer used updateAttributesInterval parameter

1 participant