From 0ed26d6258e1b2378e5021709b57fb0a50698d27 Mon Sep 17 00:00:00 2001 From: bkil Date: Sat, 25 Mar 2023 14:37:18 +0100 Subject: [PATCH] doc/Install.md: troubleshooting: Diaspora support, DB migration timeout --- doc/Install.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/doc/Install.md b/doc/Install.md index de4ef1b65..51cddf453 100644 --- a/doc/Install.md +++ b/doc/Install.md @@ -535,3 +535,21 @@ In your ModSecurity WAF config: In the end, you will need to restart all services that you have changed configuration for. If you don't know which ones these are, just reboot. + +### Diaspora support is not activated + +You get this error when you try to add a Diaspora contact. + +You can enable it from the web interface in `Admin -> Site -> Policies -> Enable diaspora* support`. +You may also set it manually in the config file or in the database within the `diaspora_enabled` key of the `system` category. + +### Upgrade failed due to DB migration timeout + +Altering of a table may fail if it contains a large number of rows. +First verify the existing timeout (50s by default): + +`show global variables like "innodb_lock_wait_timeout";` + +Then increase it: + +`set global innodb_lock_wait_timeout=600;`