Skip to content

Issue while upgrading from 5 to 7  #10205

Closed

Description

@dhootha

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

The update was unsuccessful.Please report this issue to the ownCloud community.

Activity

  1. karlitschek commented on Aug 6, 2014

    @karlitschek
    Contributor

    @butonic Can you please have a look?

  2. DeepDiver1975 commented on Aug 6, 2014

    @DeepDiver1975
    Contributor

    Issue while upgrading from 5 to 7

    please perform proper upgrades - first upgrade to the latest 5.0.x and then to the latest 6.0.x and finally to 7.0.1 - THX

  3. butonic commented on Aug 6, 2014

    @butonic
    Contributor

    will be fixed when search_lucene master is backported to stable7.

  4. added this to the milestone on Aug 9, 2014
  5. self-assigned this
    on Aug 9, 2014
  6. kralleman commented on Aug 10, 2014

    @kralleman

    I performed a similar upgrade (5.x to 7.01) and got a similar error with the oc_lucene_status table. The error I got was "An exception occurred while executing 'INSERT INTO oc_lucene_status ...."

    I followed the instructions in this comment #6152 (comment) and after that I was able to perform the upgrade. As I already had version 0.5.0 installed of search_lucene I did not have to change that entry in the DB. Note that that relates to upgrading from 5 to 6 and that it has been closed.

  7. modified the milestones: , on Sep 2, 2014
  8. 19 remaining items

  9. modified the milestones: , 2014-sprint-06 on Oct 27, 2014
  10. modified the milestones: , 2014-sprint-07 on Nov 10, 2014
  11. MorrisJobke commented on Nov 24, 2014

    @MorrisJobke
    Contributor

    @butonic Can this be closed?

  12. butonic commented on Nov 24, 2014

    @butonic
    Contributor

    No, because the above mentioned search_lucene PR still needs a second review. @PVince81 tried to reproduce the issue, but it seems my reproduction steps were not clear enough.

    Am 24. November 2014 09:11:00 MEZ, schrieb Morris Jobke [email protected]:

    @butonic Can this be closed?


    Reply to this email directly or view it on GitHub:
    #10205 (comment)

    Diese Nachricht wurde von meinem Android-Mobiltelefon mit K-9 Mail gesendet.

  13. PVince81 commented on Nov 24, 2014

    @PVince81
    Contributor

    Also based on the new backport policy, is this a safe backport ? CC @karlitschek @jnfrmarks @craigpg
    Is there a way to only backport the actual bugfix ?

  14. butonic commented on Nov 24, 2014

    @butonic
    Contributor

    I opened the PR to make search_lucene v0.6 available in OC7. It contains a lot of bug fixes and is in large parts a refactoring to use as much as possible of the public apps API. No individual backport possible.

    Am 24. November 2014 10:22:25 MEZ, schrieb Vincent Petry [email protected]:

    Also based on the new backport policy, is this a safe backport ? CC
    @karlitschek @jnfrmarks @craigpg
    Is there a way to only backport the actual bugfix ?


    Reply to this email directly or view it on GitHub:
    #10205 (comment)

    Diese Nachricht wurde von meinem Android-Mobiltelefon mit K-9 Mail gesendet.

  15. karlitschek commented on Nov 24, 2014

    @karlitschek
    Contributor

    Hmmm. The idea is to only backport selected bugfixes and not big refactoring that can introduce new problems. 👎 I guess the code has to wait for 8

  16. butonic commented on Nov 24, 2014

    @butonic
    Contributor

    Yes, I can agree to that. keep in mind that master will be used for OC8 and may need another round of migration testing then. Closing as search_luene master is fixed.

  17. butonic commented on Nov 26, 2014

    @butonic
    Contributor

    actually, owncloud-archive/search_lucene@47d68f7 which is in stable7 should have fixed this.

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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions