Betterbird / thunderbird-patches

Betterbird is a fork of Mozilla Thunderbird. Here are the patches that provide all the goodness.
Other
455 stars 20 forks source link

blank screen after copying Thunderbird profile #239

Closed dchmelik closed 8 months ago

dchmelik commented 8 months ago

I followed instructions to create a new profile, then exit, then delete its contents & copy in my Thunderbird profile contents on command-line, then restart Betterbird and open that profile, but then I get a blank screen (no mailboxes, which display fine in Thunderbird) as shown... can I do anything do debug/recover?

Screenshot_2023-12-18_17-01-13

You can also see invisible menu colour Thunderbird bug 1870755 in this screenshot, which I don't know they'll do anything about, as in past they insisted it's a GTK problem when screenshots show all other GTK programs having visible menu with same theme.

Betterbird commented 8 months ago

Sorry, but profile management is not a software fault to be reported here, but a support issue. Users copy profiles all the time, we can't diagnose what's gone wrong with your profile.

Make a backup of your existing TB profile and then run BB on it directly.

Betterbird commented 8 months ago

Oh, that's the the profile from TB 78? Maybe something went wrong during the profile upgrade, a lot has changed between 78 and 115. You could try running 102 first on the profile. In the end it might be quicker just to use a new profile and copy the Mail folder with the local mail into it.

dchmelik commented 8 months ago

Actually this time I ran the profile in Thunderbird 115.5.2 and it worked fine there (other than removing my MoveMail).

Betterbird commented 8 months ago

Yes, TB 115 would have removed the movemail config, not the data itself. It's a bit of a mystery why the profile doesn't start in BB 115 then. Anything in the error console?

dchmelik commented 8 months ago

I don't know how to get to error console!

Betterbird commented 8 months ago

Look, this is a bug tracker, not a support forum. https://www.betterbird.eu/support/:

Understandably we cannot give user support with account setup, profile management, configuration customisation (incl. developing userChrome.css) or troubleshooting individual problems. Since Betterbird and Thunderbird are very similar, users have access to a plethora of online resources, forums and newsgroups to discuss their issues.

All the time we need to spend giving very basic support gets taken away from the development time. First search hit on: https://www.google.com.au/search?q=thunderbird+error+console: Open Thunderbird Menu > Tools > Developer Tools > Error Console or hit the hotkeys Ctrl+Shift+J.

dchmelik commented 8 months ago

Then document in help menu. Seems bugs exist: error console shows many warnings/errors (so shouldn't issue be reopened?). Originally took beyond two screens (and Thunderbird did bad job by giving no quick way to save error console log to text file) so wasn't sure I could report, and exited, but then turned a monitor on side to screenshot... second time there wasn't as much log. Originally had warnings/errors for many addons/extensions/plugins and calendar (which I generally don't use) and I see some about tabs (which I want to disable)... should I not have closed tabs until finished logging?

Screenshot_2023-12-19_02-56-58

Betterbird commented 8 months ago

Thanks for the debugging information. The error is here: image There is some profile corruption and a folder doesn't have a corresponding database.

We're catching this case now: https://github.com/Betterbird/thunderbird-patches/commit/080f3b83cde1191dab8b9020561e6eca7a9d458f It's a mystery why this would work in TB. Upstream bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1870817 We'll ship the fix in BB 115.6.0-bb21 due for release today.

So what happens is that you are using unified folders or a virtual folder and its database can't be accessed. You could try the following in any session that will still open the profile:

  1. close all tabs
  2. switch folder mode to "All Folders"
  3. try opening the profile in BB.

If that still doesn't work, please send another screenshot of the error console.

No need to reopen the ticket since it's already fixed ;-)

Betterbird commented 8 months ago

Please try: https://www.betterbird.eu/downloads/LinuxArchive/betterbird-115.6.0-bb21-preview3.en-US.linux-x86_64.tar.bz2

This will cope with the database not available in the case you've reported, but it's possible that it will run into a subsequent issue.

We will release this in the next view hours, so if the link becomes 404, it's already released.

Betterbird commented 8 months ago

It's been release now.

Betterbird commented 8 months ago

@dchmelik: So does the new release work? What does the error console say? You can just copy/paste the relevant text.

dchmelik commented 8 months ago

Yes: new release works! However, almost all my addons/extensions/plugins no longer do, so I may use Thunderbird 78.9.1 until stops working.

Betterbird commented 8 months ago

Thanks for the feedback. Would have been interesting to see the console output to know which folder caused the issue.

Most important/popular add-ons already work in version 115. Add-ons are a difficult subject. Many are badly programmed and damage the host application. Those which don't work in 115 any more are likely unmaintained anyway.

Older versions of TB are full of exploitable security holes.

RealRaven2000 commented 8 months ago

Yes: new release works! However, almost all my addons/extensions/plugins no longer do, so I may use Thunderbird 78.9.1 until stops working.

You should really go the extra mile and check for compatibility, there are loads of compatible Add-ons for Thunderbird 115 - if in doubt, install the compatibility checker Add-on, it will give you a green light when 100% are compatible. Remember we (Add-on developers) had to fork a lot of experimental code to become compatible with the new front end in Tb115. The addons platform - addons.thunderbord.net can only show 1 version as compatible when you look at it from Thunderbird (because it was written for Firefox, who do not care for backwards compatibility with older versions).

https://addons.thunderbird.net/en-US/thunderbird/addon/addon-compatibility-check/?src=search