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

[Bug]: GenerateMetadataJob hang if folder/file already missing but still in filecache #45022

Open
5 of 8 tasks
twu2 opened this issue Apr 25, 2024 · 0 comments
Open
5 of 8 tasks
Labels
0. Needs triage Pending check for reproducibility or if it fits our roadmap 29-feedback bug

Comments

@twu2
Copy link

twu2 commented Apr 25, 2024

⚠️ This issue respects the following points: ⚠️

Bug description

GenerateMetadataJob hang if folder/file already missing but still in filecache

Steps to reproduce

  1. create a new user
  2. login, let nextcloud create the user home folder, then logout
  3. remove the home folder from filesystem
  4. run 'occ maintenance:repair' to create GenerateMetadataJob
  5. run 'occ background-job:execute --force-execute xxxx' for GenerateMetadataJob's job id
  6. the above command will hang when processing the new user's file => 'Business model canvas.odg'

Expected behavior

bypass all missing folders/files, don't hang the job.

Installation method

Community Manual installation with Archive

Nextcloud Server version

29

Operating system

Debian/Ubuntu

PHP engine version

PHP 8.3

Web server

Nginx

Database engine version

MariaDB

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

None

Are you using the Nextcloud Server Encryption module?

None

What user-backends are you using?

  • Default user-backend (database)
  • LDAP/ Active Directory
  • SSO - SAML
  • Other

Configuration report

No response

List of activated Apps

No response

Nextcloud Signing status

No response

Nextcloud Logs

No response

Additional info

IMAP user-backend

@twu2 twu2 added 0. Needs triage Pending check for reproducibility or if it fits our roadmap bug labels Apr 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0. Needs triage Pending check for reproducibility or if it fits our roadmap 29-feedback bug
Projects
None yet
Development

No branches or pull requests

2 participants