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]: QueryNotFoundException Could not resolve OCA\AppAPI\BackgroundJob\ProvidersAICleanUpJob! Class #481

Open
4 of 8 tasks
k-matti opened this issue Dec 31, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@k-matti
Copy link

k-matti commented Dec 31, 2024

⚠️ This issue respects the following points: ⚠️

Bug description

QueryNotFoundException Could not resolve OCA\AppAPI\BackgroundJob\ProvidersAICleanUpJob! Class "OCA\AppAPI\BackgroundJob\ProvidersAICleanUpJob" does not exist
failed to create instance of background job: OCA\AppAPI\BackgroundJob\ProvidersAICleanUpJob 

Steps to reproduce

  1. Remove AI app
  2. Restart server
  3. See error in log

Expected behavior

No error

Nextcloud Server version

30

Operating system

None

PHP engine version

None

Web server

None

Database engine version

None

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

List of activated Apps

Nextcloud Signing status

Nextcloud Logs

Additional info

No response

@k-matti k-matti added the bug Something isn't working label Dec 31, 2024
@joshtrichards joshtrichards transferred this issue from nextcloud/server Dec 31, 2024
@joshtrichards
Copy link
Member

Hi @k-matti - That's expected behavior unless you're seeing that more than once. After disabling an app, if it hasn't already removed it's background jobs, they get removed at the next run:

https://github.com/nextcloud/server/blob/c5d16712399ba383a8e522d0dbf6c437441be133/lib/private/BackgroundJob/JobList.php#L294-L297

nextcloud/server#37937

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants