diff --git a/docs/hosting/index.md b/docs/hosting/index.md index 758efe2..4ade5be 100644 --- a/docs/hosting/index.md +++ b/docs/hosting/index.md @@ -6,3 +6,17 @@ 1. Install Debian 2. Install [Hestia](https://hestiacp.com) 3. Profit (like, literally) + +## Troubling + +### MySQL server has gone away + +You probably have too low limits. Faced this with HestiaCP and NextCloud. +Add a new file: + +``` cfg title="/etc/mysql/conf.d/mysqld.cnf" +[mysqld] +wait_timeout = 28800 +interactive_timeout = 28800 +max_allowed_packet = 128M +```