Skip to content
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

Crash on start with An exception occurred while executing 'CREATE table oc_locks_w2g #17

Closed
nconder opened this issue Nov 16, 2017 · 4 comments

Comments

@nconder
Copy link

nconder commented Nov 16, 2017

Please see ticket for details nextcloud/server#7191

@Patt92
Copy link
Owner

Patt92 commented Nov 17, 2017

Please refer to #14
A faulty DB setup can cause this

@Patt92 Patt92 closed this as completed Nov 17, 2017
@nconder
Copy link
Author

nconder commented Nov 17, 2017

Humm, dont think I have a faulty DB setup things run perfectly fine without this app and have been for a very long time without error. If I add the app this error occurs and when I delete it everything is back to normal. Maybe the app has not accounted for something or you can point me to what fault could possible cause this. The user running NextCloud has DB owner permissions and it seem to be this app that is trying to create the table referenced in the error that will not create. Has this been tested with MariaDB?

@Patt92
Copy link
Owner

Patt92 commented Nov 18, 2017

It‘s clearly written in your log entry...

Specified key was too long; max key length is 767 bytes

follow the issue, I replied and change the DB configuration. With a non modded MySQL instance, it would have worked. It‘s caused by the MariaDB default config

@nconder
Copy link
Author

nconder commented Nov 18, 2017

Thanks @Patt92 for taking some time and explaining in a little more detail.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants