diff --git a/404.html b/404.html index 04a3b14f5..964138b9f 100644 --- a/404.html +++ b/404.html @@ -741,6 +741,20 @@ +
  • + + Recover crashed Aria storage engine + +
  • + + + + + + + + +
  • Remove Persistent Data diff --git a/b_n_r_accidental_deletion/index.html b/b_n_r_accidental_deletion/index.html index 3c9b2a16c..61f7adda5 100644 --- a/b_n_r_accidental_deletion/index.html +++ b/b_n_r_accidental_deletion/index.html @@ -748,6 +748,20 @@ +
  • + + Recover crashed Aria storage engine + +
  • + + + + + + + + +
  • Remove Persistent Data diff --git a/b_n_r_backup/index.html b/b_n_r_backup/index.html index 1884485d3..e10e9bcff 100644 --- a/b_n_r_backup/index.html +++ b/b_n_r_backup/index.html @@ -748,6 +748,20 @@ +
  • + + Recover crashed Aria storage engine + +
  • + + + + + + + + +
  • Remove Persistent Data diff --git a/b_n_r_restore/index.html b/b_n_r_restore/index.html index 1523f6d38..cfbe3b25a 100644 --- a/b_n_r_restore/index.html +++ b/b_n_r_restore/index.html @@ -748,6 +748,20 @@ +
  • + + Recover crashed Aria storage engine + +
  • + + + + + + + + +
  • Remove Persistent Data diff --git a/client/client-android/index.html b/client/client-android/index.html index 1ad345151..44f2cc49d 100644 --- a/client/client-android/index.html +++ b/client/client-android/index.html @@ -743,6 +743,20 @@ +
  • + + Recover crashed Aria storage engine + +
  • + + + + + + + + +
  • Remove Persistent Data diff --git a/client/client-apple/index.html b/client/client-apple/index.html index bc9e287c7..668981573 100644 --- a/client/client-apple/index.html +++ b/client/client-apple/index.html @@ -748,6 +748,20 @@ +
  • + + Recover crashed Aria storage engine + +
  • + + + + + + + + +
  • Remove Persistent Data diff --git a/client/client-emclient/index.html b/client/client-emclient/index.html index b6ce8d9fc..644feeba2 100644 --- a/client/client-emclient/index.html +++ b/client/client-emclient/index.html @@ -743,6 +743,20 @@ +
  • + + Recover crashed Aria storage engine + +
  • + + + + + + + + +
  • Remove Persistent Data diff --git a/client/client-kontact/index.html b/client/client-kontact/index.html index 1c92a69bc..559b41c3b 100644 --- a/client/client-kontact/index.html +++ b/client/client-kontact/index.html @@ -743,6 +743,20 @@ +
  • + + Recover crashed Aria storage engine + +
  • + + + + + + + + +
  • Remove Persistent Data diff --git a/client/client-manual/index.html b/client/client-manual/index.html index 0d1a8b305..dc7b502aa 100644 --- a/client/client-manual/index.html +++ b/client/client-manual/index.html @@ -748,6 +748,20 @@ +
  • + + Recover crashed Aria storage engine + +
  • + + + + + + + + +
  • Remove Persistent Data diff --git a/client/client-outlook/index.html b/client/client-outlook/index.html index d6d109a36..7ea0c7693 100644 --- a/client/client-outlook/index.html +++ b/client/client-outlook/index.html @@ -748,6 +748,20 @@ +
  • + + Recover crashed Aria storage engine + +
  • + + + + + + + + +
  • Remove Persistent Data diff --git a/client/client-thunderbird/index.html b/client/client-thunderbird/index.html index 82370957c..0ac74014c 100644 --- a/client/client-thunderbird/index.html +++ b/client/client-thunderbird/index.html @@ -748,6 +748,20 @@ +
  • + + Recover crashed Aria storage engine + +
  • + + + + + + + + +
  • Remove Persistent Data diff --git a/client/client-windows/index.html b/client/client-windows/index.html index cf14b5d56..d5d50fcb3 100644 --- a/client/client-windows/index.html +++ b/client/client-windows/index.html @@ -743,6 +743,20 @@ +
  • + + Recover crashed Aria storage engine + +
  • + + + + + + + + +
  • Remove Persistent Data diff --git a/client/client-windowsphone/index.html b/client/client-windowsphone/index.html index 3c529dfe0..45f66e250 100644 --- a/client/client-windowsphone/index.html +++ b/client/client-windowsphone/index.html @@ -743,6 +743,20 @@ +
  • + + Recover crashed Aria storage engine + +
  • + + + + + + + + +
  • Remove Persistent Data diff --git a/client/index.html b/client/index.html index cb1eb4174..160eee9ad 100644 --- a/client/index.html +++ b/client/index.html @@ -743,6 +743,20 @@ +
  • + + Recover crashed Aria storage engine + +
  • + + + + + + + + +
  • Remove Persistent Data diff --git a/debug-admin_login_sogo/index.html b/debug-admin_login_sogo/index.html index 1e8db028b..191726cdb 100644 --- a/debug-admin_login_sogo/index.html +++ b/debug-admin_login_sogo/index.html @@ -800,6 +800,20 @@ +
  • + + Recover crashed Aria storage engine + +
  • + + + + + + + + +
  • Remove Persistent Data diff --git a/debug-asan_rspamd/index.html b/debug-asan_rspamd/index.html index 37ed891fc..0393cd89d 100644 --- a/debug-asan_rspamd/index.html +++ b/debug-asan_rspamd/index.html @@ -753,6 +753,20 @@ +
  • + + Recover crashed Aria storage engine + +
  • + + + + + + + + +
  • Remove Persistent Data diff --git a/debug-attach_service/index.html b/debug-attach_service/index.html index 6e9edc3c5..2d873e130 100644 --- a/debug-attach_service/index.html +++ b/debug-attach_service/index.html @@ -826,6 +826,20 @@ +
  • + + Recover crashed Aria storage engine + +
  • + + + + + + + + +
  • Remove Persistent Data diff --git a/debug-common_problems/index.html b/debug-common_problems/index.html index 67cd62b55..123ad5dfc 100644 --- a/debug-common_problems/index.html +++ b/debug-common_problems/index.html @@ -835,6 +835,20 @@ +
  • + + Recover crashed Aria storage engine + +
  • + + + + + + + + +
  • Remove Persistent Data diff --git a/debug-logs/index.html b/debug-logs/index.html index 15de9981c..9a8b1b047 100644 --- a/debug-logs/index.html +++ b/debug-logs/index.html @@ -753,6 +753,20 @@ +
  • + + Recover crashed Aria storage engine + +
  • + + + + + + + + +
  • Remove Persistent Data diff --git a/debug-mysql_aria/index.html b/debug-mysql_aria/index.html new file mode 100644 index 000000000..267994d38 --- /dev/null +++ b/debug-mysql_aria/index.html @@ -0,0 +1,2380 @@ + + + + + + + + + + + + + + + + + + + Recover crashed Aria storage engine - mailcow: dockerized documentation + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + + + Skip to content + + +
    +
    + +
    + + + +
    + + +
    + +
    + + + + + + +
    +
    + + + +
    +
    +
    + + + + +
    +
    +
    + + + +
    +
    +
    + + +
    +
    +
    + + +
    +
    + + + + + + + +

    Recover crashed Aria storage engine

    + +

    MariaDB: Aria recovery after crash

    +

    If your server crashed and MariaDB logs an error similar to [ERROR] mysqld: Aria recovery failed. Please run aria_chk -r on all Aria tables (*.MAI) and delete all aria_log.######## files you may want to try the following to recover the database to a healthy state:

    +

    Start the stack and wait until mysql-mailcow begins to report a restarting state. Check by running docker-compose ps.

    +

    Now run the following commands:

    +
    # Stop the stack, don't run "down"
    +docker-compose stop
    +# Run a bash in the stopped container as user mysql
    +docker-compose run --rm --entrypoint '/bin/sh -c "gosu mysql bash"' mysql-mailcow
    +# cd to the SQL data directory
    +cd /var/lib/mysql
    +# Run aria_chk
    +aria_chk --check --force */*.MAI
    +# Delete aria log files
    +rm aria_log.*
    +
    +

    Now run docker-compose down followed by docker-compose up -d.

    + + + + + + + +
    +
    +
    + + + + Back to top + + +
    + + + + +
    +
    +
    +
    + + + + + + + + + + \ No newline at end of file diff --git a/debug-mysql_upgrade/index.html b/debug-mysql_upgrade/index.html index 64e8ff68c..856cc2aa9 100644 --- a/debug-mysql_upgrade/index.html +++ b/debug-mysql_upgrade/index.html @@ -786,6 +786,20 @@ +
  • + + Recover crashed Aria storage engine + +
  • + + + + + + + + +
  • Remove Persistent Data @@ -2284,13 +2298,13 @@ exit -
  • + Recover crashed Aria storage engine + +
  • + + + + + + + + +
  • Remove Persistent Data diff --git a/debug-reset_tls/index.html b/debug-reset_tls/index.html index 1bb7b3603..cea81e624 100644 --- a/debug-reset_tls/index.html +++ b/debug-reset_tls/index.html @@ -745,6 +745,20 @@ +
  • + + Recover crashed Aria storage engine + +
  • + + + + + + + + +
  • Remove Persistent Data diff --git a/debug-rm_volumes/index.html b/debug-rm_volumes/index.html index 17e568235..e4ded930e 100644 --- a/debug-rm_volumes/index.html +++ b/debug-rm_volumes/index.html @@ -744,6 +744,20 @@ + +
  • + + Recover crashed Aria storage engine + +
  • + + + + + + + + @@ -2209,7 +2223,7 @@