[Eisfair] Problem Owncloud und externer SQL-Server

M. Weidig mw at temeno.de
Mi Mai 2 14:59:21 CEST 2018


Am 02.05.2018 um 13:45 schrieb Marcus Roeckrath:
> Hallo Mirco,
> 
> M. Weidig schrieb am Wed, 02 May 2018 11:44
>> ist es nicht mehr möglich die Owncloud Datenbank auf einem
>> externen
>> Server abzulegen?
>>
>> Bei der Konfiguration kommt folgende Meldung obwohl eigentlich alle
>> Abhängigkeiten erfüllt sind.
>>
>> Checking configuration file ...
>>
>> Error: OWNCLOUD_DB_TYPE='mysql' has been set although no
>>        MySQL/MariaDB-server/MariaDB-client package could be found!
>> Error: OWNCLOUD_DB_HOST='192.168.5.97:3306' has been set although
>>        /mysql doesn't exist!
>> Error in configuration, aborting...
>> Edit configuration again (y/n) [yes]?
>>
>> Für mich sieht es so aus als ob der Config-Check mir sagen möchte
>> daß
>> das Dienstprogramm mysql nicht vorhanden sei. An der Konsole kann
>> ich
>> jedoch mit mysql aud den externen Server connecten.
>>
>> Liegt hier ein Problem in den Prüfscripten oder fehlen Pakete?
> 
> Ist kein mariadb/mysql-Serverpaket installiert, ist das Client-Paket zu
> installieren:
> 
> https://www.pack-eis.de/index.php?p=mariadb-client
> 
> Warum bei dir noch ein mysql-Binarie verfügbar ist, kann ich so jetzt
> auch nicht sagen.
> 
> ls -la /var/install/packages/*mysql*
> ls -la /var/install/packages/*mariadb*
> 
Hallo,

es sind folgende Pakete installiert:

# ls -la /var/install/packages/*mysql*
-rw-r--r-- 1 root root 659 Sep  3  2017 /var/install/packages/libmysql
-rw-r--r-- 1 root root 704 Sep  2  2017 /var/install/packages/mysql-common
# ls -la /var/install/packages/*mariadb*
-rw-r--r-- 1 root root 1075 Sep  3  2017 /var/install/packages/mariadb100

von dem her sollte doch eigentlich alles vorhanden sein was zum Zugriff
auf einen externen SQL-Server notwendig ist.

Ich habe die Sache auch schon ohne installierten mariadb100 und dafür
installierten mariadb-client probiert. Auch da konnte auf der Konsole
auf den SQL-Server zugegriffen werden. Nach Abschluss der Konfiguration
kommt dann folgende Meldung:

Edit owncloud services configuration

There is no configuration editor for the 'eisfair' console configured
on your system. Alternatively you can edit the configuration manually
using editor /usr/bin/mcedit .

Continue (y/n) [yes]?

Checking configuration file ...

Warning: OWNCLOUD_APPS_1_DIR='/var/www/htdocs/owncloud/apps2' has been
         set although the directory does not exist!
Configuration file was saved as owncloud.2018-05-02-14-54-20 in
/etc/backup.d.

Activate configuration now (y/n) [yes]? y
owncloud version: v1.6.3
Database type  : mysql (mariadb-client)
Database server: 192.168.5.97:3306
Trusted domain(s): 192.168.X.XXX XXXXXXX.net
Apache2 SSL support: enabled
MySQL PHP support: enabled
/var/install/config.d/owncloud.sh: line 661: [: argument expected
MySQL support: not installed
PHP-WEB memory limit: >= 32M
PHP-CLI memory limit: >= 32M
PHP-CLI configuration access: possible
pre-requisites not met, fix it and re-run configuration!
Press ENTER to continue

# ls -la /var/install/packages/*mariadb*
-rw-r--r-- 1 root root 690 Sep  3  2017 /var/install/packages/mariadb-client

MfG
Mirco



---
Diese E-Mail wurde von Avast Antivirus-Software auf Viren geprüft.
https://www.avast.com/antivirus



Mehr Informationen über die Mailingliste Eisfair