Nextcloud 21 on Turnkey Linux 16.1-1 needs this fix to play nice with emoji

After my initial install of Nextcloud, while wanting to desperately like it at first, I was noticing very frequent crashes. While checking the logs on the admin page I noticed that the email client had some issue with some header and after some further digging I found out it was a MariaDB setting that needed to change…

You go into your config.php file in /var/www/nextcloud/config/config.php and alter the line that reads  

'mysql.utf8' => true,

to read

'mysql.utf8mb4' => true,

After that everything will automagically work, even stuff that didn't make sense why it crashed, because of this change…