-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Installation/upgrade fails on MySQL 5.5 - Index column size too large #8231
Comments
I don't know, try |
mariadb 5.5 compatibility see issue roundcube#8231
I can confirm the update fails on Centos 7.
This happens because there is no way to default to ROW_FORMAT=DYNAMIC in maria DB 5.5. I added ROW_FORMAT=DYNAMIC to the CREATE TABLE in SQL/mysql/2020091000.sql and the upgrade worked smoothly:
Just made a PR #8250 in case you want to merge it... |
I'd need confirmation that it fixes @lpellissier's issue. |
Hi, I am also getting the same error on fresh installation of 1.5.0 version. I am using PHP 5.5 and Mysql 5.5 with following settings in mysql configuration file. innodb_large_prefix=true/ON/1 I also tried setting "innodb_file_per_table=true/ON/1" but the error persists. |
@jameswill did you try adding |
On https://mariadb.com/kb/en/innodb-dynamic-row-format/ I've found two notes:
So, if we force all tables to be |
Hi, Manually changing create table query by adding ROW_FORMAT=DYNAMIC in mysql.initial.sql file resolves the issue. However can you please change in the Roundcube core file because many people are facing this issue and changing file manually isn't feasible option for everyone. Also to work this follwing lines must set in mysql configuration file. innodb_large_prefix=true/ON/1 This should also needs to be added in installation notes. i.e INSTALL file |
Add this one to the above three mysql INI config lines: innodb_default_row_format = dynamic |
Fixed. |
HI, Is there any ETA for 1.5.1 release with the fix ? |
I think it will be in November, most likely the second half. |
Thank you for your help and sorry for the duplicate post - I looked but missed it. Adding the following Server Variables to the bottom of my.cnf solved this. [mysqld] |
For me (CentOS 7, Mariadb 5.5) the solution to update 1.4.11 to 1.5.2 was : 1/ Add to my.cnf :
2/ Alter some Mysql tables :
3/ Finally :
|
Hi,
I can't upgrade RC 1.4.11 to 1.5.0 :
I use CentOS Linux release 7.9.2009 (Core) with MariaDB 5.5.68. As mentioned in UPGRADING doc file I've added these two lines and restarted mariadb service :
I've then cloned again my RoundCube production server to the dev and upgrade it again. The issue is the same.
Regards
The text was updated successfully, but these errors were encountered: