From 60c81ec25c92331bad7f380949da37b504df2d36 Mon Sep 17 00:00:00 2001 From: milkmaker Date: Sun, 10 Oct 2021 13:36:03 +0000 Subject: [PATCH] =?UTF-8?q?Deploying=20to=20gh-pages=20from=20@=20mailcow/?= =?UTF-8?q?mailcow-dockerized-docs@b566e1b8cf372dbeecb2c0e421b1dcdad0b5720?= =?UTF-8?q?0=20=F0=9F=9A=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 404.html | 14 + b_n_r_accidental_deletion/index.html | 14 + b_n_r_backup/index.html | 14 + b_n_r_restore/index.html | 14 + client/client-android/index.html | 14 + client/client-apple/index.html | 14 + client/client-emclient/index.html | 14 + client/client-kontact/index.html | 14 + client/client-manual/index.html | 14 + client/client-outlook/index.html | 14 + client/client-thunderbird/index.html | 14 + client/client-windows/index.html | 14 + client/client-windowsphone/index.html | 14 + client/index.html | 14 + debug-admin_login_sogo/index.html | 14 + debug-asan_rspamd/index.html | 14 + debug-attach_service/index.html | 14 + debug-common_problems/index.html | 14 + debug-logs/index.html | 14 + debug-mysql_aria/index.html | 2380 +++++++++++++++++ debug-mysql_upgrade/index.html | 18 +- debug-reset_pw/index.html | 14 + debug-reset_tls/index.html | 14 + debug-rm_volumes/index.html | 18 +- debug/index.html | 14 + firststeps-disable_ipv6/index.html | 14 + firststeps-dmarc_reporting/index.html | 14 + firststeps-ip_bindings/index.html | 14 + firststeps-local_mta/index.html | 14 + firststeps-logging/index.html | 14 + firststeps-rp/index.html | 14 + firststeps-rspamd_ui/index.html | 14 + firststeps-snat/index.html | 14 + firststeps-ssl/index.html | 14 + firststeps-sync_jobs_migration/index.html | 14 + i_u_m_deinstall/index.html | 14 + i_u_m_install/index.html | 14 + i_u_m_migration/index.html | 14 + i_u_m_update/index.html | 14 + index.html | 14 + model-acl/index.html | 14 + model-passwd/index.html | 14 + model-sender_rcv/index.html | 14 + prerequisite-dns/index.html | 14 + prerequisite-system/index.html | 14 + restrictions_ip_accss/index.html | 14 + search/search_index.json | 2 +- sitemap.xml | 199 +- sitemap.xml.gz | Bin 1045 -> 1049 bytes third_party-borgmatic/index.html | 14 + third_party-exchange_onprem/index.html | 14 + third_party-gitea/index.html | 14 + third_party-gogs/index.html | 14 + third_party-mailman3/index.html | 14 + third_party-mailpiler_integration/index.html | 14 + third_party-nextcloud/index.html | 14 + third_party-portainer/index.html | 14 + third_party-roundcube/index.html | 14 + third_party-thunderbird/index.html | 14 + u_e-80_to_443/index.html | 14 + u_e-autodiscover_config/index.html | 14 + u_e-backup_restore-maildir/index.html | 14 + u_e-backup_restore-mysql/index.html | 14 + u_e-docker-cust_dockerfiles/index.html | 14 + u_e-docker-dc_bash_compl/index.html | 14 + u_e-dovecot-any_acl/index.html | 14 + u_e-dovecot-catchall_vacation/index.html | 14 + u_e-dovecot-expunge/index.html | 14 + u_e-dovecot-extra_conf/index.html | 14 + u_e-dovecot-fts/index.html | 14 + u_e-dovecot-idle_interval/index.html | 14 + u_e-dovecot-mail-crypt/index.html | 14 + u_e-dovecot-more/index.html | 14 + u_e-dovecot-public_folder/index.html | 14 + u_e-dovecot-static_master/index.html | 14 + u_e-dovecot-vmail-volume/index.html | 14 + u_e-fido2/index.html | 14 + u_e-mailcow_ui-bl_wl/index.html | 14 + u_e-mailcow_ui-config/index.html | 14 + u_e-mailcow_ui-css/index.html | 14 + u_e-mailcow_ui-pushover/index.html | 14 + u_e-mailcow_ui-spamalias/index.html | 14 + u_e-mailcow_ui-spamfilter/index.html | 14 + u_e-mailcow_ui-tagging/index.html | 14 + u_e-mailcow_ui-tfa/index.html | 14 + u_e-nginx/index.html | 14 + u_e-postfix-attachment_size/index.html | 14 + u_e-postfix-custom_transport/index.html | 14 + .../index.html | 14 + u_e-postfix-extra_cf/index.html | 14 + u_e-postfix-pflogsumm/index.html | 14 + u_e-postfix-postscreen_whitelist/index.html | 14 + u_e-postfix-relayhost/index.html | 14 + u_e-postfix-trust_networks/index.html | 14 + u_e-redis/index.html | 14 + u_e-reeanble-weak-protocols/index.html | 14 + u_e-rspamd/index.html | 14 + u_e-sogo/index.html | 14 + u_e-unbound-fwd/index.html | 14 + u_e-update-hooks/index.html | 14 + u_e-webmail-site/index.html | 14 + u_e-why_unbound/index.html | 14 + 102 files changed, 3859 insertions(+), 102 deletions(-) create mode 100644 debug-mysql_aria/index.html 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 @@