Bug: Passwords lost after upgrade and cannot be saved - Upgraded from Thunderbird 31.4.0 to 91.1.2.
Status: RESOLVED
Priority: --
Resolution: INVALID
Created: 2021-10-07 08:57:42+00:00
Resolved: 2021-12-01 12:19:22+00:00

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/94.0.4606.71 Safari/537.36

Steps to reproduce:

Upgraded from Thunderbird 31.4.0 on Win 10 to 91.1.2.

Opened Thunderbird, expecting to access the existing email accounts using saved passwords. The accounts are IMAP using normal passwords.


Actual results:

Thunderbird prompts for password to get messages.

If I enter a password and tick the "Use Password Manager ..." to save it, then:
 - no e-mails are downloaded
 - the password is not saved
 - the error console shows:

Prompter: internal dialogs not available in this context. Falling back to window prompt. 4 Prompter.jsm:1084
NS_ERROR_ABORT: User canceled master password entry 4 crypto-SDR.js:90

If I enter a password without ticking the "Use Password Manager ...", then:
 - e-mails ARE downloaded
 - but obviously the password is not saved
 - the error console shows:

Prompter: internal dialogs not available in this context. Falling back to window prompt. Prompter.jsm:1084
NS_ERROR_NOT_AVAILABLE: ActivityManager.jsm:129

+++

I tried deleting cert9.db and key4.db and restarting, but the same problem occurs. On the web I see suggestions to also delete logins.json and pkcs11.txt but I don't have those files in my profile directory.

+++

Here's the full list from the error console, as there are also some errors shown at startup that may be relevant:

1633594757047	addons.xpi-utils	WARN	disabling legacy extension extra-cols@jminta_gmail.com
1633594757048	addons.xpi-utils	WARN	disabling legacy extension {b243fe83-b8a7-47de-855d-21d865243d5d}
1633594757048	addons.xpi-utils	WARN	disabling legacy extension {BDD92442-0534-4D6F-A966-BAB7D561D781}
1633594757048	addons.xpi-utils	WARN	disabling legacy extension en-GB@dictionaries.addons.mozilla.org
Unexpected event profile-after-change URLQueryStrippingListService.jsm:224
services.settings: Failed to load last_modified.json: TypeError: NetworkError when attempting to fetch resource. Utils.jsm:146
1633594760638	addons.xpi-utils	WARN	disabling legacy extension extra-cols@jminta_gmail.com
1633594760638	addons.xpi-utils	WARN	disabling legacy extension {b243fe83-b8a7-47de-855d-21d865243d5d}
1633594760638	addons.xpi-utils	WARN	disabling legacy extension {BDD92442-0534-4D6F-A966-BAB7D561D781}
1633594760639	addons.xpi-utils	WARN	disabling legacy extension en-GB@dictionaries.addons.mozilla.org
Unknown Collection "thunderbird/query-stripping" RemoteSettingsClient.jsm:160
Error: Can't find profile directory. XULStore.jsm:66:15
Trying to load C:\Program Files\Mozilla Thunderbird\libotr.dll OTRLib.jsm:64:11
Successfully loaded OTR library C:\Program Files\Mozilla Thunderbird\libotr.dll OTRLib.jsm:72:13
Successfully loaded OpenPGP library rnp.dll version 0.15.2+git20210806.dd923a4e.MZLA from C:\Program Files\Mozilla Thunderbird\rnp.dll RNPLib.jsm:92:15
Found 0 public keys and 0 secret keys (0 protected, 0 unprotected) RNPLib.jsm:288:15
Prompter: internal dialogs not available in this context. Falling back to window prompt. Prompter.jsm:1084
WebGL context was lost. 2 Troubleshoot.jsm:691:17
This page uses the non standard property “zoom”. Consider using calc() in the relevant property values, or using “transform” along with “transform-origin: 0 0”. thunderbird
Some cookies are misusing the recommended “SameSite“ attribute 6
services.settings: thunderbird/hijack-blocklists has signature disabled RemoteSettingsClient.jsm:1027
[Exception... "Favicon at "https://start.thunderbird.net/favicon.ico" failed to load: Not Found."  nsresult: "0x80004005 (NS_ERROR_FAILURE)"  location: "JS frame :: resource:///modules/FaviconLoader.jsm :: onStopRequest :: line 253"  data: no] FaviconLoader.jsm:253:22
tb.account.size_on_disk - Truncating float/double number. 2
tb.account.size_on_disk - Attempted to set the scalar to an incompatible value. 2
tb.account.size_on_disk - Truncating float/double number. 2
Prompter: internal dialogs not available in this context. Falling back to window prompt. 4 Prompter.jsm:1084
NS_ERROR_ABORT: User canceled master password entry 4 crypto-SDR.js:90
Prompter: internal dialogs not available in this context. Falling back to window prompt. Prompter.jsm:1084
NS_ERROR_NOT_AVAILABLE: ActivityManager.jsm:129


Expected results:

It should allow me to download emails AND save the password for next time.