Open errotu opened 1 day ago
Hi @errotu, do you reproduce this on our community server here https://community.mattermost.com/?
No, on the community server I receive the notifications without any problem. Maybe it's related to using either PostgreSQL (what the community server probably does) or MariaDB (what the both instances where the error occurs do)?
Just fyi: I had created the issue in the Mattermost server-repository because my guess was (based on the error message in the server's log) that the cause of the problem lies there, and is not directly related to the app's code.
I have the same issue since upgrading to v10.2. I am running MariaDB 10.5 on Debian 11. I upgraded from MM 9.5 to 10.2 and push notifications stopped. In my notifications log I get the same thing as reported above.
Summary
Push notifications do not work on Android and iOS, probably due to a SQL syntax error.
Steps to reproduce
Operating System
CentOS7
Mattermost Server Version
10.2.0
Expected behavior
Push notifications should be sent to the mobile devices.
Observed behavior
Mobile devices do not receive push notifications (iOS and Android alike).
Log Output
Hundreds of entries like this:
Additional Information
The same behavior (with the same error messages) occurs on two different Mattermost instances I maintain. They are completely independent, but are both using the same web hosting service (uberspace). Push notifications worked until a couple of weeks ago.