Open Bug 1094081 Opened 9 years ago Updated 7 years ago

Update from 24.8.1 to 31.2.0 loses prefs.js with profile on Samba 4 Active Directory with Folder Redirection

Categories

(Thunderbird :: General, defect)

31 Branch
x86_64
Windows 7
defect
Not set
critical

Tracking

(Not tracked)

UNCONFIRMED

People

(Reporter: d.meier, Unassigned)

Details

(Keywords: dataloss, Whiteboard: [regression:TB??])

User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Firefox/31.0
Build ID: 20141011074935

Steps to reproduce:

For our Windows 7 clients, we have a Samba 4 Active Directory with Folder Redirection, so all Thunderbird profiles are stored on the file server. Since now, the Thunderbird updates completed without any problems. We are on the ESR update channel. The last one, from 24.8.1 to 31.2.0, crashed the prefs.js, the mail client lost all mail accounts and started with the "Welcome to Thunderbird" screen. It doesn't matter if I started Thunderbird the first time in normal or in safe mode. For the most clients, we are using the plugins as follows: ConfirmFolderMove, LookOut, Virtual Identity, Tag Toolbar. Strange, because sometimes there aren't any problems and some clients crashes as described. For me, the only solution was to downgrade to 24.8.1 again and set back the prefs.js from the last day backup or fixing it by hand. But once a client with 31.2.0 crashed, I didn't found a way to get that version working again.


Actual results:

We localized the problem in prefs.js. The update crashed or deleted the most of the following lines:

user_pref("mail.account.account1.identities","id1,id4,id5,id6,id7,id8,id9,id10,id11,id12,id13,id14,id15,id16");
user_pref("mail.account.account1.server", "server1");
user_pref("mail.account.account2.server", "server2");
user_pref("mail.account.account3.identities", "id2");
user_pref("mail.account.account3.server", "server3");
user_pref("mail.account.account4.identities", "id3,id17");
user_pref("mail.account.account4.server", "server4");
user_pref("mail.account.account5.server", "server5");
user_pref("mail.account.lastKey", 5);
user_pref("mail.accountmanager.accounts","account1,account2,account3,account4,account5");
user_pref("mail.accountmanager.defaultaccount", "account1");
user_pref("mail.accountmanager.localfoldersserver", "server2");


Expected results:

As many times before, we didn't expect any problems by updating the software. Normally the migration should work without effecting the prefs.js.
Severity: normal → major
Do you actually get the crash reporter, and a crash ID?  per https://support.mozillamessaging.com/en-US/kb/mozilla-crash-reporter#w_viewing-crash-reports

Or is it only the dataloss?
Severity: major → critical
Flags: needinfo?(d.meier)
Keywords: dataloss
Whiteboard: [regression:TB??]
The result of my research is that there is only a dataloss. I tested it with the AboutView add-on, but "no crash reports have been submitted". So I didn't get a crash ID or something like that.
Flags: needinfo?(d.meier)
Component: Untriaged → General
Summary: Update from 24.8.1 to 31.2.0 crashes prefs.js → Update from 24.8.1 to 31.2.0 loses prefs.js with profile on Samba 4 Active Directory with Folder Redirection
In my case on Windows 10 Prefs.js is changed from (24.8.1):
user_pref("mail.account.account12.identities", "id3");
user_pref("mail.account.account12.server", "server5");
user_pref("mail.account.account13.identities", "id4");
user_pref("mail.account.account13.server", "server7");
user_pref("mail.account.account14.identities", "id5");
user_pref("mail.account.account14.server", "server11");
user_pref("mail.account.account15.identities", "id2");
user_pref("mail.account.account15.server", "server3");
user_pref("mail.account.account16.identities", "id7");
user_pref("mail.account.account16.server", "server10");
user_pref("mail.account.account17.identities", "id9");
user_pref("mail.account.account17.server", "server12");
user_pref("mail.account.account18.server", "server1");
user_pref("mail.account.account19.server", "server4");
user_pref("mail.account.account8.identities", "id6");
user_pref("mail.account.account8.server", "server8");
user_pref("mail.account.account9.identities", "id8");
user_pref("mail.account.account9.server", "server9");
user_pref("mail.account.lastKey", 19);
user_pref("mail.accountmanager.accounts", "account8,account9,account12,account13,account14,account15,account16,account17,account18,account19");
user_pref("mail.accountmanager.defaultaccount", "account9");
user_pref("mail.accountmanager.localfoldersserver", "server1");
to (31.2.0):
user_pref("mail.account.account12.identities", "id3");
user_pref("mail.account.account12.server", "server5");
user_pref("mail.account.account13.identities", "id4");
user_pref("mail.account.account13.server", "server7");
user_pref("mail.account.account14.identities", "id5");
user_pref("mail.account.account14.server", "server11");
user_pref("mail.account.account15.identities", "id2");
user_pref("mail.account.account15.server", "server3");
user_pref("mail.account.account16.identities", "id7");
user_pref("mail.account.account16.server", "server10");
user_pref("mail.account.account17.identities", "id9");
user_pref("mail.account.account17.server", "server12");
user_pref("mail.account.account18.server", "server1");
user_pref("mail.account.account19.server", "server4");
user_pref("mail.account.account20.server", "server13");
user_pref("mail.account.account8.identities", "id6");
user_pref("mail.account.account8.server", "server8");
user_pref("mail.account.account9.identities", "id8");
user_pref("mail.account.account9.server", "server9");
user_pref("mail.account.lastKey", 20);
user_pref("mail.accountmanager.accounts", "account20");
user_pref("mail.accountmanager.defaultaccount", "account20");
user_pref("mail.accountmanager.localfoldersserver", "server1");
Still no crash reports, and 31.2.0 starts from "Welcome .." and no accounts.

What shall I do?
You need to log in before you can comment on or make changes to this bug.