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

Sascha Pohl sascha at pohl-bo.de
Di Jan 17 22:00:25 CET 2017


Hallo Juergen,

Am 17.01.2017 um 11:30 schrieb Juergen Edner:

> es handelt sich hier eindeutig um einen Datenbankzugriffsfehler.
> Hast Du eventuell den Parameter OWNCLOUD_DB_HOST gesetzt? Wenn ja,
> auf welchen Wert. Üblicherweise ist ein Setzen dieses Parameters
> bei Zugriff auf einen lokale Datenbank kontraproduktiv.

Bei meinen Versuchen in den letzten Tagen habe ich bei diesem Parameter
alles Mögliche durchprobiert:
localhost, 127.0.0.1, <IP.des.Servers>, FQDN
Es kam aber immer wieder zu dem gleichen Ergebnis.
Bei meinen heutigen Versuchen habe ich das Feld leer gelassen.

> Existiert eine Datei /root/.my.cnf bei Dir die u.a. die folgenden
> Einträge enthält, sodass Du einzig durch Eingabe von z.B.
> '# mysql -e "SHOW DATABASES"' Zugriff und eine Ausgabe erhälst?

Ja, die Datei existiert. Ich weiß nur nicht warum. Ich kann mich nicht
daran erinnern, dass ich diese selbst angelegt hätte. Sie hat das Datum
08.09.2016.

Nachdem ich die Datei gelöscht, MariaDB und Apache neu gestartet habe,
komme ich aber trotzdem nicht weiter.
Die Fehlermeldung sieht jetzt aber etwas anders aus:

Checking configuration file ...

Configuration file was saved as nextcloud.2017-01-17-21-42-03 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 password file could not be found ...
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 ...failed.
an error appeared while checking sql database user!
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

Also noch immer ein Datenbankzugriffsfehler.
Heute wurden noch nicht einmal die leere Datenbank und der
Datenbankbenutzer angelegt.
Alle anderen Anwendungen, die PHP und die Datenbank nutzen,
funktionieren nach wie vor einwandfrei.

Hast du noch weitere Ideen?

> Gruß Jürgen

Grüße,
Sascha


Mehr Informationen über die Mailingliste Eisfair_dev