Since last update Thunderbird asking for password every time

Hello together,

I and all users on different Computers have this problem:

When we start thunderbird, then it asks for passwords for all the mail - accounts.

I think, it happens since the last update.

I cannot see my mail accounts here:

Some time ago - I think it was before the latest updates - all mail accounts where present. The passwords was stored and thunderbird didn´t ask for the mail - passwords.

This problem are with all different users and mail - accounts with thunderbird.

Can everyone help me to solve this problem :thinking:

System:    Kernel: 5.13.11-1-MANJARO x86_64 bits: 64 Desktop: KDE Plasma 5.22.4 Distro: Manjaro Linux 
Machine:   Type: Laptop System: TUXEDO product: TUXEDO Pulse 15 Gen1 v: Standard serial: <filter> 
           Mobo: TUXEDO s model: PULSE1501 v: Standard serial: <filter> UEFI: American Megatrends v: N.1.07.A02 
           date: 12/08/2020 
Battery:   ID-1: BAT0 charge: 62.3 Wh (68.0%) condition: 91.6/91.6 Wh (100.0%) volts: 11.7 min: 11.6 
CPU:       Info: 8-Core model: AMD Ryzen 7 4800H with Radeon Graphics bits: 64 type: MT MCP cache: L2: 4 MiB 
           Speed: 1397 MHz min/max: 1400/2900 MHz Core speeds (MHz): 1: 1397 2: 1397 3: 1397 4: 1397 5: 1396 6: 1396 7: 1397 
           8: 1397 9: 1397 10: 1397 11: 1397 12: 1397 13: 1397 14: 1396 15: 1396 16: 1397 
Graphics:  Device-1: Advanced Micro Devices [AMD/ATI] Renoir driver: amdgpu v: kernel 
           Device-2: Chicony HD Webcam type: USB driver: uvcvideo 
           Display: x11 server: X.Org 1.20.13 driver: loaded: amdgpu,ati unloaded: modesetting resolution: 1920x1080~60Hz 
           OpenGL: renderer: AMD RENOIR (DRM 3.41.0 5.13.11-1-MANJARO LLVM 12.0.1) v: 4.6 Mesa 21.1.6 
Audio:     Device-1: Advanced Micro Devices [AMD/ATI] driver: snd_hda_intel 
           Device-2: Advanced Micro Devices [AMD] Raven/Raven2/FireFlight/Renoir Audio Processor driver: N/A 
           Device-3: Advanced Micro Devices [AMD] Family 17h HD Audio driver: snd_hda_intel 
           Sound Server-1: ALSA v: k5.13.11-1-MANJARO running: yes 
           Sound Server-2: PulseAudio v: 15.0 running: yes 
Network:   Device-1: Intel Wi-Fi 6 AX200 driver: iwlwifi 
           IF: wlp1s0 state: up mac: <filter> 
           Device-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet driver: r8169 
           IF: eno1 state: down mac: <filter> 
Bluetooth: Device-1: Intel AX200 Bluetooth type: USB driver: btusb 
           Report: rfkill ID: hci0 state: up address: see --recommends 
Drives:    Local Storage: total: 232.89 GiB used: 35.51 GiB (15.2%) 
           ID-1: /dev/nvme0n1 vendor: Kingston model: SA2000M8250G size: 232.89 GiB 
Partition: ID-1: / size: 219.86 GiB used: 35.51 GiB (16.2%) fs: ext4 dev: /dev/nvme0n1p2 
           ID-2: /boot/efi size: 511 MiB used: 304 KiB (0.1%) fs: vfat dev: /dev/nvme0n1p1 
Swap:      ID-1: swap-1 type: partition size: 8 GiB used: 0 KiB (0.0%) dev: /dev/nvme0n1p3 
Sensors:   System Temperatures: cpu: 37.9 C mobo: 37.0 C gpu: amdgpu temp: 37.0 C 
           Fan Speeds (RPM): N/A 
Info:      Processes: 326 Uptime: 43m Memory: 7.19 GiB used: 1.84 GiB (25.5%) Shell: Bash inxi: 3.3.06

regards
caho

1 Like

I have no issue. What is the version of thunderbird?
You can enter all passwords one more time, then they will be saved.

thank you for your reply @Zesko

I have thunderbird 78.13.0-1.

I can use and select the “save” button in the password -dialog. But it dosen’t work. It has no effekt :unamused:

regards
caho

Hmm, I cannot reproduce this either.
Does thunderbird give any error messages when started from the command line?

hello @freggel.doe

this is the output from the command line:

[calBackendLoader] Using Thunderbird's libical backend
console.debug: "Successfully loaded OpenPGP library librnp.so version 0.14+git20210121.7c8492b4.MZLA from /usr/lib/thunderbird/librnp.so"
JavaScript error: resource://gre/modules/ActorManagerChild.jsm, line 297: TypeError: singletons is null
JavaScript error: resource://gre/modules/ActorManagerChild.jsm, line 297: TypeError: singletons is null
JavaScript error: resource://gre/modules/ActorManagerChild.jsm, line 297: TypeError: singletons is null
JavaScript error: resource://gre/modules/ActorManagerChild.jsm, line 297: TypeError: singletons is null
console.debug: "Trying to load /usr/lib/thunderbird/libotr.so.5"
console.debug: "Trying to load libotr.so.5 from system's standard library locations"
console.debug: "Trying to load libotr.so from system's standard library locations"
console.log: (new Error("Cannot load required OTR library", "resource:///modules/OTRLib.jsm", 91))
console.debug: "Found 0 public keys and 0 secret keys (0 protected, 0 unprotected)"
JavaScript error: resource://gre/modules/crypto-SDR.js, line 200: NS_ERROR_FAILURE: Couldn't decrypt string
JavaScript error: resource://gre/modules/crypto-SDR.js, line 200: NS_ERROR_FAILURE: Couldn't decrypt string

regards
caho

This looks weird, I do not see a failed libotr.so loading on my installation. libotr got installed on my system as an optional dependency of thunderbird-i18n-de.

JavaScript error: resource://gre/modules/crypto-SDR.js, line 200: NS_ERROR_FAILURE: Couldn't decrypt string
JavaScript error: resource://gre/modules/crypto-SDR.js, line 200: NS_ERROR_FAILURE: Couldn't decrypt string

Those look problematic and probably related to your problem to me.
Searching the interweb showed some cases where the profiles where transfered from windows to linux. Did you do the same?
If so, remove pkcs11.txt in your $HOME/.thunderbird/$profile-directory (with $profile-directory being the actual cryptic profile directory name),

If not (profile moved from windows): does password saving work in safe mode?

$ thunderbird --safe-mode

I don´t know, if it is installed, because I cannot see it in pamac ?!?

libotr

I started thunderbird in safe-mode from the console. The password dosen´t stored in safe-mood too.

I see the same windows as in the first thread. No email accounts are visible.

I and all my family - users never used thunderbird in windows. We work since many years with linux and some years with manjaro. The profile - folder from all users are stored on a NAS. We had never problems with this configuration. All worked fine. So I have no idea what could be wrong.

regards
caho

I can’t tell from that screenshot either (not a pamac user). But it shouldn’t matter much, due to it being used for chat one time record messaging.

Try with a local profile for one of the affected users to exclude network/NAS problems like (write) permissions and whatnot.

Simple quick fix: Change the folder .thunderbird to .thunderbird_backUp.
Then you create completely new profiles in Thunderbird. it’s faster than fix old profiles.

hello @freggel.doe

I tried it with use the .profile folder on my local home folder. I have the same problem.
I don´t think I have a permissions Problem, because I can receive all emails after input the passwords.
The emails are stored correctly.

Yes, you are right. But how can I import all my emails and folders from the backup?

You do not need import all emails, but if your email service supports IMAP like Email sync.

We have some pop3 accounts because there are many many emails. So most of the mails are stored in the profile - folders and not online in an imap folder.

Try creating a new profile with an IMAP account - does the problem show for this new profile?

If not, add a POP3 account and copy the correpsponding account files from previous $HOME/.thunderbird/$old-cryptic-profile/Mail/$pop3-account-name.

If this still works (passwords get saved) this could be a way forward.

edit: Another hit when searching for those initial error messages mentioned deleting certain files in the profile directory to let thunderbrid re-create them:
http://forums.mozillazine.org/viewtopic.php?p=14815496

Try exiting Thunderbird and deleting cert9.db, key4.db, pkcs11.txt (new set of files used for security module info) and logins.json (actual passwords) in the profile. I’d also delete cert8.db, key3.db, and secmod.db (old set of security module files) to make certain you have a clean start. When you restart Thunderbird will create replacements for the files it still uses.

Remember to backup the profile(s) before fiddling in case something doesn’t work out.

Hi @freggel.doe

Now I tried to create a new imap account. It works without problems, but the password was not stored again.

Then I testet the hints from your link and deletetd the cert.db … but without success.

The permissions from the .thunderbird folder and all subdirectories are my own (caho, users).

So I restored .thunderbird from my backup and are simple at a loss :crazy_face:

regards
caho
caho