Can't add MUC message to database

Maciej Bursztynowski
Added over 5 years ago


Tigase version 5.2.0 beta 3, MySQL database,

MUC component loads ok, we can write to each other, but in server log there is problem:

@2013-10-29 16:34:35.180 [in_0-muc] AbstractJDBCHistoryProvider.addMessage() WARNING: Can't add MUC message to database

com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown column 'msg' in 'field list'@

If I add this field to muc_history table, everything is ok. I post it, because I think you should know this bug.

Replies (1)

Added by Wojciech Kapcia TigaseTeam over 5 years ago

This happens if you upgrade from older version of MUC component. We are aware of the issue and schema upgrade should be handled automatically in future versions.