Richard G
Verified User
On 1 of our servers, the newest with MariaDB and Centos 7, we got a lot of errors when updating Roundcube:
I did had a custom config.inc.php for roundcube, but removed it and still have these errors.
Next to that, where is that .htaccess error coming from? I don't have a .htaccess in that location in any of our servers, however, the other (Centos 6.10) servers don't give errors about it.
Also I have:
local-infile=0
i the [mysqld] section of /etc/my.cnf.d/server.cnf which I thought was good. But it's giving this error notice here. Even if I put it in my.cnf where I had it when not using Mariadb but just plain mysql.
How can I fix these errors?
Code:
[root@server22: /usr/local/directadmin/custombuild]# ./build roundcube
[b]/usr/bin/mysqlshow: unknown variable 'local-infile=0'[/b]
Inserting data to mysql and creating database/user for roundcube...
ERROR 1007 (HY000) at line 1: Can't create database 'da_roundcube'; database exists
ERROR 1050 (42S01) at line 8 in file: 'SQL/mysql.initial.sql': Table 'session' already exists
ERROR 1050 (42S01) at line 20 in file: 'SQL/mysql.initial.sql': Table 'users' already exists
ERROR 1050 (42S01) at line 37 in file: 'SQL/mysql.initial.sql': Table 'cache' already exists
ERROR 1050 (42S01) at line 51 in file: 'SQL/mysql.initial.sql': Table 'cache_shared' already exists
ERROR 1050 (42S01) at line 62 in file: 'SQL/mysql.initial.sql': Table 'cache_index' already exists
ERROR 1050 (42S01) at line 77 in file: 'SQL/mysql.initial.sql': Table 'cache_thread' already exists
ERROR 1050 (42S01) at line 91 in file: 'SQL/mysql.initial.sql': Table 'cache_messages' already exists
ERROR 1050 (42S01) at line 107 in file: 'SQL/mysql.initial.sql': Table 'contacts' already exists
ERROR 1050 (42S01) at line 126 in file: 'SQL/mysql.initial.sql': Table 'contactgroups' already exists
ERROR 1050 (42S01) at line 138 in file: 'SQL/mysql.initial.sql': Table 'contactgroupmembers' already exists
ERROR 1050 (42S01) at line 153 in file: 'SQL/mysql.initial.sql': Table 'identities' already exists
ERROR 1050 (42S01) at line 176 in file: 'SQL/mysql.initial.sql': Table 'dictionary' already exists
ERROR 1050 (42S01) at line 189 in file: 'SQL/mysql.initial.sql': Table 'searches' already exists
ERROR 1050 (42S01) at line 204 in file: 'SQL/mysql.initial.sql': Table 'system' already exists
ERROR 1062 (23000) at line 212 in file: 'SQL/mysql.initial.sql': Duplicate entry 'roundcube-version' for key 'PRIMARY'
Database created, da_roundcube password is xxxxxxxxxxxxkx
Editing roundcube configuration...
Installing custom RoundCube Config: /usr/local/directadmin/custombuild/custom/roundcube/config.inc.php
[b]grep: /var/www/html/roundcubemail-1.3.7/.htaccess: No such file or directory[/b]
Roundcube 1.3.7 has been installed successfully.
Executing database schema update.
Indexing contacts for user 1...
Indexing contacts for user 2...
Indexing contacts for user 3...
Indexing contacts for user 4...
Indexing contacts for user 5...
Indexing contacts for user 6...
Indexing contacts for user 7...
Indexing contacts for user 8...
done.
This instance of Roundcube is up-to-date.
Have fun!
I did had a custom config.inc.php for roundcube, but removed it and still have these errors.
Next to that, where is that .htaccess error coming from? I don't have a .htaccess in that location in any of our servers, however, the other (Centos 6.10) servers don't give errors about it.
Also I have:
local-infile=0
i the [mysqld] section of /etc/my.cnf.d/server.cnf which I thought was good. But it's giving this error notice here. Even if I put it in my.cnf where I had it when not using Mariadb but just plain mysql.
How can I fix these errors?