[Eisfair] maria-db client wird von ownCloud und Nextcloud benc3b6tigt

Marcus Roeckrath marcus.roeckrath at gmx.de
Mo Sep 4 15:52:44 CEST 2017


Hallo Benjamin,

Benjamin Heide wrote:

> nach dem Update auf MariaDB55 2.12.1 streiken ownCloud und Nextcloud.
> 
> Error: OWNCLOUD_DB_TYPE='mysql' has been set although no
> MySQL-server/MariaDB-client package could be found!
> security settings
> Warning: OWNCLOUD_SECURITY_HTACCESS_RW='yes' has been set which
> reduces the overall system security!
> Error in configuration, aborting...
> 
> Wie bekomme ich selbiges wieder behoben.

In /etc/check.d/owncloud.ext bzw. /etc/check.d/nextcloud.ext ändere

# MYSQL CHECK
if (owncloud_db_type == "mysql")
then
    stat ("/var/install/packages/mysql", mysql)
    stat ("/var/install/packages/mariadb-client", mariadb)

    if (mysql_res != "OK" && mariadb_res != "OK")
    then
        error "OWNCLOUD_DB_TYPE='mysql' has been set although no
MySQL-server/MariaDB-client package could be found!"

in

# MYSQL CHECK
if (owncloud_db_type == "mysql")
then
    stat ("/usr/bin/mysql", mysql)

    if (mysql_res != "OK")
    then
        error "OWNCLOUD_DB_TYPE='mysql' has been set although no
MySQL-server/MariaDB-client package could be found!"

-- 
Gruss Marcus


Mehr Informationen über die Mailingliste Eisfair