[Eisfair_dev] [E1] nextcloud 1.1.1 - Fehler bei der Installation

Sascha Pohl sascha at pohl-bo.de
Di Jan 17 01:09:57 CET 2017


Hallo Juergen,

Am 16.01.2017 um 09:04 schrieb Juergen Edner:

> rm - f /var/lib/eisman/info/nextcloud/1.1.1
> 
> Anschließend die Paketdatenbank über "Package administration->
> Update local database" aktualisieren und dann die Installation
> erneut probieren.

damit ist dieser Fehler behoben und ich komme einen Schritt weiter.
Allerdings hakt es dann an einer späteren Stelle noch einmal.
Das Paket wird installiert und die Konfiguration wird aufgerufen.
Anschließend kommt dann aber noch eine Fehlermeldung:

Checking configuration file ...

Configuration file was saved as nextcloud.2017-01-17-00-53-25 in
/etc/backup.d.

Activate configuration now (y/n) [yes]?
nextcloud version: v1.1.1
Database type: mysql
Trusted domain(s): www.pohl-bo.de
Apache2 SSL support: enabled
MySQL PHP support: enabled
MySQL PHP socket: correctly set
MySQL support: enabled
MySQL binary logging: disabled
PHP5 memory limit: >= 32M
PHP5_CCPP memory limit: >= 32M
Redis PHP cache: enabled
Redis support: enabled
Mail support: enabled
copying program files (/var/www/htdocs/nextcloud) ...
initializing nextcloud database ...
checking sql database user ...done.
checking sql database ...done.
granting sql database access ...done.
granting sql database access ...done.
creating logrotate configuration ...
creating cron script ...
checking nextcloud install/upgrade requirements ...
- running install routine ...
The process control (PCNTL) extensions are required in case you want to
interrupt long running commands - see
http://php.net/manual/en/book.pcntl.php
Error while trying to create admin user: Failed to connect to the
database: An exception occured in driver: SQLSTATE[HY000] [2002] No such
file or directory
 ->
- running upgrade routine ...


  [Symfony\Component\Console\Exception\CommandNotFoundException]
  Command "upgrade" is not defined.


The process control (PCNTL) extensions are required in case you want to
interrupt long running commands - see
http://php.net/manual/en/book.pcntl.php
creating nextcloud configuration ...
creating cron job ...
checking nextcloud install/upgrade requirements ...
finished.
Do you want to restart the webserver now (recommended) (y/n) [yes]?
 * Restarting Apache ...

[  OK  ]
Press ENTER to continue
Successfully installed: nextcloud (1.1.1)!
Press ENTER to continue

Nach meinen Recherchen scheint irgendetwas im Zusammenspiel zwischen php
und sql nicht zu funktionieren.
Allerdings finde ich den Fehler nicht.
Es wird eine leere Datenbank erzeugt und es wird auch der
Datenbank-Benutzer angelegt.
phpinfo() sagt mir, MYSQL_SOCKET = /run/mysql/mysql.sock
MariaDB bestätigt mir das gleiche.
Die beteiligten Pakete (apache, php, mariadb) sind alle auf dem
aktuellen Stand, ich habe sie vorsichtshalber auch noch einmal drüber
installiert.
Außerdem funktionieren Wordpress und Roundcube auch problemlos.

Es wäre sehr schön, wenn wir auch hier eine Lösung finden könnten.


> Gruß Jürgen

Grüße,
Sascha


Mehr Informationen über die Mailingliste Eisfair_dev