Skip to content

database log filled with errors: duplicate key value violates unique constraint “oc_systemtag_object_mapping_pkey” #44933

@warlordattack

Description

@warlordattack

Which version of recognize are you using?

latest

Enabled Modes

Object recognition, Face recognition, Video recognition, Music recognition

TensorFlow mode

WASM mode

Downstream App

Memories App

Which Nextcloud version do you have installed?

latest

Which Operating system do you have installed?

ubuntu

Which database are you running Nextcloud on?

postgres

Which Docker container are you using to run Nextcloud? (if applicable)

recommended AIO install

How much RAM does your server have?

16GiB

What processor Architecture does your CPU have?

x86_64

Describe the Bug

ERROR: duplicate key value violates unique constraint “oc_systemtag_object_mapping_pkey”
DETAIL: Key (objecttype, objectid, systemtagid)=(files, 112177, 34) already exists.
CEST [1789] STATEMENT: INSERT INTO “oc_systemtag_object_mapping” (“objectid”, “objecttype”, “systemtagid”) VALUES($1, $2, $3)

Expected Behavior

shold not fill the database log with errors every second

To Reproduce

installed fresh nextcloud via recommended AIO methos on a new Ubuntu proxmox VM,
installed Memories and Recognize
activated auto tagging
dropped few thousands wallpapers there
opened the logs found database log filled with errors and 20Mo size

Debug log

nextcloud-aio-database-2024-04-18T15-05-49.log

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions