Hello everyone,
After logging into the admin panel, I was met with a blank white page, and the /admin route wasn’t working. However, I could access /debug, where I found the following error in the Mailcow UI:
["mysql_error",{"errorInfo":["HY000",1267,"Illegal mix of collations (utf8mb4_unicode_ci,COERCIBLE) and (utf8mb4_general_ci,COERCIBLE) for operation '='"]}]
This issue appeared suddenly, and I haven’t made any changes to Mailcow for months.
After some research, I tried changing the collation settings for the database and tables to utf8mb4_unicode_ci, but that didn’t resolve the issue. Neither switching everything to utf8mb4_unicode_ci nor utf8mb4_general_ci worked. As a last resort, I modified the my.conf file, changing the line:
from
collation-server = utf8mb4_unicode_ci
to
collation-server = utf8mb4_general_ci
This made the UI more responsive, but now Postfix is throwing errors such as:
27.09.2024, 12:53:04 warning: mysql:/opt/postfix/conf/sql/mysql_virtual_alias_domain_maps.cf: query failed: Illegal mix of collations (utf8mb4_general_ci,IMPLICIT) and (utf8mb4_unicode_ci,IMPLICIT) for operation '='
And the Mailcow UI log has slightly changed to:
["mysql_error",{"errorInfo":["HY000",1267,"Illegal mix of collations (utf8mb4_general_ci,IMPLICIT) and (utf8mb4_unicode_ci,IMPLICIT) for operation '='"]}]
I feel like I’m making things worse, so before I dig an even deeper hole for my Mailcow instance, I’d like to ask for your help. Any advice would be greatly appreciated! 😊
German and English are both welcome!