Installation auf Plesk Webserver schlägt immer fehl

Installation auf Plesk Webserver schlägt immer fehl

von Philipp Dietmayer -
Anzahl Antworten: 3

Moin.

Ich versuche schon seit stunden Moodle zu installieren, aber egal wie ich es mache es geht nicht.

1. Versuch

Zip Hochladen und entpacken.

Installation starten

Datenbank einrichten

Alles steht auf grün OK

Dann Fehler:

Kernsystem

Fehler beim Schreiben der Datenbank

Weitere Informationen über diesen Fehler

Eine Wiederherstellug ist meist nicht mögllich wenn während der Installation Fehler aufgetreten sind. Erstellen Sie eine neue Datenbank oder wählen Sie einen anderen Tabellenpräfix und veruschen Sie eine neue Installation.

×Debug info: Cannot execute statement: impossible to write to binary log since BINLOG_FORMAT = STATEMENT and at least one table uses a storage engine limited to row-based logging. InnoDB is limited to row-logging when transaction isolation level is READ COMMITTED or READ UNCOMMITTED.
INSERT INTO mdl_message_providers (name,component,capability) VALUES(?,?,?)
[array (
0 => 'notices',
1 => 'moodle',
2 => 'moodle/site:config',
)]
Error code: dmlwriteexception
×Stack trace:
  • line 482 of /lib/dml/moodle_database.php: dml_write_exception thrown
  • line 1178 of /lib/dml/mysqli_native_moodle_database.php: call to moodle_database->query_end()
  • line 1224 of /lib/dml/mysqli_native_moodle_database.php: call to mysqli_native_moodle_database->insert_record_raw()
  • line 296 of /lib/messagelib.php: call to mysqli_native_moodle_database->insert_record()
  • line 1636 of /lib/upgradelib.php: call to message_update_providers()
  • line 275 of /admin/index.php: call to install_core()


Installation über Plesk schlägt auch fehl.

Fehler: Bei der Installation der Anwendung ist folgender Fehler aufgetreten: 

Die Installation von moodle unter ******* ist fehlgeschlagen. Non-zero exit status returned by script. Output stream: 'Database transaction aborted automatically in /var/www/vhosts/******
Default exception handler: Error writing to database Debug: Cannot execute statement: impossible to write to binary log since BINLOG_FORMAT = STATEMENT and at least one table uses a storage engine limited to row-based logging. InnoDB is limited to row-logging when transaction isolation level is READ COMMITTED or READ UNCOMMITTED.
INSERT INTO message_providers (name,component,capability) VALUES(?,?,?)
[array (
  0 => 'notices',
  1 => 'moodle',
  2 => 'moodle/site:config',
)]
Error code: dmlwriteexception
* line 482 of /lib/dml/moodle_database.php: dml_write_exception thrown
* line 1178 of /lib/dml/mysqli_native_moodle_database.php: call to moodle_database->query_end()
* line 1224 of /lib/dml/mysqli_native_moodle_database.php: call to mysqli_native_moodle_database->insert_record_raw()
* line 296 of /lib/messagelib.php: call to mysqli_native_moodle_database->insert_record()
* line 1636 of /lib/upgradelib.php: call to message_update_providers()
* line 481 of /lib/installlib.php: call to install_core()
* line 810 of /admin/cli/install.php: call to install_cli_database()
* line 115 of /opt/psa/var/apspackages/apscatalogwQStrC.zip5eb18e17-cb2b-84/cache/scripts/configure: call to require()

Exception ignored in shutdown function 'upgrade_finished_handler':Error writing to database
'. Error stream: 'Database transaction aborted automatically in /var/www/vhosts/******
Default exception handler: Error writing to database Debug: Cannot execute statement: impossible to write to binary log since BINLOG_FORMAT = STATEMENT and at least one table uses a storage engine limited to row-based logging. InnoDB is limited to row-logging when transaction isolation level is READ COMMITTED or READ UNCOMMITTED.
INSERT INTO message_providers (name,component,capability) VALUES(?,?,?)
[array (
  0 => 'notices',
  1 => 'moodle',
  2 => 'moodle/site:config',
)]
Error code: dmlwriteexception
* line 482 of /lib/dml/moodle_database.php: dml_write_exception thrown
* line 1178 of /lib/dml/mysqli_native_moodle_database.php: call to moodle_database->query_end()
* line 1224 of /lib/dml/mysqli_native_moodle_database.php: call to mysqli_native_moodle_database->insert_record_raw()
* line 296 of /lib/messagelib.php: call to mysqli_native_moodle_database->insert_record()
* line 1636 of /lib/upgradelib.php: call to message_update_providers()
* line 481 of /lib/installlib.php: call to install_core()
* line 810 of /admin/cli/install.php: call to install_cli_database()
* line 115 of /opt/psa/var/apspackages/apscatalogwQStrC.zip5eb18e17-cb2b-84/cache/scripts/configure: call to require()

Exception ignored in shutdown function 'upgrade_finished_handler':Error writing to database
'.



Ich habe vollen root zugriff auf den Server.

Datenbank ist eine MariaDB 10.1.21


Könnt ihr mir da helfen??

Mittelwert:  -
Als Antwort auf Philipp Dietmayer

Re: Installation auf Plesk Webserver schlägt immer fehl

von Andreas Grabs -
Nutzerbild von Besonders aktive Moodler Nutzerbild von Entwickler

Hallo Philipp,

du musst das binary logging deaktivieren.

Dazu musst du schauen, wo die Konfigurationsdatei "my.cnf" für MariaDB liegt (vermutlich irgendwo unter /etc). Hier suchst du die Zeile:

log-bin=mysql-bin

Diese Zeile kommentierst du aus indem du einen Hashtag davor setzt.

# log-bin=mysql-bin

Anschließend musst du den MariaDB-Service neu starten.

Viele Grüße
Andreas

Als Antwort auf Andreas Grabs

Re: Installation auf Plesk Webserver schlägt immer fehl

von Philipp Dietmayer -

Super vielen Dank.

bei mir heißt das zwar etwas anders, aber es funktioniert.

Was so eine kleine zeile alles ausmacht ist der Hammer.


Danke Danke Danke

Als Antwort auf Philipp Dietmayer

Re: Installation auf Plesk Webserver schlägt immer fehl

von Andreas Grabs -
Nutzerbild von Besonders aktive Moodler Nutzerbild von Entwickler

Hallo Philipp,

kannst du kurz noch schreiben, wie die Zeile bei dir lautet?

Viele Grüße
Andreas