[Eisfair] Owncloud meckert c3bcber zu aktuellem libcurl

Marcus Roeckrath marcus.roeckrath at gmx.de
Fr Okt 23 22:53:50 CEST 2015


Hallo Jürgen,

Juergen Edner wrote:

>>> php-mysql has been enabled ...
>>> php-mysql-socket hasn't been set correctly ...
>>> set PHP5_EXT_MYSQL_SOCKET='/var/lib/mysql/mysql.sock'
>>> /var/install/config.d/owncloud.sh: line 446: [: too many arguments
>>> pre-requisites not met, fix it and re-run configuration!
>>> Press ENTER to continue
>>>
>>> Zeile 446:      if [ ${mysql_active} -eq 0 -a ${mysql_binlog} -eq 0 ]
> 
> nutzt Du das mysql- oder mariadb-Paket?

Er wie ich mariadb; solange man die Konfiguration nicht anrührt, rennt
owncloud auch mit mariadb.

Warum machst Du eine hardcoded-Prüfung auf einen bestimmten Socket.

IMHO wäre folgende Prüfung besser:

if [ $PHP5_EXT_MYSQL_SOCKET ]; then
  if [ -f PHP5_EXT_MYSQL_SOCKET ] ; then 
    socketok
  else
    socketfalse
  fi
fi

> Das aktuell owncloud-Paket wurde für die MariaDB noch nicht angepasst.

Braucht es doch prinzipiell nicht, da mysql und mariadb kompatibel sind.

-- 
Gruss Marcus


Mehr Informationen über die Mailingliste Eisfair