-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update 6.0.4 -> 7.0.1 fails at LDAP mapping tables #10798
Comments
The hex number is a copy of the table on which the schema change will be simulated. @blizzz any idea about this update issue ? |
Could be a dup of #9893 |
Unlike them I actually have a primary key (looks the same before and after the failed update)
Edit: my bad, SQL shows ldap_dn as primary, but it is just unique. That is because the first unique key is handled as primary. Yet alter table ... drop primary key does only work on true primary keys. See also http://bugs.mysql.com/bug.php?id=22520 |
I didn't disable the ldap app in the app page. If I do that, the update works fine, but I cannot enable it again. If I do, owncloud will display |
@fdrtom Is it possible that you changed the permissions of the mysql users? |
duplicate of #9893 -> closing |
I had the same error, when trying to update from 6.0.4.1 from owncloud packages to 7.0.4+dfsg-2 from debian repository. |
Steps to reproduce
Expected behaviour
ownCloud web updater should alter all tables and import its contents
Actual behaviour
The updater terminates unsuccessfully with the error
Of course, that table does not exist. Dropping the LDAP config before the update makes no difference. If I reload and restart the update, the hex string at the end will change, yet I cannot find it in my tables.
Server configuration
Operating system:
Debian jessie
Web server:
apache 2.4
Database:
MySQL 5.5
PHP version:
5.6
ownCloud version: (see ownCloud admin page)
6.0.4
Updated from an older ownCloud or fresh install:
update
List of activated apps:
calendar, files, contacts, documents, ldap and some viewers
The content of config/config.php:
(after failed backup)
Are you using external storage, if yes which one: local/smb/sftp/...
No
Are you using encryption: yes/no
No
Logs
Web server error log
ownCloud log (data/owncloud.log)
The text was updated successfully, but these errors were encountered: