Hello, According to https://dev.gajim.org/gajim/gajim/-/issues/10069 there is a table 'caps_cache' in sqlite DB ~/.local/share/gajim/logs.db that shouldn't be there (it's supposed to be only in ~/.cache/gajim/cache.db).
Running sqlite3 ~/.local/share/gajim/logs.db "DROP TABLE caps_cache" did help. Cheers, Petr