nextcloud / server

☁️ Nextcloud server, a safe home for all your data
https://nextcloud.com
GNU Affero General Public License v3.0
27.15k stars 4.03k forks source link

[Bug]: occ dav:sync-system-addressbook stops after 30000 entries #48722

Open Justinzobel opened 9 hours ago

Justinzobel commented 9 hours ago

⚠️ This issue respects the following points: ⚠️

Bug description

When running the above command, it stops at 30,000 entries.

Discussed here and suggested I open a report on GH. https://help.nextcloud.com/t/occ-dav-sync-system-addressbook-stops-at-30000/206828

Steps to reproduce

  1. Have over 30,000 users
  2. Run the command

Expected behavior

Process continues over all users.

Nextcloud Server version

29

Operating system

Debian/Ubuntu

PHP engine version

PHP 8.1

Web server

Apache (supported)

Database engine version

MariaDB

Is this bug present after an update or on a fresh install?

Upgraded to a MAJOR version (ex. 28 to 29)

Are you using the Nextcloud Server Encryption module?

Encryption is Disabled

What user-backends are you using?

Configuration report

{ "system": { "instanceid": "REMOVED SENSITIVE VALUE", "passwordsalt": "REMOVED SENSITIVE VALUE", "secret": "REMOVED SENSITIVE VALUE", "trusteddomains": [ "REMOVED SENSITIVE VALUE", ], "datadirectory": "REMOVED SENSITIVE VALUE", "dbtype": "mysql", "overwriteprotocol": "https", "version": "29.0.8.1", "overwrite.cli.url": "REMOVED SENSITIVE VALUE", "htaccess.RewriteBase": "\/", "dbname": "REMOVED SENSITIVE VALUE", "skeletondirectory": "", "dbhost": "REMOVED SENSITIVE VALUE", "dbport": "3306", "dbtableprefix": "oc", "mysql.utf8mb4": true, "dbuser": "REMOVED SENSITIVE VALUE", "dbpassword": "REMOVED SENSITIVE VALUE", "installed": true, "memcache.local": "\OC\Memcache\APCu", "memcache.locking": "\OC\Memcache\Redis", "memcache.distributed": "\OC\Memcache\Redis", "redis": { "host": "REMOVED SENSITIVE VALUE", "port": 6379, "dbindex": 0, "timeout": 1.5, "read_timeout": 1.5 }, "check_for_working_wellknown_setup": true, "check_for_working_htaccess": true, "trashbin_retention_obligation": "auto, 1", "ldapIgnoreNamingRules": false, "ldapProviderFactory": "OCA\User_LDAP\LDAPProviderFactory", "maintenance": false, "maintenance_window_start": 5, "integrity.check.disabled": false, "theme": "", "loglevel": 0, "app_install_overwrite": [ "occweb", "calendar" ], "updater.release.channel": "stable", "mail_smtpmode": "smtp", "mail_smtpsecure": "tls", "mail_sendmailmode": "smtp", "mail_from_address": "REMOVED SENSITIVE VALUE", "mail_domain": "REMOVED SENSITIVE VALUE", "mail_smtpauthtype": "LOGIN", "mail_smtpauth": 1, "mail_smtphost": "REMOVED SENSITIVE VALUE", "mail_smtpport": "587", "mail_smtpname": "REMOVED SENSITIVE VALUE", "mail_smtppassword": "REMOVED SENSITIVE VALUE" } }

List of activated Apps

Enabled:

Nextcloud Signing status

No errors have been found.

Nextcloud Logs

No response

Additional info

No response

Justinzobel commented 9 hours ago

If I may suggest a new command occ config:bugreport that does all the above for the user, checks which webservers are installed on the system, which php versions, database servers, checks the signing status, etc and can be done with one command and one paste.

szaimen commented 2 hours ago

If I may suggest a new command occ config:bugreport that does all the above for the user, checks which webservers are installed on the system, which php versions, database servers, checks the signing status, etc and can be done with one command and one paste.

You could try occ support:report

Justinzobel commented 1 hour ago

If I may suggest a new command occ config:bugreport that does all the above for the user, checks which webservers are installed on the system, which php versions, database servers, checks the signing status, etc and can be done with one command and one paste.

You could try occ support:report

If this supplies all the required information for bug reports, that would be good to use in the GitHub issue template.

kesselb commented 7 minutes ago

cc @susnux @miaulalala @ChristophWurst because we were talking about it the other day.