Re: Owncloud - user_ldap fails while upgrading to 7.0.1
On 26.08.2014 21:40, Martin Steigerwald wrote:
Am Dienstag, 26. August 2014, 21:18:30 schrieb Paul Muster:
after upgrading Owncloud from 6.0.3+dfsg-2~bpo70+1 to
7.0.1+dfsg-1~bpo70+1 and pressing "Start update" I get this error:
An exception occurred while executing 'ALTER TABLE
`oc_oc_ldap_user_mapping_765af71f2a59b` DROP PRIMARY KEY':
SQLSTATE[42000]: Syntax error or access violation: 1091 Can't DROP
'PRIMARY'; check that column/key exists
What happened? How to fix it?
Which information can I deliver to enable you analyzing this?
Is this a Backports-specific problem or should it better be discussed on
a) the Debian bug tracking system or b) the normal owncloud-user
mailinglist?
I think this problem has been discussed before. Please check this list.
Do you think about the thread with the subject
"Re: Bug#757549: owncloud: DB-Errors on Migration 6.0.3 to 7.0.0"
? In this thread there was _just an error message but no malfunction_.
In my case the upgrade _stopped_ after the above shown message.
After thinking about the problem I now could finish upgrade by
mv /usr/share/owncloud/apps/ldap_user /usr/share/owncloud/apps/ldap_user#
Now - not surprisingly - authentication for users does not work any
more. When I rename the directory back to "ldap_user" again, every click
in the web interface leads to "Failed to upgrade "user_ldap".".
Thanks for the quick reply & greetings,
Paul
Reply to: