Skip to content

Error upgrading to  #10033

Description

@carboneater

I tried to upgrade from owncloud 6.0.4.1 to owncloud 7
Update always fails with the same error message:

An exception occurred while executing 'ALTER TABLE oc_oc_ldap_user_mapping_c590aed7a1e5d DROP PRIMARY KEY': SQLSTATE[42000]: Syntax error or access violation: 1091 Can't DROP 'PRIMARY'; check that column/key exists

The only difference I get in the failed calls are the code after the last underscore in the table name.
Looking at my DB, I see a table oc_ldap_user_mapping.
I tried zeroing on the cause of the error, but no luck yet.
Anyone knows where I should look in the code to fix the table name in the system calls?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions