Skip to content

[Bug]: Text processing API can only run one task, then throws duplicate key errors #39657

@hamza221

Description

@hamza221

⚠️ This issue respects the following points: ⚠️

Bug description

There's a unique index set on oc_llm_task for status and type columns which blocks the Text Processor to one successful run per type per instance if the row doesn't get deleted after each run
image

image

Steps to reproduce

use OCP API Multiple times with the same Tasks type

Expected behavior

Multiple rows with the same (status,type) can exist

Installation method

Community Docker image

Nextcloud Server version

master

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

No response

List of activated Apps

No response

Nextcloud Signing status

No response

Nextcloud Logs

No response

Additional info

No response

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions