[jitsi-users] contactlist.xml emptied upon XMPP login


#1

Hello,

on both Mac OS X 10.9.5 and Win7 Pro 64bit, Jitsi 2.8.5426 has recently
started clearing out my contactlist.xml file upon login to an XMPP server.
I have backups, but restoring that file while Jitsi is running, or
logged-off or closed doesn't help either way. Copying it via a text editor
doesn't prevent the overwrite either.

Seems like the same problem that was discussed in the older thread "Lost
contacts restore"
<http://lists.jitsi.org/pipermail/users/2014-May/007231.html>, but the old
advice to "just log in again" is no longer working.

How shall I proceed? I have already notified the server admin about this
issue.

Thanks for and advice and kind regards,
Cathryne


#2

Hi,

in the past we have seen this and we pushed some fixes which improved
it, but from time to time we get reports like yours. The problem does
not occur on login, the problem we have seen till now is for example
shutting down windows and Jitsi is still running. We receive the
shutdown notification and start closing everything and till the file
service is writing the file - the PC shutdowns and the file got
corrupt. If this is the case you can try quitting Jitsi before
shutting down and see whether this improves your experience.

Hope this helps
damencho

···

On Fri, Aug 28, 2015 at 1:40 AM, Cathryne Linenweaver <cathryne.linenweaver@gmail.com> wrote:

Hello,

on both Mac OS X 10.9.5 and Win7 Pro 64bit, Jitsi 2.8.5426 has recently
started clearing out my contactlist.xml file upon login to an XMPP server. I
have backups, but restoring that file while Jitsi is running, or logged-off
or closed doesn't help either way. Copying it via a text editor doesn't
prevent the overwrite either.

Seems like the same problem that was discussed in the older thread "Lost
contacts restore", but the old advice to "just log in again" is no longer
working.

How shall I proceed? I have already notified the server admin about this
issue.

Thanks for and advice and kind regards,
Cathryne

_______________________________________________
users mailing list
users@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/users


#3

Hi damencho,

[…] problem does not occur on login

Well, partially it does. Restoring the proper contactlist.xml brings them
back, but only until Jitsi connects. Presumably, the server received the
"deletions" while I didn't notice them, and Jitsi allowed local mass
deletion after restoring the contacts.

[…] shutting down windows and Jitsi is still running.

Yeah, that must have been it: shutdown command timer
<http://pcsupport.about.com/od/commandlinereference/p/shutdown-command.htm>.

[…] PC shutdowns and the file got corrupt.

Hm, it wasn't really corrupted, just emptied to single dummy contact whose
XML code looked valid.

[…] try quitting Jitsi before shutting down […]

Will do, thanks for your advice :slight_smile: Still, as suggested before, a proper
import function or some kind of safeguard against mass deletion should be
considered. If this problem occurs on my parents computer, we have no
secure way to chat & phone anymore.

Kind regards,
Cathryne

···

On 28 August 2015 at 17:11, Damian Minkov <damencho@jitsi.org> wrote:


#4

Hey,

Hi damencho,

[…] problem does not occur on login

Well, partially it does. Restoring the proper contactlist.xml brings them
back, but only until Jitsi connects. Presumably, the server received the
"deletions" while I didn't notice them, and Jitsi allowed local mass
deletion after restoring the contacts.

Well we have locally stored contacts and when we receive those from
the server we check the locals and sync them. This is because you can
shutdown Jitsi, go to another PC with another client or whatever,
delete some contacts and when you login again with Jitsi we need to
sync. But we never do a deletion of server stored contacts on the
server without user asking for it, no automatic deletion. It seems to
me the contacts are missing on your server roster. There is no way of
doing mass deletion or something from jitsi. We always keep in sync
with server stored contact list.
Now I realize that the thing I described for shutting down was
happening only for protocols without server stored contact list, like
sip. Local is lost and no way to restore. If the same happens with
xmpp there is no problem, local is empty but server got the correct
list and will populate local, you will loose only any merged contact
settings or locally set display names.
But obviously you got another problem, as your server-side list is empty.
Just a side note, I remember asterisk had this option when using xmpp
accounts, emptying the account roaster on logging in :slight_smile:

Regards
damencho

···

On Fri, Aug 28, 2015 at 12:41 PM, Cathryne Linenweaver <cathryne.linenweaver@gmail.com> wrote:

On 28 August 2015 at 17:11, Damian Minkov <damencho@jitsi.org> wrote:

[…] shutting down windows and Jitsi is still running.

Yeah, that must have been it: shutdown command timer.

[…] PC shutdowns and the file got corrupt.

Hm, it wasn't really corrupted, just emptied to single dummy contact whose
XML code looked valid.

[…] try quitting Jitsi before shutting down […]

Will do, thanks for your advice :slight_smile: Still, as suggested before, a proper
import function or some kind of safeguard against mass deletion should be
considered. If this problem occurs on my parents computer, we have no secure
way to chat & phone anymore.

Kind regards,
Cathryne

_______________________________________________
users mailing list
users@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/users


#5

Yes, it turned out that some server glitch occurred and could not be fixed
in the few days before I decided to write to the admin and to you here. My
apologies for the false alarm :frowning: