Skip to content

Update fails #11017

Closed
Closed

Description

@stkjj

"An exception occurred while executing 'ALTER TABLE oc_oc_lucene_status_53e3921b31428 ADD PRIMARY KEY (fileid)': SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '1' for key 'PRIMARY'"

can't see a db-table oc_oc_lucene_status_53e3921b31428 in phpmyadmin to have a closer look :-o

Activity

  1. karlitschek commented on Sep 11, 2014

    @karlitschek
    Contributor

    @butonic This is fixed, right?

  2. butonic commented on Sep 11, 2014

    @butonic
    Contributor

    yes, in master with 8e2acb1, backported to stable7 with 463ad5a 3h ago. will be in the next release.

    @stkjj try to look into oc_lucene_status, my guess is you have been using owncloud at least since v5.x on sqlite. Please elaborate on your setup when reporting issues. For a workaround just truncate oc_lucene_status and retry the update. Note that that will force a reindex of all files by the full text search app (search_lucene)

  3. added this to the milestone on Sep 11, 2014
  4. self-assigned this
    on Sep 11, 2014
  5. butonic commented on Sep 11, 2014

    @butonic
    Contributor

    closing as duplicate of #10205

  6. locked as resolved and limited conversation to collaborators on Aug 16, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions