Skip to content

An occ groupfolder:scan becomes extremely slow #911

Open
@Serial32

Description

Steps to reproduce

  1. Enable "Files automated tagging" Plugin
  2. Scan a groupfolder (for example occ groupfolder:scan 84)

Expected behaviour

The group folder is 23GB in size. If the plugin is deactivated, a scan only takes a few seconds.

occ groupfolder:scan 84
+-----------+---------+-------+--------------+
| Folder Id | Folders | Files | Elapsed time |
+-----------+---------+-------+--------------+
| 84 | 6202 | 39486 | 00:00:26 |
+-----------+---------+-------+--------------+

Actual behaviour

If the plugin is activated, the scan takes over 11 minutes, although the same content is scanned.

occ groupfolder:scan 84
+-----------+---------+-------+--------------+
| Folder Id | Folders | Files | Elapsed time |
+-----------+---------+-------+--------------+
| 84 | 6202 | 39486 | 00:11:46 |
+-----------+---------+-------+--------------+

Server configuration

Operating system: Ubuntu 20.04.6 LTS

Web server: Nginx

Database: MariaDB

PHP version: 8.2.17

Nextcloud version: 28.0.4
Where did you install Nextcloud from:

Signing status:

Login as admin user into your Nextcloud and access
http://example.com/index.php/settings/integrity/failed
paste the results here.

List of activated apps:
Enabled:

  • activity: 2.20.0
  • admin_audit: 1.18.0
  • bruteforcesettings: 2.8.0
  • circles: 28.0.0
  • cloud_federation_api: 1.11.0
  • comments: 1.18.0
  • contacts: 5.5.3
  • contactsinteraction: 1.9.0
  • dav: 1.29.1
  • federatedfilesharing: 1.18.0
  • files: 2.0.0
  • files_lock: 28.0.4
  • files_pdfviewer: 2.9.0
  • files_reminders: 1.1.0
  • files_retention: 1.17.2
  • files_sharing: 1.20.0
  • files_trashbin: 1.18.0
  • files_versions: 1.21.0
  • groupfolders: 16.0.6
  • impersonate: 1.15.0
  • lookup_server_connector: 1.16.0
  • notifications: 2.16.0
  • oauth2: 1.16.3
  • password_policy: 1.18.0
  • photos: 2.4.0
  • privacy: 1.12.0
  • provisioning_api: 1.18.0
  • recommendations: 2.0.0
  • related_resources: 1.3.0
  • richdocuments: 8.3.4
  • serverinfo: 1.18.0
  • settings: 1.10.1
  • sharelisting: 1.2.0
  • systemtags: 1.18.0
  • text: 3.9.1
  • theming: 2.3.0
  • twofactor_backupcodes: 1.17.0
  • updatenotification: 1.18.0
  • user_ldap: 1.19.0
  • user_saml: 6.1.3
  • viewer: 2.2.0
  • workflowengine: 2.10.0

Nextcloud configuration:

If you have access to your command line run e.g.:
sudo -u www-data php occ config:list system
from within your Nextcloud installation folder

or

Insert your config.php content here
Make sure to remove all sensitive content such as passwords. (e.g. database password, passwordsalt, secret, smtp password, …)

Are you using external storage, if yes which one: local/smb/sftp/...

Are you using encryption: no

Are you using an external user-backend, if yes which one: ActiveDirectory

Client configuration

Browser:

Operating system:

Logs

Nextcloud log (data/owncloud.log)

Insert your Nextcloud log here

Browser log

Insert your browser log here, this could for example include:

a) The javascript console log
b) The network log
c) ...

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions