Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

An occ groupfolder:scan becomes extremely slow #911

Open
Serial32 opened this issue Apr 22, 2024 · 0 comments
Open

An occ groupfolder:scan becomes extremely slow #911

Serial32 opened this issue Apr 22, 2024 · 0 comments

Comments

@Serial32
Copy link

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) ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants