From 4c927490463ce6540bcc07ce1123bb1d68d54c89 Mon Sep 17 00:00:00 2001 From: Cristian Livadaru Date: Tue, 20 Jul 2021 06:42:28 +0200 Subject: [PATCH] change default database charset (#466) utf8 delivers several issues with multiple sites (Invalid datetime format for example) The recommendation from wallabag is to use utf8mb4 as mentioned here: https://github.com/wallabag/wallabag/issues/5116 and here: https://github.com/wallabag/wallabag/issues/4764 The default setup of wallabag in caprover uses utf8, adding this env variable solves the issue even for existing installs. --- public/v4/apps/wallabag.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/public/v4/apps/wallabag.yml b/public/v4/apps/wallabag.yml index 662f413..cd8bdf4 100644 --- a/public/v4/apps/wallabag.yml +++ b/public/v4/apps/wallabag.yml @@ -16,6 +16,7 @@ services: SYMFONY__ENV__DATABASE_PASSWORD: $$cap_mariadb-pass SYMFONY__ENV__SECRET: $$cap_gen_random_hex(30) SYMFONY__ENV__DOMAIN_NAME: https://$$cap_appname.$$cap_root_domain + SYMFONY__ENV__DATABASE_CHARSET: utf8mb4 volumes: - $$cap_appname-images:/var/www/wallabag/web/assets/images # MariaDB