Users' rosters randomly being lost

Hi,

I’m experiencing a weird problem. At seemingly random times users are losing some of their roster contacts. I’ve looked at the logs and see nothing really weird.

This started happening a few days ago. I had capacity problems on my server so I installed a new one, named it the same after the old one, did an rsync of /opt/openfire and /var/lib/pgsql from the old machine to the new one, stopped the old machine, changed the IP on the new one and restarted. Everything seemed to be working fine. However, after a while some Windows users using Exodus reported the Jabber contacts rosters were disappearing. A Linux user using Pidgin noted that after logging out and back in, his Jabber contacts appeared as if they hadn’t authorized him, when trying to send a message to one of those Pidgin said you can’t send a message because you haven’t been authorized. Gateway contacts seem unaffected.

What we’ve been doing so far is restoring from a DB backup whenever this happens, but of course this loses any contacts the users have added to their roster since the backup.

Any ideas what might be going on? I’m stumped.

Thanks,

-Mario.

Hi Mario,

I wonder whether you did hit http://www.igniterealtime.org/issues/browse/JM-1016 or http://www.igniterealtime.org/issues/browse/JM-851

LG

Hi again,

I’ve tried both solutions, first clearing the cache and then patching Roster.java. The code has changed quite a bit since the original patch was posted but I identified line 778 as the probable equivalent. I changed userGroups to sharedGroups and updated. The problem is still happening. The contacts are actually disappearing from the ofroster table.

Any other ideas?

Thanks,

-Mario.