You are here

[Bug] Some Firefox/Thunderbird 68+ extensions will fail to load after moving

42 posts / 0 new
Last post
John T. Haller
John T. Haller's picture
Offline
Last seen: 1 hour 2 min ago
AdminDeveloperModerator
Joined: 2005-11-28 22:21
[Bug] Some Firefox/Thunderbird 68+ extensions will fail to load after moving

ISSUE: Some extensions (example NoScript) will fail to move on first run after moving from one location to another in Firefox Portable 67.0.2. This is due to the reliance on a file called addonStartup.json.lz4 in the profile directory that stores full paths. This file is not portable.

STATUS: We have a resource called dejsonlz4 that allows us to unpack the file back to a regular json but don't yet have a way to recreate the compressed lz4 version after adjusting paths. The file format is not well documented and does not seem compatible with standard lz4 tools to compress and decompress. I've asked the author to add creation abilities in this github Issue.

WORKAROUND: The Firefox Portable 67.0.2 release adds the ability in the launcher to detect moves and delete the addonStartup.json.lz4 file on start. If you then close Firefox Portable, wait for all processes to close, and the relaunch, Firefox will recreate the file and dependent extensions will work again. If this fails, you must manually disable and re-enable affected extensions for them to work again.

FUTURE: We're researching the mozlz4 and josnlz4 file formats to determine how to recompress for a future release so the launcher can properly portablize this file.

TEST FIX: Please see the current test fix in this comment: https://portableapps.com/comment/242855#comment-242855

FIXED IN FIREFOX: The fix has rolled out to all channels of Firefox. It will roll out to Thunderbird over the coming days: https://portableapps.com/node/60496#comment-242877

John T. Haller
John T. Haller's picture
Offline
Last seen: 1 hour 2 min ago
AdminDeveloperModerator
Joined: 2005-11-28 22:21
Expanded

This bug has expanded and the previous trick of deleting the affected file no longer works. I'm working on a fix to land in Firefox Portable 69 as Firefox 69 is being launched today.

UPDATE: The earlier workaround appears to be working and the fix is not yet complete, so I've pushed out 69.0. I'll work on the fix for the next release or a revision in the near future.

Sometimes, the impossible can become possible, if you're awesome!

flash82
Offline
Last seen: 9 months 3 weeks ago
Joined: 2019-09-05 12:28
Hi. I'm glad to see this is

Hi. I'm glad to see this is being resolved soon.

When this happened in the past, I've simply closed down the browser immediately and started it for a second time, then all the extensions with all their data were loaded properly. If you have multiple extensions installed, it's definitely faster than stopping & starting each and every one separately.

Makazzz
Makazzz's picture
Offline
Last seen: 1 month 2 weeks ago
Joined: 2019-04-30 15:58
Same

I do the same thing and it's working like a charm. Just close and wait for 10 seconds and re-open and everything works.

Portabilizing application... 14 at the moment

Kendall456
Offline
Last seen: 7 months 1 week ago
Joined: 2019-09-06 11:22
Thanks for the tip, I didn't

Thanks for the tip, I didn't think it would work, but closing down FF immediately after loading and waiting a short while to load it again, seems to work and all the extensions load properly.

Zee_Pants
Offline
Last seen: 2 months 3 days ago
Joined: 2016-01-01 11:10
Hi John: see this bugzilla:

Hi John: see this bugzilla: https://bugzilla.mozilla.org/show_bug.cgi?id=1575293 : there are some people there that would be prime candidates to ask for information. Hope this helps

BruceyB
Offline
Last seen: 8 months 3 weeks ago
Joined: 2019-10-20 01:52
Does this mean that any app

Does this mean that any app is going to break if you download a portable Firefox app? I downloaded a portable app and am getting this issue, where I can't open the app at all and the splash screen comes and then goes away. Is this still being worked on or any kind of workarounds yet? The workaround here isn't working for me.

Makazzz
Makazzz's picture
Offline
Last seen: 1 month 2 weeks ago
Joined: 2019-04-30 15:58
From what I saw only Firefox

From what I saw only Firefox Portable have this problem where two file are still not portable and it is causing to lose your setting from choosing your thing and disfonctionning your addon.

But is the app with the splash screen and not starting bug is with Firefox?

Portabilizing application... 14 at the moment

John T. Haller
John T. Haller's picture
Offline
Last seen: 1 hour 2 min ago
AdminDeveloperModerator
Joined: 2005-11-28 22:21
Extensions

This bug only affects Firefox and only in the way stated due to a specific proprietary config file in Firefox itself. It affects nothing else. You're talking about a separate bug.

Sometimes, the impossible can become possible, if you're awesome!

John T. Haller
John T. Haller's picture
Offline
Last seen: 1 hour 2 min ago
AdminDeveloperModerator
Joined: 2005-11-28 22:21
Thunderbird 68

Confirming that this issue also affects Thunderbird 68 and later.

Sometimes, the impossible can become possible, if you're awesome!

pcmedic
Offline
Last seen: 4 months 3 weeks ago
Joined: 2008-10-30 17:30
Fix?

Any status on a fix for this yet?

crollinsphoto
Offline
Last seen: 4 weeks 1 day ago
Joined: 2014-03-31 19:18
bug

Is this a bug that needs to be fixed by Mozella or here?

gbrossi
Offline
Last seen: 1 month 1 hour ago
Joined: 2020-01-15 08:21
+1

+1

I would also like to know if you have had any progress on fixing the bug or a workaround to upgrade Mozilla Portable.

John T. Haller
John T. Haller's picture
Offline
Last seen: 1 hour 2 min ago
AdminDeveloperModerator
Joined: 2005-11-28 22:21
Will Be Updated

When any progress is made, this bug will be updated. Anyone is free to contribute as well.

Sometimes, the impossible can become possible, if you're awesome!

oZone10
Offline
Last seen: 2 months 1 week ago
Joined: 2017-05-25 13:56
Info

This https://bugzilla.mozilla.org/show_bug.cgi?id=1429838 need to be resolved to fix this bug.

John T. Haller
John T. Haller's picture
Offline
Last seen: 1 hour 2 min ago
AdminDeveloperModerator
Joined: 2005-11-28 22:21
Not Really

We've been adjusting the paths in extensions.json reliably for years. The problem is that it's now in a proprietary and poorly documented variant of an open format that we can't easily adjust.

Sometimes, the impossible can become possible, if you're awesome!

oZone10
Offline
Last seen: 2 months 1 week ago
Joined: 2017-05-25 13:56
Not only extensions.json

There seems more issues not only with extensions.json (https://bugzilla.mozilla.org/show_bug.cgi?id=1429838#c14)

And looking through duplicate of this bug (https://bugzilla.mozilla.org/show_bug.cgi?id=1606947), I think this bug is related to current issues with portable Firefox and Thunderbird

This issue also had affected Tor Browser.

John T. Haller
John T. Haller's picture
Offline
Last seen: 1 hour 2 min ago
AdminDeveloperModerator
Joined: 2005-11-28 22:21
Just The Listed File

It's only the listed file in the main post for Firefox/Thunderbird Portable. We adjust paths for all other affected files so things work as you move.

Tor doesn't have a helper app and won't work as you change paths. Even its preferred way of launching, the shortcut it creates, is a hard-coded full path.

Sometimes, the impossible can become possible, if you're awesome!

gwt10
Offline
Last seen: 2 months 4 weeks ago
Joined: 2013-01-03 11:17
Hello,

Hello,

It looks like the Firefox issue has been fixed. I haven't lost any extensions using ESR.

The problem still remains for Thunderbird. I only use one extension and it's an extension I can live without if I have to.

What's happened in the last week? Now the problem is I can't send email using the current old version. I can receive it but I can't send it. Even after checking the outgoing SMTP settings according to Microsoft (for it's accounts), it's not authenticating.

That means having to go into OWA to send email, which my account has no problem of doing. Which also defeats the purpose of Thunderbird.

Should we assume portable Thunderbird is being abandoned? Yes? No?

Thanks

crollinsphoto
Offline
Last seen: 4 weeks 1 day ago
Joined: 2014-03-31 19:18
Abandoned?

I certainly hope not!

joetron2030
Offline
Last seen: 2 weeks 6 days ago
Joined: 2006-05-22 12:48
Any updates?

Has there been any progress on this issue? Just curious and looking for an update.

(As long as my TP 60 continues to work without any issues, I'm fine waiting until this gets resolved.)

gwt10
Offline
Last seen: 2 months 4 weeks ago
Joined: 2013-01-03 11:17
So what's the status on this?

So what's the status on this?

It's been awhile now and I heavily depend on Thunderbird PortableApps version.

crollinsphoto
Offline
Last seen: 4 weeks 1 day ago
Joined: 2014-03-31 19:18
Thunderbird update

As do I. Excitedly waiting!

John T. Haller
John T. Haller's picture
Offline
Last seen: 1 hour 2 min ago
AdminDeveloperModerator
Joined: 2005-11-28 22:21
Test Solution Tomorrow

I've arrived at what seems to be a working test solution. I'm going to post a test build tomorrow and, provided it works for others, updated versions of the Mozilla apps that will allow extensions to be properly portable again.

Sometimes, the impossible can become possible, if you're awesome!

duttyend
Offline
Last seen: 17 hours 51 min ago
Joined: 2016-11-08 12:04
Wonderful! Thank you so much!

Wonderful! Thank you so much!

joetron2030
Offline
Last seen: 2 weeks 6 days ago
Joined: 2006-05-22 12:48
That's great news! Thanks for

That's great news! Thanks for the update, John!

John T. Haller
John T. Haller's picture
Offline
Last seen: 1 hour 2 min ago
AdminDeveloperModerator
Joined: 2005-11-28 22:21
Firefox Portable Test Fix 2020-03-09 v0

Ok, I've put together a test patch for the current release of Firefox Portable that appears to fix the issue of extensions becoming disabled after moving paths. Please first make a backup of your current Firefox Portable install. Then download the below ZIP and unzip it to your FirefoxPortable directory using 7-Zip Portable or similar. It will replace FirefoxPortable.exe and add some helper files to bin as well as including the updated source.

Download FirefoxPortablePatch-2020-03-09.zip
MD5: dffa6d5b5c1387b15c141cf2dbd72578
SHA256: d0e3cc1031d2dc507ea1706f8caa67559b999b7f96d74417e51f753cbb5a8ace
VirusTotal scan

Please post a note back with your results as soon as you are able. You can test just by moving to a different drive or changing the name of the FirefoxPortable directory. Please post the paths used. Thanks!

Sometimes, the impossible can become possible, if you're awesome!

gwt10
Offline
Last seen: 2 months 4 weeks ago
Joined: 2013-01-03 11:17
Ok, I did that. Everything

Ok, I did that. Everything seems to be fine. Bear in mind I'm using the ESR of firefox.

Mozilla is bugging me to update the browser, though. The little green arrow appears on the upper right next to the menu button. I thought that updates was done through you?

John T. Haller
John T. Haller's picture
Offline
Last seen: 1 hour 2 min ago
AdminDeveloperModerator
Joined: 2005-11-28 22:21
Fixed in Firefox Portable (all channels), Thunderbird soon

This bug is fixed in Firefox Portable Stable 74.0. The fix will be added to other Firefox channels and Thunderbird over the next few days. I'll update this ticket as it happens.

UPDATE: Fixed in Firefox Portable ESR 68.6.0

UPDATE: Fixed in Firefox Portable Test 75.0 Beta 2

UPDATE: Fixed in Firefox Portable Developer 75b2

UPDATE: Fixed in Firefox Portable Nightly 76

Sometimes, the impossible can become possible, if you're awesome!

duttyend
Offline
Last seen: 17 hours 51 min ago
Joined: 2016-11-08 12:04
This is great! Thank you so

This is great! Thank you so much!

crollinsphoto
Offline
Last seen: 4 weeks 1 day ago
Joined: 2014-03-31 19:18
TB update

That should be soon Smile

hmillman
Offline
Last seen: 3 months 2 weeks ago
Joined: 2020-03-29 11:50
Thunderbird build update

Is there any update on a 68.6 build of Thunderbird?
Thanks for all you do on these apps.

joetron2030
Offline
Last seen: 2 weeks 6 days ago
Joined: 2006-05-22 12:48
That's great news. Thanks for

That's great news. Thanks for the updates, John!

phickspc
Offline
Last seen: 1 month 4 weeks ago
Joined: 2019-10-12 21:32
Those are all unstable

Those are all unstable/experimental versions. When will it be fixed in stable firefox versions; 71.0, 74.0 etc?

Ken Herbert
Ken Herbert's picture
Online
Last seen: 21 min 3 sec ago
DeveloperModerator
Joined: 2010-05-25 18:19
John said above "fixed in

John said above "fixed in Firefox Portable Stable 47.0" - I'm pretty sure he actually meant to say 74.0

John T. Haller
John T. Haller's picture
Offline
Last seen: 1 hour 2 min ago
AdminDeveloperModerator
Joined: 2005-11-28 22:21
Correct

It was fixed in Stable first and then the others within about a day. I'm still working on TB and SM but took it easy due to illness.

Sometimes, the impossible can become possible, if you're awesome!

phickspc
Offline
Last seen: 1 month 4 weeks ago
Joined: 2019-10-12 21:32
Worked

I downloaded FFox portable 74.0, then installed over existing 71.0 setup and now the bug no longer occurs when I move the portable folder around.
Thanks!
Hope you recover soon!

duttyend
Offline
Last seen: 17 hours 51 min ago
Joined: 2016-11-08 12:04
Thank you so much John!

Thank you so much John!
Get well soon!

joetron2030
Offline
Last seen: 2 weeks 6 days ago
Joined: 2006-05-22 12:48
Sorry to hear you were knocked back due to illness!

John, I hope you're on the road to recovery. Sorry to hear you were ill for a time there.

gwt10
Offline
Last seen: 2 months 4 weeks ago
Joined: 2013-01-03 11:17
-

Sorry to hear about your illness.

What I wanted to say about Thunderbird can wait.

crollinsphoto
Offline
Last seen: 4 weeks 1 day ago
Joined: 2014-03-31 19:18
sickness

I hope it wasn't the Covid19 thing. By the time you are able to get around to it Tbird v. 99 will be needed LOL. So far none of our household has gotten it yet. COVID19

Portableappsbro
Offline
Last seen: 1 month 2 weeks ago
Joined: 2015-03-27 09:06
Cheers

Cheers

Log in or register to post comments