MozillaZine


"TB can't update to the latest version..."

User Help for Mozilla Thunderbird
Kent Slimm
 
Posts: 112
Joined: December 4th, 2008, 6:08 pm

Post Posted June 27th, 2022, 4:23 pm

I appreciate the offer. Maybe step-by-step instructions that even someone unused to rooting around in the registry can follow?

lenny2
 
Posts: 53
Joined: June 8th, 2022, 3:10 am

Post Posted June 27th, 2022, 11:31 pm

Kent Slimm wrote:I appreciate the offer. Maybe step-by-step instructions that even someone unused to rooting around in the registry can follow?
Code: Select all
{
  "policies": {
    "AppUpdateURL": "http://0.0.0.0",
    "DisableAppUpdate": true,
    "DisableFeedbackCommands": true
  }
}

1\ Copy this code, paste it into Notepad and save it as policies.json (not policies.json.txt, but policies.json).
2\ In the folder where thunderbird.exe is located, create a folder named distribution and put policies.json in it.
3\ Start Thunderbird, it will not check for updates, and in About you will see the following
Image
This is enough.
4\ Additionally, you can delete three files from the folder where thunderbird.exe is located: updater.exe, updater.ini, update-settings.ini (I always delete them).
Last edited by lenny2 on June 28th, 2022, 10:35 pm, edited 1 time in total.

Kent Slimm
 
Posts: 112
Joined: December 4th, 2008, 6:08 pm

Post Posted June 28th, 2022, 2:50 pm

Thanks very much for this. And once I disable updates (in order to block a daily message that doesn't make sense), how will I learn about and receive actual updates?

lenny2
 
Posts: 53
Joined: June 8th, 2022, 3:10 am

Post Posted June 28th, 2022, 10:31 pm

You will learn from the Internet, once a month go to the forum and read the news. Then download and install over the top. I assure you, nothing will happen to you or your computer and emails.
I used v38 for 10 years and it was only the combination of gmail+OAuth2 that made me upgrade. Other users still use v38 http://forums.mozillazine.org/viewtopic.php?p=14932136#p14932136
If you don't like this approach, create a new profile in TB and the problem will go away.

Kent Slimm
 
Posts: 112
Joined: December 4th, 2008, 6:08 pm

Post Posted June 29th, 2022, 2:42 pm

OK, thanks. Another very basic question, since I've never had cause to mess around with profiles: Is it complicated to create a new one, and will it affect my message archives?

tanstaafl
Moderator

User avatar
 
Posts: 49170
Joined: July 30th, 2003, 5:06 pm

Post Posted June 29th, 2022, 5:06 pm

1. Its not hard to create a new profile. Go to help -> more troubleshooting information , click on the about:profiles link and in the popup press the "create a new profile button". The problem is what to do with the new profile. Its meant to store all of your data - your settings, address books, add-ons, saved passwords, downloaded mail etc.

If you select a empty profile (press the nearby "set as default profile" button in about:profiles) when you launch Thunderbird again it will launch the new account wizard which will prompt you to add accounts. If you're using version 102 you can use tools -> import to import data from one profile to another. Otherwise the easiest thing to do is to exit Thunderbird and copy the complete contents of the old profile (without copying the directory itself) to the new profile.

Its easier to create a new profile, exit Thunderbird and copy the complete contents of the old profile into the new profile. Then go back to about:profiles and press the associated "set as default profile" button.

This begs the question of why do you want to create a new profile. If its because you can't figure out how to fix problems with your old one then you need to be more selective in what data you migrate or you will probably have the same problems again. As a minimum you would normally copy the prefs.js file (has your settings), your calendar (if you have one), your address books (abook.sqlite, history.sqlite etc.) and any downloaded mail. If you understand the profile layout you can just copy the Mail subdirectory to migrate any downloaded mail. Otherwise you would want to use the ImportExportTools NG add-on to import it.


2. Yes, it effects your message archives if they're stored locally. If you use just IMAP accounts all you need to do is make certain your new profile has the same accounts. If they're stored locally (POP accounts and/or in the "Local Folders" account) you need to either copy the contents of the accounts "local directory" (where it stores its files) or use the ImportExportTools Ng add-on to import the mbox files.

Kent Slimm
 
Posts: 112
Joined: December 4th, 2008, 6:08 pm

Post Posted July 4th, 2022, 10:54 am

lenny2 -

I did what you suggested and moved the new policies.json file into the same Programs folder that contains Thunderbird. Then I tried moving it to the Thunderbird folder (so it would be on the same level as the .exe file). Each time I closed out of and reopened TB. But both times it shows that I'm still on the release channel.

tanstaafl
Moderator

User avatar
 
Posts: 49170
Joined: July 30th, 2003, 5:06 pm

Post Posted July 4th, 2022, 12:56 pm

That file doesn't change what channel (release, beta, or daily) you are on. Its just supposed to stop any attempt to check for updates. What channel you are on is determined by channel-prefs.js

/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */

pref("app.update.channel", "release");

Kent Slimm
 
Posts: 112
Joined: December 4th, 2008, 6:08 pm

Post Posted July 5th, 2022, 10:37 am

Well, I'm afraid this, too, failed to work. Still getting that error message after creating the policies.json file.

tanstaafl
Moderator

User avatar
 
Posts: 49170
Joined: July 30th, 2003, 5:06 pm

Post Posted July 5th, 2022, 1:36 pm

I tried creating a distribution subdirectory in the installation directory for version 102, copying a policies.json file there, unchecking "use a background service to install updates" and selecting "check for updates but let me choose whether to install them." No effect on the contents of the About popup.

I then did the same for 91.11.0. No effect on the contents of the About popup. I then deleted updater.exe, updater.ini, update-settings.ini and restarted. Still no luck.

I looked at https://stackoverflow.com/questions/649 ... uto-update (very long but very good writeup) which also documents how to disable updates via change some settings using the config editor. Searching for app.update.enabled I found a modified setting called app.update.auto.migrated set true. I toggled app.update.enabled to false. I set app.update.silent to true and app.update.doorhanger to false. Still no luck

I noticed a app.update.log setting set to false. I toggled it to true. Based on https://bugzilla.mozilla.org/show_bug.cgi?id=1526475 it looks like it creates a update_messages.log file in the profile. I suggest you do the same and see if you find that log file. I don't have one , probably because there is no update available yet for what I'm running.

Kent Slimm
 
Posts: 112
Joined: December 4th, 2008, 6:08 pm

Post Posted July 8th, 2022, 3:11 pm

I really appreciate your putting all this time into troubleshooting with me. Once I finally figured out where those settings were located, I changed app.update.log from false to true. Didn't help, unfortunately.

tanstaafl
Moderator

User avatar
 
Posts: 49170
Joined: July 30th, 2003, 5:06 pm

Post Posted July 8th, 2022, 10:04 pm

I updated to 102.0.1 on the evening of the sixth and app.update.log was still true, but there was no update_messages.log file in the profile. I also checked the installation directory, in case the location changed.

Looking in https://searchfox.org/mozilla-esr102/so ... ervice.jsm it looks like it uses app.update.log to manage whether it write that information to the error console and app.update.log.file to control whether it writes it to the file. I toggled the latter and looked in the log tab of the error console (tools -> developer tools ->error console). It has lots of information about the 102.01 update. Don't get confused by the "Thunderbird BETA" directory, I had installed 102.0 over the 102 beta.


1657341102487 addons.xpi WARN Checking C:\Program Files\Thunderbird BETA\distribution\extensions for addons
UTM:SVC TimerManager:registerTimer - timerID: xpi-signature-verification interval: 86400 skipFirst: false
AUS:SVC UpdateManager:_loadXMLFileIntoArray - XML file does not exist. path: C:\ProgramData\Mozilla-1de4eec8-1241-4177-a864-e594e8d1fb38\updates\75C51F26560D0CE7\active-update.xml
UTM:SVC TimerManager:registerTimer - timerID: region-update-timer interval: 604800 skipFirst: false
AUS:SVC Creating UpdateService
AUS:SVC Logging current UpdateService status:
AUS:SVC UpdateService.canUsuallyCheckForUpdates - able to check for updates
AUS:SVC UpdateService.canCheckForUpdates - able to check for updates
AUS:SVC getCanApplyUpdates - testing write access C:\ProgramData\Mozilla-1de4eec8-1241-4177-a864-e594e8d1fb38\updates\75C51F26560D0CE7\update.test
AUS:SVC isServiceInstalled - returning true
AUS:SVC shouldUseService - returning false
AUS:SVC getCanApplyUpdates - able to apply updates
AUS:SVC isServiceInstalled - returning true
AUS:SVC shouldUseService - returning false
AUS:SVC gCanStageUpdatesSession - testing write access C:\Program Files\Thunderbird BETA\update.test
AUS:SVC gCanStageUpdatesSession - unable to stage updates. Exception: [Exception... "Component returned failure code: 0x80520015 (NS_ERROR_FILE_ACCESS_DENIED) [nsIFile.create]" nsresult: "0x80520015 (NS_ERROR_FILE_ACCESS_DENIED)" location: "JS frame :: resource://gre/modules/UpdateService.jsm :: testWriteAccess :: line 519" data: no]
AUS:SVC Elevation required: false
AUS:SVC Other instance of the application currently running: false
AUS:SVC Downloading: false
AUS:SVC End of UpdateService status
AUS:SVC isServiceInstalled - returning true
AUS:SVC shouldUseService - returning false
AUS:SVC isServiceInstalled - returning true
AUS:SVC shouldUseService - returning false
AUS:SVC Checker: checkForUpdates, force: true
AUS:SVC Creating UpdateService
AUS:SVC Logging current UpdateService status:
AUS:SVC UpdateService.canUsuallyCheckForUpdates - able to check for updates
AUS:SVC UpdateService.canCheckForUpdates - able to check for updates
AUS:SVC getCanApplyUpdates - testing write access C:\ProgramData\Mozilla-1de4eec8-1241-4177-a864-e594e8d1fb38\updates\75C51F26560D0CE7\update.test
AUS:SVC isServiceInstalled - returning true
AUS:SVC shouldUseService - returning false
AUS:SVC getCanApplyUpdates - able to apply updates
AUS:SVC isServiceInstalled - returning true
AUS:SVC shouldUseService - returning false
AUS:SVC Elevation required: false
AUS:SVC Other instance of the application currently running: false
AUS:SVC Downloading: false
AUS:SVC End of UpdateService status
AUS:SVC UpdateService.canUsuallyCheckForUpdates - able to check for updates
AUS:SVC UpdateService.canCheckForUpdates - able to check for updates
AUS:SVC waitForOtherInstances - beginning polling
AUS:SVC waitForOtherInstances - no other instances found, exiting
AUS:SVC Checker:getUpdateURL - update URL: https://aus.thunderbird.net/update/6/Th ... 778%20(x64)/ISET:SSE4_2,MEM:32697/default/default/update.xml?force=1
AUS:SVC Checker:checkForUpdates - sending request to: https://aus.thunderbird.net/update/6/Th ... 778%20(x64)/ISET:SSE4_2,MEM:32697/default/default/update.xml?force=1
AUS:SVC Checker:onLoad - request completed downloading document
AUS:SVC Checker:onLoad - Getting sslStatus failed.
AUS:SVC Checker:onLoad - number of updates available: 0
AUS:SVC Logging current UpdateService status:
AUS:SVC UpdateService.canUsuallyCheckForUpdates - able to check for updates
AUS:SVC UpdateService.canCheckForUpdates - able to check for updates
AUS:SVC getCanApplyUpdates - testing write access C:\ProgramData\Mozilla-1de4eec8-1241-4177-a864-e594e8d1fb38\updates\75C51F26560D0CE7\update.test
AUS:SVC isServiceInstalled - returning true
AUS:SVC shouldUseService - returning false
AUS:SVC getCanApplyUpdates - able to apply updates
AUS:SVC isServiceInstalled - returning true
AUS:SVC shouldUseService - returning false
AUS:SVC Elevation required: false
AUS:SVC Other instance of the application currently running: false
AUS:SVC Downloading: false
AUS:SVC End of UpdateService status
AUS:SVC Logging current UpdateService status:
AUS:SVC UpdateService.canUsuallyCheckForUpdates - able to check for updates
AUS:SVC UpdateService.canCheckForUpdates - able to check for updates
AUS:SVC getCanApplyUpdates - testing write access C:\ProgramData\Mozilla-1de4eec8-1241-4177-a864-e594e8d1fb38\updates\75C51F26560D0CE7\update.test
AUS:SVC isServiceInstalled - returning true
AUS:SVC shouldUseService - returning false
AUS:SVC getCanApplyUpdates - able to apply updates
AUS:SVC isServiceInstalled - returning true
AUS:SVC shouldUseService - returning false
AUS:SVC Elevation required: false
AUS:SVC Other instance of the application currently running: false
AUS:SVC Downloading: false
AUS:SVC End of UpdateService status



Based on getCanApplyUpdates - testing write access C:\ProgramData\Mozilla-1de4eec8-1241-4177-a864-e594e8d1fb38\updates\75C51F26560D0CE7\update.test I wonder if the update would have silently failed if I had changed the security privileges to prevent write access to the updates directory.

tanstaafl
Moderator

User avatar
 
Posts: 49170
Joined: July 30th, 2003, 5:06 pm

Post Posted July 10th, 2022, 5:53 pm

The Thunderbird community manager in viewtopic.php?f=39&t=3097413 stated that the messages about needing to update to 102 despite already running it are a known bug that should be fixed a couple of weeks. It might also apply to your situation (91.*)

Kent Slimm
 
Posts: 112
Joined: December 4th, 2008, 6:08 pm

Post Posted July 11th, 2022, 2:00 pm

OK, thanks. Sure hope that does it.

Return to Thunderbird Support


Who is online

Users browsing this forum: Bing [Bot] and 2 guests