Closed mikedolx closed 2 years ago
Make sure the postgres database encoding is UTF8 and then try updating to the master branch. The error is coming somewhere from sqlalchemy/psycopg2 and neither of those is used anymore.
I was able to fix the issue by conerting my database to UTF8 following the steps in this blog post:
https://www.shubhamdipt.com/blog/how-to-change-postgresql-database-encoding-to-utf8/
I did not update my bridge to the master, as i don't want to use a non-release code on my production server.
Hi,
i'm getting an UnicodeEncodeError when i try to sync my telegram groups and chats via the mautrix-bridge. I have setup the bridge via the virtualenv method according to the manual here.
To support better performance and enable encryption i have setup a postgresql database (12.9-0ubuntu0.20.04.1).
I have registered the bridge via secret shared key and enabled the telegram connection via app service registration. I can login, but when i try to sync it fails. I maybe need to mention, that i previously had a mautrix-telegram bridge running via docker. But somehow i had issues with it so, i wanted to do it "bare metal".
I also installed all depedencies from here that are needed for encryption and PostgreSQL.
Here is the full stack exception that i get as a response in the telegrambot chat:
My config file: