You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The instalation is stuck on the install index page, with an error from MySql
Error while trying to create admin user: An exception occurred while executing 'CREATE TABLE oc_migrations (app VARCHAR(255) NOT NULL, version VARCHAR(255) NOT NULL, PRIMARY KEY(app, version)) DEFAULT CHARACTER SET utf8 COLLATE utf8_unicode_ci ENGINE = InnoDB':
SQLSTATE[42000]: Syntax error or access violation: 1071 Specified key was too long; max key length is 1000 bytes
Server configuration
Operating system:
Raspbian 8 (Debian 8) Web server:
Apache2 - PHP5 Database:
MySql - On remote server (Zyxel Nas) PHP version:
5 ownCloud version: (see ownCloud admin page)
10 Updated from an older ownCloud or fresh install:
no Where did you install ownCloud from:
i downloaded the zip from owncloud.org
Why are app and version columns so crazy long?! Do we have any other restrictions on app name length? Version is a datetimestring so we can lock that down pretty easily. Won't be fun making another db table key fix migration -.-
So from research this is caused by strict mode being enabled on mysql, which highlights these issues. @DeepDiver1975@PVince81 should we test using this in CI?
@TheWesleyMan CI = Continuous Integration. We use it to automatically test our code changes against a suite of tests. If we ensure strict mode is enabled during the testing we would see these, and potentially other, error messages.
If we consider mysql / mariadb strict mode to be supported officially then it makes sense to add it to CI.
If everything that works in strict mode is also guaranteed to work in non-strict mode then maybe we can only run the tests in strict mode (and no tests in non-strict mode) to save CI time.
Hey, this issue has been closed because the label status/STALE is set and there were no updates for 7 days. Feel free to reopen this issue if you deem it appropriate.
Activity
git-wessel commentedon May 28, 2017
hi @kdslkdsaldsal the hashed password what is standing there isn't what my password is i have removed some bit of it but i'l remove it all.
i'm gonna try an local MySql.
Edit:
@kdslkdsaldsal i haven't found that on git. Thanks for sharing.
PVince81 commentedon May 31, 2017
@DeepDiver1975 @tomneedham another key length issue (oc_migrations)
arymkus commentedon Jun 2, 2017
Same for me (on FreeBSD 10.3)
upgrade log - https://gist.github.com/arymkus/3f186e75f1fb6017dfd9d00939f3c975
mysql is on the same host with owncloud installation.
tomneedham commentedon Jun 5, 2017
Why are app and version columns so crazy long?! Do we have any other restrictions on app name length? Version is a datetimestring so we can lock that down pretty easily. Won't be fun making another db table key fix migration -.-
tomneedham commentedon Jun 5, 2017
So from research this is caused by strict mode being enabled on mysql, which highlights these issues. @DeepDiver1975 @PVince81 should we test using this in CI?
git-wessel commentedon Jun 5, 2017
@tomneedham What is CI?
tomneedham commentedon Jun 5, 2017
@TheWesleyMan CI = Continuous Integration. We use it to automatically test our code changes against a suite of tests. If we ensure strict mode is enabled during the testing we would see these, and potentially other, error messages.
PVince81 commentedon Jun 19, 2017
If we consider mysql / mariadb strict mode to be supported officially then it makes sense to add it to CI.
If everything that works in strict mode is also guaranteed to work in non-strict mode then maybe we can only run the tests in strict mode (and no tests in non-strict mode) to save CI time.
@DeepDiver1975 thoughts ?
ownclouders commentedon Jan 26, 2018
Hey, this issue has been closed because the label
status/STALEis set and there were no updates for 7 days. Feel free to reopen this issue if you deem it appropriate.(This is an automated comment from GitMate.io.)
lock commentedon Jul 31, 2019
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.