Ce site disposera de fonctionnalités limitées pendant que nous effectuons des opérations de maintenance en vue de vous proposer un meilleur service. Si un article ne règle pas votre problème et que vous souhaitez poser une question, notre communauté d’assistance est prête à vous répondre via @FirefoxSupport sur Twitter, et /r/firefox sur Reddit.

Rechercher dans l’assistance

Évitez les escroqueries à l’assistance. Nous ne vous demanderons jamais d’appeler ou d’envoyer un SMS à un numéro de téléphone ou de partager des informations personnelles. Veuillez signaler toute activité suspecte en utilisant l’option « Signaler un abus ».

En savoir plus

newly added account on TB disappears on closing. And multiple prefs.js files - prefs-1.js, prefs-2.js (win10)

  • 17 réponses
  • 0 a ce problème
  • 16 vues
  • Dernière réponse par Matt

more options

Problem: newly added account disappears when TB is closed. Thunderbird on this PC (Dell Latitude 6540) has held a Verizon account for years. The "new" account is a different, equally old Verizon account kept on TB in an identical PC I no longer use. When added to TB on the present PC it tests and works fine until TB is closed. Repeated numerous times. Having read thread # 1286437 I did what follows , to no avail: 1. tried TB in troubleshoot mode; 2. tried in Windows safe mode; 3. cleared startup cache; 4. drastically pruned old emails; 5. looked up profile folder under troubleshooting info. Folder qxxxxxxd ( size 1.18 GB before adding new account) holds one folder tree, one directory tree, but NO prefs.js file. Instead, twenty-two prefs-xx.js files from 1 to 22; removed all to a thumb drive except prefs-1.js which I dared not rename as prefs.js; 6. found two profile folders, both labeled default. One is the above holding 1.18 GB, the other holds 685 MB (probably harmless and related to an old university account no longer extant). I copied both profile folders to a thumb drive. Note: profile folder qxxxxxxd is clearly engaged in what I am attempting. When TB is open with the added new account working -- which is the case as I am writing --, profile folder size increases from 1.18 to 1.20 GB and the number of folders increases by one (under "Mail" the list of pop.verizon-xx.net sub-folders increases from 17 to 18). Please advise on what to do next; I am 86 and no software geek, but can follow instructions... Thanks --Paul

Problem: newly added account disappears when TB is closed. Thunderbird on this PC (Dell Latitude 6540) has held a Verizon account for years. The "new" account is a different, equally old Verizon account kept on TB in an identical PC I no longer use. When added to TB on the present PC it tests and works fine until TB is closed. Repeated numerous times. Having read thread # 1286437 I did what follows , to no avail: 1. tried TB in troubleshoot mode; 2. tried in Windows safe mode; 3. cleared startup cache; 4. drastically pruned old emails; 5. looked up profile folder under troubleshooting info. Folder qxxxxxxd ( size 1.18 GB before adding new account) holds one folder tree, one directory tree, but NO prefs.js file. Instead, twenty-two prefs-xx.js files from 1 to 22; removed all to a thumb drive except prefs-1.js which I dared not rename as prefs.js; 6. found two profile folders, both labeled default. One is the above holding 1.18 GB, the other holds 685 MB (probably harmless and related to an old university account no longer extant). I copied both profile folders to a thumb drive. Note: profile folder qxxxxxxd is clearly engaged in what I am attempting. When TB is open with the added new account working -- which is the case as I am writing --, profile folder size increases from 1.18 to 1.20 GB and the number of folders increases by one (under "Mail" the list of pop.verizon-xx.net sub-folders increases from 17 to 18). Please advise on what to do next; I am 86 and no software geek, but can follow instructions... Thanks --Paul

Modifié le par Wayne Mery

Solution choisie

Thanks, David Turns out there was a naked prefs.js after all, but it was hidden. I followed Wayne's and your advice: deleted the naked one, retrieved prefs-22.js (presumably the most recent), renamed it prefs.js and stuck it in the profile. I also found that my anti-virus is McAfee, in a security package from my provider (Verizon; confusing because my Verizon email address is run by AoL). A nice feature is that it lets you temporarily disable the anti-virus with automatic return after x minutes. That's what I did per your suggestion. Lo and behold the trick worked, even without trying safe mode which I planned to do next. I opened and closed TB a number of times to be sure; no problem, the added account and its mails stayed put. So, many many thanks for all your help; I learned a lot in the process. Have a nice Thanksgiving Day, even if you are not American. Also, I think it's time for a donation. Paul

Lire cette réponse dans son contexte 👍 0

Toutes les réponses (17)

more options

First, I have no solution. The problem appears to be something preventing Thunderbird from saving files to the harddrive. You create an account and it works fine, and it's not there on a restart. That happens because Thunderbird was unable to update the prefs.js file. Further proof is that you have many prefs files. I don't know if it's an antivirus, VPN, or what, but there is an interruption to Thunderbird that is causing this.

Cela vous a-t-il été utile ?

more options

Thanks for the suggestion. How do I find what causes TB to keep making new prefs.js files, and not using the existing one ?

Cela vous a-t-il été utile ?

more options

As I mentioned, I don't know. Thunderbird issues a save to prefs.js but it fails, causing the creation of prefs-1.js. You might look at antivirus or VPN or firewall. I am not that technical to know the mechanics of digging through that.

Cela vous a-t-il été utile ?

more options

Thanks, so I'm hoping some wizard tells me how to do that

Cela vous a-t-il été utile ?

more options

Please provide results for the following test on your system

  1. Does Thunderbird work as expected in Thunderbird troubleshooting mode?
  2. Does Thunderbird work as expected with your OS started in safe mode with Networking. Instructions for each operating system: Windows 10/11, Windows 8, Windows 7, OSX

Cela vous a-t-il été utile ?

more options

Maybe I wasn't clear in my points 1 and 2 1. In troubleshooting mode TB works OK with both existing account and newly added account, but the latter still disappears on closing; 2. I should have written I tried Windows safe mode 'with networking to no avail. Should I try renaming file prefs-1.js as prefs.js? Paul

Cela vous a-t-il été utile ?

more options

Use Windows to check whether prefs.js is read-only.

Cela vous a-t-il été utile ?

more options

Thanks -- will do tomorrow asap (Have no prefs.js proper; only prefs-1.js after I removed -2 thru -22; should I rename it prefs.js first?)

Cela vous a-t-il été utile ?

more options

Paul back again; thanks for the help. To repeat: I had no "proper" prefs file, but 22 prefs-xx ones; removed 21 of them, keeping only prefs-1.js. It is not read-only, was created/modified April 2020, accessed April 2022, occupies 64K, and is checked "ready for archiving". Should I look up the 21 others I set aside and retrieve only the most recent one? Or rename this one as simply prefs.js?

Cela vous a-t-il été utile ?

more options

Generally, the most reliable one will be the one with the highest number. the prefs-1 will not have any changes done since 2022. I have this 'feeling' that an attempt to rename to prefs.js will fail, being told that it already exists. Just my guess.

Cela vous a-t-il été utile ?

more options

pmdeweer said

Paul back again; thanks for the help. To repeat: I had no "proper" prefs file, but 22 prefs-xx ones; removed 21 of them, keeping only prefs-1.js. It is not read-only, was created/modified April 2020, accessed April 2022, occupies 64K, and is checked "ready for archiving". Should I look up the 21 others I set aside and retrieve only the most recent one? Or rename this one as simply prefs.js?

I think it would be interesting to compare the files and see whether there have in fact been any changes. https://winmerge.org/ has this. (I have not tried it) So does notepad++

Immediately after adding an account (immediately after startup), check Error Console (ctrl+shift+J) for warnings and errors.

Bugzilla query: https://mzl.la/4e4UDbG

Cela vous a-t-il été utile ?

more options

1. I replaced prefs-1.js with the most recent (-22, last modified August 2024, 72K, not read-only, "ready for archiving". Problem remains (i.e. newly added account works fine but disappears upon closing). Tried renaming the file as just pref.js but that was not accepted, as David expected. 2. I tried the "error" suggestion "right after startup" but here the problem is that starting TB now always triggers my default browser (Firefox) to pop up a "please donate" page ... 3. in anticipation of a "comparison" suggested by Wayne, I set aside (on a thumb drive) two files I named "prefs-22before.js" and "prefs-22after.js" adding the new account (which, as always, worked fine until closed). I did look up winmerge but find it personally daunting. Rather try easier things first, such as 4. how do I know if the connection with the provider is encrypted? (I doubt it b/c I'm clearly tracked), or 5. how do I check for antivirus interference? I'm a layperson in such matters 6. to a layperson, the possibility of "external interference" looks less plausible. To me, the existing account works fine, adding an account no problem, added account works fine etc. but then at closing the program "forgets" to save some settings. Seems like a bug inside the program rather than outside.

Cela vous a-t-il été utile ?

more options

> Seems like a bug inside the program rather than outside.

Doubtful.

You should get down to one file, prefs.js

> 5. how do I check for antivirus interference? I'm a layperson in such matters

With just one prefs file, prefs.js, start Windows in safe mode https://support.microsoft.com/en-us/help/12376/windows-10-start-your-pc-in-safe-mode

Now start Thunderbird. Make your changes. Restart Thunderbird (not Windows). Did your changes stick?

Cela vous a-t-il été utile ?

more options

Thanks Wayne I had kept only the most recent prefs-xx.js (#22), and tried to rename it plain prefs.js but got reply that the file already existed. Turns out it was there all along but hidden. So I deleted # 22 with no qualms and started over in Windows 10 safe mode ("with networking"). I had tried safe mode before, but not with just one "naked" prefs.js present. Now program replied it "failed to find the settings for [my] account". Not knowing how to do it manually I looked up the server settings of my other account (which I have had on this TB since well before 2010, i.e. since the early days of TB's existence) and used those including the ports. Still no luck.. That is, I can add the account and TB does the settings automatically. I can then use it all day sending and receiving, but it's gone after I close TB. Frustrating.. Paul

Cela vous a-t-il été utile ?

more options

Check the highest numbered prefs.js fil, it is a simple text file and can be browsed with notepad. If it has the new settings, do as Wayne suggested: delete the prefs.js and rename this one to prefs.js and restart. There is something interfering with the process. If you use a non-MS antivirus, see if it has a setting to ignore email clients.

Cela vous a-t-il été utile ?

more options

Solution choisie

Thanks, David Turns out there was a naked prefs.js after all, but it was hidden. I followed Wayne's and your advice: deleted the naked one, retrieved prefs-22.js (presumably the most recent), renamed it prefs.js and stuck it in the profile. I also found that my anti-virus is McAfee, in a security package from my provider (Verizon; confusing because my Verizon email address is run by AoL). A nice feature is that it lets you temporarily disable the anti-virus with automatic return after x minutes. That's what I did per your suggestion. Lo and behold the trick worked, even without trying safe mode which I planned to do next. I opened and closed TB a number of times to be sure; no problem, the added account and its mails stayed put. So, many many thanks for all your help; I learned a lot in the process. Have a nice Thanksgiving Day, even if you are not American. Also, I think it's time for a donation. Paul

Cela vous a-t-il été utile ?

more options

McAfee has been causing issues in Thunderbird for more than a decade. McAfee apparently have do desire to fix the product, instead relying of bundle deals for their money. Most folk uninstall it on delivery I think.

The short of it is the disable in McAfee does not in fact disable the product it just disables some features, but generally not the ones causing issues. It is about useless as a diagnostic tool.

One thing you must do is create an exception in McAfee to stop it scanning in your Thunderbird profile folder while the program is running. At best you will loose a few mails, at worst it will just corrupt everything Thunderbird, like it was doing in preventing the saving of settings. It is settings being saved (prefs.js file) it was preventing, not just a new account. So just about any default you change will not be saved unless the eception exists.

Cela vous a-t-il été utile ?

Poser une question

Vous devez vous identifier avec votre compte pour répondre aux messages. Veuillez poser une nouvelle question, si vous n’avez pas encore de compte.